| .. | .. |
|---|
| 185 | 185 | sound-dai = <&hdmi>; |
|---|
| 186 | 186 | }; |
|---|
| 187 | 187 | }; |
|---|
| 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 | }; |
|---|
| 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 | + |
|---|
| 207 | + };*/ |
|---|
| 196 | 208 | |
|---|
| 197 | 209 | pdmics: dummy-codec { |
|---|
| 198 | 210 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 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 = <&gpio3 RK_PA1 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"; |
|---|
| .. | .. |
|---|
| 1252 | 1266 | }; |
|---|
| 1253 | 1267 | |
|---|
| 1254 | 1268 | &i2c1 { |
|---|
| 1255 | | - status = "okay"; |
|---|
| 1269 | + status = "disabled"; |
|---|
| 1256 | 1270 | }; |
|---|
| 1257 | 1271 | |
|---|
| 1258 | 1272 | &i2c5 { |
|---|
| .. | .. |
|---|
| 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 | }; |
|---|
| .. | .. |
|---|
| 1329 | 1342 | |
|---|
| 1330 | 1343 | &pinctrl { |
|---|
| 1331 | 1344 | |
|---|
| 1332 | | - headphone { |
|---|
| 1333 | | - hp_det: hp-det { |
|---|
| 1334 | | - rockchip,pins = <3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_down>; |
|---|
| 1335 | | - }; |
|---|
| 1336 | | - }; |
|---|
| 1337 | 1345 | |
|---|
| 1338 | 1346 | mxc6655xa { |
|---|
| 1339 | 1347 | mxc6655xa_irq_gpio: mxc6655xa_irq_gpio { |
|---|
| .. | .. |
|---|
| 1435 | 1443 | }; |
|---|
| 1436 | 1444 | |
|---|
| 1437 | 1445 | &pwm7 { |
|---|
| 1438 | | - status = "okay"; |
|---|
| 1446 | + status = "disabled"; |
|---|
| 1439 | 1447 | |
|---|
| 1440 | 1448 | compatible = "rockchip,remotectl-pwm"; |
|---|
| 1441 | 1449 | remote_pwm_id = <3>; |
|---|
| .. | .. |
|---|
| 1610 | 1618 | }; |
|---|
| 1611 | 1619 | |
|---|
| 1612 | 1620 | &spdif_8ch { |
|---|
| 1613 | | - status = "okay"; |
|---|
| 1621 | + status = "disabled"; |
|---|
| 1614 | 1622 | }; |
|---|
| 1615 | 1623 | |
|---|
| 1616 | 1624 | &tsadc { |
|---|
| .. | .. |
|---|
| 1662 | 1670 | }; |
|---|
| 1663 | 1671 | |
|---|
| 1664 | 1672 | &usbdrd_dwc3 { |
|---|
| 1665 | | - dr_mode = "otg"; |
|---|
| 1673 | + dr_mode = "host"; |
|---|
| 1666 | 1674 | extcon = <&usb2phy0>; |
|---|
| 1667 | 1675 | status = "okay"; |
|---|
| 1668 | 1676 | }; |
|---|