|
46 | 46 | model = "Rockchip RK3036 KylinBoard";
|
47 | 47 | compatible = "rockchip,rk3036-kylin", "rockchip,rk3036";
|
48 | 48 |
|
| 49 | + sound { |
| 50 | + compatible = "simple-audio-card"; |
| 51 | + simple-audio-card,format = "i2s"; |
| 52 | + simple-audio-card,name = "rockchip,rt5616-codec"; |
| 53 | + simple-audio-card,mclk-fs = <256>; |
| 54 | + simple-audio-card,widgets = |
| 55 | + "Microphone", "Microphone Jack", |
| 56 | + "Headphone", "Headphone Jack"; |
| 57 | + simple-audio-card,routing = |
| 58 | + "MIC1", "Microphone Jack", |
| 59 | + "MIC2", "Microphone Jack", |
| 60 | + "Microphone Jack", "micbias1", |
| 61 | + "Headphone Jack", "HPOL", |
| 62 | + "Headphone Jack", "HPOR"; |
| 63 | + |
| 64 | + simple-audio-card,cpu { |
| 65 | + sound-dai = <&i2s>; |
| 66 | + }; |
| 67 | + |
| 68 | + simple-audio-card,codec { |
| 69 | + sound-dai = <&rt5616>; |
| 70 | + }; |
| 71 | + }; |
| 72 | + |
49 | 73 | vcc_sys: vsys-regulator {
|
50 | 74 | compatible = "regulator-fixed";
|
51 | 75 | regulator-name = "vcc_sys";
|
|
257 | 281 |
|
258 | 282 | &i2c2 {
|
259 | 283 | status = "okay";
|
| 284 | + |
| 285 | + rt5616: rt5616@1b { |
| 286 | + compatible = "rt5616"; |
| 287 | + reg = <0x1b>; |
| 288 | + #sound-dai-cells = <0>; |
| 289 | + }; |
| 290 | +}; |
| 291 | + |
| 292 | +&i2s { |
| 293 | + #sound-dai-cells = <0>; |
| 294 | + status = "okay"; |
260 | 295 | };
|
261 | 296 |
|
262 | 297 | &sdio {
|
|
0 commit comments