11.1Sriastrad/* $NetBSD: rk3399-crypto.dtsi,v 1.1 2020/05/17 19:57:25 riastradh Exp $ */ 21.1Sriastrad 31.1Sriastrad/*- 41.1Sriastrad * Copyright (c) 2020 The NetBSD Foundation, Inc. 51.1Sriastrad * All rights reserved. 61.1Sriastrad * 71.1Sriastrad * Redistribution and use in source and binary forms, with or without 81.1Sriastrad * modification, are permitted provided that the following conditions 91.1Sriastrad * are met: 101.1Sriastrad * 1. Redistributions of source code must retain the above copyright 111.1Sriastrad * notice, this list of conditions and the following disclaimer. 121.1Sriastrad * 2. Redistributions in binary form must reproduce the above copyright 131.1Sriastrad * notice, this list of conditions and the following disclaimer in the 141.1Sriastrad * documentation and/or other materials provided with the distribution. 151.1Sriastrad * 161.1Sriastrad * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 171.1Sriastrad * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 181.1Sriastrad * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 191.1Sriastrad * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 201.1Sriastrad * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 211.1Sriastrad * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 221.1Sriastrad * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 231.1Sriastrad * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 241.1Sriastrad * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 251.1Sriastrad * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 261.1Sriastrad * SUCH DAMAGE. 271.1Sriastrad */ 281.1Sriastrad 291.1Sriastrad/ { 301.1Sriastrad crypto: crypto@ff8b8000 { 311.1Sriastrad compatible = "rockchip,rk3288-crypto"; 321.1Sriastrad reg = <0x0 0xff8b8000 0x0 0x1000>; 331.1Sriastrad clocks = <&cru HCLK_M_CRYPTO1>, <&cru HCLK_S_CRYPTO1>, 341.1Sriastrad <&cru SCLK_CRYPTO1>, <&cru ACLK_DMAC1_PERILP>; 351.1Sriastrad clock-names = "aclk", "hclk", "sclk", "apb_pclk"; 361.1Sriastrad assigned-clocks = <&cru SCLK_CRYPTO1>, <&cru HCLK_S_CRYPTO1>; 371.1Sriastrad assigned-clock-rates = <150000000>, <100000000>; 381.1Sriastrad resets = <&cru SRST_CRYPTO1>; 391.1Sriastrad reset-names = "crypto-rst"; 401.1Sriastrad }; 411.1Sriastrad}; 42