From f095822699cc397f86d2c24616aaaa7f814dc8d9 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sun, 16 Jan 2022 20:13:24 +0100 Subject: 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 --- target/linux/apm821xx/dts/netgear-wndr4700.dts | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'target/linux/apm821xx/dts/netgear-wndr4700.dts') diff --git a/target/linux/apm821xx/dts/netgear-wndr4700.dts b/target/linux/apm821xx/dts/netgear-wndr4700.dts index 3f93153d4d..63c96bd82a 100644 --- a/target/linux/apm821xx/dts/netgear-wndr4700.dts +++ b/target/linux/apm821xx/dts/netgear-wndr4700.dts @@ -169,13 +169,16 @@ dr_mode = "host"; }; -&EBC0 { - ndfc: ndfc@1,0 { - - status = "okay"; - /* 128 MiB Nand Flash */ - nand { - nand-is-boot-medium; +&ndfc { + status = "okay"; + /* 128 MiB Nand Flash */ + nand { + nand-is-boot-medium; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; partition@0 { label = "uboot"; -- cgit v1.2.3