Skip to content

Commit 77f0862

Browse files
agnersShawn Guo
authored andcommitted
ARM: dts: vf610-colibri: enable display controller
Enable dcu node which is used by the DCU DRM driver. Assign the 5.7" EDT panel with VGA resolution which Toradex sells often with the evaluation board. Signed-off-by: Stefan Agner <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 1d0fc33 commit 77f0862

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

arch/arm/boot/dts/vf-colibri-eval-v3.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@
5050
clock-frequency = <16000000>;
5151
};
5252

53+
panel: panel {
54+
compatible = "edt,et057090dhu";
55+
backlight = <&bl>;
56+
};
57+
5358
reg_3v3: regulator-3v3 {
5459
compatible = "regulator-fixed";
5560
regulator-name = "3.3V";
@@ -83,6 +88,13 @@
8388
status = "okay";
8489
};
8590

91+
&dcu0 {
92+
pinctrl-names = "default";
93+
pinctrl-0 = <&pinctrl_dcu0_1>;
94+
fsl,panel = <&panel>;
95+
status = "okay";
96+
};
97+
8698
&dspi1 {
8799
status = "okay";
88100

@@ -134,6 +146,10 @@
134146
vin-supply = <&reg_3v3>;
135147
};
136148

149+
&tcon0 {
150+
status = "okay";
151+
};
152+
137153
&uart0 {
138154
status = "okay";
139155
};

arch/arm/boot/dts/vf-colibri.dtsi

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,39 @@
219219
>;
220220
};
221221

222+
pinctrl_dcu0_1: dcu0grp_1 {
223+
fsl,pins = <
224+
VF610_PAD_PTE0__DCU0_HSYNC 0x1902
225+
VF610_PAD_PTE1__DCU0_VSYNC 0x1902
226+
VF610_PAD_PTE2__DCU0_PCLK 0x1902
227+
VF610_PAD_PTE4__DCU0_DE 0x1902
228+
VF610_PAD_PTE5__DCU0_R0 0x1902
229+
VF610_PAD_PTE6__DCU0_R1 0x1902
230+
VF610_PAD_PTE7__DCU0_R2 0x1902
231+
VF610_PAD_PTE8__DCU0_R3 0x1902
232+
VF610_PAD_PTE9__DCU0_R4 0x1902
233+
VF610_PAD_PTE10__DCU0_R5 0x1902
234+
VF610_PAD_PTE11__DCU0_R6 0x1902
235+
VF610_PAD_PTE12__DCU0_R7 0x1902
236+
VF610_PAD_PTE13__DCU0_G0 0x1902
237+
VF610_PAD_PTE14__DCU0_G1 0x1902
238+
VF610_PAD_PTE15__DCU0_G2 0x1902
239+
VF610_PAD_PTE16__DCU0_G3 0x1902
240+
VF610_PAD_PTE17__DCU0_G4 0x1902
241+
VF610_PAD_PTE18__DCU0_G5 0x1902
242+
VF610_PAD_PTE19__DCU0_G6 0x1902
243+
VF610_PAD_PTE20__DCU0_G7 0x1902
244+
VF610_PAD_PTE21__DCU0_B0 0x1902
245+
VF610_PAD_PTE22__DCU0_B1 0x1902
246+
VF610_PAD_PTE23__DCU0_B2 0x1902
247+
VF610_PAD_PTE24__DCU0_B3 0x1902
248+
VF610_PAD_PTE25__DCU0_B4 0x1902
249+
VF610_PAD_PTE26__DCU0_B5 0x1902
250+
VF610_PAD_PTE27__DCU0_B6 0x1902
251+
VF610_PAD_PTE28__DCU0_B7 0x1902
252+
>;
253+
};
254+
222255
pinctrl_dspi1: dspi1grp {
223256
fsl,pins = <
224257
VF610_PAD_PTD5__DSPI1_CS0 0x33e2

0 commit comments

Comments
 (0)