69 lines · plain
1RT5665/RT5666 audio CODEC2 3This device supports I2C only.4 5Required properties:6 7- compatible : One of "realtek,rt5665", "realtek,rt5666".8 9- reg : The I2C address of the device.10 11- interrupts : The CODEC's interrupt output.12 13Optional properties:14 15- realtek,in1-differential16- realtek,in2-differential17- realtek,in3-differential18- realtek,in4-differential19 Boolean. Indicate MIC1/2/3/4 input are differential, rather than single-ended.20 21- realtek,dmic1-data-pin22 0: dmic1 is not used23 1: using GPIO4 pin as dmic1 data pin24 2: using IN2N pin as dmic2 data pin25 26- realtek,dmic2-data-pin27 0: dmic2 is not used28 1: using GPIO5 pin as dmic2 data pin29 2: using IN2P pin as dmic2 data pin30 31- realtek,jd-src32 0: No JD is used33 1: using JD1 as JD source34 35- realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.36 37Pins on the device (for linking into audio routes) for RT5659/RT5658:38 39 * DMIC L140 * DMIC R141 * DMIC L242 * DMIC R243 * IN1P44 * IN1N45 * IN2P46 * IN2N47 * IN3P48 * IN3N49 * IN4P50 * IN4N51 * HPOL52 * HPOR53 * LOUTL54 * LOUTR55 * MONOOUT56 * PDML57 * PDMR58 59Example:60 61rt5659 {62 compatible = "realtek,rt5665";63 reg = <0x1b>;64 interrupt-parent = <&gpio>;65 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_HIGH>;66 realtek,ldo1-en-gpios =67 <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;68};69