ARM: dts: aspeed: Add HACE device controller node
authorNeal Liu <neal_liu@aspeedtech.com>
Thu, 18 Aug 2022 03:59:54 +0000 (11:59 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Aug 2022 10:50:38 +0000 (18:50 +0800)
Add hace node to device tree for AST2500/AST2600.

Signed-off-by: Neal Liu <neal_liu@aspeedtech.com>
Signed-off-by: Johnny Huang <johnny_huang@aspeedtech.com>
Reviewed-by: Dhananjay Phadke <dphadke@linux.microsoft.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/boot/dts/aspeed-g5.dtsi
arch/arm/boot/dts/aspeed-g6.dtsi

index c89092c..04f98d1 100644 (file)
                                quality = <100>;
                        };
 
+                       hace: crypto@1e6e3000 {
+                               compatible = "aspeed,ast2500-hace";
+                               reg = <0x1e6e3000 0x100>;
+                               interrupts = <4>;
+                               clocks = <&syscon ASPEED_CLK_GATE_YCLK>;
+                               resets = <&syscon ASPEED_RESET_HACE>;
+                       };
+
                        gfx: display@1e6e6000 {
                                compatible = "aspeed,ast2500-gfx", "syscon";
                                reg = <0x1e6e6000 0x1000>;
index 6660564..095cf8d 100644 (file)
                        #size-cells = <1>;
                        ranges;
 
+                       hace: crypto@1e6d0000 {
+                               compatible = "aspeed,ast2600-hace";
+                               reg = <0x1e6d0000 0x200>;
+                               interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&syscon ASPEED_CLK_GATE_YCLK>;
+                               resets = <&syscon ASPEED_RESET_HACE>;
+                       };
+
                        syscon: syscon@1e6e2000 {
                                compatible = "aspeed,ast2600-scu", "syscon", "simple-mfd";
                                reg = <0x1e6e2000 0x1000>;