arm64: dts: Add uart for mt6797 EVB

This patch adds the pinctrl configuration for the mt6797 EVB.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
This commit is contained in:
Matthias Brugger 2018-11-16 19:30:40 +01:00 committed by Matthias Brugger
parent 58bef10e47
commit e8c165fec9
2 changed files with 9 additions and 0 deletions

View File

@ -33,4 +33,6 @@ memory@40000000 {
&uart0 { &uart0 {
status = "okay"; status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
}; };

View File

@ -142,6 +142,13 @@ pio: pinctrl@10005000 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
uart0_pins_a: uart0 {
pins0 {
pinmux = <MT6797_GPIO234__FUNC_UTXD0>,
<MT6797_GPIO235__FUNC_URXD0>;
};
};
uart1_pins_a: uart1 { uart1_pins_a: uart1 {
pins1 { pins1 {
pinmux = <MT6797_GPIO232__FUNC_URXD1>, pinmux = <MT6797_GPIO232__FUNC_URXD1>,