diff options
author | Andrew F. Davis <afd@ti.com> | 2016-10-07 09:44:27 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-11-18 07:05:55 -0800 |
commit | 8b43764f5d6859c6da9ee140b8b6f0d8c378064e (patch) | |
tree | ff6f504fd5e3a55af03a2193244f4666c534a696 /arch/arm/boot/dts/am57xx-idk-common.dtsi | |
parent | c0a0ee4693511643a4ebab949a97d6e79508b06d (diff) | |
download | lwn-8b43764f5d6859c6da9ee140b8b6f0d8c378064e.tar.gz lwn-8b43764f5d6859c6da9ee140b8b6f0d8c378064e.zip |
ARM: dts: am57xx-idk: Add Industrial input support
The SN65HVS882 is available on both the AM572x and AM571x IDKs and is
attached to SPI1. Input is attached to the I/O header. The load trigger
is attached to GPIO3_19 on the AM572x IDK.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am57xx-idk-common.dtsi')
-rw-r--r-- | arch/arm/boot/dts/am57xx-idk-common.dtsi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am57xx-idk-common.dtsi b/arch/arm/boot/dts/am57xx-idk-common.dtsi index 03cec62260e1..438076e23a55 100644 --- a/arch/arm/boot/dts/am57xx-idk-common.dtsi +++ b/arch/arm/boot/dts/am57xx-idk-common.dtsi @@ -253,6 +253,21 @@ }; }; +&mcspi3 { + status = "okay"; + ti,pindir-d0-out-d1-in; + + sn65hvs882: sn65hvs882@0 { + compatible = "pisosr-gpio"; + gpio-controller; + #gpio-cells = <2>; + + reg = <0>; + spi-max-frequency = <1000000>; + spi-cpol; + }; +}; + &uart3 { status = "okay"; interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH |