summaryrefslogtreecommitdiff
path: root/yocto/overlays/mikroPhone-panel_overlay.dts
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2026-01-08 01:01:17 +0100
committerUros Majstorovic <majstor@majstor.org>2026-01-08 01:01:17 +0100
commitf4c5fb24507080506741b8ac2c6b027b401d02c8 (patch)
treeca9ce3d7f5db62df2e7b3f2ffd7b65f8e35b98aa /yocto/overlays/mikroPhone-panel_overlay.dts
parentb9a36b4bcc6ba144c8376172083e00bbdfa9ec78 (diff)
new esp32 tunnel driverHEADmaster
Diffstat (limited to 'yocto/overlays/mikroPhone-panel_overlay.dts')
-rw-r--r--yocto/overlays/mikroPhone-panel_overlay.dts65
1 files changed, 42 insertions, 23 deletions
diff --git a/yocto/overlays/mikroPhone-panel_overlay.dts b/yocto/overlays/mikroPhone-panel_overlay.dts
index bee2682..aaf494c 100644
--- a/yocto/overlays/mikroPhone-panel_overlay.dts
+++ b/yocto/overlays/mikroPhone-panel_overlay.dts
@@ -19,46 +19,53 @@
};
&{/} {
- backlight_lvds_native: backlight-lvds-native {
+ backlight_lvds: backlight-lvds {
compatible = "pwm-backlight";
pinctrl-names = "default";
brightness-levels = <0 45 63 88 119 158 203 255>;
- default-brightness-level = <4>;
+ default-brightness-level = <0>;
/* Verdin PWM_1 (SODIMM 15) */
- pwms = <&pwm1 0 6666667>;
+ pwms = <&pwm1 0 6666667 0>;
};
- panel-lvds-native {
+ lvds0_panel: panel-lvds-focuslcds {
compatible = "panel-lvds";
- backlight = <&backlight_lvds_native>;
+ backlight = <&backlight_lvds>;
data-mapping = "vesa-24";
- height-mm = <110>;
width-mm = <62>;
+ height-mm = <110>;
panel-timing {
- clock-frequency = <36000000>;
+ clock-frequency = <26250000>;
+ hfront-porch = <8>;
+ hsync-len = <4>;
+ hback-porch = <8>;
hactive = <480>;
- hfront-porch = <23 60 71>;
- hsync-len = <15 40 47>;
- hback-porch = <23 60 71>;
+ vfront-porch = <7>;
+ vsync-len = <7>;
+ vback-porch = <7>;
vactive = <854>;
- vfront-porch = <5 7 10>;
- vsync-len = <6 9 12>;
- vback-porch = <5 7 10>;
hsync-active = <0>;
vsync-active = <0>;
- de-active = <0>;
- pixelclk-active = <1>; /* positive edge */
+ de-active = <1>;
+ // pixelclk-active = <0>;
};
port {
- panel_lvds_native_in: endpoint {
+ panel_lvds_in: endpoint {
remote-endpoint = <&lvds_out>;
};
};
};
+
+ dmux {
+ compatible = "mikrophone,dmux";
+ dmux-gpio = <&gpio1 1 0>;
+ ctp-dev-name = "3-005d";
+ status = "okay";
+ };
};
/* Verdin I2C_1 */
@@ -70,13 +77,11 @@
gt911@5d {
compatible = "goodix,gt911";
reg = <0x5d>;
- pinctrl-names = "default";
- pinctrl-0 = <&gpio1>;
- /* Verdin GPIO_3 (SODIMM 210) */
+ interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
interrupt-parent = <&gpio1>;
- interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
- /* Verdin GPIO_4 (SODIMM 212) */
- reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
+ irq-gpio = <&gpio1 5 0>;
+ reset-gpio = <&gpio1 6 0>;
+ defer-init;
status = "okay";
};
};
@@ -86,11 +91,14 @@
};
&ldb {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
lvds-channel@0 {
#address-cells = <1>;
#size-cells = <0>;
+ reg = <0>;
fsl,data-mapping = "spwg";
fsl,data-width = <24>;
status = "okay";
@@ -99,7 +107,7 @@
reg = <1>;
lvds_out: endpoint {
- remote-endpoint = <&panel_lvds_native_in>;
+ remote-endpoint = <&panel_lvds_in>;
};
};
};
@@ -108,3 +116,14 @@
&ldb_phy {
status = "okay";
};
+
+&pwm1 {
+ status = "okay";
+};
+
+/*
+&media_blk_ctrl {
+ assigned-clock-rates = <500000000>, <200000000>,
+ <0>, <0>, <183750000>;
+};
+*/