mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
arm64: dts: renesas: rzg3l-smarc-som: Add pinctrl configuration for ETH0
Add pin control configuration for the ETH0 Ethernet interface on the RZ/G3L SMARC SoM board and also enable hotplug support. Signed-off-by: Biju Das <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
This commit is contained in:
committed by
Geert Uytterhoeven
parent
cdc8ef62ae
commit
72411a23c3
@@ -14,6 +14,7 @@
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/pinctrl/renesas,r9a08g046-pinctrl.h>
|
||||
#include "r9a08g046l48.dtsi"
|
||||
#include "rzg3l-smarc-som.dtsi"
|
||||
#include "renesas-smarc2.dtsi"
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
phy-handle = <&phy0>;
|
||||
phy-mode = "rgmii-id";
|
||||
|
||||
pinctrl-0 = <ð0_pins>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -38,6 +40,7 @@
|
||||
phy0: ethernet-phy@7 {
|
||||
compatible = "ethernet-phy-id0022.1640";
|
||||
reg = <7>;
|
||||
interrupts-extended = <&icu 3 IRQ_TYPE_LEVEL_LOW>;
|
||||
rxc-skew-psec = <1400>;
|
||||
txc-skew-psec = <1400>;
|
||||
rxdv-skew-psec = <0>;
|
||||
@@ -52,3 +55,32 @@
|
||||
txd3-skew-psec = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
eth0_pins: eth0 {
|
||||
txc {
|
||||
pinmux = <RZG3L_PORT_PINMUX(B, 1, 1)>; /* ETH0_TXC_REF_CLK */
|
||||
power-source = <1800>;
|
||||
output-enable;
|
||||
drive-strength-microamp = <5200>;
|
||||
};
|
||||
|
||||
ctrl {
|
||||
pinmux = <RZG3L_PORT_PINMUX(A, 0, 1)>, /* MDIO */
|
||||
<RZG3L_PORT_PINMUX(A, 1, 1)>, /* MDC */
|
||||
<RZG3L_PORT_PINMUX(A, 2, 1)>, /* RX_CTL */
|
||||
<RZG3L_PORT_PINMUX(A, 3, 1)>, /* TX_CTL */
|
||||
<RZG3L_PORT_PINMUX(B, 0, 1)>, /* RXC */
|
||||
<RZG3L_PORT_PINMUX(B, 2, 1)>, /* TXD0 */
|
||||
<RZG3L_PORT_PINMUX(B, 3, 1)>, /* TXD1 */
|
||||
<RZG3L_PORT_PINMUX(B, 4, 1)>, /* TXD2 */
|
||||
<RZG3L_PORT_PINMUX(B, 5, 1)>, /* TXD3 */
|
||||
<RZG3L_PORT_PINMUX(B, 6, 1)>, /* RXD0 */
|
||||
<RZG3L_PORT_PINMUX(B, 7, 1)>, /* RXD1 */
|
||||
<RZG3L_PORT_PINMUX(C, 0, 1)>, /* RXD2 */
|
||||
<RZG3L_PORT_PINMUX(C, 1, 1)>, /* RXD3 */
|
||||
<RZG3L_PORT_PINMUX(C, 2, 15)>; /* PHY_INTR */
|
||||
power-source = <1800>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user