index 22217410a145bd8bff4b3865272317fa5f7c796a..bae190a9d1f7414829cee94097c1152fba6af807 100644 (file)
tpd12s015: encoder@1 {
compatible = "ti,dra7evm-tpd12s015";
+ pinctrl-names = "i2c", "ddc";
+ pinctrl-0 = <&hdmi_i2c_sel_pin &hdmi_i2c_pins_i2c>;
+ pinctrl-1 = <&hdmi_i2c_sel_pin &hdmi_i2c_pins_ddc>;
+
+ ddc-i2c-bus = <&i2c2>;
+ mcasp-gpio = <&mcasp8>;
+
gpios = <&pcf_hdmi 4 0>, /* P4, CT CP HPD */
<&pcf_hdmi 5 0>, /* P5, LS OE */
<&gpio7 12 0>; /* gpio7_12/sp1_cs2, HPD */
};
&dra7_pmx_core {
- i2c2_pins: pinmux_i2c2_pins {
+ hdmi_i2c_sel_pin: pinmux_hdmi_i2c_sel_pin {
+ pinctrl-single,pins = <
+ /* this pin is used as a GPIO via mcasp */
+ 0x2fc (PIN_OUTPUT | MUX_MODE1) /* mcasp8_axr2 */
+ >;
+ };
+
+ hdmi_i2c_pins_i2c: pinmux_hdmi_i2c_pins_default {
pinctrl-single,pins = <
- 0x408 (PIN_INPUT | MUX_MODE0) /* i2c2_sda */
- 0x40c (PIN_INPUT | MUX_MODE0) /* i2c2_scl */
+ 0x408 (PIN_INPUT | MUX_MODE0) /* i2c2_sda.i2c2_sda */
+ 0x40c (PIN_INPUT | MUX_MODE0) /* i2c2_scl.i2c2_scl */
+ >;
+ };
+
+ hdmi_i2c_pins_ddc: pinmux_hdmi_i2c_pins_ddc {
+ pinctrl-single,pins = <
+ 0x408 (PIN_INPUT | MUX_MODE1) /* i2c2_sda.hdmi1_ddc_scl */
+ 0x40c (PIN_INPUT | MUX_MODE1) /* i2c2_scl.hdmi1_ddc_sda */
>;
};
i2c_p3_exp: &i2c2 {
status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&i2c2_pins>;
clock-frequency = <400000>;
pcf_hdmi: gpio@26 {
#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@0 {
- compatible = "ti,wlcore";
+ compatible = "ti,wl1835";
reg = <2>;
interrupt-parent = <&gpio5>;
interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
&mac {
status = "okay";
dual_emac;
+ ti,no-idle;
};
&cpsw_emac0 {
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
1 2 0 0
>;
+ tx-num-evt = <8>;
+ rx-num-evt = <8>;
};
&mcasp7 {
rx-num-evt = <8>;
};
+&mcasp8 {
+ /* not used for audio. only the AXR2 pin is used as GPIO */
+ status = "okay";
+};
+
&usb2_phy1 {
phy-supply = <&ldousb_reg>;
};