xref: /freebsd/sys/contrib/device-tree/Bindings/sound/rockchip,rk3328-codec.txt (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1* Rockchip Rk3328 internal codec
2
3Required properties:
4
5- compatible: "rockchip,rk3328-codec"
6- reg: physical base address of the controller and length of memory mapped
7  region.
8- rockchip,grf: the phandle of the syscon node for GRF register.
9- clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names.
10- clock-names: should be "pclk".
11- spk-depop-time-ms: speak depop time msec.
12
13Optional properties:
14
15- mute-gpios: GPIO specifier for external line driver control (typically the
16              dedicated GPIO_MUTE pin)
17
18Example for rk3328 internal codec:
19
20codec: codec@ff410000 {
21	compatible = "rockchip,rk3328-codec";
22	reg = <0x0 0xff410000 0x0 0x1000>;
23	rockchip,grf = <&grf>;
24	clocks = <&cru PCLK_ACODEC>;
25	clock-names = "pclk";
26	mute-gpios = <&grf_gpio 0 GPIO_ACTIVE_LOW>;
27	spk-depop-time-ms = 100;
28};
29