1*8ccc0d23SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*8ccc0d23SEmmanuel Vadot%YAML 1.2 3*8ccc0d23SEmmanuel Vadot--- 4*8ccc0d23SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/atmel,at91sam9g20ek-wm8731.yaml# 5*8ccc0d23SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8ccc0d23SEmmanuel Vadot 7*8ccc0d23SEmmanuel Vadottitle: Atmel at91sam9g20ek wm8731 audio complex 8*8ccc0d23SEmmanuel Vadot 9*8ccc0d23SEmmanuel Vadotmaintainers: 10*8ccc0d23SEmmanuel Vadot - Balakrishnan Sambath <balakrishnan.s@microchip.com> 11*8ccc0d23SEmmanuel Vadot 12*8ccc0d23SEmmanuel Vadotdescription: 13*8ccc0d23SEmmanuel Vadot The audio complex configuration for Atmel at91sam9g20ek with WM8731 audio codec. 14*8ccc0d23SEmmanuel Vadot 15*8ccc0d23SEmmanuel Vadotproperties: 16*8ccc0d23SEmmanuel Vadot compatible: 17*8ccc0d23SEmmanuel Vadot const: atmel,at91sam9g20ek-wm8731-audio 18*8ccc0d23SEmmanuel Vadot 19*8ccc0d23SEmmanuel Vadot atmel,model: 20*8ccc0d23SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/string 21*8ccc0d23SEmmanuel Vadot description: The user-visible name of this sound complex. 22*8ccc0d23SEmmanuel Vadot 23*8ccc0d23SEmmanuel Vadot atmel,audio-routing: 24*8ccc0d23SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/non-unique-string-array 25*8ccc0d23SEmmanuel Vadot description: A list of the connections between audio components. 26*8ccc0d23SEmmanuel Vadot minItems: 2 27*8ccc0d23SEmmanuel Vadot maxItems: 4 28*8ccc0d23SEmmanuel Vadot items: 29*8ccc0d23SEmmanuel Vadot enum: 30*8ccc0d23SEmmanuel Vadot # Board Connectors 31*8ccc0d23SEmmanuel Vadot - Ext Spk 32*8ccc0d23SEmmanuel Vadot - Int Mic 33*8ccc0d23SEmmanuel Vadot 34*8ccc0d23SEmmanuel Vadot # CODEC Pins 35*8ccc0d23SEmmanuel Vadot - LOUT 36*8ccc0d23SEmmanuel Vadot - ROUT 37*8ccc0d23SEmmanuel Vadot - LHPOUT 38*8ccc0d23SEmmanuel Vadot - RHPOUT 39*8ccc0d23SEmmanuel Vadot - LLINEIN 40*8ccc0d23SEmmanuel Vadot - RLINEIN 41*8ccc0d23SEmmanuel Vadot - MICIN 42*8ccc0d23SEmmanuel Vadot 43*8ccc0d23SEmmanuel Vadot atmel,ssc-controller: 44*8ccc0d23SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 45*8ccc0d23SEmmanuel Vadot description: The phandle of the SSC controller. 46*8ccc0d23SEmmanuel Vadot 47*8ccc0d23SEmmanuel Vadot atmel,audio-codec: 48*8ccc0d23SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 49*8ccc0d23SEmmanuel Vadot description: The phandle of WM8731 audio codec. 50*8ccc0d23SEmmanuel Vadot 51*8ccc0d23SEmmanuel Vadotrequired: 52*8ccc0d23SEmmanuel Vadot - compatible 53*8ccc0d23SEmmanuel Vadot - atmel,model 54*8ccc0d23SEmmanuel Vadot - atmel,audio-routing 55*8ccc0d23SEmmanuel Vadot - atmel,ssc-controller 56*8ccc0d23SEmmanuel Vadot - atmel,audio-codec 57*8ccc0d23SEmmanuel Vadot 58*8ccc0d23SEmmanuel VadotadditionalProperties: false 59*8ccc0d23SEmmanuel Vadot 60*8ccc0d23SEmmanuel Vadotexamples: 61*8ccc0d23SEmmanuel Vadot - | 62*8ccc0d23SEmmanuel Vadot sound { 63*8ccc0d23SEmmanuel Vadot compatible = "atmel,at91sam9g20ek-wm8731-audio"; 64*8ccc0d23SEmmanuel Vadot pinctrl-names = "default"; 65*8ccc0d23SEmmanuel Vadot pinctrl-0 = <&pinctrl_pck0_as_mck>; 66*8ccc0d23SEmmanuel Vadot atmel,model = "wm8731 @ AT91SAMG20EK"; 67*8ccc0d23SEmmanuel Vadot atmel,audio-routing = 68*8ccc0d23SEmmanuel Vadot "Ext Spk", "LHPOUT", 69*8ccc0d23SEmmanuel Vadot "Int Mic", "MICIN"; 70*8ccc0d23SEmmanuel Vadot atmel,ssc-controller = <&ssc0>; 71*8ccc0d23SEmmanuel Vadot atmel,audio-codec = <&wm8731>; 72*8ccc0d23SEmmanuel Vadot }; 73