xref: /freebsd/sys/contrib/device-tree/Bindings/sound/nokia,rx51.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Nokia N900 audio setup
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: Should contain "nokia,n900-audio"
5*c66ec88fSEmmanuel Vadot- nokia,cpu-dai: phandle for the McBSP node
6*c66ec88fSEmmanuel Vadot- nokia,audio-codec: phandles for the main TLV320AIC3X node and the
7*c66ec88fSEmmanuel Vadot                     auxiliary TLV320AIC3X node (in this order)
8*c66ec88fSEmmanuel Vadot- nokia,headphone-amplifier: phandle for the TPA6130A2 node
9*c66ec88fSEmmanuel Vadot- tvout-selection-gpios: GPIO for tvout selection
10*c66ec88fSEmmanuel Vadot- jack-detection-gpios: GPIO for jack detection
11*c66ec88fSEmmanuel Vadot- eci-switch-gpios: GPIO for ECI (Enhancement Control Interface) switch
12*c66ec88fSEmmanuel Vadot- speaker-amplifier-gpios: GPIO for speaker amplifier
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotExample:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadotsound {
17*c66ec88fSEmmanuel Vadot	compatible = "nokia,n900-audio";
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot	nokia,cpu-dai = <&mcbsp2>;
20*c66ec88fSEmmanuel Vadot	nokia,audio-codec = <&tlv320aic3x>, <&tlv320aic3x_aux>;
21*c66ec88fSEmmanuel Vadot	nokia,headphone-amplifier = <&tpa6130a2>;
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot	tvout-selection-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>; /* 40 */
24*c66ec88fSEmmanuel Vadot	jack-detection-gpios = <&gpio6 17 GPIO_ACTIVE_HIGH>; /* 177 */
25*c66ec88fSEmmanuel Vadot	eci-switch-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; /* 182 */
26*c66ec88fSEmmanuel Vadot	speaker-amplifier-gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>;
27*c66ec88fSEmmanuel Vadot};
28