Commit 3be2d9cf authored by Neil Armstrong's avatar Neil Armstrong Committed by Kevin Hilman

ARM64: dts: meson-gxbb: Add rmii pinctrl node and rename rgmii node

For boards only supporting 10/100 ethernet over a RMII PHY link, add
a separate pinctrl node. By the way, rename the existing node to rgmii
specific naming in all boards dts.
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent 214ec523
...@@ -97,8 +97,9 @@ &uart_AO { ...@@ -97,8 +97,9 @@ &uart_AO {
&ethmac { &ethmac {
status = "okay"; status = "okay";
pinctrl-0 = <&eth_pins>; pinctrl-0 = <&eth_rmii_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
phy-mode = "rmii";
}; };
&ir { &ir {
......
...@@ -83,7 +83,7 @@ &uart_AO { ...@@ -83,7 +83,7 @@ &uart_AO {
&ethmac { &ethmac {
status = "okay"; status = "okay";
pinctrl-0 = <&eth_pins>; pinctrl-0 = <&eth_rgmii_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
......
...@@ -81,7 +81,7 @@ &uart_AO { ...@@ -81,7 +81,7 @@ &uart_AO {
&ethmac { &ethmac {
status = "okay"; status = "okay";
pinctrl-0 = <&eth_pins>; pinctrl-0 = <&eth_rgmii_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
......
...@@ -82,7 +82,7 @@ &ir { ...@@ -82,7 +82,7 @@ &ir {
&ethmac { &ethmac {
status = "okay"; status = "okay";
pinctrl-0 = <&eth_pins>; pinctrl-0 = <&eth_rgmii_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
......
...@@ -443,7 +443,7 @@ mux { ...@@ -443,7 +443,7 @@ mux {
}; };
}; };
eth_pins: eth_c { eth_rgmii_pins: eth-rgmii {
mux { mux {
groups = "eth_mdio", groups = "eth_mdio",
"eth_mdc", "eth_mdc",
...@@ -463,6 +463,21 @@ mux { ...@@ -463,6 +463,21 @@ mux {
}; };
}; };
eth_rmii_pins: eth-rmii {
mux {
groups = "eth_mdio",
"eth_mdc",
"eth_clk_rx_clk",
"eth_rx_dv",
"eth_rxd0",
"eth_rxd1",
"eth_tx_en",
"eth_txd0",
"eth_txd1";
function = "eth";
};
};
pwm_a_x_pins: pwm_a_x { pwm_a_x_pins: pwm_a_x {
mux { mux {
groups = "pwm_a_x"; groups = "pwm_a_x";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment