diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2022-01-16 20:13:24 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-02-04 21:15:17 +0100 |
commit | f095822699cc397f86d2c24616aaaa7f814dc8d9 (patch) | |
tree | 3e4cf09d09fc733e98ef264c8ba097187353ad12 /target/linux/apm821xx/dts/meraki-mx60.dts | |
parent | 1085c4b4a72a5277a611cc4a8ac2e5742da127fc (diff) | |
download | upstream-f095822699cc397f86d2c24616aaaa7f814dc8d9.tar.gz upstream-f095822699cc397f86d2c24616aaaa7f814dc8d9.tar.bz2 upstream-f095822699cc397f86d2c24616aaaa7f814dc8d9.zip |
apm821xx: convert legacy nand partition layout
in order to get nvmem-cells to work on AP and routers
(Netgears WNDR4700). The nvmem-cell needs to be within
a fixed-partition dt-node.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/dts/meraki-mx60.dts')
-rw-r--r-- | target/linux/apm821xx/dts/meraki-mx60.dts | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/target/linux/apm821xx/dts/meraki-mx60.dts b/target/linux/apm821xx/dts/meraki-mx60.dts index 05274e9d42..79e055c2ea 100644 --- a/target/linux/apm821xx/dts/meraki-mx60.dts +++ b/target/linux/apm821xx/dts/meraki-mx60.dts @@ -42,12 +42,17 @@ dr_mode = "host"; }; -&EBC0 { +&ndfc { /* Buckminster has 1GiB of NAND */ - ndfc@1,0 { - status = "okay"; - nand { - nand-is-boot-medium; + status = "okay"; + + nand { + nand-is-boot-medium; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; partition@0 { label = "u-boot"; |