diff options
author | Rick Chen <rick@andestech.com> | 2018-05-29 11:05:54 +0800 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2018-05-29 14:45:04 +0800 |
commit | 7286e46a790b0e007b4039b3d415a230d5ab84be (patch) | |
tree | 298f4d3dce9cb5909900db5ed94e746c3a72acb5 /arch/riscv/dts | |
parent | c038fd0ea644c09191bc18cfb4736d6488580615 (diff) | |
download | u-boot-7286e46a790b0e007b4039b3d415a230d5ab84be.tar.gz u-boot-7286e46a790b0e007b4039b3d415a230d5ab84be.tar.xz u-boot-7286e46a790b0e007b4039b3d415a230d5ab84be.zip |
riscv: dts: Support cfi flash
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>
Diffstat (limited to 'arch/riscv/dts')
-rw-r--r-- | arch/riscv/dts/ae350.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/riscv/dts/ae350.dts b/arch/riscv/dts/ae350.dts index cf84640fc7..2927e4151b 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>; |