mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
9a495f6bbb
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43564
41 lines
1.1 KiB
Diff
41 lines
1.1 KiB
Diff
From 0af3258f87d590864187b0187c7aa7428801ef80 Mon Sep 17 00:00:00 2001
|
|
From: Alexander Bersenev <bay@hackerdom.ru>
|
|
Date: Mon, 9 Jun 2014 00:08:12 +0600
|
|
Subject: [PATCH] ARM: sunxi: Add IR controllers on A20 to dtsi
|
|
|
|
This patch adds records for two IR controllers on A20
|
|
|
|
Signed-off-by: Alexander Bersenev <bay@hackerdom.ru>
|
|
Signed-off-by: Alexsey Shestacov <wingrime@linux-sunxi.org>
|
|
---
|
|
arch/arm/boot/dts/sun7i-a20.dtsi | 18 ++++++++++++++++++
|
|
1 file changed, 18 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
|
|
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
|
|
@@ -785,6 +785,24 @@
|
|
interrupts = <0 24 4>;
|
|
};
|
|
|
|
+ ir0: ir@01c21800 {
|
|
+ compatible = "allwinner,sun7i-a20-ir";
|
|
+ clocks = <&apb0_gates 6>, <&ir0_clk>;
|
|
+ clock-names = "apb", "ir";
|
|
+ interrupts = <0 5 4>;
|
|
+ reg = <0x01c21800 0x40>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ ir1: ir@01c21c00 {
|
|
+ compatible = "allwinner,sun7i-a20-ir";
|
|
+ clocks = <&apb0_gates 7>, <&ir1_clk>;
|
|
+ clock-names = "apb", "ir";
|
|
+ interrupts = <0 6 4>;
|
|
+ reg = <0x01c21c00 0x40>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
lradc: lradc@01c22800 {
|
|
compatible = "allwinner,sun4i-lradc-keys";
|
|
reg = <0x01c22800 0x100>;
|