mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
arm64: dts: imx8mp-phyboard-pollux-rdk: add etml panel support
The imx8mp-phyboard-pollux has on-board lvds interface connections. An edt,etml1010g3dra panel is supported for this interface. Add device tree nodes for backlight and panel. Signed-off-by: Yannic Moog <y.moog@phytec.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
@@ -19,6 +19,30 @@
|
|||||||
stdout-path = &uart1;
|
stdout-path = &uart1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
backlight_lvds: backlight {
|
||||||
|
compatible = "pwm-backlight";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_lvds1>;
|
||||||
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
||||||
|
default-brightness-level = <11>;
|
||||||
|
enable-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
|
||||||
|
num-interpolated-steps = <2>;
|
||||||
|
power-supply = <®_lvds1_reg_en>;
|
||||||
|
pwms = <&pwm3 0 50000 0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
panel1_lvds: panel-lvds {
|
||||||
|
compatible = "edt,etml1010g3dra";
|
||||||
|
backlight = <&backlight_lvds>;
|
||||||
|
power-supply = <®_vcc_3v3_sw>;
|
||||||
|
|
||||||
|
port {
|
||||||
|
panel1_in: endpoint {
|
||||||
|
remote-endpoint = <&ldb_lvds_ch1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
reg_can1_stby: regulator-can1-stby {
|
reg_can1_stby: regulator-can1-stby {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
@@ -39,6 +63,15 @@
|
|||||||
regulator-name = "can2-stby";
|
regulator-name = "can2-stby";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
reg_lvds1_reg_en: regulator-lvds1 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
enable-active-high;
|
||||||
|
gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
|
||||||
|
regulator-max-microvolt = <1200000>;
|
||||||
|
regulator-min-microvolt = <1200000>;
|
||||||
|
regulator-name = "lvds1_reg_en";
|
||||||
|
};
|
||||||
|
|
||||||
reg_usb1_vbus: regulator-usb1-vbus {
|
reg_usb1_vbus: regulator-usb1-vbus {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
@@ -61,6 +94,13 @@
|
|||||||
startup-delay-us = <100>;
|
startup-delay-us = <100>;
|
||||||
off-on-delay-us = <12000>;
|
off-on-delay-us = <12000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
reg_vcc_3v3_sw: regulator-vcc-3v3-sw {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "VCC_3V3_SW";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&eqos {
|
&eqos {
|
||||||
@@ -135,10 +175,32 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&lcdif2 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&lvds_bridge {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
ports {
|
||||||
|
port@2 {
|
||||||
|
ldb_lvds_ch1: endpoint {
|
||||||
|
remote-endpoint = <&panel1_in>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&snvs_pwrkey {
|
&snvs_pwrkey {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pwm3 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_pwm3>;
|
||||||
|
};
|
||||||
|
|
||||||
/* debug console */
|
/* debug console */
|
||||||
&uart1 {
|
&uart1 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
@@ -289,6 +351,18 @@
|
|||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pinctrl_lvds1: lvds1grp {
|
||||||
|
fsl,pins = <
|
||||||
|
MX8MP_IOMUXC_SD2_WP__GPIO2_IO20 0x12
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pinctrl_pwm3: pwm3grp {
|
||||||
|
fsl,pins = <
|
||||||
|
MX8MP_IOMUXC_SPDIF_TX__PWM3_OUT 0x12
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
|
pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x40
|
MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x40
|
||||||
|
|||||||
Reference in New Issue
Block a user