diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2019-05-28 11:40:52 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2019-05-28 19:06:42 +0200 |
commit | 780b35b6aafcbbe24c36fa9ad6ba80e2dbe96632 (patch) | |
tree | 4113dffe227ee9f6c3bb4807127b0b88de66073e /arch/arc/boot | |
parent | ARC: [plat-hsdk]: Add missing FIFO size entry in GMAC node (diff) | |
download | linux-780b35b6aafcbbe24c36fa9ad6ba80e2dbe96632.tar.xz linux-780b35b6aafcbbe24c36fa9ad6ba80e2dbe96632.zip |
ARC: [plat-hsdk]: enable creg-gpio controller
HSDK SOC has CREG GPIO controller which can be used to control
SPI chip select lines.
Enable it in preparation of enabling SPI peripherals.
Acked-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/boot')
-rw-r--r-- | arch/arc/boot/dts/hsdk.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts index 6219b372e9c1..10fb512956aa 100644 --- a/arch/arc/boot/dts/hsdk.dts +++ b/arch/arc/boot/dts/hsdk.dts @@ -241,6 +241,14 @@ dma-coherent; }; + creg_gpio: gpio@14b0 { + compatible = "snps,creg-gpio-hsdk"; + reg = <0x14b0 0x4>; + gpio-controller; + #gpio-cells = <2>; + ngpios = <2>; + }; + gpio: gpio@3000 { compatible = "snps,dw-apb-gpio"; reg = <0x3000 0x20>; |