diff --git a/Devices/lilygo-tdeck-max/lilygo,tdeck-max.dts b/Devices/lilygo-tdeck-max/lilygo,tdeck-max.dts index 85e44adf0..0516f1b32 100644 --- a/Devices/lilygo-tdeck-max/lilygo,tdeck-max.dts +++ b/Devices/lilygo-tdeck-max/lilygo,tdeck-max.dts @@ -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 = ; + backlight = <&display_backlight>; }; sdcard@1 { @@ -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 = ;