提交 60d9c3a8 编写于 作者: M Maxime Ripard

ARM: sun5i: A10s: Switch the EMAC pins indices

One of the pins group for the EMAC can be used by all the SoCs of the sun5i
family, and as such can be moved to the common DTSI.

Unfortunately, this group is the second one we declare in our DT for now.
Make it the first one so that it's more logical and consistent with the
rest of our DTs before moving it.
Acked-by: NChen-Yu Tsai <wens@csie.org>
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
上级 c1ae3cfa
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
&emac { &emac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&emac_pins_a>; pinctrl-0 = <&emac_pins_b>;
phy = <&phy1>; phy = <&phy1>;
status = "okay"; status = "okay";
}; };
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
&emac { &emac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&emac_pins_b>; pinctrl-0 = <&emac_pins_a>;
phy = <&phy1>; phy = <&phy1>;
status = "okay"; status = "okay";
}; };
......
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
function = "uart2"; function = "uart2";
}; };
emac_pins_a: emac0@0 { emac_pins_b: emac0@1 {
pins = "PA0", "PA1", "PA2", pins = "PA0", "PA1", "PA2",
"PA3", "PA4", "PA5", "PA6", "PA3", "PA4", "PA5", "PA6",
"PA7", "PA8", "PA9", "PA10", "PA7", "PA8", "PA9", "PA10",
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
function = "emac"; function = "emac";
}; };
emac_pins_b: emac0@1 { emac_pins_a: emac0@0 {
pins = "PD6", "PD7", "PD10", pins = "PD6", "PD7", "PD10",
"PD11", "PD12", "PD13", "PD14", "PD11", "PD12", "PD13", "PD14",
"PD15", "PD18", "PD19", "PD20", "PD15", "PD18", "PD19", "PD20",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册