mirror of https://gitee.com/openkylin/linux.git
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: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
parent
802139d009
commit
e53bfb022f
|
@ -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 {
|
||||||
|
|
||||||
&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 {
|
||||||
#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 {
|
||||||
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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue