]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
arm64: dts: marvell: describe the PIC and PMU on Armada 7K/8K
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 5 Aug 2016 14:55:21 +0000 (16:55 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 26 Aug 2016 08:57:20 +0000 (10:57 +0200)
This commit adds the necessary Device Tree description for the PIC
interrupt controller and the PMU available in the Marvell Armada 7K and
Armada 8K SoCs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-ap806.dtsi

index eab1a42fb934d7c4219c9eb7230b9c244236bdb9..e70b9961115de8ba6327f1ecf09bf8530c29ce3b 100644 (file)
                                             <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>;
                        };
 
+                       pmu {
+                               compatible = "arm,cortex-a72-pmu";
+                               interrupt-parent = <&pic>;
+                               interrupts = <17>;
+                       };
+
                        odmi: odmi@300000 {
                                compatible = "marvell,odmi-controller";
                                interrupt-controller;
                                marvell,spi-base = <128>, <136>, <144>, <152>;
                        };
 
+                       pic: interrupt-controller@3f0100 {
+                               compatible = "marvell,armada-8k-pic";
+                               reg = <0x3f0100 0x10>;
+                               #interrupt-cells = <1>;
+                               interrupt-controller;
+                               interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>;
+                       };
+
                        xor@400000 {
                                compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
                                reg = <0x400000 0x1000>,