mirror of https://gitee.com/openkylin/linux.git
ARM: sun5i: Add UART2 pin group
There's one UART2 pin group that can be used across all sun5i SoCs. However, the A10s already has one pin group for that controller. Change the index of the one in the A10s DTSI, and add the common one to sun5i.dtsi Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
parent
b8fa6ca601
commit
bab86b948e
|
@ -257,7 +257,7 @@ &uart0 {
|
|||
|
||||
&uart2 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart2_pins_a>;
|
||||
pinctrl-0 = <&uart2_pins_b>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -151,7 +151,7 @@ uart0_pins_a: uart0@0 {
|
|||
function = "uart0";
|
||||
};
|
||||
|
||||
uart2_pins_a: uart2@0 {
|
||||
uart2_pins_b: uart2@1 {
|
||||
pins = "PC18", "PC19";
|
||||
function = "uart2";
|
||||
};
|
||||
|
|
|
@ -331,6 +331,16 @@ spi2_cs0_pins_a: spi2-cs0@0 {
|
|||
function = "spi2";
|
||||
};
|
||||
|
||||
uart2_pins_a: uart2@0 {
|
||||
pins = "PD2", "PD3";
|
||||
function = "uart2";
|
||||
};
|
||||
|
||||
uart2_cts_rts_pins_a: uart2-cts-rts@0 {
|
||||
pins = "PD4", "PD5";
|
||||
function = "uart2";
|
||||
};
|
||||
|
||||
uart3_pins_a: uart3@0 {
|
||||
pins = "PG9", "PG10";
|
||||
function = "uart3";
|
||||
|
|
Loading…
Reference in New Issue