ARM: dts: rockchip: Add Crypto node for rk3288
authorZain Wang <zain.wang@rock-chips.com>
Wed, 25 Nov 2015 05:43:33 +0000 (13:43 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 27 Nov 2015 17:13:30 +0000 (18:13 +0100)
Add Crypto node for rk3288 including crypto controller and dma clk.

Signed-off-by: Zain Wang <zain.wang@rock-chips.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288.dtsi

index 2040a1b0cf764cda6bf5675b5687f68abf58186d..6d6cc16669b2c61d457911023767e369e37c24ed 100644 (file)
                status = "disabled";
        };
 
+       crypto: cypto-controller@ff8a0000 {
+               compatible = "rockchip,rk3288-crypto";
+               reg = <0xff8a0000 0x4000>;
+               interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>,
+                        <&cru SCLK_CRYPTO>, <&cru ACLK_DMAC1>;
+               clock-names = "aclk", "hclk", "sclk", "apb_pclk";
+               resets = <&cru SRST_CRYPTO>;
+               reset-names = "crypto-rst";
+               status = "okay";
+       };
+
        vopb: vop@ff930000 {
                compatible = "rockchip,rk3288-vop";
                reg = <0xff930000 0x19c>;