ARM: dts: renesas: marzen: Move Ethernet node to LBSC
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 31 Aug 2023 11:52:29 +0000 (13:52 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 25 Sep 2023 07:19:20 +0000 (09:19 +0200)
The SMSC LAN89218AQ Ethernet controller on the Marzen development board
resides in the external address space of the Local Bus State Controller
(LBSC).  Move the Ethernet device node to reflect this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/74a8ee61ed89c9ca0489156a4f135ecb825e56b9.1693481518.git.geert+renesas@glider.be
arch/arm/boot/dts/renesas/r8a7779-marzen.dts

index fd40890bd77bc64c92fcc82c0d66956a9b487ad1..08ea149b1ee6f9dc79fb366dcacdcd47785ef339 100644 (file)
                states = <3300000 1>, <1800000 0>;
        };
 
-       ethernet@18000000 {
-               compatible = "smsc,lan89218", "smsc,lan9115";
-               reg = <0x18000000 0x100>;
-               pinctrl-0 = <&ethernet_pins>;
-               pinctrl-names = "default";
-
-               phy-mode = "mii";
-               interrupt-parent = <&irqpin0>;
-               interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
-               smsc,irq-push-pull;
-               reg-io-width = <4>;
-               vddvario-supply = <&fixedregulator3v3>;
-               vdd33a-supply = <&fixedregulator3v3>;
-       };
-
        keyboard-irq {
                compatible = "gpio-keys";
 
        clock-frequency = <31250000>;
 };
 
+&lbsc {
+       ethernet@18000000 {
+               compatible = "smsc,lan89218", "smsc,lan9115";
+               reg = <0x18000000 0x100>;
+               pinctrl-0 = <&ethernet_pins>;
+               pinctrl-names = "default";
+
+               phy-mode = "mii";
+               interrupt-parent = <&irqpin0>;
+               interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
+               smsc,irq-push-pull;
+               reg-io-width = <4>;
+               vddvario-supply = <&fixedregulator3v3>;
+               vdd33a-supply = <&fixedregulator3v3>;
+       };
+};
+
 &tmu0 {
        status = "okay";
 };