1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+ OR MIT
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright 2014-2020 Toradex
4*724ba675SRob Herring */
5*724ba675SRob Herring
6*724ba675SRob Herring/ {
7*724ba675SRob Herring	chosen {
8*724ba675SRob Herring		stdout-path = "serial0:115200n8";
9*724ba675SRob Herring	};
10*724ba675SRob Herring
11*724ba675SRob Herring	clk16m: clk16m {
12*724ba675SRob Herring		compatible = "fixed-clock";
13*724ba675SRob Herring		#clock-cells = <0>;
14*724ba675SRob Herring		clock-frequency = <16000000>;
15*724ba675SRob Herring	};
16*724ba675SRob Herring
17*724ba675SRob Herring	panel: panel {
18*724ba675SRob Herring		compatible = "edt,et057090dhu";
19*724ba675SRob Herring		backlight = <&bl>;
20*724ba675SRob Herring
21*724ba675SRob Herring		port {
22*724ba675SRob Herring			panel_in: endpoint {
23*724ba675SRob Herring				remote-endpoint = <&dcu_out>;
24*724ba675SRob Herring			};
25*724ba675SRob Herring		};
26*724ba675SRob Herring	};
27*724ba675SRob Herring
28*724ba675SRob Herring	reg_3v3: regulator-3v3 {
29*724ba675SRob Herring		compatible = "regulator-fixed";
30*724ba675SRob Herring		regulator-name = "3.3V";
31*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
32*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
33*724ba675SRob Herring	};
34*724ba675SRob Herring
35*724ba675SRob Herring	reg_5v0: regulator-5v0 {
36*724ba675SRob Herring		compatible = "regulator-fixed";
37*724ba675SRob Herring		regulator-name = "5V";
38*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
39*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
40*724ba675SRob Herring	};
41*724ba675SRob Herring
42*724ba675SRob Herring	reg_usbh_vbus: regulator-usbh-vbus {
43*724ba675SRob Herring		compatible = "regulator-fixed";
44*724ba675SRob Herring		pinctrl-names = "default";
45*724ba675SRob Herring		pinctrl-0 = <&pinctrl_usbh1_reg>;
46*724ba675SRob Herring		regulator-name = "VCC_USB[1-4]";
47*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
48*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
49*724ba675SRob Herring		gpio = <&gpio2 19 GPIO_ACTIVE_LOW>; /* USBH_PEN resp. USBH_P_EN */
50*724ba675SRob Herring		vin-supply = <&reg_5v0>;
51*724ba675SRob Herring	};
52*724ba675SRob Herring};
53*724ba675SRob Herring
54*724ba675SRob Herring&bl {
55*724ba675SRob Herring	brightness-levels = <0 4 8 16 32 64 128 255>;
56*724ba675SRob Herring	default-brightness-level = <6>;
57*724ba675SRob Herring	power-supply = <&reg_3v3>;
58*724ba675SRob Herring	status  = "okay";
59*724ba675SRob Herring};
60*724ba675SRob Herring
61*724ba675SRob Herring&dcu0 {
62*724ba675SRob Herring	pinctrl-names = "default";
63*724ba675SRob Herring	pinctrl-0 = <&pinctrl_dcu0_1>;
64*724ba675SRob Herring	status = "okay";
65*724ba675SRob Herring
66*724ba675SRob Herring	port {
67*724ba675SRob Herring		dcu_out: endpoint {
68*724ba675SRob Herring			remote-endpoint = <&panel_in>;
69*724ba675SRob Herring		};
70*724ba675SRob Herring	};
71*724ba675SRob Herring};
72*724ba675SRob Herring
73*724ba675SRob Herring&dspi1 {
74*724ba675SRob Herring	status = "okay";
75*724ba675SRob Herring
76*724ba675SRob Herring	mcp2515can: can@0 {
77*724ba675SRob Herring		compatible = "microchip,mcp2515";
78*724ba675SRob Herring		pinctrl-names = "default";
79*724ba675SRob Herring		pinctrl-0 = <&pinctrl_can_int>;
80*724ba675SRob Herring		reg = <0>;
81*724ba675SRob Herring		clocks = <&clk16m>;
82*724ba675SRob Herring		spi-max-frequency = <10000000>;
83*724ba675SRob Herring		interrupt-parent = <&gpio1>;
84*724ba675SRob Herring		interrupts = <11 IRQ_TYPE_EDGE_RISING>;
85*724ba675SRob Herring	};
86*724ba675SRob Herring};
87*724ba675SRob Herring
88*724ba675SRob Herring&esdhc1 {
89*724ba675SRob Herring	pinctrl-names = "default";
90*724ba675SRob Herring	pinctrl-0 = <&pinctrl_esdhc1>;
91*724ba675SRob Herring	bus-width = <4>;
92*724ba675SRob Herring	status = "okay";
93*724ba675SRob Herring};
94*724ba675SRob Herring
95*724ba675SRob Herring&fec1 {
96*724ba675SRob Herring	phy-mode = "rmii";
97*724ba675SRob Herring	pinctrl-names = "default";
98*724ba675SRob Herring	pinctrl-0 = <&pinctrl_fec1>;
99*724ba675SRob Herring	status = "okay";
100*724ba675SRob Herring};
101*724ba675SRob Herring
102*724ba675SRob Herring&i2c0 {
103*724ba675SRob Herring	status = "okay";
104*724ba675SRob Herring
105*724ba675SRob Herring	/* M41T0M6 real time clock on carrier board */
106*724ba675SRob Herring	rtc: rtc@68 {
107*724ba675SRob Herring		compatible = "st,m41t0";
108*724ba675SRob Herring		reg = <0x68>;
109*724ba675SRob Herring	};
110*724ba675SRob Herring};
111*724ba675SRob Herring
112*724ba675SRob Herring&pwm0 {
113*724ba675SRob Herring	status = "okay";
114*724ba675SRob Herring};
115*724ba675SRob Herring
116*724ba675SRob Herring&pwm1 {
117*724ba675SRob Herring	status = "okay";
118*724ba675SRob Herring};
119*724ba675SRob Herring
120*724ba675SRob Herring&reg_module_3v3 {
121*724ba675SRob Herring	vin-supply = <&reg_3v3>;
122*724ba675SRob Herring};
123*724ba675SRob Herring
124*724ba675SRob Herring&tcon0 {
125*724ba675SRob Herring	status = "okay";
126*724ba675SRob Herring};
127*724ba675SRob Herring
128*724ba675SRob Herring&uart0 {
129*724ba675SRob Herring	status = "okay";
130*724ba675SRob Herring};
131*724ba675SRob Herring
132*724ba675SRob Herring&uart1 {
133*724ba675SRob Herring	status = "okay";
134*724ba675SRob Herring};
135*724ba675SRob Herring
136*724ba675SRob Herring&uart2 {
137*724ba675SRob Herring	status = "okay";
138*724ba675SRob Herring};
139*724ba675SRob Herring
140*724ba675SRob Herring&usbh1 {
141*724ba675SRob Herring	vbus-supply = <&reg_usbh_vbus>;
142*724ba675SRob Herring};
143*724ba675SRob Herring
144*724ba675SRob Herring&iomuxc {
145*724ba675SRob Herring	vf610-colibri {
146*724ba675SRob Herring		pinctrl_can_int: can_int {
147*724ba675SRob Herring			fsl,pins = <
148*724ba675SRob Herring				VF610_PAD_PTB21__GPIO_43	0x22ed
149*724ba675SRob Herring			>;
150*724ba675SRob Herring		};
151*724ba675SRob Herring	};
152*724ba675SRob Herring};
153