Skip to content

Instantly share code, notes, and snippets.

@EvanKrall
Created August 19, 2021 02:44
Show Gist options
  • Save EvanKrall/b30dcfee3f20529daeeb50e267e2f8aa to your computer and use it in GitHub Desktop.
Save EvanKrall/b30dcfee3f20529daeeb50e267e2f8aa to your computer and use it in GitHub Desktop.
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target-path = "/";
__overlay__ {
vdd_panel: fixedregulator {
regulator-boot-on;
compatible = "regulator-fixed";
regulator-name = "lvds18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
gpio = <&gpio 26 0>;
startup-delay-us = <70000>;
enable-active-high;
vin-supply = <&vdd_3v3_reg>;
};
panel_rgb: panel-rgb {
compatible = "lg,lp097x02-slq1";
power-supply = <&vdd_panel>;
port {
panel_ep: endpoint {
remote-endpoint = <&bridge_out_ep>;
};
};
};
};
};
fragment@1 {
target = <&i2c1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
sn65dsi83_bridge: bridge@2d {
compatible = "ti,sn65dsi83";
reg = <0x2d>;
status = "okay";
enable-gpios = <&gpio 5 0>;
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>; // TODO: double-check
bridge_out_ep: endpoint {
data-lanes = <0 1>;
remote-endpoint = <&panel_ep>;
};
};
};
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment