From: Joel Stanley <j...@jms.id.au>

Add HACE DTS node and enable it for AST2600 EVB.

Signed-off-by: Joel Stanley <j...@jms.id.au>
Signed-off-by: Chia-Wei Wang <chiawei_w...@aspeedtech.com>
---
 arch/arm/dts/ast2600-evb.dts | 5 +++++
 arch/arm/dts/ast2600.dtsi    | 8 ++++++++
 2 files changed, 13 insertions(+)

diff --git a/arch/arm/dts/ast2600-evb.dts b/arch/arm/dts/ast2600-evb.dts
index 2abd31341c..adb80a30ef 100644
--- a/arch/arm/dts/ast2600-evb.dts
+++ b/arch/arm/dts/ast2600-evb.dts
@@ -177,3 +177,8 @@
                          0x08 0x04
                          0x08 0x04>;
 };
+
+&hace {
+       u-boot,dm-pre-reloc;
+       status = "okay";
+};
diff --git a/arch/arm/dts/ast2600.dtsi b/arch/arm/dts/ast2600.dtsi
index f121f547e6..b8fe966c7d 100644
--- a/arch/arm/dts/ast2600.dtsi
+++ b/arch/arm/dts/ast2600.dtsi
@@ -187,6 +187,14 @@
                        };
                };
 
+               hace: hace@1e6d0000 {
+                       compatible = "aspeed,ast2600-hace";
+                       reg = <0x1e6d0000 0x200>;
+                       interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&scu ASPEED_CLK_GATE_YCLK>;
+                       status = "disabled";
+               };
+
                edac: sdram@1e6e0000 {
                        compatible = "aspeed,ast2600-sdram-edac";
                        reg = <0x1e6e0000 0x174>;
-- 
2.17.1

Reply via email to