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 diff --git a/arch/arm/boot/dts/gemini-dlink-dir-685.dts b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
16 index 9b2824816ddc..50ff65d95f26 100644
17 --- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
18 +++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
21 reg = <0x30000000 0x02000000>;
24 - * This "RedBoot" is the Storlink derivative.
28 - reg = <0x00000000 0x00040000>;
32 - * This firmware image contains the kernel catenated
33 - * with the squashfs root filesystem. For some reason
34 - * this is called "upgrade" on the vendor system.
38 - reg = <0x00040000 0x01f40000>;
41 - /* RGDB, Residental Gateway Database? */
44 - reg = <0x01f80000 0x00040000>;
48 - * This partition contains MAC addresses for WAN,
49 - * WLAN and LAN, and the country code (for wireless
54 - reg = <0x01fc0000 0x00020000>;
59 - reg = <0x01fe0000 0x00020000>;
62 + compatible = "fixed-partitions";
63 + #address-cells = <1>;
67 + * This "RedBoot" is the Storlink derivative.
71 + reg = <0x00000000 0x00040000>;
75 + * This firmware image contains the kernel catenated
76 + * with the squashfs root filesystem. For some reason
77 + * this is called "upgrade" on the vendor system.
81 + reg = <0x00040000 0x01f40000>;
84 + /* RGDB, Residental Gateway Database? */
87 + reg = <0x01f80000 0x00040000>;
91 + * This partition contains MAC addresses for WAN,
92 + * WLAN and LAN, and the country code (for wireless
97 + reg = <0x01fc0000 0x00020000>;
100 + partition@1fe0000 {
101 + label = "LangPack";
102 + reg = <0x01fe0000 0x00020000>;