1 From 4a228ecf553e879bae384e634bb6413438e81a0e Mon Sep 17 00:00:00 2001
2 From: Linus Walleij <linus.walleij@linaro.org>
3 Date: Mon, 11 Mar 2019 15:43:05 +0100
4 Subject: [PATCH 1/2] ARM: dts: gemini: Indent DIR-685 partition table
6 It is discouraged to have OF partitions as subnodes directly
7 under the device, create a "partitions" subnode and put the
10 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 arch/arm/boot/dts/gemini-dlink-dir-685.dts | 82 ++++++++++++----------
13 1 file changed, 44 insertions(+), 38 deletions(-)
15 --- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
16 +++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
19 reg = <0x30000000 0x02000000>;
22 - * This "RedBoot" is the Storlink derivative.
26 - reg = <0x00000000 0x00040000>;
30 - * This firmware image contains the kernel catenated
31 - * with the squashfs root filesystem. For some reason
32 - * this is called "upgrade" on the vendor system.
36 - reg = <0x00040000 0x01f40000>;
39 - /* RGDB, Residental Gateway Database? */
42 - reg = <0x01f80000 0x00040000>;
46 - * This partition contains MAC addresses for WAN,
47 - * WLAN and LAN, and the country code (for wireless
52 - reg = <0x01fc0000 0x00020000>;
57 - reg = <0x01fe0000 0x00020000>;
60 + compatible = "fixed-partitions";
61 + #address-cells = <1>;
65 + * This "RedBoot" is the Storlink derivative.
69 + reg = <0x00000000 0x00040000>;
73 + * This firmware image contains the kernel catenated
74 + * with the squashfs root filesystem. For some reason
75 + * this is called "upgrade" on the vendor system.
79 + reg = <0x00040000 0x01f40000>;
82 + /* RGDB, Residental Gateway Database? */
85 + reg = <0x01f80000 0x00040000>;
89 + * This partition contains MAC addresses for WAN,
90 + * WLAN and LAN, and the country code (for wireless
95 + reg = <0x01fc0000 0x00020000>;
100 + reg = <0x01fe0000 0x00020000>;