e2fe0be90958f92a171e90bdae95d0941b5d82c3
[openwrt/staging/thess.git] /
1 From 0c0d1c90ddc44df70401b7cfff178c41b2f83ffa Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Wed, 4 Apr 2018 15:14:21 +0200
4 Subject: [PATCH] ARM: dts: BCM5301X: Switch Luxul XWC-1000 to the new fixed
5 partitions syntax
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
10 This new syntax is slightly better designed & uses "compatible" string.
11 For details see Documentation/devicetree/bindings/mtd/partition.txt .
12
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
15 ---
16 arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 12 +++++++++---
17 1 file changed, 9 insertions(+), 3 deletions(-)
18
19 --- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
20 +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
21 @@ -26,9 +26,15 @@
22
23 nand: nand@18028000 {
24 nandcs@0 {
25 - partition@0 {
26 - label = "ubi";
27 - reg = <0x00000000 0x08000000>;
28 + partitions {
29 + compatible = "fixed-partitions";
30 + #address-cells = <1>;
31 + #size-cells = <1>;
32 +
33 + partition@0 {
34 + label = "ubi";
35 + reg = <0x00000000 0x08000000>;
36 + };
37 };
38 };
39 };