summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/dra7-evm.dts
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2015-08-24 10:20:01 +0300
committerTony Lindgren <tony@atomide.com>2015-10-12 14:58:22 -0700
commitc5d294db75d16b30935fd3be8eef96d82f78355a (patch)
tree2cee7bc8e817e024cb82e1f38c7a6a9a3018463f /arch/arm/boot/dts/dra7-evm.dts
parentd6818223cd46542ed0162ad6208a3425e79fd514 (diff)
downloadlwn-c5d294db75d16b30935fd3be8eef96d82f78355a.tar.gz
lwn-c5d294db75d16b30935fd3be8eef96d82f78355a.zip
ARM: dts: dra7-evm: Enable pcf8575 (0x26 address) on i2c2 bus
This GPIO expander is used for controlling various muxes on the board. By default select audio functionality over VIN6 by setting the P1 (vin6_sel_s0) pin to low. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/dra7-evm.dts')
-rw-r--r--arch/arm/boot/dts/dra7-evm.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index add77ac4f302..3694046c29eb 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -438,6 +438,20 @@
pinctrl-names = "default";
pinctrl-0 = <&i2c2_pins>;
clock-frequency = <400000>;
+
+ pcf_hdmi: gpio@26 {
+ compatible = "nxp,pcf8575";
+ reg = <0x26>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ p1 {
+ /* vin6_sel_s0: high: VIN6, low: audio */
+ gpio-hog;
+ gpios = <1 GPIO_ACTIVE_HIGH>;
+ output-low;
+ line-name = "vin6_sel_s0";
+ };
+ };
};
&i2c3 {