diff options
Diffstat (limited to 'target/linux/ramips/dts/NA930.dts')
-rw-r--r-- | target/linux/ramips/dts/NA930.dts | 50 |
1 files changed, 27 insertions, 23 deletions
diff --git a/target/linux/ramips/dts/NA930.dts b/target/linux/ramips/dts/NA930.dts index f6020d63a4..fadb484f39 100644 --- a/target/linux/ramips/dts/NA930.dts +++ b/target/linux/ramips/dts/NA930.dts @@ -18,31 +18,35 @@ }; nand { - #address-cells = <1>; - #size-cells = <1>; compatible = "mtk,mt7620-nand"; - partition@0 { - label = "u-boot"; - reg = <0x0 0x20000>; - read-only; - }; - - partition@200000 { - label = "factory"; - reg = <0x200000 0x40000>; - read-only; - }; - - partition@240000 { - label = "Config"; - reg = <0x240000 0x400000>; - read-only; - }; - - partition@640000 { - label = "firmware"; - reg = <0x640000 0x1400000>; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "u-boot"; + reg = <0x0 0x20000>; + read-only; + }; + + partition@200000 { + label = "factory"; + reg = <0x200000 0x40000>; + read-only; + }; + + partition@240000 { + label = "Config"; + reg = <0x240000 0x400000>; + read-only; + }; + + partition@640000 { + label = "firmware"; + reg = <0x640000 0x1400000>; + }; }; }; |