| .. | .. |
|---|
| 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; |
|---|
| .. | .. |
|---|
| 291 | 308 | regulator-min-microvolt = <3300000>; |
|---|
| 292 | 309 | regulator-max-microvolt = <3300000>; |
|---|
| 293 | 310 | enable-active-high; |
|---|
| 294 | | - gpio = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>; |
|---|
| 311 | + gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3 |
|---|
| 295 | 312 | vin-supply = <&vcc3v3_sys>; |
|---|
| 296 | 313 | |
|---|
| 297 | 314 | regulator-state-mem { |
|---|
| .. | .. |
|---|
| 1105 | 1122 | regulator-min-microvolt = <712500>; |
|---|
| 1106 | 1123 | regulator-max-microvolt = <1390000>; |
|---|
| 1107 | 1124 | regulator-init-microvolt = <900000>; |
|---|
| 1108 | | - regulator-initial-mode = <1>; |
|---|
| 1109 | 1125 | regulator-ramp-delay = <2300>; |
|---|
| 1110 | 1126 | fcs,suspend-voltage-selector = <1>; |
|---|
| 1111 | 1127 | regulator-boot-on; |
|---|
| .. | .. |
|---|
| 1267 | 1283 | vccio_acodec: LDO_REG4 { |
|---|
| 1268 | 1284 | regulator-always-on; |
|---|
| 1269 | 1285 | regulator-boot-on; |
|---|
| 1270 | | - regulator-min-microvolt = <3300000>; |
|---|
| 1271 | | - regulator-max-microvolt = <3300000>; |
|---|
| 1286 | + regulator-min-microvolt = <3000000>; |
|---|
| 1287 | + regulator-max-microvolt = <3000000>; |
|---|
| 1272 | 1288 | regulator-name = "vccio_acodec"; |
|---|
| 1273 | 1289 | regulator-state-mem { |
|---|
| 1274 | 1290 | regulator-off-in-suspend; |
|---|
| .. | .. |
|---|
| 1382 | 1398 | |
|---|
| 1383 | 1399 | &i2c1 { |
|---|
| 1384 | 1400 | status = "okay"; |
|---|
| 1385 | | - |
|---|
| 1386 | | - gt1x: gt1x@14 { |
|---|
| 1387 | | - compatible = "goodix,gt1x"; |
|---|
| 1388 | | - reg = <0x14>; |
|---|
| 1389 | | - pinctrl-names = "default"; |
|---|
| 1390 | | - pinctrl-0 = <&touch_gpio>; |
|---|
| 1391 | | - goodix,rst-gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>; |
|---|
| 1392 | | - goodix,irq-gpio = <&gpio0 RK_PB5 IRQ_TYPE_LEVEL_LOW>; |
|---|
| 1393 | | - }; |
|---|
| 1394 | 1401 | }; |
|---|
| 1395 | 1402 | |
|---|
| 1396 | 1403 | &i2c5 { |
|---|
| .. | .. |
|---|
| 1423 | 1430 | &i2s1m0_lrcktx |
|---|
| 1424 | 1431 | &i2s1m0_sdi0 |
|---|
| 1425 | 1432 | &i2s1m0_sdo0>; |
|---|
| 1433 | +}; |
|---|
| 1434 | + |
|---|
| 1435 | +&i2s3_2ch { |
|---|
| 1436 | + pinctrl-0 = <&i2s3m0_sclk &i2s3m0_lrck &i2s3m0_sdi &i2s3m0_sdo>; |
|---|
| 1437 | + rockchip,bclk-fs = <32>; |
|---|
| 1438 | + status = "disabled"; |
|---|
| 1426 | 1439 | }; |
|---|
| 1427 | 1440 | |
|---|
| 1428 | 1441 | &iep { |
|---|
| .. | .. |
|---|
| 1460 | 1473 | }; |
|---|
| 1461 | 1474 | |
|---|
| 1462 | 1475 | &pinctrl { |
|---|
| 1476 | + |
|---|
| 1477 | + headphone { |
|---|
| 1478 | + hp_det: hp-det { |
|---|
| 1479 | + rockchip,pins = <3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_down>; |
|---|
| 1480 | + }; |
|---|
| 1481 | + }; |
|---|
| 1463 | 1482 | |
|---|
| 1464 | 1483 | mxc6655xa { |
|---|
| 1465 | 1484 | mxc6655xa_irq_gpio: mxc6655xa_irq_gpio { |
|---|
| .. | .. |
|---|
| 1500 | 1519 | sdio-pwrseq { |
|---|
| 1501 | 1520 | wifi_enable_h: wifi-enable-h { |
|---|
| 1502 | 1521 | rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| 1503 | | - //WIFI_REG_ON_H_GPIO2_B1 |
|---|
| 1504 | 1522 | }; |
|---|
| 1505 | 1523 | }; |
|---|
| 1506 | 1524 | |
|---|
| .. | .. |
|---|
| 1549 | 1567 | }; |
|---|
| 1550 | 1568 | |
|---|
| 1551 | 1569 | &pwm4 { |
|---|
| 1570 | + status = "okay"; |
|---|
| 1571 | +}; |
|---|
| 1572 | + |
|---|
| 1573 | +&pwm6 { |
|---|
| 1552 | 1574 | status = "okay"; |
|---|
| 1553 | 1575 | }; |
|---|
| 1554 | 1576 | |
|---|
| .. | .. |
|---|
| 1791 | 1813 | }; |
|---|
| 1792 | 1814 | |
|---|
| 1793 | 1815 | &usbhost_dwc3 { |
|---|
| 1794 | | - phys = <&u2phy0_host>; |
|---|
| 1795 | | - phy-names = "usb2-phy"; |
|---|
| 1796 | | - maximum-speed = "high-speed"; |
|---|
| 1797 | | - snps,dis_u2_susphy_quirk; |
|---|
| 1798 | | - status = "okay"; |
|---|
| 1799 | | -}; |
|---|
| 1800 | | - |
|---|
| 1801 | | -&combphy1_usq { |
|---|
| 1802 | | - rockchip,dis-u3otg1-port; |
|---|
| 1803 | 1816 | status = "okay"; |
|---|
| 1804 | 1817 | }; |
|---|
| 1805 | 1818 | |
|---|
| .. | .. |
|---|
| 1832 | 1845 | |
|---|
| 1833 | 1846 | &vop { |
|---|
| 1834 | 1847 | status = "okay"; |
|---|
| 1835 | | - assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>; |
|---|
| 1836 | | - assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>; |
|---|
| 1848 | + assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>, <&cru DCLK_VOP2>; |
|---|
| 1849 | + assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>, <&cru PLL_GPLL>; |
|---|
| 1837 | 1850 | }; |
|---|
| 1838 | 1851 | |
|---|
| 1839 | 1852 | &vop_mmu { |
|---|