.. .. .. .. sound1 { compatible = "ti,playeru-audio-revb"; ti,model = "PLAYERU"; ti,audio-codec = <&tlv320aic3100>; ti,mcasp-controller = <&mcasp1>; ti,codec-clock-rate = <24000000>; ti,audio-routing = "Headphone Jack", "HPL", "Headphone Jack", "HPR", "MIC1RP", "Mic Jack", "MIC1RP", "MICBIAS"; }; }; .. .. playeru_audio_pins: pinmux_playeru_audio_pins { pinctrl-single,pins = < 0x10C ( PIN_OUTPUT_PULLDOWN | MUX_MODE4 ) /* gmii1_crs.mcasp1_aclkx */ 0x110 ( PIN_OUTPUT_PULLDOWN | MUX_MODE4 ) /* gmii1_rxer.mcasp1_fsx */ 0x128 ( PIN_OUTPUT_PULLDOWN | MUX_MODE3 ) /* gmii1_txd0.mcasp1_axr2 */ 0x144 ( PIN_INPUT | MUX_MODE4 ) /* rmii1_refclk.mcasp1_axr3 */ /* Codec Interrupt and Reset pin */ 0x150 ( PIN_INPUT | MUX_MODE7 ) /* spi0_sclk.gpio0[2] */ 0x154 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (B18) spi0_d0.gpio0[3] */ >; }; .. .. i2c1_pins_default: pinmux_i2c1_pins_default { pinctrl-single,pins = < 0x180 (PIN_INPUT_PULLUP | MUX_MODE3) /* uart1_txd.i2c1_sda */ 0x184 (PIN_INPUT_PULLUP | MUX_MODE3) /* uart1_rxd.i2c1_scl */ >; }; .. .. &i2c1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&i2c1_pins_default>; pinctrl-1 = <&i2c1_pins_sleep>; status = "okay"; clock-frequency = <100000>; tlv320aic3100: tlv320aic3100@18 { compatible = "ti,tlv320aic310x"; reg = <0x18>; status = "okay"; gpio-reset= <&gpio0 3 GPIO_ACTIVE_LOW>; ai31xx-micbias-vg = <0x2>; /* Regulators */ HPVDD-supply = <&ldo4_reg>; SPRVDD-supply = <&ldo4_reg>; SPLVDD-supply = <&ldo4_reg>; AVDD-supply = <&ldo4_reg>; IOVDD-supply = <&ldo4_reg>; DVDD-supply = <&ldo4_reg>; }; }; .. .. .. &mcasp1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&playeru_audio_pins>; pinctrl-1 = <&playeru_audio_pins_sleep>; status = "okay"; op-mode = <0>; /* MCASP_IIS_MODE */ tdm-slots = <2>; /* 4 serializers */ serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 0 0 1 2 >; tx-num-evt = <32>; rx-num-evt = <32>; };