[PATCH v2 3/3] ARM: dts: enable GPIO-a for Broadcom NSP
Subsystems:
the rest
STALE3868d
4 messages,
4 authors,
2016-02-11 · open the first message on its own page
This enables the GPIO-a support for Broadcom NSP SoC
Signed-off-by: Yendapally Reddy Dhananjaya Reddy <redacted>
---
arch/arm/boot/dts/bcm-nsp.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi
index 58aca27..148d79e 100644
--- a/arch/arm/boot/dts/bcm-nsp.dtsi
+++ b/arch/arm/boot/dts/bcm-nsp.dtsi
@@ -116,4 +116,16 @@
status = "disabled";
};
};
+
+ gpioa: gpio at 18000020 {
+ compatible = "brcm,nsp-gpio-a";
+ reg = <0x18000020 0x70>,
+ <0x1803f1c4 0x1c>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ ngpios = <32>;
+ interrupt-controller;
+ interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
+ gpio-ranges = <&pinctrl 0 0 32>;
+ };
};--
2.1.0
On Fri, Dec 4, 2015 at 6:12 PM, Yendapally Reddy Dhananjaya Reddy
[off-list ref] wrote:
This enables the GPIO-a support for Broadcom NSP SoC
Signed-off-by: Yendapally Reddy Dhananjaya Reddy <redacted>
Acked-by: Linus Walleij <redacted>
Please merge this through the ARM SoC tree or BCM upstream tree,
however that works.
Yours,
Linus Walleij
On 10/12/15 09:46, Linus Walleij wrote:
On Fri, Dec 4, 2015 at 6:12 PM, Yendapally Reddy Dhananjaya Reddy
[off-list ref] wrote:
quoted
This enables the GPIO-a support for Broadcom NSP SoC
Signed-off-by: Yendapally Reddy Dhananjaya Reddy <redacted>
Acked-by: Linus Walleij <redacted>
Please merge this through the ARM SoC tree or BCM upstream tree,
however that works.
The same way as any other ARM-based SoCs, so I will take this one. Thanks.
--
Florian
On 04/12/15 09:12, Yendapally Reddy Dhananjaya Reddy wrote:
This enables the GPIO-a support for Broadcom NSP SoC
Signed-off-by: Yendapally Reddy Dhananjaya Reddy <redacted>
Finally applied to devicetree/next, since there was a bit of
restructuring with the addition of the ranges, please verify the results
look correct here:
https://github.com/Broadcom/stblinux/commit/018e4feb7584971b3dbda6daa6a8fef310cafbcb
quoted hunk
---
arch/arm/boot/dts/bcm-nsp.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi
index 58aca27..148d79e 100644
--- a/arch/arm/boot/dts/bcm-nsp.dtsi
+++ b/arch/arm/boot/dts/bcm-nsp.dtsi
@@ -116,4 +116,16 @@
status = "disabled";
};
};
+
+ gpioa: gpio at 18000020 {
+ compatible = "brcm,nsp-gpio-a";
+ reg = <0x18000020 0x70>,
+ <0x1803f1c4 0x1c>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ ngpios = <32>;
+ interrupt-controller;
+ interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
+ gpio-ranges = <&pinctrl 0 0 32>;
+ };
};
--
Florian