[PATCH v10 4/5] ARM: sunxi: Add IR controllers on A20 to dtsi
Alexander Bersenev
bay at hackerdom.ru
Sat Jun 21 04:04:05 PDT 2014
This patch adds records for two IR controllers on A20
Signed-off-by: Alexander Bersenev <bay at hackerdom.ru>
Signed-off-by: Alexsey Shestacov <wingrime at linux-sunxi.org>
---
arch/arm/boot/dts/sun7i-a20.dtsi | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 656d7d3..1782375 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -785,6 +785,24 @@
status = "disabled";
};
+ ir0: ir at 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 at 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";
+ };
+
sid: eeprom at 01c23800 {
compatible = "allwinner,sun7i-a20-sid";
reg = <0x01c23800 0x200>;
--
1.7.1
More information about the linux-arm-kernel
mailing list