ARM: shmobile: kzm9g dts: Move Ethernet node to BSC
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 17 Feb 2015 14:52:37 +0000 (15:52 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 23 Feb 2015 23:22:47 +0000 (08:22 +0900)
Move the Ethernet node from the root of the device tree to the BSC node,
as it's connected to the Bus State Controller.  This allows the system
to know the right position of the Ethernet node in the clock and PM
domain hierarchy, and manage the clock and PM domain appropriately.

Also rename the node's name from "lan9220" to "ethernet", to conform to
ePAPR generic name recomendations.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/sh73a0-kzm9g.dts

index 6f00e6b680e8e0fae14d7573859bbfe7721c51ff..022ba505f57339a959d8208732eeb75e585911d4 100644 (file)
                enable-active-high;
        };
 
-       lan9220@10000000 {
-               compatible = "smsc,lan9220", "smsc,lan9115";
-               reg = <0x10000000 0x100>;
-               phy-mode = "mii";
-               interrupt-parent = <&irqpin0>;
-               interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
-               reg-io-width = <4>;
-               smsc,irq-push-pull;
-               smsc,save-mac-address;
-               vddvario-supply = <&reg_1p8v>;
-               vdd33a-supply = <&reg_3p3v>;
-       };
-
        leds {
                compatible = "gpio-leds";
                led1 {
        };
 };
 
+&bsc {
+       ethernet@10000000 {
+               compatible = "smsc,lan9220", "smsc,lan9115";
+               reg = <0x10000000 0x100>;
+               phy-mode = "mii";
+               interrupt-parent = <&irqpin0>;
+               interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
+               reg-io-width = <4>;
+               smsc,irq-push-pull;
+               smsc,save-mac-address;
+               vddvario-supply = <&reg_1p8v>;
+               vdd33a-supply = <&reg_3p3v>;
+       };
+};
+
 &cmt1 {
        status = "okay";
 };