From: Rick Chen <r...@andestech.com>

Add nor node for cfi-flash driver and smc node
for smc(aftsmc020) controller.

Signed-off-by: Rick Chen <r...@andestech.com>
Signed-off-by: Rick Chen <rickche...@gmail.com>
Cc: Greentime Hu <green...@gmail.com>
---
 arch/riscv/dts/ae350.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/riscv/dts/ae350.dts b/arch/riscv/dts/ae350.dts
index f7d4190..be72b5c 100644
--- a/arch/riscv/dts/ae350.dts
+++ b/arch/riscv/dts/ae350.dts
@@ -117,6 +117,18 @@
     interrupt-parent = <&plic0>;
   };
 
+  smc0: smc@e0400000 {
+    compatible = "andestech,atfsmc020";
+    reg = <0x0 0xe0400000 0x0 0x1000>;
+  };
+
+  nor@0,0 {
+    compatible = "cfi-flash";
+    reg = <0x0 0x88000000 0x0 0x1000>;
+    bank-width = <2>;
+    device-width = <1>;
+  };
+
   spi: spi@f0b00000 {
     compatible = "andestech,atcspi200";
     reg = <0x0 0xf0b00000 0x0 0x1000>;
-- 
2.7.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to