From: Chen-Yu Tsai Date: Fri, 31 Oct 2014 03:05:51 +0000 (+0800) Subject: ARM: dts: sun9i: Enable uart4 for A80 Optimus board X-Git-Tag: Ubuntu-5.13.0-19.19~18945^2~9^2~21 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=80204f37d6367a304e2b8a6c8c4c207c97832a39;p=mirror_ubuntu-jammy-kernel.git ARM: dts: sun9i: Enable uart4 for A80 Optimus board The A80 Optimus board exposes uart4 on the GPIO expansion header. Enable it so we can use it. Also enable the internal pull-ups, as there doesn't seem to be external pull-up resistors for pins on the expansion header. Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun9i-a80-optimus.dts b/arch/arm/boot/dts/sun9i-a80-optimus.dts index 87b1355e3cd7..506948f582ee 100644 --- a/arch/arm/boot/dts/sun9i-a80-optimus.dts +++ b/arch/arm/boot/dts/sun9i-a80-optimus.dts @@ -71,6 +71,11 @@ allwinner,drive = <0>; allwinner,pull = <0>; }; + + uart4_pins_a: uart4@0 { + /* Enable internal pull-up */ + allwinner,pull = <1>; + }; }; uart0: serial@07000000 { @@ -79,6 +84,12 @@ status = "okay"; }; + uart4: serial@07001000 { + pinctrl-names = "default"; + pinctrl-0 = <&uart4_pins_a>; + status = "okay"; + }; + i2c3: i2c@07003400 { pinctrl-names = "default"; pinctrl-0 = <&i2c3_pins_a>;