summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/vf610-zii-scu4-aib.dts
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2018-12-05 12:19:35 +0100
committerShawn Guo <shawnguo@kernel.org>2018-12-10 03:03:06 +0100
commit3e03b4ac50454ea2dfacc135f2a5e2e935937ae6 (patch)
treef5e5d144d8c135a5bc451ab44e640fb57c1c89c9 /arch/arm/boot/dts/vf610-zii-scu4-aib.dts
parentARM: dts: imx6qdl-sabresd: add egalax touch screen support on i2c2 bus (diff)
downloadlinux-3e03b4ac50454ea2dfacc135f2a5e2e935937ae6.tar.xz
linux-3e03b4ac50454ea2dfacc135f2a5e2e935937ae6.zip
ARM: dts: vf610-zii-scu4-aib: Add HI8435 support
On the vf610-zii-scu4-aib board there is a hi8435 (32-channel discrete-to-digital SPI sensor device) in the DSPI0 bus. Add support for it. Signed-off-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Chris Healy <cphealy@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/vf610-zii-scu4-aib.dts')
-rw-r--r--arch/arm/boot/dts/vf610-zii-scu4-aib.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf610-zii-scu4-aib.dts b/arch/arm/boot/dts/vf610-zii-scu4-aib.dts
index 52bac1403f70..de6dfa57bec5 100644
--- a/arch/arm/boot/dts/vf610-zii-scu4-aib.dts
+++ b/arch/arm/boot/dts/vf610-zii-scu4-aib.dts
@@ -397,6 +397,20 @@
};
};
+&dspi0 {
+ pinctrl-0 = <&pinctrl_dspi0>;
+ pinctrl-names = "default";
+ bus-num = <0>;
+ status = "okay";
+
+ adc@5 {
+ compatible = "holt,hi8435";
+ reg = <5>;
+ gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>;
+ spi-max-frequency = <1000000>;
+ };
+};
+
&dspi1 {
bus-num = <1>;
pinctrl-names = "default";