1* Rockchip Rk3228 internal codec 2 3Required properties: 4 5- compatible: "rockchip,rk3228-codec" 6- reg: physical base address of the controller and length of memory mapped 7 region. 8- clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names. 9- clock-names: a list of clock names, one for each entry in clocks. 10- spk-en-gpio: speaker enable gpio. 11- spk-depop-time-ms: speaker depop time msec. 12 13Example for rk3228 internal codec: 14 15codec: codec@12010000 { 16 compatible = "rockchip,rk3228-codec"; 17 reg = <0x12010000 0x1000>; 18 clocks = <&cru SCLK_I2S_OUT>, <&cru PCLK_ACODECPHY>, <&cru SCLK_I2S1>; 19 clock-names = "mclk", "pclk", "sclk"; 20 spk-en-gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; 21 status = "disabled"; 22}; 23