18c2ecf20Sopenharmony_ciSigma Designs SMP86xx/SMP87xx secondary interrupt controller
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible: should be "sigma,smp8642-intc"
58c2ecf20Sopenharmony_ci- reg: physical address of MMIO region
68c2ecf20Sopenharmony_ci- ranges: address space mapping of child nodes
78c2ecf20Sopenharmony_ci- interrupt-controller: boolean
88c2ecf20Sopenharmony_ci- #address-cells: should be <1>
98c2ecf20Sopenharmony_ci- #size-cells: should be <1>
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciOne child node per control block with properties:
128c2ecf20Sopenharmony_ci- reg: address of registers for this control block
138c2ecf20Sopenharmony_ci- interrupt-controller: boolean
148c2ecf20Sopenharmony_ci- #interrupt-cells: should be <2>, interrupt index and flags per interrupts.txt
158c2ecf20Sopenharmony_ci- interrupts: interrupt spec of primary interrupt controller
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciExample:
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciinterrupt-controller@6e000 {
208c2ecf20Sopenharmony_ci	compatible = "sigma,smp8642-intc";
218c2ecf20Sopenharmony_ci	reg = <0x6e000 0x400>;
228c2ecf20Sopenharmony_ci	ranges = <0x0 0x6e000 0x400>;
238c2ecf20Sopenharmony_ci	interrupt-parent = <&gic>;
248c2ecf20Sopenharmony_ci	interrupt-controller;
258c2ecf20Sopenharmony_ci	#address-cells = <1>;
268c2ecf20Sopenharmony_ci	#size-cells = <1>;
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci	irq0: interrupt-controller@0 {
298c2ecf20Sopenharmony_ci		reg = <0x000 0x100>;
308c2ecf20Sopenharmony_ci		interrupt-controller;
318c2ecf20Sopenharmony_ci		#interrupt-cells = <2>;
328c2ecf20Sopenharmony_ci		interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
338c2ecf20Sopenharmony_ci	};
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci	irq1: interrupt-controller@100 {
368c2ecf20Sopenharmony_ci		reg = <0x100 0x100>;
378c2ecf20Sopenharmony_ci		interrupt-controller;
388c2ecf20Sopenharmony_ci		#interrupt-cells = <2>;
398c2ecf20Sopenharmony_ci		interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
408c2ecf20Sopenharmony_ci	};
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci	irq2: interrupt-controller@300 {
438c2ecf20Sopenharmony_ci		reg = <0x300 0x100>;
448c2ecf20Sopenharmony_ci		interrupt-controller;
458c2ecf20Sopenharmony_ci		#interrupt-cells = <2>;
468c2ecf20Sopenharmony_ci		interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
478c2ecf20Sopenharmony_ci	};
488c2ecf20Sopenharmony_ci};
49