xref: /freebsd/sys/contrib/device-tree/Bindings/sound/zte,zx-aud96p22.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotZTE ZX AUD96P22 Audio Codec
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot - compatible: Must be "zte,zx-aud96p22"
5*c66ec88fSEmmanuel Vadot - #sound-dai-cells: Should be 0
6*c66ec88fSEmmanuel Vadot - reg: I2C bus slave address of AUD96P22
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotExample:
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot	i2c0: i2c@1486000 {
11*c66ec88fSEmmanuel Vadot		compatible = "zte,zx296718-i2c";
12*c66ec88fSEmmanuel Vadot		reg = <0x01486000 0x1000>;
13*c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
14*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
15*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
16*c66ec88fSEmmanuel Vadot		clocks = <&audiocrm AUDIO_I2C0_WCLK>;
17*c66ec88fSEmmanuel Vadot		clock-frequency = <1600000>;
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot		aud96p22: codec@22 {
20*c66ec88fSEmmanuel Vadot			compatible = "zte,zx-aud96p22";
21*c66ec88fSEmmanuel Vadot			#sound-dai-cells = <0>;
22*c66ec88fSEmmanuel Vadot			reg = <0x22>;
23*c66ec88fSEmmanuel Vadot		};
24*c66ec88fSEmmanuel Vadot	};
25