ARM: shmobile: ape6evm dts: Move Ethernet node to BSC
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 17 Feb 2015 15:04:42 +0000 (16:04 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 23 Feb 2015 21:37:49 +0000 (06:37 +0900)
Move the Ethernet node from the ad-hoc lbsc node to the BSC node,
as its 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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Acked-by: Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a73a4-ape6evm.dts

index 0d50bef..44c4cac 100644 (file)
                regulator-always-on;
        };
 
-       lbsc {
-               compatible = "simple-bus";
-               #address-cells = <1>;
-               #size-cells = <1>;
-               ranges = <0 0 0 0x20000000>;
-
-               ethernet@8000000 {
-                       compatible = "smsc,lan9220", "smsc,lan9115";
-                       reg = <0x08000000 0x1000>;
-                       interrupt-parent = <&irqc1>;
-                       interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
-                       phy-mode = "mii";
-                       reg-io-width = <4>;
-                       smsc,irq-active-high;
-                       smsc,irq-push-pull;
-                       vdd33a-supply = <&ape6evm_fixed_3v3>;
-                       vddvario-supply = <&ape6evm_fixed_1v8>;
-               };
-       };
-
        leds {
                compatible = "gpio-leds";
                led1 {
        voltage-tolerance = <1>; /* 1% */
 };
 
+&bsc {
+       ethernet@8000000 {
+               compatible = "smsc,lan9220", "smsc,lan9115";
+               reg = <0x08000000 0x1000>;
+               interrupt-parent = <&irqc1>;
+               interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
+               phy-mode = "mii";
+               reg-io-width = <4>;
+               smsc,irq-active-high;
+               smsc,irq-push-pull;
+               vdd33a-supply = <&ape6evm_fixed_3v3>;
+               vddvario-supply = <&ape6evm_fixed_1v8>;
+       };
+};
+
 &cmt1 {
        status = "okay";
 };