kernel: bump 4.9 to 4.9.77
[openwrt/openwrt.git] / target / linux / sunxi / patches-4.9 / 0023-arm64-allwinner-a64-add-UART1-pin-nodes.patch
1 From e7ba733d32cc9487b62b07219ad911c77764a681 Mon Sep 17 00:00:00 2001
2 From: Andre Przywara <andre.przywara@arm.com>
3 Date: Tue, 10 Jan 2017 01:22:32 +0000
4 Subject: arm64: allwinner: a64: add UART1 pin nodes
5
6 On many boards UART1 connects to a Bluetooth chip, so add the pinctrl
7 nodes for the only pins providing access to that UART. That includes
8 those pins for hardware flow control (RTS/CTS).
9
10 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
11 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
12 Acked-by: Chen-Yu Tsai <wens@csie.org>
13 ---
14 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 10 ++++++++++
15 1 file changed, 10 insertions(+)
16
17 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
18 +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
19 @@ -272,6 +272,16 @@
20 pins = "PB8", "PB9";
21 function = "uart0";
22 };
23 +
24 + uart1_pins: uart1_pins {
25 + pins = "PG6", "PG7";
26 + function = "uart1";
27 + };
28 +
29 + uart1_rts_cts_pins: uart1_rts_cts_pins {
30 + pins = "PG8", "PG9";
31 + function = "uart1";
32 + };
33 };
34
35 uart0: serial@1c28000 {