aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-02-17 10:04:42 -0500
committerSimon Horman <horms+renesas@verge.net.au>2015-02-23 16:37:49 -0500
commita656c603889c256e3d05e79e57714aa88d179903 (patch)
treef92c78095f6dd950266d2dd88b13c55bd73271b2
parent271b3ad26187fc7b47a74510b01193b506c60dbf (diff)
ARM: shmobile: ape6evm dts: Move Ethernet node to BSC
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>
-rw-r--r--arch/arm/boot/dts/r8a73a4-ape6evm.dts35
1 files changed, 15 insertions, 20 deletions
diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm.dts b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
index 0d50bef01234..44c4cac1820a 100644
--- a/arch/arm/boot/dts/r8a73a4-ape6evm.dts
+++ b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
@@ -72,26 +72,6 @@
72 regulator-always-on; 72 regulator-always-on;
73 }; 73 };
74 74
75 lbsc {
76 compatible = "simple-bus";
77 #address-cells = <1>;
78 #size-cells = <1>;
79 ranges = <0 0 0 0x20000000>;
80
81 ethernet@8000000 {
82 compatible = "smsc,lan9220", "smsc,lan9115";
83 reg = <0x08000000 0x1000>;
84 interrupt-parent = <&irqc1>;
85 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
86 phy-mode = "mii";
87 reg-io-width = <4>;
88 smsc,irq-active-high;
89 smsc,irq-push-pull;
90 vdd33a-supply = <&ape6evm_fixed_3v3>;
91 vddvario-supply = <&ape6evm_fixed_1v8>;
92 };
93 };
94
95 leds { 75 leds {
96 compatible = "gpio-leds"; 76 compatible = "gpio-leds";
97 led1 { 77 led1 {
@@ -184,6 +164,21 @@
184 voltage-tolerance = <1>; /* 1% */ 164 voltage-tolerance = <1>; /* 1% */
185}; 165};
186 166
167&bsc {
168 ethernet@8000000 {
169 compatible = "smsc,lan9220", "smsc,lan9115";
170 reg = <0x08000000 0x1000>;
171 interrupt-parent = <&irqc1>;
172 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
173 phy-mode = "mii";
174 reg-io-width = <4>;
175 smsc,irq-active-high;
176 smsc,irq-push-pull;
177 vdd33a-supply = <&ape6evm_fixed_3v3>;
178 vddvario-supply = <&ape6evm_fixed_1v8>;
179 };
180};
181
187&cmt1 { 182&cmt1 {
188 status = "okay"; 183 status = "okay";
189}; 184};