.. | .. |
---|
188 | 188 | |
---|
189 | 189 | leds: leds { |
---|
190 | 190 | compatible = "gpio-leds"; |
---|
191 | | - sys_led: sys_led { |
---|
192 | | - gpios = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>; |
---|
193 | | - linux,default-trigger = "heartbeat"; |
---|
| 191 | + run_led: run_led { |
---|
| 192 | + gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>; |
---|
| 193 | + default-state = "on"; |
---|
| 194 | +// linux,default-trigger = "heartbeat"; |
---|
194 | 195 | }; |
---|
| 196 | + /* |
---|
| 197 | + sig_led: sig_led { |
---|
| 198 | + gpios = <&gpio4 RK_PC3 GPIO_ACTIVE_HIGH>; |
---|
| 199 | + default-state = "on"; |
---|
| 200 | + }; |
---|
| 201 | + |
---|
| 202 | + err_led: err_led { |
---|
| 203 | + gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; |
---|
| 204 | + default-state = "on"; |
---|
| 205 | + }; |
---|
| 206 | + */ |
---|
195 | 207 | }; |
---|
196 | 208 | |
---|
197 | 209 | pdmics: dummy-codec { |
---|
.. | .. |
---|
214 | 226 | |
---|
215 | 227 | rk809_sound: rk809-sound { |
---|
216 | 228 | status = "okay"; |
---|
217 | | - compatible = "rockchip,multicodecs-card"; |
---|
218 | | - rockchip,card-name = "rockchip-rk809"; |
---|
219 | | - hp-det-gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_LOW>; |
---|
220 | | - rockchip,format = "i2s"; |
---|
221 | | - rockchip,mclk-fs = <256>; |
---|
222 | | - rockchip,cpu = <&i2s1_8ch>; |
---|
223 | | - rockchip,codec = <&rk809_codec>; |
---|
224 | | -// pinctrl-names = "default"; |
---|
225 | | -// pinctrl-0 = <&hp_det>; |
---|
| 229 | + compatible = "simple-audio-card"; |
---|
| 230 | + simple-audio-card,format = "i2s"; |
---|
| 231 | + simple-audio-card,name = "rockchip,rk809-codec"; |
---|
| 232 | + simple-audio-card,mclk-fs = <256>; |
---|
| 233 | + |
---|
| 234 | + simple-audio-card,cpu { |
---|
| 235 | + sound-dai = <&i2s1_8ch>; |
---|
| 236 | + }; |
---|
| 237 | + simple-audio-card,codec { |
---|
| 238 | + sound-dai = <&rk809_codec>; |
---|
| 239 | + }; |
---|
226 | 240 | }; |
---|
227 | 241 | |
---|
228 | 242 | spdif-sound { |
---|
229 | 243 | status = "okay"; |
---|
230 | 244 | compatible = "simple-audio-card"; |
---|
231 | 245 | simple-audio-card,name = "ROCKCHIP,SPDIF"; |
---|
232 | | - simple-audio-card,mclk-fs = <128>; |
---|
233 | 246 | simple-audio-card,cpu { |
---|
234 | 247 | sound-dai = <&spdif_8ch>; |
---|
235 | 248 | }; |
---|
.. | .. |
---|
317 | 330 | regulator-min-microvolt = <3300000>; |
---|
318 | 331 | regulator-max-microvolt = <3300000>; |
---|
319 | 332 | enable-active-high; |
---|
320 | | - gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3 |
---|
321 | 333 | vin-supply = <&vcc3v3_sys>; |
---|
322 | 334 | |
---|
323 | 335 | regulator-state-mem { |
---|
.. | .. |
---|
332 | 344 | regulator-min-microvolt = <3300000>; |
---|
333 | 345 | regulator-max-microvolt = <3300000>; |
---|
334 | 346 | enable-active-high; |
---|
335 | | - gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; |
---|
336 | 347 | vin-supply = <&vcc3v3_sys>; |
---|
337 | 348 | |
---|
338 | 349 | regulator-state-mem { |
---|
.. | .. |
---|
361 | 372 | compatible = "wlan-platdata"; |
---|
362 | 373 | rockchip,grf = <&grf>; |
---|
363 | 374 | wifi_chip_type = "ap6398s"; |
---|
| 375 | + clocks = <&rk809 1>; |
---|
| 376 | + clock-names = "ext_clock"; |
---|
364 | 377 | status = "okay"; |
---|
365 | 378 | }; |
---|
366 | 379 | |
---|
.. | .. |
---|
397 | 410 | &dfi { |
---|
398 | 411 | status = "okay"; |
---|
399 | 412 | }; |
---|
| 413 | + |
---|
400 | 414 | |
---|
401 | 415 | &dmc { |
---|
402 | 416 | center-supply = <&vdd_logic>; |
---|
.. | .. |
---|
1234 | 1248 | }; |
---|
1235 | 1249 | |
---|
1236 | 1250 | rk809_codec: codec { |
---|
1237 | | - #sound-dai-cells = <1>; |
---|
| 1251 | + #sound-dai-cells = <0>; |
---|
1238 | 1252 | compatible = "rockchip,rk809-codec", "rockchip,rk817-codec"; |
---|
1239 | 1253 | clocks = <&cru I2S1_MCLKOUT>; |
---|
1240 | 1254 | clock-names = "mclk"; |
---|
.. | .. |
---|
1288 | 1302 | }; |
---|
1289 | 1303 | |
---|
1290 | 1304 | &i2s3_2ch { |
---|
1291 | | - pinctrl-0 = <&i2s3m0_sclk &i2s3m0_lrck &i2s3m0_sdi &i2s3m0_sdo>; |
---|
1292 | 1305 | rockchip,bclk-fs = <32>; |
---|
1293 | 1306 | status = "disabled"; |
---|
1294 | 1307 | }; |
---|
.. | .. |
---|
1430 | 1443 | }; |
---|
1431 | 1444 | |
---|
1432 | 1445 | &pwm7 { |
---|
1433 | | - status = "okay"; |
---|
| 1446 | + status = "disabled"; |
---|
1434 | 1447 | |
---|
1435 | 1448 | compatible = "rockchip,remotectl-pwm"; |
---|
1436 | 1449 | remote_pwm_id = <3>; |
---|
.. | .. |
---|
1605 | 1618 | }; |
---|
1606 | 1619 | |
---|
1607 | 1620 | &spdif_8ch { |
---|
1608 | | - status = "okay"; |
---|
| 1621 | + status = "disabled"; |
---|
1609 | 1622 | }; |
---|
1610 | 1623 | |
---|
1611 | 1624 | &tsadc { |
---|