diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2022-05-14 10:44:58 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-05-14 11:08:45 +0200 |
commit | d65bafa34bc57f652800cf0f6e6402ff7dca0289 (patch) | |
tree | 6eaa1d11be09dd82c49195800645597c10b9fee0 /target/linux/apm821xx/dts/netgear-wndap6x0.dtsi | |
parent | 8f6e2bb178864a1822b5dfe85b96d113dce4a5f0 (diff) | |
download | upstream-d65bafa34bc57f652800cf0f6e6402ff7dca0289.tar.gz upstream-d65bafa34bc57f652800cf0f6e6402ff7dca0289.tar.bz2 upstream-d65bafa34bc57f652800cf0f6e6402ff7dca0289.zip |
apm821xx: use nested fixed-partitions
This makes it possible to fix Netgear WNDAP620+660 DTS ugliness.
Bring back the dtb and firmware partitions for the WNDR4700.
Thank you, mans0n.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/dts/netgear-wndap6x0.dtsi')
-rw-r--r-- | target/linux/apm821xx/dts/netgear-wndap6x0.dtsi | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/target/linux/apm821xx/dts/netgear-wndap6x0.dtsi b/target/linux/apm821xx/dts/netgear-wndap6x0.dtsi index c6f112d240..8a15a78dce 100644 --- a/target/linux/apm821xx/dts/netgear-wndap6x0.dtsi +++ b/target/linux/apm821xx/dts/netgear-wndap6x0.dtsi @@ -52,23 +52,27 @@ read-only; }; - partition@110000,0 { + partition@110000 { label = "firmware"; reg = <0x00110000 0x01ac0000>; - }; - - partition@110000,1 { - /* - * The u-boot bootloader will look at this - * offset (0x110000) for an uImage binary. - */ - label = "kernel"; - reg = <0x00110000 0x005f0000>; - }; - partition@700000 { - label = "ubi"; - reg = <0x00700000 0x014d0000>; + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + /* + * The u-boot bootloader will look at this + * offset (0x110000) for an uImage binary. + */ + label = "kernel"; + reg = <0x00000000 0x005f0000>; + }; + + partition@5f0000 { + label = "ubi"; + reg = <0x005f0000 0x014d0000>; + }; }; partition@1bd0000 { |