summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2020-11-25 18:22:31 +0100
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-01-28 14:48:17 +0200
commit97075fc17170288b74afc95e00665d396f763889 (patch)
tree544157993ecab120c0107bba381aa988c286e709 /arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
parent02526b2b44f0c92c7c8f868a706e3e8c1dd33fcf (diff)
arm64: dts: imx8mp-verdin: prepare for dsi to lvds adapter
Prepare the nodes for the Verdin DSI to LVDS Adapter overlay. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi')
-rwxr-xr-xarch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi44
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
index fb0864e142d8..fc62a69a8554 100755
--- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
@@ -17,6 +17,20 @@
rtc1 = &snvs_rtc;
};
+ backlight: backlight {
+ compatible = "pwm-backlight";
+ brightness-levels = <0 45 63 88 119 158 203 255>;
+ default-brightness-level = <4>;
+ /* Verdin MEZ_DSI_1_BKL_EN (SODIMM 21) */
+ enable-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_mez_dsi_1_bkl_en>;
+ power-supply = <&reg_3p3v>;
+ /* Verdin MEZ_PWM_3_DSI (SODIMM 19) */
+ pwms = <&pwm3 0 6666667 PWM_POLARITY_INVERTED>;
+ status = "disabled";
+ };
+
gpio-keys {
compatible = "gpio-keys";
pinctrl-names = "default";
@@ -502,6 +516,16 @@
vcc-supply = <&reg_3p3v>;
};
+ lvds_ti_sn65dsi83: bridge@2c {
+ compatible = "ti,sn65dsi83";
+ /* Verdin MEZ_GPIO_1 (SODIMM 206) */
+ enable-gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_mez_gpio1>;
+ reg = <0x2c>;
+ status = "disabled";
+ };
+
/* Current measurement into module VCC */
hwmon: hwmon@40 {
compatible = "ti,ina219";
@@ -524,6 +548,19 @@
status = "disabled";
};
+ atmel_maxtouch: touch@4a {
+ compatible = "atmel,maxtouch";
+ /* Verdin MEZ_DSI_1_INT# (SODIMM 17) */
+ interrupt-parent = <&gpio4>;
+ interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_mez_dsi_1_int_n>, <&pinctrl_mez_gpio2>;
+ reg = <0x4a>;
+ /* Verdin MEZ_GPIO_2 (SODIMM 208) */
+ reset-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
+ status = "disabled";
+ };
+
/* EEPROM on display adapter (MIPI DSI Display Adapter) */
eeprom_display_adapter: eeprom@50 {
compatible = "st,24c02";
@@ -583,6 +620,13 @@
#pwm-cells = <3>;
};
+/* Verdin PWM_3_DSI */
+&pwm3 {
+ #pwm-cells = <3>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pwm_3>;
+};
+
/* VERDIN I2S_1 */
&sai1 {
#sound-dai-cells = <0>;