kernel: bump 4.9 to 4.9.77
[openwrt/openwrt.git] / target / linux / sunxi / patches-4.9 / 0025-arm64-allwinner-a64-add-R_PIO-pinctrl-node.patch
1 From ec4279053a6434f685246e022be95d2a62f8c608 Mon Sep 17 00:00:00 2001
2 From: Icenowy Zheng <icenowy@aosc.xyz>
3 Date: Tue, 4 Apr 2017 17:51:00 +0800
4 Subject: arm64: allwinner: a64: add R_PIO pinctrl node
5
6 Allwinner A64 have a dedicated pin controller to manage the PL pin bank.
7 As the driver and the required clock support are added, add the device
8 node for it.
9
10 Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
11 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
12 ---
13 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 12 ++++++++++++
14 1 file changed, 12 insertions(+)
15
16 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
17 +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
18 @@ -406,5 +406,17 @@
19 #clock-cells = <1>;
20 #reset-cells = <1>;
21 };
22 +
23 + r_pio: pinctrl@01f02c00 {
24 + compatible = "allwinner,sun50i-a64-r-pinctrl";
25 + reg = <0x01f02c00 0x400>;
26 + interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
27 + clocks = <&r_ccu 3>, <&osc24M>, <&osc32k>;
28 + clock-names = "apb", "hosc", "losc";
29 + gpio-controller;
30 + #gpio-cells = <3>;
31 + interrupt-controller;
32 + #interrupt-cells = <3>;
33 + };
34 };
35 };