Skip to content

Commit 925595f

Browse files
fifteenhexolofj
authored andcommitted
ARM: mstar: Add interrupt controller to base dtsi
Add the IRQ and FIQ intc instances to the base MStar/SigmaStar v7 dtsi. All of the known SoCs have both and at the same place with their common IPs using the same interrupt lines. Link: https://lore.kernel.org/r/20201002133418.2250277-3-daniel@0x0f.com Signed-off-by: Daniel Palmer <daniel@0x0f.com> Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent 5c50543 commit 925595f

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

arch/arm/boot/dts/mstar-v7.dtsi

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,25 @@
8585
mask = <0x79>;
8686
};
8787

88+
intc_fiq: interrupt-controller@201310 {
89+
compatible = "mstar,mst-intc";
90+
reg = <0x201310 0x40>;
91+
#interrupt-cells = <3>;
92+
interrupt-controller;
93+
interrupt-parent = <&gic>;
94+
mstar,irqs-map-range = <96 127>;
95+
};
96+
97+
intc_irq: interrupt-controller@201350 {
98+
compatible = "mstar,mst-intc";
99+
reg = <0x201350 0x40>;
100+
#interrupt-cells = <3>;
101+
interrupt-controller;
102+
interrupt-parent = <&gic>;
103+
mstar,irqs-map-range = <32 95>;
104+
mstar,intc-no-eoi;
105+
};
106+
88107
l3bridge: l3bridge@204400 {
89108
compatible = "mstar,l3bridge";
90109
reg = <0x204400 0x200>;

0 commit comments

Comments
 (0)