diff options
author | Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com> | 2016-11-14 08:30:19 -0500 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2016-11-16 12:39:33 -0800 |
commit | 1480986d68ce32706ff08586e111dcb769dd3962 (patch) | |
tree | 407fb249e7a37865f5f27eb85cba8dcda9f4733e /arch/arm/boot/dts/bcm-nsp.dtsi | |
parent | 41182beb217c47cfbaaf26a60f22a8b3943faa61 (diff) | |
download | lwn-1480986d68ce32706ff08586e111dcb769dd3962.tar.gz lwn-1480986d68ce32706ff08586e111dcb769dd3962.zip |
ARM: dts: enable GPIO-b for Broadcom NSP
This enables the GPIO-b support for Broadcom NSP SoC
Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm-nsp.dtsi')
-rw-r--r-- | arch/arm/boot/dts/bcm-nsp.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index 7502556143f0..b6142bda661e 100644 --- a/arch/arm/boot/dts/bcm-nsp.dtsi +++ b/arch/arm/boot/dts/bcm-nsp.dtsi @@ -241,6 +241,16 @@ brcm,nand-has-wp; }; + gpiob: gpio@30000 { + compatible = "brcm,iproc-nsp-gpio", "brcm,iproc-gpio"; + reg = <0x30000 0x50>; + #gpio-cells = <2>; + gpio-controller; + ngpios = <4>; + interrupt-controller; + interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; + }; + pwm: pwm@31000 { compatible = "brcm,iproc-pwm"; reg = <0x31000 0x28>; |