X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FWR512-3GN-8M.dts;fp=target%2Flinux%2Framips%2Fdts%2FWR512-3GN-8M.dts;h=77d625f9fd11382c98bad8ac9c752584833967bf;hb=6031ab345df86c285ea55d6523d6888cc596f63d;hp=16abf9799f07a3044f33d6ca96f07f31c1bcef43;hpb=6dd94c2781b79ffd20f1a57a48fa2314d67ee190;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/WR512-3GN-8M.dts b/target/linux/ramips/dts/WR512-3GN-8M.dts index 16abf9799f..77d625f9fd 100644 --- a/target/linux/ramips/dts/WR512-3GN-8M.dts +++ b/target/linux/ramips/dts/WR512-3GN-8M.dts @@ -11,30 +11,34 @@ reg = <0x1f000000 0x800000>; bank-width = <2>; device-width = <2>; - #address-cells = <1>; - #size-cells = <1>; - partition@0 { - label = "u-boot"; - reg = <0x0 0x30000>; - read-only; - }; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; - partition@30000 { - label = "u-boot-env"; - reg = <0x30000 0x10000>; - read-only; - }; + partition@0 { + label = "u-boot"; + reg = <0x0 0x30000>; + read-only; + }; - factory: partition@40000 { - label = "factory"; - reg = <0x40000 0x10000>; - read-only; - }; + partition@30000 { + label = "u-boot-env"; + reg = <0x30000 0x10000>; + read-only; + }; + + factory: partition@40000 { + label = "factory"; + reg = <0x40000 0x10000>; + read-only; + }; - partition@50000 { - label = "firmware"; - reg = <0x50000 0x7b0000>; + partition@50000 { + label = "firmware"; + reg = <0x50000 0x7b0000>; + }; }; }; };