.. | .. |
---|
103 | 103 | |
---|
104 | 104 | backlight1: backlight1 { |
---|
105 | 105 | compatible = "pwm-backlight"; |
---|
106 | | - pwms = <&pwm5 0 25000 0>; |
---|
| 106 | + pwms = <&pwm6 0 25000 0>; |
---|
107 | 107 | brightness-levels = < |
---|
108 | 108 | 0 20 20 21 21 22 22 23 |
---|
109 | 109 | 23 24 24 25 25 26 26 27 |
---|
.. | .. |
---|
139 | 139 | 248 249 250 251 252 253 254 255 |
---|
140 | 140 | >; |
---|
141 | 141 | default-brightness-level = <200>; |
---|
| 142 | + }; |
---|
| 143 | + |
---|
| 144 | + bt_sco: bt-sco { |
---|
| 145 | + status = "disabled"; |
---|
| 146 | + compatible = "delta,dfbmcs320"; |
---|
| 147 | + #sound-dai-cells = <1>; |
---|
| 148 | + }; |
---|
| 149 | + |
---|
| 150 | + bt_sound: bt-sound { |
---|
| 151 | + status = "disabled"; |
---|
| 152 | + compatible = "simple-audio-card"; |
---|
| 153 | + simple-audio-card,format = "dsp_a"; |
---|
| 154 | + simple-audio-card,bitclock-inversion = <0>; |
---|
| 155 | + simple-audio-card,mclk-fs = <256>; |
---|
| 156 | + simple-audio-card,name = "rockchip,bt"; |
---|
| 157 | + simple-audio-card,cpu { |
---|
| 158 | + sound-dai = <&i2s3_2ch>; |
---|
| 159 | + }; |
---|
| 160 | + simple-audio-card,codec { |
---|
| 161 | + sound-dai = <&bt_sco 1>; |
---|
| 162 | + }; |
---|
142 | 163 | }; |
---|
143 | 164 | |
---|
144 | 165 | dc_12v: dc-12v { |
---|
.. | .. |
---|
187 | 208 | |
---|
188 | 209 | rk809_sound: rk809-sound { |
---|
189 | 210 | status = "okay"; |
---|
190 | | - compatible = "simple-audio-card"; |
---|
191 | | - simple-audio-card,format = "i2s"; |
---|
192 | | - simple-audio-card,name = "rockchip,rk809-codec"; |
---|
193 | | - simple-audio-card,mclk-fs = <256>; |
---|
194 | | - |
---|
195 | | - simple-audio-card,cpu { |
---|
196 | | - sound-dai = <&i2s1_8ch>; |
---|
197 | | - }; |
---|
198 | | - simple-audio-card,codec { |
---|
199 | | - sound-dai = <&rk809_codec>; |
---|
200 | | - }; |
---|
| 211 | + compatible = "rockchip,multicodecs-card"; |
---|
| 212 | + rockchip,card-name = "rockchip-rk809"; |
---|
| 213 | + hp-det-gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_LOW>; |
---|
| 214 | + rockchip,format = "i2s"; |
---|
| 215 | + rockchip,mclk-fs = <256>; |
---|
| 216 | + rockchip,cpu = <&i2s1_8ch>; |
---|
| 217 | + rockchip,codec = <&rk809_codec>; |
---|
| 218 | + pinctrl-names = "default"; |
---|
| 219 | + pinctrl-0 = <&hp_det>; |
---|
201 | 220 | }; |
---|
202 | 221 | |
---|
203 | 222 | spdif-sound { |
---|
.. | .. |
---|
273 | 292 | vcc5v0_otg: vcc5v0-otg-regulator { |
---|
274 | 293 | compatible = "regulator-fixed"; |
---|
275 | 294 | regulator-name = "vcc5v0_otg"; |
---|
276 | | - egulator-boot-on; |
---|
277 | | - regulator-always-on; |
---|
278 | 295 | regulator-min-microvolt = <5000000>; |
---|
279 | 296 | regulator-max-microvolt = <5000000>; |
---|
280 | 297 | enable-active-high; |
---|
.. | .. |
---|
335 | 352 | compatible = "wlan-platdata"; |
---|
336 | 353 | rockchip,grf = <&grf>; |
---|
337 | 354 | wifi_chip_type = "ap6398s"; |
---|
338 | | - status = "okay"; |
---|
| 355 | + status = "disabled"; |
---|
339 | 356 | }; |
---|
340 | 357 | |
---|
341 | 358 | wireless_bluetooth: wireless-bluetooth { |
---|
342 | | - compatible = "bluetooth-platdata"; |
---|
343 | | - clocks = <&rk809 1>; |
---|
344 | | - clock-names = "ext_clock"; |
---|
345 | | - //wifi-bt-power-toggle; |
---|
346 | | - uart_rts_gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>; |
---|
347 | | - pinctrl-names = "default", "rts_gpio"; |
---|
348 | | - pinctrl-0 = <&uart8m0_rtsn>; |
---|
349 | | - pinctrl-1 = <&uart8_gpios>; |
---|
350 | | - BT,reset_gpio = <&gpio3 RK_PA0 GPIO_ACTIVE_HIGH>; |
---|
351 | | - BT,wake_gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>; |
---|
352 | | - BT,wake_host_irq = <&gpio3 RK_PA2 GPIO_ACTIVE_HIGH>; |
---|
353 | | - status = "okay"; |
---|
| 359 | + status = "disabled"; |
---|
354 | 360 | }; |
---|
355 | 361 | |
---|
356 | 362 | test-power { |
---|
.. | .. |
---|
1070 | 1076 | status = "okay"; |
---|
1071 | 1077 | }; |
---|
1072 | 1078 | |
---|
| 1079 | +&hdmi { |
---|
| 1080 | + status = "okay"; |
---|
| 1081 | + rockchip,phy-table = |
---|
| 1082 | + <92812500 0x8009 0x0000 0x0270>, |
---|
| 1083 | + <165000000 0x800b 0x0000 0x026d>, |
---|
| 1084 | + <185625000 0x800b 0x0000 0x01ed>, |
---|
| 1085 | + <297000000 0x800b 0x0000 0x01ad>, |
---|
| 1086 | + <594000000 0x8029 0x0000 0x0088>, |
---|
| 1087 | + <000000000 0x0000 0x0000 0x0000>; |
---|
| 1088 | +}; |
---|
1073 | 1089 | |
---|
| 1090 | +&hdmi_in_vp0 { |
---|
| 1091 | + status = "okay"; |
---|
| 1092 | +}; |
---|
| 1093 | + |
---|
| 1094 | +&hdmi_in_vp1 { |
---|
| 1095 | + status = "disabled"; |
---|
| 1096 | +}; |
---|
| 1097 | + |
---|
| 1098 | +&hdmi_sound { |
---|
| 1099 | + status = "okay"; |
---|
| 1100 | +}; |
---|
1074 | 1101 | |
---|
1075 | 1102 | &i2c0 { |
---|
1076 | 1103 | status = "okay"; |
---|
.. | .. |
---|
1084 | 1111 | regulator-min-microvolt = <712500>; |
---|
1085 | 1112 | regulator-max-microvolt = <1390000>; |
---|
1086 | 1113 | regulator-init-microvolt = <900000>; |
---|
1087 | | - regulator-initial-mode = <1>; |
---|
1088 | 1114 | regulator-ramp-delay = <2300>; |
---|
1089 | 1115 | fcs,suspend-voltage-selector = <1>; |
---|
1090 | 1116 | regulator-boot-on; |
---|
.. | .. |
---|
1246 | 1272 | vccio_acodec: LDO_REG4 { |
---|
1247 | 1273 | regulator-always-on; |
---|
1248 | 1274 | regulator-boot-on; |
---|
1249 | | - regulator-min-microvolt = <3300000>; |
---|
1250 | | - regulator-max-microvolt = <3300000>; |
---|
| 1275 | + regulator-min-microvolt = <3000000>; |
---|
| 1276 | + regulator-max-microvolt = <3000000>; |
---|
1251 | 1277 | regulator-name = "vccio_acodec"; |
---|
1252 | 1278 | regulator-state-mem { |
---|
1253 | 1279 | regulator-off-in-suspend; |
---|
.. | .. |
---|
1361 | 1387 | |
---|
1362 | 1388 | &i2c1 { |
---|
1363 | 1389 | status = "okay"; |
---|
1364 | | - |
---|
1365 | | - gt1x: gt1x@14 { |
---|
1366 | | - compatible = "goodix,gt1x"; |
---|
1367 | | - reg = <0x14>; |
---|
1368 | | - pinctrl-names = "default"; |
---|
1369 | | - pinctrl-0 = <&touch_gpio>; |
---|
1370 | | - goodix,rst-gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>; |
---|
1371 | | - goodix,irq-gpio = <&gpio0 RK_PB5 IRQ_TYPE_LEVEL_LOW>; |
---|
1372 | | - }; |
---|
1373 | 1390 | }; |
---|
1374 | 1391 | |
---|
1375 | 1392 | &i2c5 { |
---|
.. | .. |
---|
1402 | 1419 | &i2s1m0_lrcktx |
---|
1403 | 1420 | &i2s1m0_sdi0 |
---|
1404 | 1421 | &i2s1m0_sdo0>; |
---|
| 1422 | +}; |
---|
| 1423 | + |
---|
| 1424 | +&i2s3_2ch { |
---|
| 1425 | + pinctrl-0 = <&i2s3m0_sclk &i2s3m0_lrck &i2s3m0_sdi &i2s3m0_sdo>; |
---|
| 1426 | + rockchip,bclk-fs = <32>; |
---|
| 1427 | + status = "disabled"; |
---|
1405 | 1428 | }; |
---|
1406 | 1429 | |
---|
1407 | 1430 | &iep { |
---|
.. | .. |
---|
1439 | 1462 | }; |
---|
1440 | 1463 | |
---|
1441 | 1464 | &pinctrl { |
---|
| 1465 | + |
---|
| 1466 | + headphone { |
---|
| 1467 | + hp_det: hp-det { |
---|
| 1468 | + rockchip,pins = <3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_down>; |
---|
| 1469 | + }; |
---|
| 1470 | + }; |
---|
1442 | 1471 | |
---|
1443 | 1472 | mxc6655xa { |
---|
1444 | 1473 | mxc6655xa_irq_gpio: mxc6655xa_irq_gpio { |
---|
.. | .. |
---|
1479 | 1508 | sdio-pwrseq { |
---|
1480 | 1509 | wifi_enable_h: wifi-enable-h { |
---|
1481 | 1510 | rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; |
---|
1482 | | - //WIFI_REG_ON_H_GPIO2_B1 |
---|
1483 | 1511 | }; |
---|
1484 | 1512 | }; |
---|
1485 | 1513 | |
---|
.. | .. |
---|
1493 | 1521 | }; |
---|
1494 | 1522 | }; |
---|
1495 | 1523 | |
---|
1496 | | - wireless-bluetooth { |
---|
1497 | | - uart8_gpios: uart8-gpios { |
---|
1498 | | - rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; |
---|
1499 | | - }; |
---|
1500 | | - }; |
---|
1501 | 1524 | }; |
---|
1502 | 1525 | |
---|
1503 | 1526 | /* |
---|
.. | .. |
---|
1531 | 1554 | status = "okay"; |
---|
1532 | 1555 | }; |
---|
1533 | 1556 | |
---|
| 1557 | +&pwm6 { |
---|
| 1558 | + status = "okay"; |
---|
| 1559 | +}; |
---|
| 1560 | + |
---|
1534 | 1561 | &pwm5 { |
---|
1535 | 1562 | status = "okay"; |
---|
1536 | 1563 | }; |
---|
1537 | 1564 | |
---|
1538 | 1565 | &pwm7 { |
---|
1539 | | - status = "okay"; |
---|
| 1566 | + status = "disabled"; |
---|
1540 | 1567 | |
---|
1541 | 1568 | compatible = "rockchip,remotectl-pwm"; |
---|
1542 | 1569 | remote_pwm_id = <3>; |
---|
.. | .. |
---|
1670 | 1697 | status = "okay"; |
---|
1671 | 1698 | }; |
---|
1672 | 1699 | |
---|
1673 | | - |
---|
| 1700 | +&route_hdmi { |
---|
| 1701 | + status = "okay"; |
---|
| 1702 | + connect = <&vp0_out_hdmi>; |
---|
| 1703 | +}; |
---|
1674 | 1704 | |
---|
1675 | 1705 | &saradc { |
---|
1676 | 1706 | status = "okay"; |
---|
.. | .. |
---|
1757 | 1787 | }; |
---|
1758 | 1788 | |
---|
1759 | 1789 | &usbdrd_dwc3 { |
---|
1760 | | - dr_mode = "otg"; |
---|
| 1790 | + dr_mode = "host"; |
---|
1761 | 1791 | extcon = <&usb2phy0>; |
---|
1762 | 1792 | status = "okay"; |
---|
1763 | 1793 | }; |
---|
.. | .. |
---|
1767 | 1797 | }; |
---|
1768 | 1798 | |
---|
1769 | 1799 | &usbhost_dwc3 { |
---|
1770 | | -// phys = <&u2phy0_host>; |
---|
1771 | | -// phy-names = "usb2-phy"; |
---|
1772 | | -// maximum-speed = "high-speed"; |
---|
1773 | | -// snps,dis_u2_susphy_quirk; |
---|
1774 | | - status = "okay"; |
---|
1775 | | -}; |
---|
1776 | | - |
---|
1777 | | -&combphy1_usq { |
---|
1778 | | -// rockchip,dis-u3otg1-port; |
---|
1779 | 1800 | status = "okay"; |
---|
1780 | 1801 | }; |
---|
1781 | 1802 | |
---|
.. | .. |
---|
1808 | 1829 | |
---|
1809 | 1830 | &vop { |
---|
1810 | 1831 | status = "okay"; |
---|
1811 | | - assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>; |
---|
1812 | | - assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>; |
---|
| 1832 | + assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>, <&cru DCLK_VOP2>; |
---|
| 1833 | + assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>, <&cru PLL_GPLL>; |
---|
1813 | 1834 | }; |
---|
1814 | 1835 | |
---|
1815 | 1836 | &vop_mmu { |
---|