5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/pinctrl/bcm2835.h>
16 remote-endpoint = <&dpi_out>;
25 dpi_node: __overlay__ {
28 pinctrl-names = "default";
32 remote-endpoint = <&panel_in>;
41 backlight = <&backlight>;
48 backlight: backlight {
49 compatible = "gpio-backlight";
50 gpios = <&gpio 255 GPIO_ACTIVE_HIGH>;
58 backlight = <&backlight_pwm>;
65 backlight_pwm: backlight_pwm {
66 compatible = "pwm-backlight";
67 brightness-levels = <0 6 8 12 16 24 32 40 48 64 96 128 160 192 224 255>;
68 default-brightness-level = <16>;
69 pwms = <&pwm 0 200000>;
77 pinctrl-names = "default";
78 pinctrl-0 = <&pwm_pins>;
79 assigned-clock-rates = <1000000>;
89 brcm,function = <2>; /* Alt5 */
97 brcm,disable-headphones;
102 backlight-gpio = <0>, "+102+103",
103 <&backlight>, "gpios:4";
104 backlight-pwm = <0>, "+104+105+106+107+108";
105 backlight-pwm-chan = <&backlight_pwm>, "pwms:4";
106 backlight-pwm-gpio = <&pwm_pins>, "brcm,pins:0";
107 backlight-pwm-func = <&pwm_pins>, "brcm,function:0";
108 backlight-def-brightness = <&backlight_pwm>, "default-brightness-level:0";
109 rotate = <&panel>, "rotation:0";