xref: /freebsd/sys/contrib/device-tree/Bindings/sound/adi,adau1701.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotAnalog Devices ADAU1701
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot - compatible:		Should contain "adi,adau1701"
6*c66ec88fSEmmanuel Vadot - reg:			The i2c address. Value depends on the state of ADDR0
7*c66ec88fSEmmanuel Vadot			and ADDR1, as wired in hardware.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotOptional properties:
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot - reset-gpio: 		A GPIO spec to define which pin is connected to the
12*c66ec88fSEmmanuel Vadot			chip's !RESET pin. If specified, the driver will
13*c66ec88fSEmmanuel Vadot			assert a hardware reset at probe time.
14*c66ec88fSEmmanuel Vadot - adi,pll-mode-gpios:	An array of two GPIO specs to describe the GPIOs
15*c66ec88fSEmmanuel Vadot			the ADAU's PLL config pins are connected to.
16*c66ec88fSEmmanuel Vadot			The state of the pins are set according to the
17*c66ec88fSEmmanuel Vadot			configured clock divider on ASoC side before the
18*c66ec88fSEmmanuel Vadot			firmware is loaded.
19*c66ec88fSEmmanuel Vadot - adi,pin-config:	An array of 12 numerical values selecting one of the
20*c66ec88fSEmmanuel Vadot			pin configurations as described in the datasheet,
21*c66ec88fSEmmanuel Vadot			table 53. Note that the value of this property has
22*c66ec88fSEmmanuel Vadot			to be prefixed with '/bits/ 8'.
23*c66ec88fSEmmanuel Vadot - avdd-supply: 	Power supply for AVDD, providing 3.3V
24*c66ec88fSEmmanuel Vadot - dvdd-supply: 	Power supply for DVDD, providing 3.3V
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel VadotExamples:
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot	i2c_bus {
29*c66ec88fSEmmanuel Vadot		adau1701@34 {
30*c66ec88fSEmmanuel Vadot			compatible = "adi,adau1701";
31*c66ec88fSEmmanuel Vadot			reg = <0x34>;
32*c66ec88fSEmmanuel Vadot			reset-gpio = <&gpio 23 0>;
33*c66ec88fSEmmanuel Vadot			avdd-supply = <&vdd_3v3_reg>;
34*c66ec88fSEmmanuel Vadot			dvdd-supply = <&vdd_3v3_reg>;
35*c66ec88fSEmmanuel Vadot			adi,pll-mode-gpios = <&gpio 24 0 &gpio 25 0>;
36*c66ec88fSEmmanuel Vadot			adi,pin-config = /bits/ 8 <0x4 0x7 0x5 0x5 0x4 0x4
37*c66ec88fSEmmanuel Vadot                                                   0x4 0x4 0x4 0x4 0x4 0x4>;
38*c66ec88fSEmmanuel Vadot		};
39*c66ec88fSEmmanuel Vadot	};
40