xref: /openbmc/linux/arch/arm/boot/dts/nxp/imx/imx6q-skov-revc-lt6.dts (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2*724ba675SRob Herring//
3*724ba675SRob Herring// Copyright (C) 2020 Pengutronix, Ulrich Oelmann <kernel@pengutronix.de>
4*724ba675SRob Herring
5*724ba675SRob Herring/dts-v1/;
6*724ba675SRob Herring#include "imx6q.dtsi"
7*724ba675SRob Herring#include "imx6qdl-skov-cpu.dtsi"
8*724ba675SRob Herring#include "imx6qdl-skov-cpu-revc.dtsi"
9*724ba675SRob Herring
10*724ba675SRob Herring/ {
11*724ba675SRob Herring	model = "SKOV IMX6 CPU QuadCore";
12*724ba675SRob Herring	compatible = "skov,imx6q-skov-revc-lt6", "fsl,imx6q";
13*724ba675SRob Herring
14*724ba675SRob Herring	backlight: backlight {
15*724ba675SRob Herring		compatible = "pwm-backlight";
16*724ba675SRob Herring		pinctrl-names = "default";
17*724ba675SRob Herring		pinctrl-0 = <&pinctrl_backlight>;
18*724ba675SRob Herring		enable-gpios = <&gpio6 23 GPIO_ACTIVE_LOW>;
19*724ba675SRob Herring		pwms = <&pwm2 0 20000 0>;
20*724ba675SRob Herring		brightness-levels = <0 255>;
21*724ba675SRob Herring		num-interpolated-steps = <17>;
22*724ba675SRob Herring		default-brightness-level = <8>;
23*724ba675SRob Herring		power-supply = <&reg_24v0>;
24*724ba675SRob Herring	};
25*724ba675SRob Herring
26*724ba675SRob Herring	display {
27*724ba675SRob Herring		#address-cells = <1>;
28*724ba675SRob Herring		#size-cells = <0>;
29*724ba675SRob Herring
30*724ba675SRob Herring		compatible = "fsl,imx-parallel-display";
31*724ba675SRob Herring		pinctrl-names = "default";
32*724ba675SRob Herring		pinctrl-0 = <&pinctrl_ipu1>;
33*724ba675SRob Herring
34*724ba675SRob Herring		port@0 {
35*724ba675SRob Herring			reg = <0>;
36*724ba675SRob Herring
37*724ba675SRob Herring			display0_in: endpoint {
38*724ba675SRob Herring				remote-endpoint = <&ipu1_di0_disp0>;
39*724ba675SRob Herring			};
40*724ba675SRob Herring		};
41*724ba675SRob Herring
42*724ba675SRob Herring		port@1 {
43*724ba675SRob Herring			reg = <1>;
44*724ba675SRob Herring
45*724ba675SRob Herring			display0_out: endpoint {
46*724ba675SRob Herring				remote-endpoint = <&panel_in>;
47*724ba675SRob Herring			};
48*724ba675SRob Herring		};
49*724ba675SRob Herring	};
50*724ba675SRob Herring
51*724ba675SRob Herring	panel {
52*724ba675SRob Herring		compatible = "logictechno,lttd800480070-l6wh-rt";
53*724ba675SRob Herring		backlight = <&backlight>;
54*724ba675SRob Herring		power-supply = <&reg_3v3>;
55*724ba675SRob Herring
56*724ba675SRob Herring		port {
57*724ba675SRob Herring			panel_in: endpoint {
58*724ba675SRob Herring				remote-endpoint = <&display0_out>;
59*724ba675SRob Herring			};
60*724ba675SRob Herring		};
61*724ba675SRob Herring	};
62*724ba675SRob Herring};
63*724ba675SRob Herring
64*724ba675SRob Herring&hdmi {
65*724ba675SRob Herring	ddc-i2c-bus = <&i2c2>;
66*724ba675SRob Herring	status = "okay";
67*724ba675SRob Herring};
68*724ba675SRob Herring
69*724ba675SRob Herring&i2c2 {
70*724ba675SRob Herring	pinctrl-names = "default";
71*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c2>;
72*724ba675SRob Herring	clock-frequency = <100000>;
73*724ba675SRob Herring	status = "okay";
74*724ba675SRob Herring};
75*724ba675SRob Herring
76*724ba675SRob Herring&ipu1_di0_disp0 {
77*724ba675SRob Herring	remote-endpoint = <&display0_in>;
78*724ba675SRob Herring};
79*724ba675SRob Herring
80*724ba675SRob Herring&iomuxc {
81*724ba675SRob Herring	pinctrl_backlight: backlightgrp {
82*724ba675SRob Herring		fsl,pins = <
83*724ba675SRob Herring			MX6QDL_PAD_RGMII_TD3__GPIO6_IO23		0x58
84*724ba675SRob Herring		>;
85*724ba675SRob Herring	};
86*724ba675SRob Herring
87*724ba675SRob Herring	pinctrl_i2c2: i2c2grp {
88*724ba675SRob Herring		fsl,pins = <
89*724ba675SRob Herring			/* internal 22 k pull up required */
90*724ba675SRob Herring			MX6QDL_PAD_KEY_COL3__I2C2_SCL		0x4001F878
91*724ba675SRob Herring			/* internal 22 k pull up required */
92*724ba675SRob Herring			MX6QDL_PAD_KEY_ROW3__I2C2_SDA		0x4001F878
93*724ba675SRob Herring		>;
94*724ba675SRob Herring	};
95*724ba675SRob Herring
96*724ba675SRob Herring	pinctrl_ipu1: ipu1grp {
97*724ba675SRob Herring		fsl,pins = <
98*724ba675SRob Herring			MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK	0x10
99*724ba675SRob Herring			MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15		0x10
100*724ba675SRob Herring			MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02		0x10
101*724ba675SRob Herring			MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03		0x10
102*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00	0x10
103*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01	0x10
104*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02	0x10
105*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03	0x10
106*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04	0x10
107*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05	0x10
108*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06	0x10
109*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07	0x10
110*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08	0x10
111*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09	0x10
112*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10	0x10
113*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11	0x10
114*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12	0x10
115*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13	0x10
116*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14	0x10
117*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15	0x10
118*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16	0x10
119*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17	0x10
120*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18	0x10
121*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19	0x10
122*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20	0x10
123*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21	0x10
124*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22	0x10
125*724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23	0x10
126*724ba675SRob Herring		>;
127*724ba675SRob Herring	};
128*724ba675SRob Herring};
129