diff options
author | Rick Chen <rick@andestech.com> | 2019-11-14 13:52:29 +0800 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2019-12-10 08:23:10 +0800 |
commit | cca8b1e5b20cdab7299a5ee7139e70783f73ccdf (patch) | |
tree | b1eca8a210c9806e51bf58405cac3e7ae5dec3a6 /arch/riscv | |
parent | f05b6569a936af61a4d448ddc899e7b8c0e5b3c8 (diff) | |
download | u-boot-cca8b1e5b20cdab7299a5ee7139e70783f73ccdf.zip u-boot-cca8b1e5b20cdab7299a5ee7139e70783f73ccdf.tar.gz u-boot-cca8b1e5b20cdab7299a5ee7139e70783f73ccdf.tar.bz2 |
riscv: dts: Add #address-cells and #size-cells in nor node
Those are required for cfi-flash driver to get correct address information.
Also modify size description correctly.
Signed-off-by: Rick Chen <rick@andestech.com>
Cc: KC Lin <kclin@andestech.com>
Cc: Alan Kao <alankao@andestech.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/dts/ae350_32.dts | 4 | ||||
-rw-r--r-- | arch/riscv/dts/ae350_64.dts | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/arch/riscv/dts/ae350_32.dts b/arch/riscv/dts/ae350_32.dts index c6c2040..3f8525f 100644 --- a/arch/riscv/dts/ae350_32.dts +++ b/arch/riscv/dts/ae350_32.dts @@ -296,8 +296,10 @@ }; nor@0,0 { + #address-cells = <1>; + #size-cells = <1>; compatible = "cfi-flash"; - reg = <0x88000000 0x1000>; + reg = <0x88000000 0x4000000>; bank-width = <2>; device-width = <1>; }; diff --git a/arch/riscv/dts/ae350_64.dts b/arch/riscv/dts/ae350_64.dts index c57efe3..482c707 100644 --- a/arch/riscv/dts/ae350_64.dts +++ b/arch/riscv/dts/ae350_64.dts @@ -296,8 +296,10 @@ }; nor@0,0 { + #address-cells = <2>; + #size-cells = <2>; compatible = "cfi-flash"; - reg = <0x0 0x88000000 0x0 0x1000>; + reg = <0x0 0x88000000 0x0 0x4000000>; bank-width = <2>; device-width = <1>; }; |