ARM: dts: uniphier: factor out ranges property of support card
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 26 Feb 2016 07:18:29 +0000 (16:18 +0900)
committerArnd Bergmann <arnd@arndb.de>
Fri, 18 Mar 2016 16:37:45 +0000 (17:37 +0100)
This property is used in common by several boards.  Move it to the
common place (uniphier-support-card.dtsi).  If necessary, each board
can still override the property.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/uniphier-ph1-ld4-ref.dts
arch/arm/boot/dts/uniphier-ph1-ld6b-ref.dts
arch/arm/boot/dts/uniphier-ph1-pro4-ref.dts
arch/arm/boot/dts/uniphier-ph1-sld3-ref.dts
arch/arm/boot/dts/uniphier-ph1-sld8-ref.dts
arch/arm/boot/dts/uniphier-support-card.dtsi
arch/arm64/boot/dts/socionext/uniphier-ph1-ld20-ref.dts

index f1e9d40..ec94b7a 100644 (file)
        };
 };
 
-&extbus {
-       ranges = <1 0x00000000 0x42000000 0x02000000>;
-};
-
-&support_card {
-       ranges = <0x00000000 1 0x01f00000 0x00100000>;
-};
-
 &ethsc {
        interrupts = <0 49 4>;
 };
index 5baa9fc..b8134c6 100644 (file)
        };
 };
 
-&extbus {
-       ranges = <1 0x00000000 0x42000000 0x02000000>;
-};
-
-&support_card {
-       ranges = <0x00000000 1 0x01f00000 0x00100000>;
-};
-
 &ethsc {
        interrupts = <0 52 4>;
 };
index 2462668..95f631a 100644 (file)
        };
 };
 
-&extbus {
-       ranges = <1 0x00000000 0x42000000 0x02000000>;
-};
-
-&support_card {
-       ranges = <0x00000000 1 0x01f00000 0x00100000>;
-};
-
 &ethsc {
        interrupts = <0 50 4>;
 };
index b7a0321..acb4204 100644 (file)
        };
 };
 
-&extbus {
-       ranges = <1 0x00000000 0x42000000 0x02000000>;
-};
-
-&support_card {
-       ranges = <0x00000000 1 0x01f00000 0x00100000>;
-};
-
 &ethsc {
        interrupts = <0 49 4>;
 };
index fc7250c..d594f40 100644 (file)
        };
 };
 
-&extbus {
-       ranges = <1 0x00000000 0x42000000 0x02000000>;
-};
-
-&support_card {
-       ranges = <0x00000000 1 0x01f00000 0x00100000>;
-};
-
 &ethsc {
        interrupts = <0 48 4>;
 };
index da271e3..fa807e8 100644 (file)
  */
 
 &extbus {
+       ranges = <1 0x00000000 0x42000000 0x02000000>;
+
        support_card: support_card {
                compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;
+               ranges = <0x00000000 1 0x01f00000 0x00100000>;
 
                ethsc: ethernet@00000000 {
                        compatible = "smsc,lan9118", "smsc,lan9115";
index 80f71ba..727ae5f 100644 (file)
        };
 };
 
-&extbus {
-       ranges = <1 0x00000000 0x42000000 0x02000000>;
-};
-
-&support_card {
-       ranges = <0x00000000 1 0x01f00000 0x00100000>;
-};
-
 &ethsc {
        interrupts = <0 48 4>;
 };