Commit e53bfb02 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Maxime Ripard

ARM: sun8i: a83t: Rename pinmux setting names

The pinmux setting nodes all have an address element in their node
names, however the pinctrl node does not have #address-cells.

Rename the existing pinmux setting nodes and labels in sun8i-a83t.dtsi,
dropping identifiers for functions that only have one possible setting,
and using the pingroup name if the function is identically available on
different pingroups.
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 802139d0
...@@ -59,6 +59,6 @@ chosen { ...@@ -59,6 +59,6 @@ chosen {
&uart0 { &uart0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_b>; pinctrl-0 = <&uart0_pb_pins>;
status = "okay"; status = "okay";
}; };
...@@ -60,6 +60,6 @@ chosen { ...@@ -60,6 +60,6 @@ chosen {
&uart0 { &uart0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_b>; pinctrl-0 = <&uart0_pb_pins>;
status = "okay"; status = "okay";
}; };
...@@ -174,7 +174,7 @@ pio: pinctrl@01c20800 { ...@@ -174,7 +174,7 @@ pio: pinctrl@01c20800 {
#interrupt-cells = <3>; #interrupt-cells = <3>;
#gpio-cells = <3>; #gpio-cells = <3>;
mmc0_pins_a: mmc0@0 { mmc0_pins: mmc0_pins {
pins = "PF0", "PF1", "PF2", pins = "PF0", "PF1", "PF2",
"PF3", "PF4", "PF5"; "PF3", "PF4", "PF5";
function = "mmc0"; function = "mmc0";
...@@ -182,13 +182,13 @@ mmc0_pins_a: mmc0@0 { ...@@ -182,13 +182,13 @@ mmc0_pins_a: mmc0@0 {
bias-pull-up; bias-pull-up;
}; };
uart0_pins_a: uart0@0 { uart0_pb_pins: uart0_pb_pins {
pins = "PF2", "PF4"; pins = "PB9", "PB10";
function = "uart0"; function = "uart0";
}; };
uart0_pins_b: uart0@1 { uart0_pf_pins: uart0_pf_pins {
pins = "PB9", "PB10"; pins = "PF2", "PF4";
function = "uart0"; function = "uart0";
}; };
}; };
......
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