diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2014-08-27 12:09:46 +0000 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2014-08-27 12:09:46 +0000 |
commit | d0d3be5d8287ff737cfe4381c44706f1d8f7b881 (patch) | |
tree | ab287cf326cc235e7ee9161a13b57f4bd0fecc5b /target/linux/sunxi/patches-3.14/206-dt-sun67i-add-nmi-irqchip.patch | |
parent | 6e912a1e62ebb1ab2fdd3f63bff61936be65a84b (diff) | |
download | upstream-d0d3be5d8287ff737cfe4381c44706f1d8f7b881.tar.gz upstream-d0d3be5d8287ff737cfe4381c44706f1d8f7b881.tar.bz2 upstream-d0d3be5d8287ff737cfe4381c44706f1d8f7b881.zip |
sunxi: initial 3.14 patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42313 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/sunxi/patches-3.14/206-dt-sun67i-add-nmi-irqchip.patch')
-rw-r--r-- | target/linux/sunxi/patches-3.14/206-dt-sun67i-add-nmi-irqchip.patch | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-3.14/206-dt-sun67i-add-nmi-irqchip.patch b/target/linux/sunxi/patches-3.14/206-dt-sun67i-add-nmi-irqchip.patch new file mode 100644 index 0000000000..57979ef0ce --- /dev/null +++ b/target/linux/sunxi/patches-3.14/206-dt-sun67i-add-nmi-irqchip.patch @@ -0,0 +1,54 @@ +From eebb592523672ee7288b9327bd222165db638d1a Mon Sep 17 00:00:00 2001 +From: Carlo Caione <carlo@caione.org> +Date: Thu, 27 Feb 2014 20:34:21 +0100 +Subject: [PATCH] ARM: sun7i/sun6i: dts: Add NMI irqchip support + +This patch adds DTS entries for NMI controller as child of GIC. + +Signed-off-by: Carlo Caione <carlo@caione.org> +--- + arch/arm/boot/dts/sun6i-a31.dtsi | 8 ++++++++ + arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++ + 2 files changed, 16 insertions(+) + +diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi +index 8441733..74d2920 100644 +--- a/arch/arm/boot/dts/sun6i-a31.dtsi ++++ b/arch/arm/boot/dts/sun6i-a31.dtsi +@@ -421,6 +421,14 @@ + interrupts = <1 9 0xf04>; + }; + ++ nmi_intc: interrupt-controller@01f00c0c { ++ compatible = "allwinner,sun6i-a31-sc-nmi"; ++ interrupt-controller; ++ #interrupt-cells = <2>; ++ reg = <0x01f00c0c 0x38>; ++ interrupts = <0 32 4>; ++ }; ++ + cpucfg@01f01c00 { + compatible = "allwinner,sun6i-a31-cpuconfig"; + reg = <0x01f01c00 0x300>; +diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi +index 4981f5e..2e66c85 100644 +--- a/arch/arm/boot/dts/sun7i-a20.dtsi ++++ b/arch/arm/boot/dts/sun7i-a20.dtsi +@@ -401,6 +401,14 @@ + #size-cells = <1>; + ranges; + ++ nmi_intc: interrupt-controller@01c00030 { ++ compatible = "allwinner,sun7i-a20-sc-nmi"; ++ interrupt-controller; ++ #interrupt-cells = <2>; ++ reg = <0x01c00030 0x0c>; ++ interrupts = <0 0 4>; ++ }; ++ + spi0: spi@01c05000 { + compatible = "allwinner,sun4i-a10-spi"; + reg = <0x01c05000 0x1000>; +-- +2.0.3 + |