xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/draak.dtsi (revision 25d324331a17e423642ad717e9c21635531f70fa)
1f5335aa6SGeert Uytterhoeven// SPDX-License-Identifier: GPL-2.0
2f5335aa6SGeert Uytterhoeven/*
3f5335aa6SGeert Uytterhoeven * Device Tree Source for the Draak board
4f5335aa6SGeert Uytterhoeven *
5f5335aa6SGeert Uytterhoeven * Copyright (C) 2016-2018 Renesas Electronics Corp.
6f5335aa6SGeert Uytterhoeven * Copyright (C) 2017 Glider bvba
7f5335aa6SGeert Uytterhoeven */
8f5335aa6SGeert Uytterhoeven
9f5335aa6SGeert Uytterhoeven#include <dt-bindings/gpio/gpio.h>
10f5335aa6SGeert Uytterhoeven#include <dt-bindings/input/input.h>
11f5335aa6SGeert Uytterhoeven
12f5335aa6SGeert Uytterhoeven/ {
13f5335aa6SGeert Uytterhoeven	model = "Renesas Draak board";
14f5335aa6SGeert Uytterhoeven	compatible = "renesas,draak";
15f5335aa6SGeert Uytterhoeven
16f5335aa6SGeert Uytterhoeven	aliases {
17f5335aa6SGeert Uytterhoeven		serial0 = &scif2;
18f5335aa6SGeert Uytterhoeven		ethernet0 = &avb;
19f5335aa6SGeert Uytterhoeven	};
20f5335aa6SGeert Uytterhoeven
21f5335aa6SGeert Uytterhoeven	audio_clkout: audio-clkout {
22f5335aa6SGeert Uytterhoeven		/*
23f5335aa6SGeert Uytterhoeven		 * This is same as <&rcar_sound 0>
24f5335aa6SGeert Uytterhoeven		 * but needed to avoid cs2000/rcar_sound probe dead-lock
25f5335aa6SGeert Uytterhoeven		 */
26f5335aa6SGeert Uytterhoeven		compatible = "fixed-clock";
27f5335aa6SGeert Uytterhoeven		#clock-cells = <0>;
28f5335aa6SGeert Uytterhoeven		clock-frequency = <12288000>;
29f5335aa6SGeert Uytterhoeven	};
30f5335aa6SGeert Uytterhoeven
31f5335aa6SGeert Uytterhoeven	backlight: backlight {
32f5335aa6SGeert Uytterhoeven		compatible = "pwm-backlight";
33f5335aa6SGeert Uytterhoeven		pwms = <&pwm1 0 50000>;
34f5335aa6SGeert Uytterhoeven
35f5335aa6SGeert Uytterhoeven		brightness-levels = <512 511 505 494 473 440 392 327 241 133 0>;
36f5335aa6SGeert Uytterhoeven		default-brightness-level = <10>;
37f5335aa6SGeert Uytterhoeven
38f5335aa6SGeert Uytterhoeven		power-supply = <&reg_12p0v>;
39f5335aa6SGeert Uytterhoeven		enable-gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
40f5335aa6SGeert Uytterhoeven	};
41f5335aa6SGeert Uytterhoeven
42f5335aa6SGeert Uytterhoeven	chosen {
43f5335aa6SGeert Uytterhoeven		bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
44f5335aa6SGeert Uytterhoeven		stdout-path = "serial0:115200n8";
45f5335aa6SGeert Uytterhoeven	};
46f5335aa6SGeert Uytterhoeven
47f5335aa6SGeert Uytterhoeven	composite-in {
48f5335aa6SGeert Uytterhoeven		compatible = "composite-video-connector";
49f5335aa6SGeert Uytterhoeven
50f5335aa6SGeert Uytterhoeven		port {
51f5335aa6SGeert Uytterhoeven			composite_con_in: endpoint {
52f5335aa6SGeert Uytterhoeven				remote-endpoint = <&adv7180_in>;
53f5335aa6SGeert Uytterhoeven			};
54f5335aa6SGeert Uytterhoeven		};
55f5335aa6SGeert Uytterhoeven	};
56f5335aa6SGeert Uytterhoeven
57f5335aa6SGeert Uytterhoeven	hdmi-in {
58f5335aa6SGeert Uytterhoeven		compatible = "hdmi-connector";
59f5335aa6SGeert Uytterhoeven		type = "a";
60f5335aa6SGeert Uytterhoeven
61f5335aa6SGeert Uytterhoeven		port {
62f5335aa6SGeert Uytterhoeven			hdmi_con_in: endpoint {
63f5335aa6SGeert Uytterhoeven				remote-endpoint = <&adv7612_in>;
64f5335aa6SGeert Uytterhoeven			};
65f5335aa6SGeert Uytterhoeven		};
66f5335aa6SGeert Uytterhoeven	};
67f5335aa6SGeert Uytterhoeven
68f5335aa6SGeert Uytterhoeven	hdmi-out {
69f5335aa6SGeert Uytterhoeven		compatible = "hdmi-connector";
70f5335aa6SGeert Uytterhoeven		type = "a";
71f5335aa6SGeert Uytterhoeven
72f5335aa6SGeert Uytterhoeven		port {
73f5335aa6SGeert Uytterhoeven			hdmi_con_out: endpoint {
74f5335aa6SGeert Uytterhoeven				remote-endpoint = <&adv7511_out>;
75f5335aa6SGeert Uytterhoeven			};
76f5335aa6SGeert Uytterhoeven		};
77f5335aa6SGeert Uytterhoeven	};
78f5335aa6SGeert Uytterhoeven
79f5335aa6SGeert Uytterhoeven	keys {
80f5335aa6SGeert Uytterhoeven		compatible = "gpio-keys";
81f5335aa6SGeert Uytterhoeven
82f5335aa6SGeert Uytterhoeven		pinctrl-0 = <&keys_pins>;
83f5335aa6SGeert Uytterhoeven		pinctrl-names = "default";
84f5335aa6SGeert Uytterhoeven
85f5335aa6SGeert Uytterhoeven		key-1 {
86f5335aa6SGeert Uytterhoeven			gpios = <&gpio4 12 GPIO_ACTIVE_LOW>;
87f5335aa6SGeert Uytterhoeven			linux,code = <KEY_1>;
88f5335aa6SGeert Uytterhoeven			label = "SW56-1";
89f5335aa6SGeert Uytterhoeven			wakeup-source;
90f5335aa6SGeert Uytterhoeven			debounce-interval = <20>;
91f5335aa6SGeert Uytterhoeven		};
92f5335aa6SGeert Uytterhoeven		key-2 {
93f5335aa6SGeert Uytterhoeven			gpios = <&gpio4 13 GPIO_ACTIVE_LOW>;
94f5335aa6SGeert Uytterhoeven			linux,code = <KEY_2>;
95f5335aa6SGeert Uytterhoeven			label = "SW56-2";
96f5335aa6SGeert Uytterhoeven			wakeup-source;
97f5335aa6SGeert Uytterhoeven			debounce-interval = <20>;
98f5335aa6SGeert Uytterhoeven		};
99f5335aa6SGeert Uytterhoeven		key-3 {
100f5335aa6SGeert Uytterhoeven			gpios = <&gpio4 14 GPIO_ACTIVE_LOW>;
101f5335aa6SGeert Uytterhoeven			linux,code = <KEY_3>;
102f5335aa6SGeert Uytterhoeven			label = "SW56-3";
103f5335aa6SGeert Uytterhoeven			wakeup-source;
104f5335aa6SGeert Uytterhoeven			debounce-interval = <20>;
105f5335aa6SGeert Uytterhoeven		};
106f5335aa6SGeert Uytterhoeven		key-4 {
107f5335aa6SGeert Uytterhoeven			gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
108f5335aa6SGeert Uytterhoeven			linux,code = <KEY_4>;
109f5335aa6SGeert Uytterhoeven			label = "SW56-4";
110f5335aa6SGeert Uytterhoeven			wakeup-source;
111f5335aa6SGeert Uytterhoeven			debounce-interval = <20>;
112f5335aa6SGeert Uytterhoeven		};
113f5335aa6SGeert Uytterhoeven	};
114f5335aa6SGeert Uytterhoeven
115f5335aa6SGeert Uytterhoeven	lvds-decoder {
116f5335aa6SGeert Uytterhoeven		compatible = "thine,thc63lvd1024";
117f5335aa6SGeert Uytterhoeven		vcc-supply = <&reg_3p3v>;
118f5335aa6SGeert Uytterhoeven
119f5335aa6SGeert Uytterhoeven		ports {
120f5335aa6SGeert Uytterhoeven			#address-cells = <1>;
121f5335aa6SGeert Uytterhoeven			#size-cells = <0>;
122f5335aa6SGeert Uytterhoeven
123f5335aa6SGeert Uytterhoeven			port@0 {
124f5335aa6SGeert Uytterhoeven				reg = <0>;
125f5335aa6SGeert Uytterhoeven				thc63lvd1024_in: endpoint {
126f5335aa6SGeert Uytterhoeven					remote-endpoint = <&lvds0_out>;
127f5335aa6SGeert Uytterhoeven				};
128f5335aa6SGeert Uytterhoeven			};
129f5335aa6SGeert Uytterhoeven
130f5335aa6SGeert Uytterhoeven			port@2 {
131f5335aa6SGeert Uytterhoeven				reg = <2>;
132f5335aa6SGeert Uytterhoeven				thc63lvd1024_out: endpoint {
133f5335aa6SGeert Uytterhoeven					remote-endpoint = <&adv7511_in>;
134f5335aa6SGeert Uytterhoeven				};
135f5335aa6SGeert Uytterhoeven			};
136f5335aa6SGeert Uytterhoeven		};
137f5335aa6SGeert Uytterhoeven	};
138f5335aa6SGeert Uytterhoeven
139f5335aa6SGeert Uytterhoeven	memory@48000000 {
140f5335aa6SGeert Uytterhoeven		device_type = "memory";
141f5335aa6SGeert Uytterhoeven		/* first 128MB is reserved for secure area. */
142f5335aa6SGeert Uytterhoeven		reg = <0x0 0x48000000 0x0 0x18000000>;
143f5335aa6SGeert Uytterhoeven	};
144f5335aa6SGeert Uytterhoeven
145f5335aa6SGeert Uytterhoeven	reg_1p8v: regulator-1p8v {
146f5335aa6SGeert Uytterhoeven		compatible = "regulator-fixed";
147f5335aa6SGeert Uytterhoeven		regulator-name = "fixed-1.8V";
148f5335aa6SGeert Uytterhoeven		regulator-min-microvolt = <1800000>;
149f5335aa6SGeert Uytterhoeven		regulator-max-microvolt = <1800000>;
150f5335aa6SGeert Uytterhoeven		regulator-boot-on;
151f5335aa6SGeert Uytterhoeven		regulator-always-on;
152f5335aa6SGeert Uytterhoeven	};
153f5335aa6SGeert Uytterhoeven
154f5335aa6SGeert Uytterhoeven	reg_3p3v: regulator-3p3v {
155f5335aa6SGeert Uytterhoeven		compatible = "regulator-fixed";
156f5335aa6SGeert Uytterhoeven		regulator-name = "fixed-3.3V";
157f5335aa6SGeert Uytterhoeven		regulator-min-microvolt = <3300000>;
158f5335aa6SGeert Uytterhoeven		regulator-max-microvolt = <3300000>;
159f5335aa6SGeert Uytterhoeven		regulator-boot-on;
160f5335aa6SGeert Uytterhoeven		regulator-always-on;
161f5335aa6SGeert Uytterhoeven	};
162f5335aa6SGeert Uytterhoeven
163f5335aa6SGeert Uytterhoeven	reg_12p0v: regulator-12p0v {
164f5335aa6SGeert Uytterhoeven		compatible = "regulator-fixed";
165f5335aa6SGeert Uytterhoeven		regulator-name = "D12.0V";
166f5335aa6SGeert Uytterhoeven		regulator-min-microvolt = <12000000>;
167f5335aa6SGeert Uytterhoeven		regulator-max-microvolt = <12000000>;
168f5335aa6SGeert Uytterhoeven		regulator-boot-on;
169f5335aa6SGeert Uytterhoeven		regulator-always-on;
170f5335aa6SGeert Uytterhoeven	};
171f5335aa6SGeert Uytterhoeven
172f5335aa6SGeert Uytterhoeven	sound_card: sound {
173f5335aa6SGeert Uytterhoeven		compatible = "audio-graph-card";
174f5335aa6SGeert Uytterhoeven
175f5335aa6SGeert Uytterhoeven		dais = <&rsnd_port0	/* ak4613 */
176f5335aa6SGeert Uytterhoeven			/* HDMI is not yet supported */
177f5335aa6SGeert Uytterhoeven		>;
178f5335aa6SGeert Uytterhoeven	};
179f5335aa6SGeert Uytterhoeven
180f5335aa6SGeert Uytterhoeven	vga {
181f5335aa6SGeert Uytterhoeven		compatible = "vga-connector";
182f5335aa6SGeert Uytterhoeven
183f5335aa6SGeert Uytterhoeven		port {
184f5335aa6SGeert Uytterhoeven			vga_in: endpoint {
185f5335aa6SGeert Uytterhoeven				remote-endpoint = <&adv7123_out>;
186f5335aa6SGeert Uytterhoeven			};
187f5335aa6SGeert Uytterhoeven		};
188f5335aa6SGeert Uytterhoeven	};
189f5335aa6SGeert Uytterhoeven
190f5335aa6SGeert Uytterhoeven	vga-encoder {
191f5335aa6SGeert Uytterhoeven		compatible = "adi,adv7123";
192f5335aa6SGeert Uytterhoeven
193f5335aa6SGeert Uytterhoeven		ports {
194f5335aa6SGeert Uytterhoeven			#address-cells = <1>;
195f5335aa6SGeert Uytterhoeven			#size-cells = <0>;
196f5335aa6SGeert Uytterhoeven
197f5335aa6SGeert Uytterhoeven			port@0 {
198f5335aa6SGeert Uytterhoeven				reg = <0>;
199f5335aa6SGeert Uytterhoeven				adv7123_in: endpoint {
200f5335aa6SGeert Uytterhoeven					remote-endpoint = <&du_out_rgb>;
201f5335aa6SGeert Uytterhoeven				};
202f5335aa6SGeert Uytterhoeven			};
203f5335aa6SGeert Uytterhoeven			port@1 {
204f5335aa6SGeert Uytterhoeven				reg = <1>;
205f5335aa6SGeert Uytterhoeven				adv7123_out: endpoint {
206f5335aa6SGeert Uytterhoeven					remote-endpoint = <&vga_in>;
207f5335aa6SGeert Uytterhoeven				};
208f5335aa6SGeert Uytterhoeven			};
209f5335aa6SGeert Uytterhoeven		};
210f5335aa6SGeert Uytterhoeven	};
211f5335aa6SGeert Uytterhoeven
212f5335aa6SGeert Uytterhoeven	x12_clk: x12 {
213f5335aa6SGeert Uytterhoeven		compatible = "fixed-clock";
214f5335aa6SGeert Uytterhoeven		#clock-cells = <0>;
215f5335aa6SGeert Uytterhoeven		clock-frequency = <74250000>;
216f5335aa6SGeert Uytterhoeven	};
217f5335aa6SGeert Uytterhoeven
218f5335aa6SGeert Uytterhoeven	x19_clk: x19 {
219f5335aa6SGeert Uytterhoeven		compatible = "fixed-clock";
220f5335aa6SGeert Uytterhoeven		#clock-cells = <0>;
221f5335aa6SGeert Uytterhoeven		clock-frequency = <24576000>;
222f5335aa6SGeert Uytterhoeven	};
223f5335aa6SGeert Uytterhoeven};
224f5335aa6SGeert Uytterhoeven
225f5335aa6SGeert Uytterhoeven&audio_clk_b {
226f5335aa6SGeert Uytterhoeven	/*
227f5335aa6SGeert Uytterhoeven	 * X11 is connected to VI4_FIELD/SCIF_CLK/AUDIO_CLKB,
228f5335aa6SGeert Uytterhoeven	 * and R-Car Sound uses AUDIO_CLKB.
229f5335aa6SGeert Uytterhoeven	 * Note is that schematic indicates VI4_FIELD conection only
230f5335aa6SGeert Uytterhoeven	 * not AUDIO_CLKB at SoC page.
231f5335aa6SGeert Uytterhoeven	 * And this VI4_FIELD/SCIF_CLK/AUDIO_CLKB is connected to SW60.
232f5335aa6SGeert Uytterhoeven	 * SW60 should be 1-2.
233f5335aa6SGeert Uytterhoeven	 */
234f5335aa6SGeert Uytterhoeven
235f5335aa6SGeert Uytterhoeven	clock-frequency = <22579200>;
236f5335aa6SGeert Uytterhoeven};
237f5335aa6SGeert Uytterhoeven
238f5335aa6SGeert Uytterhoeven&avb {
239f5335aa6SGeert Uytterhoeven	pinctrl-0 = <&avb0_pins>;
240f5335aa6SGeert Uytterhoeven	pinctrl-names = "default";
241f5335aa6SGeert Uytterhoeven	renesas,no-ether-link;
242f5335aa6SGeert Uytterhoeven	phy-handle = <&phy0>;
243f5335aa6SGeert Uytterhoeven	status = "okay";
244f5335aa6SGeert Uytterhoeven
245f5335aa6SGeert Uytterhoeven	phy0: ethernet-phy@0 {
246722d55f3SGeert Uytterhoeven		compatible = "ethernet-phy-id0022.1622",
247722d55f3SGeert Uytterhoeven			     "ethernet-phy-ieee802.3-c22";
248f5335aa6SGeert Uytterhoeven		rxc-skew-ps = <1500>;
249f5335aa6SGeert Uytterhoeven		reg = <0>;
250f5335aa6SGeert Uytterhoeven		interrupt-parent = <&gpio5>;
251f5335aa6SGeert Uytterhoeven		interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
252732e8ee0SGeert Uytterhoeven		reset-gpios = <&gpio5 18 GPIO_ACTIVE_LOW>;
253f5335aa6SGeert Uytterhoeven		/*
254f5335aa6SGeert Uytterhoeven		 * TX clock internal delay mode is required for reliable
255f5335aa6SGeert Uytterhoeven		 * 1Gbps communication using the KSZ9031RNX phy present on
256f5335aa6SGeert Uytterhoeven		 * the Draak board, however, TX clock internal delay mode
257f5335aa6SGeert Uytterhoeven		 * isn't supported on R-Car D3(e).  Thus, limit speed to
258f5335aa6SGeert Uytterhoeven		 * 100Mbps for reliable communication.
259f5335aa6SGeert Uytterhoeven		 */
260f5335aa6SGeert Uytterhoeven		max-speed = <100>;
261f5335aa6SGeert Uytterhoeven	};
262f5335aa6SGeert Uytterhoeven};
263f5335aa6SGeert Uytterhoeven
264f5335aa6SGeert Uytterhoeven&can0 {
265f5335aa6SGeert Uytterhoeven	pinctrl-0 = <&can0_pins>;
266f5335aa6SGeert Uytterhoeven	pinctrl-names = "default";
267f5335aa6SGeert Uytterhoeven	status = "okay";
268f5335aa6SGeert Uytterhoeven};
269f5335aa6SGeert Uytterhoeven
270f5335aa6SGeert Uytterhoeven&can1 {
271f5335aa6SGeert Uytterhoeven	pinctrl-0 = <&can1_pins>;
272f5335aa6SGeert Uytterhoeven	pinctrl-names = "default";
273f5335aa6SGeert Uytterhoeven	status = "okay";
274f5335aa6SGeert Uytterhoeven};
275f5335aa6SGeert Uytterhoeven
276f5335aa6SGeert Uytterhoeven&du {
277f5335aa6SGeert Uytterhoeven	pinctrl-0 = <&du_pins>;
278f5335aa6SGeert Uytterhoeven	pinctrl-names = "default";
279f5335aa6SGeert Uytterhoeven	status = "okay";
280f5335aa6SGeert Uytterhoeven
281f5335aa6SGeert Uytterhoeven	clocks = <&cpg CPG_MOD 724>,
282f5335aa6SGeert Uytterhoeven		 <&cpg CPG_MOD 723>,
283f5335aa6SGeert Uytterhoeven		 <&x12_clk>;
284f5335aa6SGeert Uytterhoeven	clock-names = "du.0", "du.1", "dclkin.0";
285f5335aa6SGeert Uytterhoeven
286f5335aa6SGeert Uytterhoeven	ports {
287f5335aa6SGeert Uytterhoeven		port@0 {
288747bbcd3SLaurent Pinchart			du_out_rgb: endpoint {
289f5335aa6SGeert Uytterhoeven				remote-endpoint = <&adv7123_in>;
290f5335aa6SGeert Uytterhoeven			};
291f5335aa6SGeert Uytterhoeven		};
292f5335aa6SGeert Uytterhoeven	};
293f5335aa6SGeert Uytterhoeven};
294f5335aa6SGeert Uytterhoeven
295f5335aa6SGeert Uytterhoeven&ehci0 {
296f5335aa6SGeert Uytterhoeven	dr_mode = "host";
297f5335aa6SGeert Uytterhoeven	status = "okay";
298f5335aa6SGeert Uytterhoeven};
299f5335aa6SGeert Uytterhoeven
300f5335aa6SGeert Uytterhoeven&extal_clk {
301f5335aa6SGeert Uytterhoeven	clock-frequency = <48000000>;
302f5335aa6SGeert Uytterhoeven};
303f5335aa6SGeert Uytterhoeven
304f5335aa6SGeert Uytterhoeven&hsusb {
305f5335aa6SGeert Uytterhoeven	dr_mode = "host";
306f5335aa6SGeert Uytterhoeven	status = "okay";
307f5335aa6SGeert Uytterhoeven};
308f5335aa6SGeert Uytterhoeven
309f5335aa6SGeert Uytterhoeven&i2c0 {
310f5335aa6SGeert Uytterhoeven	pinctrl-0 = <&i2c0_pins>;
311f5335aa6SGeert Uytterhoeven	pinctrl-names = "default";
312f5335aa6SGeert Uytterhoeven	status = "okay";
313f5335aa6SGeert Uytterhoeven
314f5335aa6SGeert Uytterhoeven	ak4613: codec@10 {
315f5335aa6SGeert Uytterhoeven		compatible = "asahi-kasei,ak4613";
316f5335aa6SGeert Uytterhoeven		#sound-dai-cells = <0>;
317f5335aa6SGeert Uytterhoeven		reg = <0x10>;
318f5335aa6SGeert Uytterhoeven		clocks = <&rcar_sound 0>; /* audio_clkout */
319f5335aa6SGeert Uytterhoeven
320f5335aa6SGeert Uytterhoeven		asahi-kasei,in1-single-end;
321f5335aa6SGeert Uytterhoeven		asahi-kasei,in2-single-end;
322f5335aa6SGeert Uytterhoeven		asahi-kasei,out1-single-end;
323f5335aa6SGeert Uytterhoeven		asahi-kasei,out2-single-end;
324f5335aa6SGeert Uytterhoeven		asahi-kasei,out3-single-end;
325f5335aa6SGeert Uytterhoeven		asahi-kasei,out4-single-end;
326f5335aa6SGeert Uytterhoeven		asahi-kasei,out5-single-end;
327f5335aa6SGeert Uytterhoeven		asahi-kasei,out6-single-end;
328f5335aa6SGeert Uytterhoeven
329f5335aa6SGeert Uytterhoeven		port {
330f5335aa6SGeert Uytterhoeven			ak4613_endpoint: endpoint {
331f5335aa6SGeert Uytterhoeven				remote-endpoint = <&rsnd_for_ak4613>;
332f5335aa6SGeert Uytterhoeven			};
333f5335aa6SGeert Uytterhoeven		};
334f5335aa6SGeert Uytterhoeven	};
335f5335aa6SGeert Uytterhoeven
336f5335aa6SGeert Uytterhoeven	composite-in@20 {
337f5335aa6SGeert Uytterhoeven		compatible = "adi,adv7180cp";
338f5335aa6SGeert Uytterhoeven		reg = <0x20>;
339f5335aa6SGeert Uytterhoeven
340f5335aa6SGeert Uytterhoeven		ports {
341f5335aa6SGeert Uytterhoeven			#address-cells = <1>;
342f5335aa6SGeert Uytterhoeven			#size-cells = <0>;
343f5335aa6SGeert Uytterhoeven
344f5335aa6SGeert Uytterhoeven			port@0 {
345f5335aa6SGeert Uytterhoeven				reg = <0>;
346f5335aa6SGeert Uytterhoeven				adv7180_in: endpoint {
347f5335aa6SGeert Uytterhoeven					remote-endpoint = <&composite_con_in>;
348f5335aa6SGeert Uytterhoeven				};
349f5335aa6SGeert Uytterhoeven			};
350f5335aa6SGeert Uytterhoeven
351f5335aa6SGeert Uytterhoeven			port@3 {
352f5335aa6SGeert Uytterhoeven				reg = <3>;
353f5335aa6SGeert Uytterhoeven
354f5335aa6SGeert Uytterhoeven				/*
355f5335aa6SGeert Uytterhoeven				 * The VIN4 video input path is shared between
356f5335aa6SGeert Uytterhoeven				 * CVBS and HDMI inputs through SW[49-53]
357f5335aa6SGeert Uytterhoeven				 * switches.
358f5335aa6SGeert Uytterhoeven				 *
3597ccd37fbSNiklas Söderlund				 * HDMI is the default selection, leave CVBS
3607ccd37fbSNiklas Söderlund				 * not connected here.
361f5335aa6SGeert Uytterhoeven				 */
362f5335aa6SGeert Uytterhoeven			};
363f5335aa6SGeert Uytterhoeven		};
364f5335aa6SGeert Uytterhoeven
365f5335aa6SGeert Uytterhoeven	};
366f5335aa6SGeert Uytterhoeven
367f5335aa6SGeert Uytterhoeven	hdmi-encoder@39 {
368f5335aa6SGeert Uytterhoeven		compatible = "adi,adv7511w";
369f5335aa6SGeert Uytterhoeven		reg = <0x39>, <0x3f>, <0x3c>, <0x38>;
370f5335aa6SGeert Uytterhoeven		reg-names = "main", "edid", "cec", "packet";
371f5335aa6SGeert Uytterhoeven		interrupt-parent = <&gpio1>;
372f5335aa6SGeert Uytterhoeven		interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
373f5335aa6SGeert Uytterhoeven
37474c3bb48SGeert Uytterhoeven		avdd-supply = <&reg_1p8v>;
37574c3bb48SGeert Uytterhoeven		dvdd-supply = <&reg_1p8v>;
37674c3bb48SGeert Uytterhoeven		pvdd-supply = <&reg_1p8v>;
37774c3bb48SGeert Uytterhoeven		dvdd-3v-supply = <&reg_3p3v>;
37874c3bb48SGeert Uytterhoeven		bgvdd-supply = <&reg_1p8v>;
37974c3bb48SGeert Uytterhoeven
380f5335aa6SGeert Uytterhoeven		adi,input-depth = <8>;
381f5335aa6SGeert Uytterhoeven		adi,input-colorspace = "rgb";
382f5335aa6SGeert Uytterhoeven		adi,input-clock = "1x";
383f5335aa6SGeert Uytterhoeven
384f5335aa6SGeert Uytterhoeven		ports {
385f5335aa6SGeert Uytterhoeven			#address-cells = <1>;
386f5335aa6SGeert Uytterhoeven			#size-cells = <0>;
387f5335aa6SGeert Uytterhoeven
388f5335aa6SGeert Uytterhoeven			port@0 {
389f5335aa6SGeert Uytterhoeven				reg = <0>;
390f5335aa6SGeert Uytterhoeven				adv7511_in: endpoint {
391f5335aa6SGeert Uytterhoeven					remote-endpoint = <&thc63lvd1024_out>;
392f5335aa6SGeert Uytterhoeven				};
393f5335aa6SGeert Uytterhoeven			};
394f5335aa6SGeert Uytterhoeven
395f5335aa6SGeert Uytterhoeven			port@1 {
396f5335aa6SGeert Uytterhoeven				reg = <1>;
397f5335aa6SGeert Uytterhoeven				adv7511_out: endpoint {
398f5335aa6SGeert Uytterhoeven					remote-endpoint = <&hdmi_con_out>;
399f5335aa6SGeert Uytterhoeven				};
400f5335aa6SGeert Uytterhoeven			};
401f5335aa6SGeert Uytterhoeven		};
402f5335aa6SGeert Uytterhoeven	};
403f5335aa6SGeert Uytterhoeven
404f5335aa6SGeert Uytterhoeven	hdmi-decoder@4c {
405f5335aa6SGeert Uytterhoeven		compatible = "adi,adv7612";
406f5335aa6SGeert Uytterhoeven		reg = <0x4c>;
407f5335aa6SGeert Uytterhoeven		default-input = <0>;
408f5335aa6SGeert Uytterhoeven
409f5335aa6SGeert Uytterhoeven		ports {
410f5335aa6SGeert Uytterhoeven			#address-cells = <1>;
411f5335aa6SGeert Uytterhoeven			#size-cells = <0>;
412f5335aa6SGeert Uytterhoeven
413f5335aa6SGeert Uytterhoeven			port@0 {
414f5335aa6SGeert Uytterhoeven				reg = <0>;
415f5335aa6SGeert Uytterhoeven
416f5335aa6SGeert Uytterhoeven				adv7612_in: endpoint {
417f5335aa6SGeert Uytterhoeven					remote-endpoint = <&hdmi_con_in>;
418f5335aa6SGeert Uytterhoeven				};
419f5335aa6SGeert Uytterhoeven			};
420f5335aa6SGeert Uytterhoeven
421f5335aa6SGeert Uytterhoeven			port@2 {
422f5335aa6SGeert Uytterhoeven				reg = <2>;
423f5335aa6SGeert Uytterhoeven
424f5335aa6SGeert Uytterhoeven				/*
425f5335aa6SGeert Uytterhoeven				 * The VIN4 video input path is shared between
426f5335aa6SGeert Uytterhoeven				 * CVBS and HDMI inputs through SW[49-53]
427f5335aa6SGeert Uytterhoeven				 * switches.
428f5335aa6SGeert Uytterhoeven				 *
4297ccd37fbSNiklas Söderlund				 * HDMI is the default selection, link it to
4307ccd37fbSNiklas Söderlund				 * VIN4 here.
431f5335aa6SGeert Uytterhoeven				 */
432f5335aa6SGeert Uytterhoeven				adv7612_out: endpoint {
4337ccd37fbSNiklas Söderlund					remote-endpoint = <&vin4_in>;
434f5335aa6SGeert Uytterhoeven				};
435f5335aa6SGeert Uytterhoeven			};
436f5335aa6SGeert Uytterhoeven		};
437f5335aa6SGeert Uytterhoeven	};
438f5335aa6SGeert Uytterhoeven
439f5335aa6SGeert Uytterhoeven	cs2000: clk-multiplier@4f {
440f5335aa6SGeert Uytterhoeven		#clock-cells = <0>;
441f5335aa6SGeert Uytterhoeven		compatible = "cirrus,cs2000-cp";
442f5335aa6SGeert Uytterhoeven		reg = <0x4f>;
443f5335aa6SGeert Uytterhoeven		clocks = <&audio_clkout>, <&x19_clk>; /* audio_clkout_1, x19 */
444f5335aa6SGeert Uytterhoeven		clock-names = "clk_in", "ref_clk";
445f5335aa6SGeert Uytterhoeven
446f5335aa6SGeert Uytterhoeven		assigned-clocks = <&cs2000>;
447f5335aa6SGeert Uytterhoeven		assigned-clock-rates = <24576000>; /* 1/1 divide */
448f5335aa6SGeert Uytterhoeven	};
449f5335aa6SGeert Uytterhoeven
450f5335aa6SGeert Uytterhoeven	eeprom@50 {
451f5335aa6SGeert Uytterhoeven		compatible = "rohm,br24t01", "atmel,24c01";
452f5335aa6SGeert Uytterhoeven		reg = <0x50>;
453f5335aa6SGeert Uytterhoeven		pagesize = <8>;
454f5335aa6SGeert Uytterhoeven	};
455f5335aa6SGeert Uytterhoeven};
456f5335aa6SGeert Uytterhoeven
457f5335aa6SGeert Uytterhoeven&i2c1 {
458f5335aa6SGeert Uytterhoeven	pinctrl-0 = <&i2c1_pins>;
459f5335aa6SGeert Uytterhoeven	pinctrl-names = "default";
460f5335aa6SGeert Uytterhoeven	status = "okay";
461f5335aa6SGeert Uytterhoeven};
462f5335aa6SGeert Uytterhoeven
463f5335aa6SGeert Uytterhoeven&lvds0 {
464f5335aa6SGeert Uytterhoeven	status = "okay";
465f5335aa6SGeert Uytterhoeven
466f5335aa6SGeert Uytterhoeven	clocks = <&cpg CPG_MOD 727>,
467f5335aa6SGeert Uytterhoeven		 <&x12_clk>,
468f5335aa6SGeert Uytterhoeven		 <&extal_clk>;
469f5335aa6SGeert Uytterhoeven	clock-names = "fck", "dclkin.0", "extal";
470f5335aa6SGeert Uytterhoeven
471f5335aa6SGeert Uytterhoeven	ports {
472f5335aa6SGeert Uytterhoeven		port@1 {
473f5335aa6SGeert Uytterhoeven			lvds0_out: endpoint {
474f5335aa6SGeert Uytterhoeven				remote-endpoint = <&thc63lvd1024_in>;
475f5335aa6SGeert Uytterhoeven			};
476f5335aa6SGeert Uytterhoeven		};
477f5335aa6SGeert Uytterhoeven	};
478f5335aa6SGeert Uytterhoeven};
479f5335aa6SGeert Uytterhoeven
480f5335aa6SGeert Uytterhoeven&lvds1 {
481f5335aa6SGeert Uytterhoeven	/*
482f5335aa6SGeert Uytterhoeven	 * Even though the LVDS1 output is not connected, the encoder must be
483f5335aa6SGeert Uytterhoeven	 * enabled to supply a pixel clock to the DU for the DPAD output when
484f5335aa6SGeert Uytterhoeven	 * LVDS0 is in use.
485f5335aa6SGeert Uytterhoeven	 */
486f5335aa6SGeert Uytterhoeven	status = "okay";
487f5335aa6SGeert Uytterhoeven
488f5335aa6SGeert Uytterhoeven	clocks = <&cpg CPG_MOD 727>,
489f5335aa6SGeert Uytterhoeven		 <&x12_clk>,
490f5335aa6SGeert Uytterhoeven		 <&extal_clk>;
491f5335aa6SGeert Uytterhoeven	clock-names = "fck", "dclkin.0", "extal";
492f5335aa6SGeert Uytterhoeven};
493f5335aa6SGeert Uytterhoeven
494f5335aa6SGeert Uytterhoeven&ohci0 {
495f5335aa6SGeert Uytterhoeven	dr_mode = "host";
496f5335aa6SGeert Uytterhoeven	status = "okay";
497f5335aa6SGeert Uytterhoeven};
498f5335aa6SGeert Uytterhoeven
499f5335aa6SGeert Uytterhoeven&pfc {
500f5335aa6SGeert Uytterhoeven	avb0_pins: avb {
501f5335aa6SGeert Uytterhoeven		groups = "avb0_link", "avb0_mdio", "avb0_mii";
502f5335aa6SGeert Uytterhoeven		function = "avb0";
503f5335aa6SGeert Uytterhoeven	};
504f5335aa6SGeert Uytterhoeven
505f5335aa6SGeert Uytterhoeven	can0_pins: can0 {
506f5335aa6SGeert Uytterhoeven		groups = "can0_data_a";
507f5335aa6SGeert Uytterhoeven		function = "can0";
508f5335aa6SGeert Uytterhoeven	};
509f5335aa6SGeert Uytterhoeven
510f5335aa6SGeert Uytterhoeven	can1_pins: can1 {
511f5335aa6SGeert Uytterhoeven		groups = "can1_data_a";
512f5335aa6SGeert Uytterhoeven		function = "can1";
513f5335aa6SGeert Uytterhoeven	};
514f5335aa6SGeert Uytterhoeven
515f5335aa6SGeert Uytterhoeven	du_pins: du {
516f5335aa6SGeert Uytterhoeven		groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
517f5335aa6SGeert Uytterhoeven		function = "du";
518f5335aa6SGeert Uytterhoeven	};
519f5335aa6SGeert Uytterhoeven
520f5335aa6SGeert Uytterhoeven	i2c0_pins: i2c0 {
521f5335aa6SGeert Uytterhoeven		groups = "i2c0";
522f5335aa6SGeert Uytterhoeven		function = "i2c0";
523f5335aa6SGeert Uytterhoeven	};
524f5335aa6SGeert Uytterhoeven
525f5335aa6SGeert Uytterhoeven	i2c1_pins: i2c1 {
526f5335aa6SGeert Uytterhoeven		groups = "i2c1";
527f5335aa6SGeert Uytterhoeven		function = "i2c1";
528f5335aa6SGeert Uytterhoeven	};
529f5335aa6SGeert Uytterhoeven
530f5335aa6SGeert Uytterhoeven	keys_pins: keys {
531f5335aa6SGeert Uytterhoeven		pins = "GP_4_12", "GP_4_13", "GP_4_14", "GP_4_15";
532f5335aa6SGeert Uytterhoeven		bias-pull-up;
533f5335aa6SGeert Uytterhoeven	};
534f5335aa6SGeert Uytterhoeven
535f5335aa6SGeert Uytterhoeven	pwm0_pins: pwm0 {
536f5335aa6SGeert Uytterhoeven		groups = "pwm0_c";
537f5335aa6SGeert Uytterhoeven		function = "pwm0";
538f5335aa6SGeert Uytterhoeven	};
539f5335aa6SGeert Uytterhoeven
540f5335aa6SGeert Uytterhoeven	pwm1_pins: pwm1 {
541f5335aa6SGeert Uytterhoeven		groups = "pwm1_c";
542f5335aa6SGeert Uytterhoeven		function = "pwm1";
543f5335aa6SGeert Uytterhoeven	};
544f5335aa6SGeert Uytterhoeven
545a1de91f0SGeert Uytterhoeven	rpc_pins: rpc {
546a1de91f0SGeert Uytterhoeven		groups = "rpc_clk2", "rpc_ctrl", "rpc_data", "rpc_reset",
547a1de91f0SGeert Uytterhoeven			 "rpc_int";
548a1de91f0SGeert Uytterhoeven		function = "rpc";
549a1de91f0SGeert Uytterhoeven	};
550a1de91f0SGeert Uytterhoeven
551f5335aa6SGeert Uytterhoeven	scif2_pins: scif2 {
552f5335aa6SGeert Uytterhoeven		groups = "scif2_data";
553f5335aa6SGeert Uytterhoeven		function = "scif2";
554f5335aa6SGeert Uytterhoeven	};
555f5335aa6SGeert Uytterhoeven
556f5335aa6SGeert Uytterhoeven	sdhi2_pins: sd2 {
557f5335aa6SGeert Uytterhoeven		groups = "mmc_data8", "mmc_ctrl";
558f5335aa6SGeert Uytterhoeven		function = "mmc";
559f5335aa6SGeert Uytterhoeven		power-source = <1800>;
560f5335aa6SGeert Uytterhoeven	};
561f5335aa6SGeert Uytterhoeven
562f5335aa6SGeert Uytterhoeven	sdhi2_pins_uhs: sd2_uhs {
563f5335aa6SGeert Uytterhoeven		groups = "mmc_data8", "mmc_ctrl";
564f5335aa6SGeert Uytterhoeven		function = "mmc";
565f5335aa6SGeert Uytterhoeven		power-source = <1800>;
566f5335aa6SGeert Uytterhoeven	};
567f5335aa6SGeert Uytterhoeven
568f5335aa6SGeert Uytterhoeven	sound_pins: sound {
569f5335aa6SGeert Uytterhoeven		groups = "ssi34_ctrl", "ssi3_data", "ssi4_data_a";
570f5335aa6SGeert Uytterhoeven		function = "ssi";
571f5335aa6SGeert Uytterhoeven	};
572f5335aa6SGeert Uytterhoeven
573f5335aa6SGeert Uytterhoeven	sound_clk_pins: sound-clk {
574f5335aa6SGeert Uytterhoeven		groups = "audio_clk_a", "audio_clk_b",
575f5335aa6SGeert Uytterhoeven			 "audio_clkout", "audio_clkout1";
576f5335aa6SGeert Uytterhoeven		function = "audio_clk";
577f5335aa6SGeert Uytterhoeven	};
578f5335aa6SGeert Uytterhoeven
579f5335aa6SGeert Uytterhoeven	usb0_pins: usb0 {
580f5335aa6SGeert Uytterhoeven		groups = "usb0";
581f5335aa6SGeert Uytterhoeven		function = "usb0";
582f5335aa6SGeert Uytterhoeven	};
583f5335aa6SGeert Uytterhoeven
5847ccd37fbSNiklas Söderlund	vin4_pins: vin4 {
5857ccd37fbSNiklas Söderlund		groups = "vin4_data24", "vin4_sync", "vin4_clk";
586f5335aa6SGeert Uytterhoeven		function = "vin4";
587f5335aa6SGeert Uytterhoeven	};
588f5335aa6SGeert Uytterhoeven};
589f5335aa6SGeert Uytterhoeven
590f5335aa6SGeert Uytterhoeven&pwm0 {
591f5335aa6SGeert Uytterhoeven	pinctrl-0 = <&pwm0_pins>;
592f5335aa6SGeert Uytterhoeven	pinctrl-names = "default";
593f5335aa6SGeert Uytterhoeven
594f5335aa6SGeert Uytterhoeven	status = "okay";
595f5335aa6SGeert Uytterhoeven};
596f5335aa6SGeert Uytterhoeven
597f5335aa6SGeert Uytterhoeven&pwm1 {
598f5335aa6SGeert Uytterhoeven	pinctrl-0 = <&pwm1_pins>;
599f5335aa6SGeert Uytterhoeven	pinctrl-names = "default";
600f5335aa6SGeert Uytterhoeven
601f5335aa6SGeert Uytterhoeven	status = "okay";
602f5335aa6SGeert Uytterhoeven};
603f5335aa6SGeert Uytterhoeven
604f5335aa6SGeert Uytterhoeven&rcar_sound {
605f5335aa6SGeert Uytterhoeven	pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
606f5335aa6SGeert Uytterhoeven	pinctrl-names = "default";
607f5335aa6SGeert Uytterhoeven
608f5335aa6SGeert Uytterhoeven	/* Single DAI */
609f5335aa6SGeert Uytterhoeven	#sound-dai-cells = <0>;
610f5335aa6SGeert Uytterhoeven
611f5335aa6SGeert Uytterhoeven	/* audio_clkout0/1 */
612f5335aa6SGeert Uytterhoeven	#clock-cells = <1>;
613f5335aa6SGeert Uytterhoeven	clock-frequency = <12288000 11289600>;
614f5335aa6SGeert Uytterhoeven
615f5335aa6SGeert Uytterhoeven	status = "okay";
616f5335aa6SGeert Uytterhoeven
617f5335aa6SGeert Uytterhoeven	clocks = <&cpg CPG_MOD 1005>,
618f5335aa6SGeert Uytterhoeven		 <&cpg CPG_MOD 1011>, <&cpg CPG_MOD 1012>,
619f5335aa6SGeert Uytterhoeven		 <&cpg CPG_MOD 1025>, <&cpg CPG_MOD 1026>,
620f5335aa6SGeert Uytterhoeven		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
621f5335aa6SGeert Uytterhoeven		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
622f5335aa6SGeert Uytterhoeven		 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
623f5335aa6SGeert Uytterhoeven		 <&cs2000>, <&audio_clk_b>,
624f5335aa6SGeert Uytterhoeven		 <&cpg CPG_CORE R8A77995_CLK_ZA2>;
625f5335aa6SGeert Uytterhoeven
626f5335aa6SGeert Uytterhoeven	ports {
627f5335aa6SGeert Uytterhoeven		rsnd_port0: port {
628f5335aa6SGeert Uytterhoeven			rsnd_for_ak4613: endpoint {
629f5335aa6SGeert Uytterhoeven				remote-endpoint = <&ak4613_endpoint>;
630f5335aa6SGeert Uytterhoeven				dai-format = "left_j";
631f5335aa6SGeert Uytterhoeven				bitclock-master = <&rsnd_for_ak4613>;
632f5335aa6SGeert Uytterhoeven				frame-master = <&rsnd_for_ak4613>;
633f5335aa6SGeert Uytterhoeven				playback = <&ssi3>, <&src5>, <&dvc0>;
634f5335aa6SGeert Uytterhoeven				capture = <&ssi4>, <&src6>, <&dvc1>;
635f5335aa6SGeert Uytterhoeven			};
636f5335aa6SGeert Uytterhoeven		};
637f5335aa6SGeert Uytterhoeven	};
638f5335aa6SGeert Uytterhoeven};
639f5335aa6SGeert Uytterhoeven
640a1de91f0SGeert Uytterhoeven&rpc {
641a1de91f0SGeert Uytterhoeven	pinctrl-0 = <&rpc_pins>;
642a1de91f0SGeert Uytterhoeven	pinctrl-names = "default";
643a1de91f0SGeert Uytterhoeven
644a1de91f0SGeert Uytterhoeven	/* Left disabled.  To be enabled by firmware when unlocked. */
645a1de91f0SGeert Uytterhoeven
646a1de91f0SGeert Uytterhoeven	flash@0 {
647a1de91f0SGeert Uytterhoeven		compatible = "cypress,hyperflash", "cfi-flash";
648a1de91f0SGeert Uytterhoeven		reg = <0>;
649a1de91f0SGeert Uytterhoeven
650a1de91f0SGeert Uytterhoeven		partitions {
651a1de91f0SGeert Uytterhoeven			compatible = "fixed-partitions";
652a1de91f0SGeert Uytterhoeven			#address-cells = <1>;
653a1de91f0SGeert Uytterhoeven			#size-cells = <1>;
654a1de91f0SGeert Uytterhoeven
655a1de91f0SGeert Uytterhoeven			bootparam@0 {
656a1de91f0SGeert Uytterhoeven				reg = <0x00000000 0x040000>;
657a1de91f0SGeert Uytterhoeven				read-only;
658a1de91f0SGeert Uytterhoeven			};
659a1de91f0SGeert Uytterhoeven			bl2@40000 {
660a1de91f0SGeert Uytterhoeven				reg = <0x00040000 0x140000>;
661a1de91f0SGeert Uytterhoeven				read-only;
662a1de91f0SGeert Uytterhoeven			};
663a1de91f0SGeert Uytterhoeven			cert_header_sa6@180000 {
664a1de91f0SGeert Uytterhoeven				reg = <0x00180000 0x040000>;
665a1de91f0SGeert Uytterhoeven				read-only;
666a1de91f0SGeert Uytterhoeven			};
667a1de91f0SGeert Uytterhoeven			bl31@1c0000 {
668a1de91f0SGeert Uytterhoeven				reg = <0x001c0000 0x040000>;
669a1de91f0SGeert Uytterhoeven				read-only;
670a1de91f0SGeert Uytterhoeven			};
671a1de91f0SGeert Uytterhoeven			tee@200000 {
672a1de91f0SGeert Uytterhoeven				reg = <0x00200000 0x440000>;
673a1de91f0SGeert Uytterhoeven				read-only;
674a1de91f0SGeert Uytterhoeven			};
675a1de91f0SGeert Uytterhoeven			uboot@640000 {
676a1de91f0SGeert Uytterhoeven				reg = <0x00640000 0x100000>;
677a1de91f0SGeert Uytterhoeven				read-only;
678a1de91f0SGeert Uytterhoeven			};
679a1de91f0SGeert Uytterhoeven			dtb@740000 {
680a1de91f0SGeert Uytterhoeven				reg = <0x00740000 0x080000>;
681a1de91f0SGeert Uytterhoeven			};
682a1de91f0SGeert Uytterhoeven			kernel@7c0000 {
683a1de91f0SGeert Uytterhoeven				reg = <0x007c0000 0x1400000>;
684a1de91f0SGeert Uytterhoeven			};
685a1de91f0SGeert Uytterhoeven			user@1bc0000 {
686a1de91f0SGeert Uytterhoeven				reg = <0x01bc0000 0x2440000>;
687a1de91f0SGeert Uytterhoeven			};
688a1de91f0SGeert Uytterhoeven		};
689a1de91f0SGeert Uytterhoeven	};
690a1de91f0SGeert Uytterhoeven};
691a1de91f0SGeert Uytterhoeven
692f5335aa6SGeert Uytterhoeven&rwdt {
693f5335aa6SGeert Uytterhoeven	timeout-sec = <60>;
694f5335aa6SGeert Uytterhoeven	status = "okay";
695f5335aa6SGeert Uytterhoeven};
696f5335aa6SGeert Uytterhoeven
697f5335aa6SGeert Uytterhoeven&scif2 {
698f5335aa6SGeert Uytterhoeven	pinctrl-0 = <&scif2_pins>;
699f5335aa6SGeert Uytterhoeven	pinctrl-names = "default";
700f5335aa6SGeert Uytterhoeven
701f5335aa6SGeert Uytterhoeven	status = "okay";
702f5335aa6SGeert Uytterhoeven};
703f5335aa6SGeert Uytterhoeven
704f5335aa6SGeert Uytterhoeven&sdhi2 {
705f5335aa6SGeert Uytterhoeven	/* used for on-board eMMC */
706f5335aa6SGeert Uytterhoeven	pinctrl-0 = <&sdhi2_pins>;
707f5335aa6SGeert Uytterhoeven	pinctrl-1 = <&sdhi2_pins_uhs>;
708f5335aa6SGeert Uytterhoeven	pinctrl-names = "default", "state_uhs";
709f5335aa6SGeert Uytterhoeven
710f5335aa6SGeert Uytterhoeven	vmmc-supply = <&reg_3p3v>;
711f5335aa6SGeert Uytterhoeven	vqmmc-supply = <&reg_1p8v>;
712f5335aa6SGeert Uytterhoeven	bus-width = <8>;
713f5335aa6SGeert Uytterhoeven	mmc-hs200-1_8v;
714f5335aa6SGeert Uytterhoeven	no-sd;
715f5335aa6SGeert Uytterhoeven	no-sdio;
716f5335aa6SGeert Uytterhoeven	non-removable;
717f5335aa6SGeert Uytterhoeven	status = "okay";
718f5335aa6SGeert Uytterhoeven};
719f5335aa6SGeert Uytterhoeven
720f5335aa6SGeert Uytterhoeven&ssi4 {
721f5335aa6SGeert Uytterhoeven	shared-pin;
722f5335aa6SGeert Uytterhoeven};
723f5335aa6SGeert Uytterhoeven
724f5335aa6SGeert Uytterhoeven&usb2_phy0 {
725f5335aa6SGeert Uytterhoeven	pinctrl-0 = <&usb0_pins>;
726f5335aa6SGeert Uytterhoeven	pinctrl-names = "default";
727f5335aa6SGeert Uytterhoeven
728f5335aa6SGeert Uytterhoeven	renesas,no-otg-pins;
729f5335aa6SGeert Uytterhoeven	status = "okay";
730f5335aa6SGeert Uytterhoeven};
731f5335aa6SGeert Uytterhoeven
732f5335aa6SGeert Uytterhoeven&vin4 {
7337ccd37fbSNiklas Söderlund	pinctrl-0 = <&vin4_pins>;
734f5335aa6SGeert Uytterhoeven	pinctrl-names = "default";
735f5335aa6SGeert Uytterhoeven
736f5335aa6SGeert Uytterhoeven	status = "okay";
737f5335aa6SGeert Uytterhoeven
738f5335aa6SGeert Uytterhoeven	ports {
739f5335aa6SGeert Uytterhoeven		port {
740f5335aa6SGeert Uytterhoeven			vin4_in: endpoint {
741*25d32433SNiklas Söderlund				pclk-sample = <0>;
742*25d32433SNiklas Söderlund				hsync-active = <0>;
743*25d32433SNiklas Söderlund				vsync-active = <0>;
7447ccd37fbSNiklas Söderlund				remote-endpoint = <&adv7612_out>;
745f5335aa6SGeert Uytterhoeven			};
746f5335aa6SGeert Uytterhoeven		};
747f5335aa6SGeert Uytterhoeven	};
748f5335aa6SGeert Uytterhoeven};
749