old mode 100644new mode 100755| .. | .. |
|---|
| 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 |
|---|
| .. | .. |
|---|
| 182 | 182 | |
|---|
| 183 | 183 | leds: leds { |
|---|
| 184 | 184 | compatible = "gpio-leds"; |
|---|
| 185 | | - work_led: work { |
|---|
| 186 | | - gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>; |
|---|
| 185 | + sys_led: sys_led { |
|---|
| 186 | + gpios = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>; |
|---|
| 187 | 187 | linux,default-trigger = "heartbeat"; |
|---|
| 188 | 188 | }; |
|---|
| 189 | 189 | }; |
|---|
| .. | .. |
|---|
| 308 | 308 | regulator-min-microvolt = <3300000>; |
|---|
| 309 | 309 | regulator-max-microvolt = <3300000>; |
|---|
| 310 | 310 | enable-active-high; |
|---|
| 311 | | - gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>; |
|---|
| 311 | + gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3 |
|---|
| 312 | 312 | vin-supply = <&vcc3v3_sys>; |
|---|
| 313 | 313 | |
|---|
| 314 | 314 | regulator-state-mem { |
|---|
| .. | .. |
|---|
| 345 | 345 | * - PDN (power down when low) |
|---|
| 346 | 346 | */ |
|---|
| 347 | 347 | post-power-on-delay-ms = <200>; |
|---|
| 348 | | - reset-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_LOW>; |
|---|
| 348 | + reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>; |
|---|
| 349 | 349 | }; |
|---|
| 350 | 350 | |
|---|
| 351 | 351 | wireless_wlan: wireless-wlan { |
|---|
| 352 | 352 | compatible = "wlan-platdata"; |
|---|
| 353 | 353 | rockchip,grf = <&grf>; |
|---|
| 354 | 354 | wifi_chip_type = "ap6398s"; |
|---|
| 355 | | - status = "okay"; |
|---|
| 355 | + status = "disabled"; |
|---|
| 356 | 356 | }; |
|---|
| 357 | 357 | |
|---|
| 358 | 358 | wireless_bluetooth: wireless-bluetooth { |
|---|
| 359 | | - compatible = "bluetooth-platdata"; |
|---|
| 360 | | - clocks = <&rk809 1>; |
|---|
| 361 | | - clock-names = "ext_clock"; |
|---|
| 362 | | - //wifi-bt-power-toggle; |
|---|
| 363 | | - uart_rts_gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>; |
|---|
| 364 | | - pinctrl-names = "default", "rts_gpio"; |
|---|
| 365 | | - pinctrl-0 = <&uart8m0_rtsn>; |
|---|
| 366 | | - pinctrl-1 = <&uart8_gpios>; |
|---|
| 367 | | - BT,reset_gpio = <&gpio3 RK_PA0 GPIO_ACTIVE_HIGH>; |
|---|
| 368 | | - BT,wake_gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>; |
|---|
| 369 | | - BT,wake_host_irq = <&gpio3 RK_PA2 GPIO_ACTIVE_HIGH>; |
|---|
| 370 | | - status = "okay"; |
|---|
| 359 | + status = "disabled"; |
|---|
| 371 | 360 | }; |
|---|
| 372 | 361 | |
|---|
| 373 | 362 | test-power { |
|---|
| .. | .. |
|---|
| 1398 | 1387 | |
|---|
| 1399 | 1388 | &i2c1 { |
|---|
| 1400 | 1389 | status = "okay"; |
|---|
| 1401 | | - |
|---|
| 1402 | | - gt1x: gt1x@14 { |
|---|
| 1403 | | - compatible = "goodix,gt1x"; |
|---|
| 1404 | | - reg = <0x14>; |
|---|
| 1405 | | - pinctrl-names = "default"; |
|---|
| 1406 | | - pinctrl-0 = <&touch_gpio>; |
|---|
| 1407 | | - goodix,rst-gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>; |
|---|
| 1408 | | - goodix,irq-gpio = <&gpio0 RK_PB5 IRQ_TYPE_LEVEL_LOW>; |
|---|
| 1409 | | - }; |
|---|
| 1410 | 1390 | }; |
|---|
| 1411 | 1391 | |
|---|
| 1412 | 1392 | &i2c5 { |
|---|
| .. | .. |
|---|
| 1527 | 1507 | |
|---|
| 1528 | 1508 | sdio-pwrseq { |
|---|
| 1529 | 1509 | wifi_enable_h: wifi-enable-h { |
|---|
| 1530 | | - rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| 1510 | + rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| 1531 | 1511 | }; |
|---|
| 1532 | 1512 | }; |
|---|
| 1533 | 1513 | |
|---|
| .. | .. |
|---|
| 1541 | 1521 | }; |
|---|
| 1542 | 1522 | }; |
|---|
| 1543 | 1523 | |
|---|
| 1544 | | - wireless-bluetooth { |
|---|
| 1545 | | - uart8_gpios: uart8-gpios { |
|---|
| 1546 | | - rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| 1547 | | - }; |
|---|
| 1548 | | - }; |
|---|
| 1549 | 1524 | }; |
|---|
| 1550 | 1525 | |
|---|
| 1551 | 1526 | /* |
|---|
| .. | .. |
|---|
| 1579 | 1554 | status = "okay"; |
|---|
| 1580 | 1555 | }; |
|---|
| 1581 | 1556 | |
|---|
| 1557 | +&pwm6 { |
|---|
| 1558 | + status = "okay"; |
|---|
| 1559 | +}; |
|---|
| 1560 | + |
|---|
| 1582 | 1561 | &pwm5 { |
|---|
| 1583 | 1562 | status = "okay"; |
|---|
| 1584 | 1563 | }; |
|---|
| 1585 | 1564 | |
|---|
| 1586 | 1565 | &pwm7 { |
|---|
| 1587 | | - status = "okay"; |
|---|
| 1566 | + status = "disabled"; |
|---|
| 1588 | 1567 | |
|---|
| 1589 | 1568 | compatible = "rockchip,remotectl-pwm"; |
|---|
| 1590 | 1569 | remote_pwm_id = <3>; |
|---|
| .. | .. |
|---|
| 1808 | 1787 | }; |
|---|
| 1809 | 1788 | |
|---|
| 1810 | 1789 | &usbdrd_dwc3 { |
|---|
| 1811 | | - dr_mode = "otg"; |
|---|
| 1790 | + dr_mode = "host"; |
|---|
| 1812 | 1791 | extcon = <&usb2phy0>; |
|---|
| 1813 | 1792 | status = "okay"; |
|---|
| 1814 | 1793 | }; |
|---|