diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2019-10-18 14:11:26 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2019-10-22 19:58:29 +0300 |
commit | ab563bf54a4d08cb59e7d7bcd419f7e8558a4964 (patch) | |
tree | 7d79b4328c514aa3a85ed208c30a2cd9a5874e46 /arch/arc/boot/dts/hsdk.dts | |
parent | 8ca8fa7f22dcb0a3265490a690b0c3e27de681f9 (diff) | |
download | linux-ab563bf54a4d08cb59e7d7bcd419f7e8558a4964.tar.xz |
ARC: [plat-hsdk]: Enable on-boardi SPI ADC IC
HSDK board has adc108s102 SPI ADC IC installed, enable it.
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/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 9bea5daadd23..9acbeba832c0 100644 --- a/arch/arc/boot/dts/hsdk.dts +++ b/arch/arc/boot/dts/hsdk.dts @@ -65,6 +65,14 @@ clock-frequency = <33333333>; }; + reg_5v0: regulator-5v0 { + compatible = "regulator-fixed"; + + regulator-name = "5v0-supply"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + cpu_intc: cpu-interrupt-controller { compatible = "snps,archs-intc"; interrupt-controller; @@ -272,6 +280,13 @@ #size-cells = <1>; spi-max-frequency = <4000000>; }; + + adc@1 { + compatible = "ti,adc108s102"; + reg = <1>; + vref-supply = <®_5v0>; + spi-max-frequency = <1000000>; + }; }; creg_gpio: gpio@14b0 { |