From 2ec59c173f228911ed4038a757df1bad8147f6a5 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sun, 27 Jan 2019 14:05:38 +0100 Subject: lantiq: dts: move partitions into partition node Signed-off-by: Mathias Kresin --- .../lantiq/files/arch/mips/boot/dts/WBMR300.dts | 81 +++++++++++----------- 1 file changed, 42 insertions(+), 39 deletions(-) (limited to 'target/linux/lantiq/files/arch/mips/boot/dts/WBMR300.dts') diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/WBMR300.dts b/target/linux/lantiq/files/arch/mips/boot/dts/WBMR300.dts index 77e105d6a7..65f2e82c65 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/WBMR300.dts +++ b/target/linux/lantiq/files/arch/mips/boot/dts/WBMR300.dts @@ -264,49 +264,52 @@ pinctrl-0 = <&pins_spi_default>; m25p80@4 { - #address-cells = <1>; - #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <4>; spi-max-frequency = <20000000>; - partition@0 { - reg = <0x0 0x10000>; - label = "u-boot"; - read-only; - }; - - partition@10000 { - reg = <0x10000 0x10000>; - label = "gphyfirmware"; - read-only; - }; - - partition@20000 { - reg = <0x20000 0x80000>; - label = "dsl_fw"; - }; - - partition@de0000 { - reg = <0xa0000 0xf40000>; - label = "firmware"; - }; - - partition@fe0000 { - reg = <0xfe0000 0x10000>; - label = "sysconfig"; - read-only; - }; - - partition@ff0000 { - reg = <0xff0000 0x2000>; - label = "ubootconfig"; - }; - - partition@ff3000 { - reg = <0xff3000 0x2000>; - label = "board_config"; - read-only; + partitions { + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + reg = <0x0 0x10000>; + label = "u-boot"; + read-only; + }; + + partition@10000 { + reg = <0x10000 0x10000>; + label = "gphyfirmware"; + read-only; + }; + + partition@20000 { + reg = <0x20000 0x80000>; + label = "dsl_fw"; + }; + + partition@de0000 { + reg = <0xa0000 0xf40000>; + label = "firmware"; + }; + + partition@fe0000 { + reg = <0xfe0000 0x10000>; + label = "sysconfig"; + read-only; + }; + + partition@ff0000 { + reg = <0xff0000 0x2000>; + label = "ubootconfig"; + }; + + partition@ff3000 { + reg = <0xff3000 0x2000>; + label = "board_config"; + read-only; + }; }; }; }; -- cgit v1.2.3