ARM: dts: dra7-evm: Enable pcf8575 (0x26 address) on i2c2 bus
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 24 Aug 2015 07:20:01 +0000 (10:20 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 12 Oct 2015 21:58:22 +0000 (14:58 -0700)
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>
arch/arm/boot/dts/dra7-evm.dts

index add77ac4f302c303cc39516964a8ddcb81e63e3b..3694046c29ebc2579b59b33e4fb1f13559b97d37 100644 (file)
        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 {