xref: /openbmc/linux/arch/arm/boot/dts/nxp/imx/imx6qdl-skov-revc-lt2.dtsi (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2*724ba675SRob Herring//
3*724ba675SRob Herring// Copyright (C) 2021 Pengutronix, Oleksij Rempel <kernel@pengutronix.de>
4*724ba675SRob Herring
5*724ba675SRob Herring/ {
6*724ba675SRob Herring	backlight: backlight {
7*724ba675SRob Herring		compatible = "pwm-backlight";
8*724ba675SRob Herring		pinctrl-names = "default";
9*724ba675SRob Herring		pinctrl-0 = <&pinctrl_backlight>;
10*724ba675SRob Herring		enable-gpios = <&gpio6 23 GPIO_ACTIVE_LOW>;
11*724ba675SRob Herring		pwms = <&pwm2 0 20000 0>;
12*724ba675SRob Herring		brightness-levels = <0 255>;
13*724ba675SRob Herring		num-interpolated-steps = <17>;
14*724ba675SRob Herring		default-brightness-level = <8>;
15*724ba675SRob Herring		power-supply = <&reg_24v0>;
16*724ba675SRob Herring	};
17*724ba675SRob Herring
18*724ba675SRob Herring	display {
19*724ba675SRob Herring		#address-cells = <1>;
20*724ba675SRob Herring		#size-cells = <0>;
21*724ba675SRob Herring
22*724ba675SRob Herring		compatible = "fsl,imx-parallel-display";
23*724ba675SRob Herring		pinctrl-names = "default";
24*724ba675SRob Herring		pinctrl-0 = <&pinctrl_ipu1>;
25*724ba675SRob Herring
26*724ba675SRob Herring		port@0 {
27*724ba675SRob Herring			reg = <0>;
28*724ba675SRob Herring
29*724ba675SRob Herring			display0_in: endpoint {
30*724ba675SRob Herring				remote-endpoint = <&ipu1_di0_disp0>;
31*724ba675SRob Herring			};
32*724ba675SRob Herring		};
33*724ba675SRob Herring
34*724ba675SRob Herring		port@1 {
35*724ba675SRob Herring			reg = <1>;
36*724ba675SRob Herring
37*724ba675SRob Herring			display0_out: endpoint {
38*724ba675SRob Herring				remote-endpoint = <&panel_in>;
39*724ba675SRob Herring			};
40*724ba675SRob Herring		};
41*724ba675SRob Herring	};
42*724ba675SRob Herring
43*724ba675SRob Herring	panel {
44*724ba675SRob Herring		compatible = "logictechno,lttd800480070-l2rt";
45*724ba675SRob Herring		backlight = <&backlight>;
46*724ba675SRob Herring		power-supply = <&reg_3v3>;
47*724ba675SRob Herring
48*724ba675SRob Herring		port {
49*724ba675SRob Herring			panel_in: endpoint {
50*724ba675SRob Herring				remote-endpoint = <&display0_out>;
51*724ba675SRob Herring			};
52*724ba675SRob Herring		};
53*724ba675SRob Herring	};
54*724ba675SRob Herring};
55*724ba675SRob Herring
56*724ba675SRob Herring&ipu1_di0_disp0 {
57*724ba675SRob Herring	remote-endpoint = <&display0_in>;
58*724ba675SRob Herring};
59*724ba675SRob Herring
60*724ba675SRob Herring&iomuxc {
61*724ba675SRob Herring	pinctrl_backlight: backlightgrp {
62*724ba675SRob Herring		fsl,pins = <
63*724ba675SRob Herring			MX6QDL_PAD_RGMII_TD3__GPIO6_IO23		0x58
64*724ba675SRob Herring		>;
65*724ba675SRob Herring	};
66*724ba675SRob Herring
67*724ba675SRob Herring	pinctrl_ipu1: ipu1grp {
68*724ba675SRob Herring		fsl,pins = <
69*724ba675SRob Herring			MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK	0x10
70*724ba675SRob Herring			MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15		0x10
71*724ba675SRob Herring			MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02		0x10
72*724ba675SRob Herring			MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03		0x10
73*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00	0x10
74*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01	0x10
75*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02	0x10
76*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03	0x10
77*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04	0x10
78*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05	0x10
79*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06	0x10
80*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07	0x10
81*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08	0x10
82*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09	0x10
83*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10	0x10
84*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11	0x10
85*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12	0x10
86*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13	0x10
87*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14	0x10
88*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15	0x10
89*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16	0x10
90*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17	0x10
91*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18	0x10
92*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19	0x10
93*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20	0x10
94*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21	0x10
95*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22	0x10
96*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23	0x10
97*724ba675SRob Herring		>;
98*724ba675SRob Herring	};
99*724ba675SRob Herring};
100