162306a36Sopenharmony_ciMarvell Orion SoC interrupt controllers
262306a36Sopenharmony_ci
362306a36Sopenharmony_ci* Main interrupt controller
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciRequired properties:
662306a36Sopenharmony_ci- compatible: shall be "marvell,orion-intc"
762306a36Sopenharmony_ci- reg: base address(es) of interrupt registers starting with CAUSE register
862306a36Sopenharmony_ci- interrupt-controller: identifies the node as an interrupt controller
962306a36Sopenharmony_ci- #interrupt-cells: number of cells to encode an interrupt source, shall be 1
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciThe interrupt sources map to the corresponding bits in the interrupt
1262306a36Sopenharmony_ciregisters, i.e.
1362306a36Sopenharmony_ci- 0 maps to bit 0 of first base address,
1462306a36Sopenharmony_ci- 1 maps to bit 1 of first base address,
1562306a36Sopenharmony_ci- 32 maps to bit 0 of second base address, and so on.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciExample:
1862306a36Sopenharmony_ci	intc: interrupt-controller {
1962306a36Sopenharmony_ci		compatible = "marvell,orion-intc";
2062306a36Sopenharmony_ci		interrupt-controller;
2162306a36Sopenharmony_ci		#interrupt-cells = <1>;
2262306a36Sopenharmony_ci		 /* Dove has 64 first level interrupts */
2362306a36Sopenharmony_ci		reg = <0x20200 0x10>, <0x20210 0x10>;
2462306a36Sopenharmony_ci	};
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ci* Bridge interrupt controller
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciRequired properties:
2962306a36Sopenharmony_ci- compatible: shall be "marvell,orion-bridge-intc"
3062306a36Sopenharmony_ci- reg: base address of bridge interrupt registers starting with CAUSE register
3162306a36Sopenharmony_ci- interrupts: bridge interrupt of the main interrupt controller
3262306a36Sopenharmony_ci- interrupt-controller: identifies the node as an interrupt controller
3362306a36Sopenharmony_ci- #interrupt-cells: number of cells to encode an interrupt source, shall be 1
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciOptional properties:
3662306a36Sopenharmony_ci- marvell,#interrupts: number of interrupts provided by bridge interrupt
3762306a36Sopenharmony_ci      controller, defaults to 32 if not set
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciExample:
4062306a36Sopenharmony_ci	bridge_intc: interrupt-controller {
4162306a36Sopenharmony_ci		compatible = "marvell,orion-bridge-intc";
4262306a36Sopenharmony_ci		interrupt-controller;
4362306a36Sopenharmony_ci		#interrupt-cells = <1>;
4462306a36Sopenharmony_ci		reg = <0x20110 0x8>;
4562306a36Sopenharmony_ci		interrupts = <0>;
4662306a36Sopenharmony_ci		/* Dove bridge provides 5 interrupts */
4762306a36Sopenharmony_ci		marvell,#interrupts = <5>;
4862306a36Sopenharmony_ci	};
49