nixos-config/config/devterm/devterm-panel-overlay.dts

47 lines
776 B
Text
Raw Normal View History

2024-06-27 06:52:51 +00:00
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2711";
2024-06-27 07:58:25 +00:00
2024-06-27 06:52:51 +00:00
fragment@0 {
target=<&dsi1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
2024-06-27 07:58:25 +00:00
2024-06-27 06:52:51 +00:00
port {
dsi_out_port: endpoint {
remote-endpoint = <&panel_dsi_port>;
};
};
2024-06-27 07:58:25 +00:00
2024-06-27 06:52:51 +00:00
panel_cwd686: panel@0 {
compatible = "cw,cwd686";
reg = <0>;
reset-gpio = <&gpio 8 1>;
backlight = <&ocp8178_backlight>;
2024-07-01 12:20:52 +00:00
rotation = <0x5a>;
2024-06-27 07:58:25 +00:00
2024-06-27 06:52:51 +00:00
port {
panel_dsi_port: endpoint {
remote-endpoint = <&dsi_out_port>;
};
};
};
};
};
2024-06-27 07:58:25 +00:00
2024-06-27 06:52:51 +00:00
fragment@1 {
target-path = "/";
__overlay__ {
ocp8178_backlight: backlight@0 {
compatible = "ocp8178-backlight";
backlight-control-gpios = <&gpio 9 0>;
default-brightness = <5>;
};
};
};
2024-06-27 07:58:25 +00:00
2024-06-27 06:52:51 +00:00
};