[PATCH 1/4] ARM:dts:sun7i: Add keypad clk node

yassinjaffer at gmail.com yassinjaffer at gmail.com
Tue Sep 15 07:05:54 PDT 2015


From: Yassin Jaffer <yassinjaffer at gmail.com>

This patch add support to the keypad clock on sun7i

Signed-off-by: Yassin Jaffer <yassinjaffer at gmail.com>
---
 arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 2bebaa2..333604a 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -465,6 +465,14 @@
 			clock-output-names = "ir1";
 		};
 
+		keypad_clk: clk at 01c200c4 {
+			#clock-cells = <0>;
+			compatible = "allwinner,sun4i-a10-mod0-clk";
+			reg = <0x01c200c4 0x4>;
+			clocks = <&osc24M>;
+			clock-output-names = "keypad";
+		};
+
 		usb_clk: clk at 01c200cc {
 			#clock-cells = <1>;
 			#reset-cells = <1>;
-- 
1.9.1




More information about the linux-arm-kernel mailing list