diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2021-07-14 11:54:51 +0200 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2021-07-15 12:46:08 +0000 |
commit | 0c3e760d3a576ae36a871bf6265830cbe4655fd7 (patch) | |
tree | 925a9ee00976123f9d6e4262082a84688e281b18 /arch/arm64/boot/dts/freescale | |
parent | a9729c9288e7f599d96b298d24fe038eb44bd4eb (diff) |
ARM64: verdin-imx8mp: Add support for lvds on mezzanine
Related-to: ELB-4034
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale')
-rwxr-xr-x | arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi index 00b713ce6f32..deda3077857a 100755 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi @@ -30,6 +30,17 @@ status = "disabled"; }; + backlight_mezzanine: backlight-mezzanine { + compatible = "pwm-backlight"; + brightness-levels = <0 45 63 88 119 158 203 255>; + default-brightness-level = <4>; + /* Verdin GPIO 4 (SODIMM 212) */ + enable-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; + /* Verdin PWM_2 (SODIMM 16) */ + pwms = <&pwm2 0 6666667 PWM_POLARITY_INVERTED>; + status = "disabled"; + }; + gpio-keys { compatible = "gpio-keys"; pinctrl-names = "default"; @@ -45,6 +56,19 @@ }; }; + panel_lvds: panel-lvds { + compatible = "panel-lvds"; + backlight = <&backlight>; + data-mapping = "vesa-24"; + status = "disabled"; + + port { + panel_lvds_in: endpoint { + remote-endpoint = <&lvds_out>; + }; + }; + }; + reg_aux_usb: regulator-aux-usb { compatible = "regulator-fixed"; regulator-max-microvolt = <3300000>; @@ -558,6 +582,24 @@ }; }; +&ldb { + status = "disabled"; + + lvds_channel0: lvds-channel@0 { + fsl,data-mapping = "spwg"; + fsl,data-width = <24>; + status = "okay"; + + port@1 { + reg = <1>; + + lvds_out: endpoint { + remote-endpoint = <&panel_lvds_in>; + }; + }; + }; +}; + &mu { status = "okay"; }; |