Commit 470fa429 authored by Manivannan Sadhasivam's avatar Manivannan Sadhasivam

arm64: dts: bitmain: Add UART pinctrl support for Sophon Edge

Add pinctrl support for UARTs exposed on the Sophon Edge board.
Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent c1294fb5
...@@ -148,17 +148,46 @@ portc: gpio-controller@0 { ...@@ -148,17 +148,46 @@ portc: gpio-controller@0 {
}; };
}; };
&pinctrl {
pinctrl_uart0_default: pinctrl-uart0-default {
pinmux {
groups = "uart0_grp";
function = "uart0";
};
};
pinctrl_uart1_default: pinctrl-uart1-default {
pinmux {
groups = "uart1_grp";
function = "uart1";
};
};
pinctrl_uart2_default: pinctrl-uart2-default {
pinmux {
groups = "uart2_grp";
function = "uart2";
};
};
};
&uart0 { &uart0 {
status = "okay"; status = "okay";
clocks = <&uart_clk>; clocks = <&uart_clk>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart0_default>;
}; };
&uart1 { &uart1 {
status = "okay"; status = "okay";
clocks = <&uart_clk>; clocks = <&uart_clk>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1_default>;
}; };
&uart2 { &uart2 {
status = "okay"; status = "okay";
clocks = <&uart_clk>; clocks = <&uart_clk>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart2_default>;
}; };
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