[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1396029548-10928-11-git-send-email-b.brezillon.dev@gmail.com>
Date: Fri, 28 Mar 2014 18:59:08 +0100
From: Boris BREZILLON <b.brezillon.dev@...il.com>
To: Rob Landley <rob@...dley.net>,
Nicolas Ferre <nicolas.ferre@...el.com>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
Thomas Gleixner <tglx@...utronix.de>
Cc: devicetree@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Boris BREZILLON <b.brezillon.dev@...il.com>
Subject: [RFC PATCH v2 10/10] ARM: at91/dt: add new AIC irq mux definitions for sama5 SoCs
Add irq line muxing definition for sama5 SoCs.
Signed-off-by: Boris BREZILLON <b.brezillon.dev@...il.com>
---
arch/arm/boot/dts/sama5d3.dtsi | 37 +++++++++++++++++++++++++++++++++++
arch/arm/boot/dts/sama5d3_tcb1.dtsi | 20 +++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index 3d5faf8..ece1f7b 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -416,6 +416,43 @@
interrupt-controller;
reg = <0xfffff000 0x200>;
atmel,external-irqs = <47>;
+ #address-cells = <2>;
+ #size-cells = <1>;
+ ranges = <1 0x0 0xffffc000 0x4000>,
+ <26 0x0 0xf0010000 0x4000>,
+ <27 0x0 0xf8014000 0x4000>;
+
+ atmel,aic-irq-mapping = <0xffffffff 0x7ffff>;
+
+ pmc_irq: irq-mux@1,3c64 {
+ compatible = "atmel,aic-mux-3reg-irq";
+ reg = <1 0x3c64 0x4>;
+ atmel,aic-mux-reg-mask = <0x5074b>;
+ };
+
+ rtc_irq: irq-mux@1,3ed4 {
+ compatible = "atmel,aic-mux-3reg-irq";
+ reg = <1 0x3ed4 0x4>;
+ atmel,aic-mux-reg-mask = <0x1f>;
+ };
+
+ tc0_irq: irq-mux@26,28 {
+ compatible = "atmel,aic-mux-3reg-irq";
+ reg = <26 0x28 0x4>;
+ atmel,aic-mux-reg-mask = <0xff>;
+ };
+
+ tc1_irq: irq-mux@26,68 {
+ compatible = "atmel,aic-mux-3reg-irq";
+ reg = <26 0x68 0x4>;
+ atmel,aic-mux-reg-mask = <0xff>;
+ };
+
+ tc2_irq: irq-mux@26,a8 {
+ compatible = "atmel,aic-mux-3reg-irq";
+ reg = <26 0xa8 0x4>;
+ atmel,aic-mux-reg-mask = <0xff>;
+ };
};
pinctrl@...ff200 {
diff --git a/arch/arm/boot/dts/sama5d3_tcb1.dtsi b/arch/arm/boot/dts/sama5d3_tcb1.dtsi
index 382b044..6060bfd 100644
--- a/arch/arm/boot/dts/sama5d3_tcb1.dtsi
+++ b/arch/arm/boot/dts/sama5d3_tcb1.dtsi
@@ -18,6 +18,26 @@
ahb {
apb {
+ aic: interrupt-controller@...ff000 {
+ tc3_irq: irq-mux@27,28 {
+ compatible = "atmel,aic-mux-3reg-irq";
+ reg = <27 0x28 0x4>;
+ atmel,aic-mux-reg-mask = <0xff>;
+ };
+
+ tc4_irq: irq-mux@27,68 {
+ compatible = "atmel,aic-mux-3reg-irq";
+ reg = <27 0x68 0x4>;
+ atmel,aic-mux-reg-mask = <0xff>;
+ };
+
+ tc5_irq: irq-mux@27,a8 {
+ compatible = "atmel,aic-mux-3reg-irq";
+ reg = <27 0xa8 0x4>;
+ atmel,aic-mux-reg-mask = <0xff>;
+ };
+ };
+
pmc: pmc@...ffc00 {
periphck {
tcb1_clk: tcb1_clk {
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists