]> git.sur5r.net Git - u-boot/commitdiff
riscv: dts: Support cfi flash
authorRick Chen <rick@andestech.com>
Tue, 29 May 2018 03:05:54 +0000 (11:05 +0800)
committerAndes <uboot@andestech.com>
Tue, 29 May 2018 06:45:04 +0000 (14:45 +0800)
Add nor node for cfi-flash driver and smc node
for smc(aftsmc020) controller.

Signed-off-by: Rick Chen <rick@andestech.com>
Signed-off-by: Rick Chen <rickchen36@gmail.com>
Cc: Greentime Hu <green.hu@gmail.com>
arch/riscv/dts/ae350.dts

index cf84640fc7b7454b165e4559f8b0c373936420a0..2927e4151b0614dfb553df4e6f18a436c1ea0291 100644 (file)
     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>;