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 f1e9d40149ab89026e9e1035248add10b03a1e2a..ec94b7a661f2a33eca20e08ea9783971c3a7440d 100644 (file)
        };
 };
 
-&extbus {
-       ranges = <1 0x00000000 0x42000000 0x02000000>;
-};
-
-&support_card {
-       ranges = <0x00000000 1 0x01f00000 0x00100000>;
-};
-
 &ethsc {
        interrupts = <0 49 4>;
 };
index 5baa9fc9c8886492b70a63e7b32e0e05b9dd4611..b8134c6e094b1ad147490a11cdace67bad793325 100644 (file)
        };
 };
 
-&extbus {
-       ranges = <1 0x00000000 0x42000000 0x02000000>;
-};
-
-&support_card {
-       ranges = <0x00000000 1 0x01f00000 0x00100000>;
-};
-
 &ethsc {
        interrupts = <0 52 4>;
 };
index 24626687d4df5bce1b93ba18fcef2668ec520f14..95f631a3de3558040817c7294d07f616fce99faf 100644 (file)
        };
 };
 
-&extbus {
-       ranges = <1 0x00000000 0x42000000 0x02000000>;
-};
-
-&support_card {
-       ranges = <0x00000000 1 0x01f00000 0x00100000>;
-};
-
 &ethsc {
        interrupts = <0 50 4>;
 };
index b7a032156789f1d9b4b28a3d28931906a1c7c361..acb420492b36feb771e8819c9a39dbfa794ff182 100644 (file)
        };
 };
 
-&extbus {
-       ranges = <1 0x00000000 0x42000000 0x02000000>;
-};
-
-&support_card {
-       ranges = <0x00000000 1 0x01f00000 0x00100000>;
-};
-
 &ethsc {
        interrupts = <0 49 4>;
 };
index fc7250c61674f0e0b8a4ab0b393801790dc8c00a..d594f40e7f7626765a263c548b841b57ca213123 100644 (file)
        };
 };
 
-&extbus {
-       ranges = <1 0x00000000 0x42000000 0x02000000>;
-};
-
-&support_card {
-       ranges = <0x00000000 1 0x01f00000 0x00100000>;
-};
-
 &ethsc {
        interrupts = <0 48 4>;
 };
index da271e3b922ab1f0b9d688683a09233e006fae5b..fa807e832c5fa82d902c45dac8a55bacefd2ddd3 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 80f71ba86815e7bdafa906ee11871fd16c072215..727ae5f8c4e716178a4cda1e484b5118a16646c5 100644 (file)
        };
 };
 
-&extbus {
-       ranges = <1 0x00000000 0x42000000 0x02000000>;
-};
-
-&support_card {
-       ranges = <0x00000000 1 0x01f00000 0x00100000>;
-};
-
 &ethsc {
        interrupts = <0 48 4>;
 };