diff mbox series

[edk2,edk2-platforms,v3,27/27] Silicon/SynQuacer: add description of EXIU to the device tree

Message ID 20171031105218.30208-28-ard.biesheuvel@linaro.org
State Superseded
Headers show
Series add support for Socionext Synquacer | expand

Commit Message

Ard Biesheuvel Oct. 31, 2017, 10:52 a.m. UTC
Add a DT node for the external interrupt unit (EXIU), which handles
interrupts from GPIO lines. We need OS support for this for things
like PHY interrupts and a 'wake' button.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

-- 
2.11.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Leif Lindholm Nov. 1, 2017, 5:21 a.m. UTC | #1
On Tue, Oct 31, 2017 at 10:52:18AM +0000, Ard Biesheuvel wrote:
> Add a DT node for the external interrupt unit (EXIU), which handles

> interrupts from GPIO lines. We need OS support for this for things

> like PHY interrupts and a 'wake' button.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>


Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>


> ---

>  Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi | 9 +++++++++

>  1 file changed, 9 insertions(+)

> 

> diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi

> index 0746b7853ebf..a19f88d10511 100644

> --- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi

> +++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi

> @@ -523,4 +523,13 @@

>          clocks = <&clk_apb>;

>          base = <0>;

>      };

> +

> +    exiu: exiu@510c0000 {

> +        compatible = "socionext,sc2a11-exiu";

> +        reg = <0x0 0x510c0000 0x0 0x20>;

> +        interrupt-controller;

> +        interrupt-parent = <&gic>;

> +        #interrupt-cells = <3>;

> +        spi-base = <112>;

> +    };

>  };

> -- 

> 2.11.0

> 

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox series

Patch

diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
index 0746b7853ebf..a19f88d10511 100644
--- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
+++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
@@ -523,4 +523,13 @@ 
         clocks = <&clk_apb>;
         base = <0>;
     };
+
+    exiu: exiu@510c0000 {
+        compatible = "socionext,sc2a11-exiu";
+        reg = <0x0 0x510c0000 0x0 0x20>;
+        interrupt-controller;
+        interrupt-parent = <&gic>;
+        #interrupt-cells = <3>;
+        spi-base = <112>;
+    };
 };