diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2019-09-19 11:13:27 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2019-09-20 10:42:22 +0200 |
commit | 4504f7c3015cc81a7657ff4f93e8d42997ff5840 (patch) | |
tree | 065583fafafe743c01daba97a0599cd314991766 /arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri.dtsi | |
parent | 6862ae242104f3a75e9d523d8d002745e33375d9 (diff) |
ARM64: dts: colibri-imx8x: clean-up panel stuff
Make panel definition generic and default to VESA VGA display timings.
For fsl-imx8qxp-colibri-lvds-single-eval-v3.dts now use
logictechno,lt170410-2whc compatible which is the panel inside our
Capacitive Touch Display 10.1" LVDS.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri.dtsi | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri.dtsi index 564bf90583cb..3c421288df66 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri.dtsi @@ -23,6 +23,47 @@ status = "disabled"; }; + panel: panel { + /* + * edt,et057090dhu: EDT 5.7" LCD TFT + * edt,et070080dh6: EDT 7.0" LCD TFT + * logictechno,lt161010-2nhc: Cap. Touch Display 7" Parallel + * logictechno,lt161010-2nhr: Res. Touch Display 7" Parallel + * logictechno,lt170410-2whc: Cap. Touch Display 10.1" LVDS + * tpk,f07a-0102: Capacitive Multi-Touch Display Fusion 7" + * tpk,f10a-0102: Capacitive Multi-Touch Display Fusion 10" + */ + compatible = "panel-dpi"; + backlight = <&backlight>; + enable-gpios = <&gpio4 19 GPIO_ACTIVE_HIGH>; + power-supply = <®_3v3>; + + width-mm = <217>; + height-mm = <136>; + + data-mapping = "bgr666"; + + panel-timing { + /* Default VESA VGA display timings */ + clock-frequency = <25175000>; + hactive = <640>; + hback-porch = <48>; + hfront-porch = <16>; + hsync-len = <96>; + vactive = <480>; + vback-porch = <31>; + vfront-porch = <11>; + vsync-len = <2>; + pixelclk-active = <0>; + }; + + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_display_out>; + }; + }; + }; + regulators { compatible = "simple-bus"; #address-cells = <1>; @@ -84,6 +125,27 @@ vref-supply = <®_vref_1v8>; }; +/* Colibri Parallel RGB */ +&adma_lcdif { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lcdif>; + bus-width = <18>; + status = "okay"; + + port@0 { + lcd_display_out: lcdif-endpoint { + remote-endpoint = <&lcd_panel_in>; + }; + }; +}; + +&backlight { + brightness-levels = <0 45 63 88 119 158 203 255>; + default-brightness-level = <4>; + pwms = <&pwm_adma_lcdif 0 6666667 PWM_POLARITY_INVERTED>; + status = "okay"; +}; + /* Colibri Ethernet */ &fec1 { pinctrl-names = "default", "sleep"; |