Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Devices/lilygo-tdeck-max/lilygo,tdeck-max.dts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@
// Default to a fast (~1s) refresh for the automatic ghost-clears so the
// full-screen flash they cause is as short as possible.
refresh-mode = <GDEQ031T10_REFRESH_FAST>;
backlight = <&display_backlight>;
};

sdcard@1 {
Expand Down Expand Up @@ -208,6 +209,20 @@
};
};

display_backlight_pwm {
compatible = "espressif,esp32-pwm-ledc";
pin = <&gpio0 41 GPIO_FLAG_NONE>;
period-ns = <33333>;
ledc-timer = <1>;
ledc-channel = <1>;
};

display_backlight {
compatible = "pwm-backlight";
status = "disabled";
pwm = <&display_backlight_pwm>;
};

uart_gps {
compatible = "espressif,esp32-uart";
port = <UART_NUM_2>;
Expand Down
Loading