diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2017-06-15 23:33:47 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-06-16 12:07:10 -0700 |
commit | a39a3b9f4ff0aba7c2c475afaa52a3eb52d2b9ad (patch) | |
tree | bd91e85098963fbafc7b5a7d4ef976780677b717 /arch/arm/boot/dts/meson.dtsi | |
parent | d42ce5a98dcd7ffc59699127d0597c17859f347d (diff) |
ARM: dts: meson: add the SAR ADC
This adds the SAR ADC to meson.dtsi and configures the clocks on Meson8
and Meson8b to allow boards to use it. Some boards use it to connect a
button to it.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm/boot/dts/meson.dtsi')
-rw-r--r-- | arch/arm/boot/dts/meson.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index d287f606e06f..46706d74a145 100644 --- a/arch/arm/boot/dts/meson.dtsi +++ b/arch/arm/boot/dts/meson.dtsi @@ -103,6 +103,14 @@ status = "disabled"; }; + saradc: adc@8680 { + compatible = "amlogic,meson-saradc"; + reg = <0x8680 0x34>; + #io-channel-cells = <1>; + interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>; + status = "disabled"; + }; + uart_C: serial@8700 { compatible = "amlogic,meson-uart"; reg = <0x8700 0x18>; |