Commit d240fe0a authored by Mars Cheng's avatar Mars Cheng Committed by Marc Zyngier

dt-bindings: mtk-sysirq: Add multiple bases support for Mediatek sysirq

This describes how to specify multiple base addresses for sysirq
in mediatek platforms.
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarMars Cheng <mars.cheng@mediatek.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent 390d2d49
...@@ -21,13 +21,16 @@ Required properties: ...@@ -21,13 +21,16 @@ Required properties:
- interrupt-parent: phandle of irq parent for sysirq. The parent must - interrupt-parent: phandle of irq parent for sysirq. The parent must
use the same interrupt-cells format as GIC. use the same interrupt-cells format as GIC.
- reg: Physical base address of the intpol registers and length of memory - reg: Physical base address of the intpol registers and length of memory
mapped region. mapped region. Could be multiple bases here. Ex: mt6797 needs 2 reg, others
need 1.
Example: Example:
sysirq: interrupt-controller@10200100 { sysirq: intpol-controller@10200620 {
compatible = "mediatek,mt6589-sysirq", "mediatek,mt6577-sysirq"; compatible = "mediatek,mt6797-sysirq",
"mediatek,mt6577-sysirq";
interrupt-controller; interrupt-controller;
#interrupt-cells = <3>; #interrupt-cells = <3>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
reg = <0 0x10200100 0 0x1c>; reg = <0 0x10220620 0 0x20>,
<0 0x10220690 0 0x10>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment