From: Wolfram Sang Date: Mon, 14 Apr 2025 10:01:13 +0000 (+0200) Subject: ARM: dts: renesas: r9a06g032-rzn1d400-eb: Add GMAC1 port X-Git-Tag: v6.16-rc1~97^2~44^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06534edc0d366b9904c221de77068616d7b5af32;p=thirdparty%2Flinux.git ARM: dts: renesas: r9a06g032-rzn1d400-eb: Add GMAC1 port This port bypasses the switch and is directly connected to the GMAC. Co-developed-by: Niklas Söderlund Signed-off-by: Niklas Söderlund Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Link: https://lore.kernel.org/20250414100206.7185-2-wsa+renesas@sang-engineering.com Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts b/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts index e539df514d1ed..7f721720f6473 100644 --- a/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts +++ b/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts @@ -15,6 +15,44 @@ "renesas,r9a06g032"; }; +&gmac1 { + pinctrl-0 = <&pins_eth0>, <&pins_mdio0>; + pinctrl-names = "default"; + + status = "okay"; + phy-mode = "rgmii-id"; + phy-handle = <&phy_mii0>; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + compatible = "snps,dwmac-mdio"; + + phy_mii0: ethernet-phy@8 { + reg = <8>; + + leds { + #address-cells = <1>; + #size-cells = <0>; + + led@0 { + reg = <0>; + color = ; + function = LED_FUNCTION_LAN; + default-state = "keep"; + }; + + led@1 { + reg = <1>; + color = ; + function = LED_FUNCTION_ACTIVITY; + default-state = "keep"; + }; + }; + }; + }; +}; + &i2c2 { /* Sensors are different across revisions. All are LM75B compatible */ sensor@49 { @@ -23,6 +61,11 @@ }; }; +&mii_conv1 { + renesas,miic-input = ; + status = "okay"; +}; + &mii_conv2 { renesas,miic-input = ; status = "okay"; @@ -34,6 +77,23 @@ }; &pinctrl { + pins_eth0: pins-eth0 { + pinmux = , + , + , + , + , + , + , + , + , + , + , + ; + drive-strength = <6>; + bias-disable; + }; + pins_eth1: pins-eth1 { pinmux = , , @@ -68,6 +128,11 @@ bias-disable; }; + pins_mdio0: pins-mdio0 { + pinmux = , + ; + }; + pins_sdio1: pins-sdio1 { pinmux = , ,