3 This device supports I2C only.
7 - compatible : "realtek,rt5682" or "realtek,rt5682i"
9 - reg : The I2C address of the device.
13 - interrupts : The CODEC's interrupt output.
15 - realtek,dmic1-data-pin
17 1: using GPIO2 pin as dmic1 data pin
18 2: using GPIO5 pin as dmic1 data pin
20 - realtek,dmic1-clk-pin
21 0: using GPIO1 pin as dmic1 clock pin
22 1: using GPIO3 pin as dmic1 clock pin
26 1: using JD1 as JD source
28 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.
30 - realtek,btndet-delay
31 The debounce delay for push button.
32 The delay time is realtek,btndet-delay value multiple of 8.192 ms.
33 If absent, the default is 16.
35 - #clock-cells : Should be set to '<1>', wclk and bclk sources provided.
36 - clock-output-names : Name given for DAI clocks output.
38 - clocks : phandle and clock specifier for codec MCLK.
39 - clock-names : Clock name string for 'clocks' attribute, should be "mclk".
41 - realtek,dmic-clk-rate-hz : Set the clock rate (hz) for the requirement of
44 - realtek,dmic-delay-ms : Set the delay time (ms) for the requirement of
47 - realtek,dmic-clk-driving-high : Set the high driving of the DMIC clock out.
49 - #sound-dai-cells: Should be set to '<0>'.
51 Pins on the device (for linking into audio routes) for RT5682:
62 compatible = "realtek,rt5682i";
64 interrupt-parent = <&gpio>;
65 interrupts = <TEGRA_GPIO(U, 6) IRQ_TYPE_LEVEL_HIGH>;
66 realtek,ldo1-en-gpios =
67 <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
68 realtek,dmic1-data-pin = <1>;
69 realtek,dmic1-clk-pin = <1>;
71 realtek,btndet-delay = <16>;
74 clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk";