18c2ecf20Sopenharmony_ciBinding for Qualcomm Atheros AR7xxx/AR9XXX MISC interrupt controller
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThe MISC interrupt controller is a secondary controller for lower priority
48c2ecf20Sopenharmony_ciinterrupt.
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciRequired Properties:
78c2ecf20Sopenharmony_ci- compatible: has to be "qca,<soctype>-cpu-intc", "qca,ar7100-misc-intc" or
88c2ecf20Sopenharmony_ci  "qca,<soctype>-cpu-intc", "qca,ar7240-misc-intc"
98c2ecf20Sopenharmony_ci- reg: Base address and size of the controllers memory area
108c2ecf20Sopenharmony_ci- interrupts: Interrupt specifier for the controllers interrupt.
118c2ecf20Sopenharmony_ci- interrupt-controller : Identifies the node as an interrupt controller
128c2ecf20Sopenharmony_ci- #interrupt-cells : Specifies the number of cells needed to encode interrupt
138c2ecf20Sopenharmony_ci		     source, should be 1
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciCompatible fallback depends on the SoC. Use ar7100 for ar71xx and ar913x,
168c2ecf20Sopenharmony_ciuse ar7240 for all other SoCs.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciPlease refer to interrupts.txt in this directory for details of the common
198c2ecf20Sopenharmony_ciInterrupt Controllers bindings used by client devices.
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciExample:
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci	interrupt-controller@18060010 {
248c2ecf20Sopenharmony_ci		compatible = "qca,ar9132-misc-intc", "qca,ar7100-misc-intc";
258c2ecf20Sopenharmony_ci		reg = <0x18060010 0x4>;
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci		interrupt-parent = <&cpuintc>;
288c2ecf20Sopenharmony_ci		interrupts = <6>;
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci		interrupt-controller;
318c2ecf20Sopenharmony_ci		#interrupt-cells = <1>;
328c2ecf20Sopenharmony_ci	};
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciAnother example:
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci	interrupt-controller@18060010 {
378c2ecf20Sopenharmony_ci		compatible = "qca,ar9331-misc-intc", qca,ar7240-misc-intc";
388c2ecf20Sopenharmony_ci		reg = <0x18060010 0x4>;
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci		interrupt-parent = <&cpuintc>;
418c2ecf20Sopenharmony_ci		interrupts = <6>;
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci		interrupt-controller;
448c2ecf20Sopenharmony_ci		#interrupt-cells = <1>;
458c2ecf20Sopenharmony_ci	};
46