提交 9e83bbdb 编写于 作者: T Thomas Petazzoni 提交者: Gregory CLEMENT

arm64: dts: marvell: add UART muxing on Armada 7K/8K

This commit adds the relevant details in the Armada 7K/8K Device Tree
to properly mux the UART used for the serial console. Since there is
basically only one possible muxing for the UART0 on the AP, the muxing
configuration is described in armada-ap806.dtsi, and selected from the
individual boards (other boards could be using a different UART).
Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: NGregory CLEMENT <gregory.clement@free-electrons.com>
上级 2bd6bf03
...@@ -124,6 +124,8 @@ ...@@ -124,6 +124,8 @@
&uart0 { &uart0 {
status = "okay"; status = "okay";
pinctrl-0 = <&uart0_pins>;
pinctrl-names = "default";
}; };
......
...@@ -139,6 +139,8 @@ ...@@ -139,6 +139,8 @@
/* Accessible over the mini-USB CON9 connector on the main board */ /* Accessible over the mini-USB CON9 connector on the main board */
&uart0 { &uart0 {
status = "okay"; status = "okay";
pinctrl-0 = <&uart0_pins>;
pinctrl-names = "default";
}; };
......
...@@ -101,6 +101,8 @@ ...@@ -101,6 +101,8 @@
&uart0 { &uart0 {
status = "okay"; status = "okay";
pinctrl-0 = <&uart0_pins>;
pinctrl-names = "default";
}; };
&ap_sdhci0 { &ap_sdhci0 {
......
...@@ -263,6 +263,11 @@ ...@@ -263,6 +263,11 @@
ap_pinctrl: pinctrl { ap_pinctrl: pinctrl {
compatible = "marvell,ap806-pinctrl"; compatible = "marvell,ap806-pinctrl";
uart0_pins: uart0-pins {
marvell,pins = "mpp11", "mpp19";
marvell,function = "uart0";
};
}; };
ap_gpio: gpio { ap_gpio: gpio {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册