diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2018-10-23 15:09:19 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2018-11-12 21:38:27 +0300 |
commit | 4592f11e47a2b28562d6cfe165d5ea7495ff4dca (patch) | |
tree | 1561b4ca6b5006ff613cca715b5f011bef23092c /arch/arc/boot/dts/hsdk.dts | |
parent | afba5d157fe1f2e64bc3df46fe83841657ec8fdd (diff) | |
download | linux-4592f11e47a2b28562d6cfe165d5ea7495ff4dca.tar.xz |
ARC: [plat-hsdk] Enable DW APB GPIO support
Enable GPIO support on HSDK. HSDK SoC includes Synopsys
DesignWare DW_apb_gpio IP with 24 GPIOs mapped onto port A.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Acked-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/boot/dts/hsdk.dts')
-rw-r--r-- | arch/arc/boot/dts/hsdk.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts index ef149f59929a..43f17b51ee89 100644 --- a/arch/arc/boot/dts/hsdk.dts +++ b/arch/arc/boot/dts/hsdk.dts @@ -222,6 +222,21 @@ bus-width = <4>; dma-coherent; }; + + gpio: gpio@3000 { + compatible = "snps,dw-apb-gpio"; + reg = <0x3000 0x20>; + #address-cells = <1>; + #size-cells = <0>; + + gpio_port_a: gpio-controller@0 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <2>; + snps,nr-gpios = <24>; + reg = <0>; + }; + }; }; memory@80000000 { |