|
9 | 9 | #include <dt-bindings/gpio/gpio.h> |
10 | 10 | #include <dt-bindings/input/input.h> |
11 | 11 | #include <dt-bindings/leds/common.h> |
| 12 | +#include <dt-bindings/pwm/pwm.h> |
12 | 13 | #include <dt-bindings/rtc/rtc-stm32.h> |
13 | 14 | #include "stm32mp135.dtsi" |
14 | 15 | #include "stm32mp13xf.dtsi" |
|
36 | 37 | framebuffer { |
37 | 38 | compatible = "simple-framebuffer"; |
38 | 39 | clocks = <&rcc LTDC_PX>; |
| 40 | + lcd-supply = <&scmi_v3v3_sw>; |
39 | 41 | status = "disabled"; |
40 | 42 | }; |
41 | 43 | }; |
|
99 | 101 | }; |
100 | 102 |
|
101 | 103 | panel_backlight: panel-backlight { |
102 | | - compatible = "gpio-backlight"; |
103 | | - gpios = <&gpioe 12 GPIO_ACTIVE_HIGH>; |
104 | | - default-on; |
105 | | - default-brightness-level = <1>; |
| 104 | + compatible = "pwm-backlight"; |
| 105 | + pwms = <&pwm1 2 1000000 PWM_POLARITY_INVERTED>; |
| 106 | + brightness-levels = <0 16 22 30 40 55 75 102 138 188 255>; |
| 107 | + default-brightness-level = <10>; |
| 108 | + power-supply = <&scmi_v3v3_sw>; |
106 | 109 | status = "okay"; |
107 | 110 | }; |
108 | 111 |
|
|
112 | 115 | backlight = <&panel_backlight>; |
113 | 116 | power-supply = <&scmi_v3v3_sw>; |
114 | 117 | data-mapping = "bgr666"; |
| 118 | + default-on; |
115 | 119 | status = "okay"; |
116 | 120 |
|
117 | 121 | width-mm = <105>; |
|
450 | 454 | reg = <VOLTD_SCMI_STPMIC1_BUCK4>; |
451 | 455 | regulator-name = "vddcore"; |
452 | 456 | }; |
453 | | - scmi_vdd_adc: regulator@10 { |
| 457 | + scmi_vdd_adc: regulator@a { |
454 | 458 | reg = <VOLTD_SCMI_STPMIC1_LDO1>; |
455 | 459 | regulator-name = "vdd_adc"; |
456 | 460 | }; |
457 | | - scmi_vdd_usb: regulator@13 { |
| 461 | + scmi_vdd_usb: regulator@d { |
458 | 462 | reg = <VOLTD_SCMI_STPMIC1_LDO4>; |
459 | 463 | regulator-name = "vdd_usb"; |
460 | 464 | }; |
461 | | - scmi_vdd_sd: regulator@14 { |
| 465 | + scmi_vdd_sd: regulator@e { |
462 | 466 | reg = <VOLTD_SCMI_STPMIC1_LDO5>; |
463 | 467 | regulator-name = "vdd_sd"; |
464 | 468 | }; |
465 | | - scmi_v1v8_periph: regulator@15 { |
| 469 | + scmi_v1v8_periph: regulator@f { |
466 | 470 | reg = <VOLTD_SCMI_STPMIC1_LDO6>; |
467 | 471 | regulator-name = "v1v8_periph"; |
468 | 472 | }; |
469 | | - scmi_v3v3_sw: regulator@19 { |
| 473 | + scmi_v3v3_sw: regulator@13 { |
470 | 474 | reg = <VOLTD_SCMI_STPMIC1_PWR_SW2>; |
471 | 475 | regulator-name = "v3v3_sw"; |
472 | 476 | }; |
|
511 | 515 | pinctrl-names = "default", "sleep"; |
512 | 516 | pinctrl-0 = <&spi5_pins_a>; |
513 | 517 | pinctrl-1 = <&spi5_sleep_pins_a>; |
| 518 | + sram = <&spi5_dma_pool>; |
514 | 519 | status = "disabled"; |
515 | 520 | }; |
516 | 521 |
|
| 522 | +&sram2 { |
| 523 | + spi5_dma_pool: dma-sram@1000 { |
| 524 | + reg = <0x1000 0x1000>; |
| 525 | + pool; |
| 526 | + }; |
| 527 | +}; |
| 528 | + |
| 529 | +&timers1 { |
| 530 | + /* spare dmas for other usage */ |
| 531 | + /delete-property/dmas; |
| 532 | + /delete-property/dma-names; |
| 533 | + status = "okay"; |
| 534 | + pwm1: pwm { |
| 535 | + pinctrl-0 = <&pwm1_ch3n_pins_a>; |
| 536 | + pinctrl-1 = <&pwm1_ch3n_sleep_pins_a>; |
| 537 | + pinctrl-names = "default", "sleep"; |
| 538 | + status = "okay"; |
| 539 | + }; |
| 540 | +}; |
| 541 | + |
517 | 542 | &timers3 { |
518 | 543 | /delete-property/dmas; |
519 | 544 | /delete-property/dma-names; |
|
625 | 650 | bluetooth { |
626 | 651 | shutdown-gpios = <&mcp23017 13 GPIO_ACTIVE_HIGH>; |
627 | 652 | compatible = "brcm,bcm43438-bt"; |
628 | | - max-speed = <3000000>; |
| 653 | + max-speed = <2000000>; |
629 | 654 | vbat-supply = <&v3v3_ao>; |
630 | 655 | vddio-supply = <&v3v3_ao>; |
631 | 656 | }; |
|
0 commit comments