Skip to content

Instantly share code, notes, and snippets.

@gustavsl
Created May 14, 2020 22:27
Show Gist options
  • Save gustavsl/71a9be6b0ae09a5dd300b9df9b805db1 to your computer and use it in GitHub Desktop.
Save gustavsl/71a9be6b0ae09a5dd300b9df9b805db1 to your computer and use it in GitHub Desktop.
Device Tree Overlay for Aison 10.1 LVDS display on Iris Carrier Board v2.0 and Colibri iMX6
/dts-v1/;
/plugin/;
#include "/device-tree-overlays/dts-arm32/imx6dl-pinfunc.h"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
/ {
compatible = "toradex,colibri-imx6dl";
fragment@0 {
target = <&i2c3>;
__overlay__ {
htmg10_1: htmg10_1@14 {
compatible = "goodix,gt928";
reg = <0x14>;
interrupt-parent = <&gpio2>;
interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 107 */
reset-gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; /* SODIMM 106 */
status = "okay";
};
};
};
fragment@1 {
target-path = "/panel-dpi";
__overlay__ {
status = "okay";
width-mm = <154>;
height-mm = <86>;
panel-timing {
clock-frequency = <80000000>;
hactive = <1280>;
vactive = <800>;
hsync-len = <10>;
hfront-porch = <8>;
hback-porch = <32>;
vsync-len = <6>;
vfront-porch = <3>;
vback-porch = <3>;
pixelclk-active = <0>;
};
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment