From 3b88f74bbe9134465a84234e1e7400af585f8c2b Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 17 Jul 2017 22:48:31 +0200 Subject: sunxi: Backport patches from kernel 4.11 for A64 This backports some more patches from kernel 4.11 adding more devices to the device tree of the A64 SoC. Signed-off-by: Hauke Mehrtens --- ...rm64-allwinner-a64-add-R_PIO-pinctrl-node.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 target/linux/sunxi/patches-4.9/0025-arm64-allwinner-a64-add-R_PIO-pinctrl-node.patch (limited to 'target/linux/sunxi/patches-4.9/0025-arm64-allwinner-a64-add-R_PIO-pinctrl-node.patch') diff --git a/target/linux/sunxi/patches-4.9/0025-arm64-allwinner-a64-add-R_PIO-pinctrl-node.patch b/target/linux/sunxi/patches-4.9/0025-arm64-allwinner-a64-add-R_PIO-pinctrl-node.patch new file mode 100644 index 0000000000..ff541ce63e --- /dev/null +++ b/target/linux/sunxi/patches-4.9/0025-arm64-allwinner-a64-add-R_PIO-pinctrl-node.patch @@ -0,0 +1,35 @@ +From ec4279053a6434f685246e022be95d2a62f8c608 Mon Sep 17 00:00:00 2001 +From: Icenowy Zheng +Date: Tue, 4 Apr 2017 17:51:00 +0800 +Subject: arm64: allwinner: a64: add R_PIO pinctrl node + +Allwinner A64 have a dedicated pin controller to manage the PL pin bank. +As the driver and the required clock support are added, add the device +node for it. + +Signed-off-by: Icenowy Zheng +Signed-off-by: Maxime Ripard +--- + arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi ++++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +@@ -406,5 +406,17 @@ + #clock-cells = <1>; + #reset-cells = <1>; + }; ++ ++ r_pio: pinctrl@01f02c00 { ++ compatible = "allwinner,sun50i-a64-r-pinctrl"; ++ reg = <0x01f02c00 0x400>; ++ interrupts = ; ++ clocks = <&r_ccu 3>, <&osc24M>, <&osc32k>; ++ clock-names = "apb", "hosc", "losc"; ++ gpio-controller; ++ #gpio-cells = <3>; ++ interrupt-controller; ++ #interrupt-cells = <3>; ++ }; + }; + }; -- cgit v1.2.3