diff options
author | Adam Ford <aford173@gmail.com> | 2018-05-06 16:00:48 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-05-19 00:07:32 +0300 |
commit | d3f6f056aba864edb4fc2588f6d45d3f9b572ce8 (patch) | |
tree | 162ba416aaa4fdbb6159d6887ac169f8c8a8611f /arch/arm/boot/dts/am3517-evm.dts | |
parent | d1f9400c1b2e1b7a6403ee830ccf59dae793c936 (diff) | |
download | linux-d3f6f056aba864edb4fc2588f6d45d3f9b572ce8.tar.xz |
ARM: dts: am3517-evm: Add I/O expander for User DIP switches and LEDS
There is a tca6416 GPIO expander on i2c2. This patch enables the
GPIO expander which has several LED's and some connected DIP
switches
Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am3517-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/am3517-evm.dts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts index f9ebefa735df..e5cc93053539 100644 --- a/arch/arm/boot/dts/am3517-evm.dts +++ b/arch/arm/boot/dts/am3517-evm.dts @@ -105,6 +105,13 @@ &i2c2 { clock-frequency = <400000>; + /* User DIP swithes [1:8] / User LEDS [1:2] */ + tca6416: gpio@21 { + compatible = "ti,tca6416"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; }; &i2c3 { |