1RT5640 audio CODEC 2 3This device supports I2C only. 4 5Required properties: 6 7- compatible : "realtek,rt5640". 8 9- reg : The I2C address of the device. 10 11- interrupts : The CODEC's interrupt output. 12 13Optional properties: 14 15- realtek,in1-differential 16- realtek,in2-differential 17 Boolean. Indicate MIC1/2 input are differential, rather than single-ended. 18 19- realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. 20 21Pins on the device (for linking into audio routes): 22 23 * DMIC1 24 * DMIC2 25 * MICBIAS1 26 * IN1P 27 * IN1R 28 * IN2P 29 * IN2R 30 * HPOL 31 * HPOR 32 * LOUTL 33 * LOUTR 34 * MONOP 35 * MONON 36 * SPOLP 37 * SPOLN 38 * SPORP 39 * SPORN 40 41Example: 42 43rt5640 { 44 compatible = "realtek,rt5640"; 45 reg = <0x1c>; 46 interrupt-parent = <&gpio>; 47 interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>; 48 realtek,ldo1-en-gpios = 49 <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>; 50}; 51