1Wolfson Arizona class audio SoCs 2 3These devices are audio SoCs with extensive digital capabilites and a range 4of analogue I/O. 5 6Required properties: 7 8 - compatible : one of the following chip-specific strings: 9 "wlf,wm5102" 10 "wlf,wm5110" 11 - reg : I2C slave address when connected using I2C, chip select number when 12 using SPI. 13 14 - interrupts : The interrupt line the /IRQ signal for the device is 15 connected to. 16 - interrupt-controller : Arizona class devices contain interrupt controllers 17 and may provide interrupt services to other devices. 18 - interrupt-parent : The parent interrupt controller. 19 - #interrupt-cells: the number of cells to describe an IRQ, this should be 2. 20 The first cell is the IRQ number. 21 The second cell is the flags, encoded as the trigger masks from 22 Documentation/devicetree/bindings/interrupts.txt 23 24 - gpio-controller : Indicates this device is a GPIO controller. 25 - #gpio-cells : Must be 2. The first cell is the pin number and the 26 second cell is used to specify optional parameters (currently unused). 27 28 - AVDD1-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply, CPVDD-supply, 29 SPKVDDL-supply, SPKVDDR-supply : power supplies for the device, as covered 30 in Documentation/devicetree/bindings/regulator/regulator.txt 31 32Optional properties: 33 34 - wlf,reset : GPIO specifier for the GPIO controlling /RESET 35 - wlf,ldoena : GPIO specifier for the GPIO controlling LDOENA 36 37 - wlf,gpio-defaults : A list of GPIO configuration register values. If 38 absent, no configuration of these registers is performed. If any 39 entry has a value that is out of range for a 16 bit register then 40 the chip default will be used. If present exactly five values must 41 be specified. 42 43Example: 44 45codec: wm5102@1a { 46 compatible = "wlf,wm5102"; 47 reg = <0x1a>; 48 interrupts = <347>; 49 #interrupt-cells = <2>; 50 interrupt-parent = <&gic>; 51 52 gpio-controller; 53 #gpio-cells = <2>; 54 55 wlf,gpio-defaults = < 56 0x00000000, /* AIF1TXLRCLK */ 57 0xffffffff, 58 0xffffffff, 59 0xffffffff, 60 0xffffffff, 61 >; 62}; 63