1*01950c46SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*01950c46SEmmanuel Vadot%YAML 1.2 3*01950c46SEmmanuel Vadot--- 4*01950c46SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/atmel,sam9x5-wm8731-audio.yaml# 5*01950c46SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*01950c46SEmmanuel Vadot 7*01950c46SEmmanuel Vadottitle: Atmel at91sam9x5ek wm8731 audio complex 8*01950c46SEmmanuel Vadot 9*01950c46SEmmanuel Vadotmaintainers: 10*01950c46SEmmanuel Vadot - Dharma Balasubiramani <dharma.b@microchip.com> 11*01950c46SEmmanuel Vadot 12*01950c46SEmmanuel Vadotdescription: 13*01950c46SEmmanuel Vadot The audio complex configuration for Atmel at91sam9x5ek with WM8731 audio codec. 14*01950c46SEmmanuel Vadot 15*01950c46SEmmanuel Vadotproperties: 16*01950c46SEmmanuel Vadot compatible: 17*01950c46SEmmanuel Vadot const: atmel,sam9x5-wm8731-audio 18*01950c46SEmmanuel Vadot 19*01950c46SEmmanuel Vadot atmel,model: 20*01950c46SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/string 21*01950c46SEmmanuel Vadot description: The user-visible name of this sound complex. 22*01950c46SEmmanuel Vadot 23*01950c46SEmmanuel Vadot atmel,ssc-controller: 24*01950c46SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 25*01950c46SEmmanuel Vadot description: The phandle of the SSC controller. 26*01950c46SEmmanuel Vadot 27*01950c46SEmmanuel Vadot atmel,audio-codec: 28*01950c46SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 29*01950c46SEmmanuel Vadot description: The phandle of the WM8731 audio codec. 30*01950c46SEmmanuel Vadot 31*01950c46SEmmanuel Vadot atmel,audio-routing: 32*01950c46SEmmanuel Vadot description: 33*01950c46SEmmanuel Vadot A list of the connections between audio components. Each entry is a pair 34*01950c46SEmmanuel Vadot of strings, the first being the connection's sink, the second being the 35*01950c46SEmmanuel Vadot connection's source. 36*01950c46SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/non-unique-string-array 37*01950c46SEmmanuel Vadot items: 38*01950c46SEmmanuel Vadot enum: 39*01950c46SEmmanuel Vadot # Board Connectors 40*01950c46SEmmanuel Vadot - Headphone Jack 41*01950c46SEmmanuel Vadot - Line In Jack 42*01950c46SEmmanuel Vadot 43*01950c46SEmmanuel Vadot # CODEC Pins 44*01950c46SEmmanuel Vadot - LOUT 45*01950c46SEmmanuel Vadot - ROUT 46*01950c46SEmmanuel Vadot - LHPOUT 47*01950c46SEmmanuel Vadot - RHPOUT 48*01950c46SEmmanuel Vadot - LLINEIN 49*01950c46SEmmanuel Vadot - RLINEIN 50*01950c46SEmmanuel Vadot - MICIN 51*01950c46SEmmanuel Vadot 52*01950c46SEmmanuel Vadotrequired: 53*01950c46SEmmanuel Vadot - compatible 54*01950c46SEmmanuel Vadot - atmel,model 55*01950c46SEmmanuel Vadot - atmel,ssc-controller 56*01950c46SEmmanuel Vadot - atmel,audio-codec 57*01950c46SEmmanuel Vadot - atmel,audio-routing 58*01950c46SEmmanuel Vadot 59*01950c46SEmmanuel VadotadditionalProperties: false 60*01950c46SEmmanuel Vadot 61*01950c46SEmmanuel Vadotexamples: 62*01950c46SEmmanuel Vadot - | 63*01950c46SEmmanuel Vadot sound { 64*01950c46SEmmanuel Vadot compatible = "atmel,sam9x5-wm8731-audio"; 65*01950c46SEmmanuel Vadot 66*01950c46SEmmanuel Vadot atmel,model = "wm8731 @ AT91SAM9X5EK"; 67*01950c46SEmmanuel Vadot 68*01950c46SEmmanuel Vadot atmel,audio-routing = 69*01950c46SEmmanuel Vadot "Headphone Jack", "RHPOUT", 70*01950c46SEmmanuel Vadot "Headphone Jack", "LHPOUT", 71*01950c46SEmmanuel Vadot "LLINEIN", "Line In Jack", 72*01950c46SEmmanuel Vadot "RLINEIN", "Line In Jack"; 73*01950c46SEmmanuel Vadot 74*01950c46SEmmanuel Vadot atmel,ssc-controller = <&ssc0>; 75*01950c46SEmmanuel Vadot atmel,audio-codec = <&wm8731>; 76*01950c46SEmmanuel Vadot }; 77