xref: /freebsd/sys/contrib/device-tree/src/arm/renesas/r8a7793-gose.dts (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Device Tree Source for the Gose board
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot * Copyright (C) 2014-2015 Renesas Electronics Corporation
6f126890aSEmmanuel Vadot */
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot/*
9f126890aSEmmanuel Vadot * SSI-AK4643
10f126890aSEmmanuel Vadot *
11f126890aSEmmanuel Vadot * SW1: 1: AK4643
12f126890aSEmmanuel Vadot *      2: CN22
13f126890aSEmmanuel Vadot *      3: ADV7511
14f126890aSEmmanuel Vadot *
15f126890aSEmmanuel Vadot * This command is required when Playback/Capture
16f126890aSEmmanuel Vadot *
17f126890aSEmmanuel Vadot *	amixer set "LINEOUT Mixer DACL" on
18f126890aSEmmanuel Vadot *	amixer set "DVC Out" 100%
19f126890aSEmmanuel Vadot *	amixer set "DVC In" 100%
20f126890aSEmmanuel Vadot *
21f126890aSEmmanuel Vadot * You can use Mute
22f126890aSEmmanuel Vadot *
23f126890aSEmmanuel Vadot *	amixer set "DVC Out Mute" on
24f126890aSEmmanuel Vadot *	amixer set "DVC In Mute" on
25f126890aSEmmanuel Vadot *
26f126890aSEmmanuel Vadot * You can use Volume Ramp
27f126890aSEmmanuel Vadot *
28f126890aSEmmanuel Vadot *	amixer set "DVC Out Ramp Up Rate"   "0.125 dB/64 steps"
29f126890aSEmmanuel Vadot *	amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
30f126890aSEmmanuel Vadot *	amixer set "DVC Out Ramp" on
31f126890aSEmmanuel Vadot *	aplay xxx.wav &
32f126890aSEmmanuel Vadot *	amixer set "DVC Out"  80%  // Volume Down
33f126890aSEmmanuel Vadot *	amixer set "DVC Out" 100%  // Volume Up
34f126890aSEmmanuel Vadot */
35f126890aSEmmanuel Vadot
36f126890aSEmmanuel Vadot/dts-v1/;
37f126890aSEmmanuel Vadot#include "r8a7793.dtsi"
38f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
39f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
40f126890aSEmmanuel Vadot
41f126890aSEmmanuel Vadot/ {
42f126890aSEmmanuel Vadot	model = "Gose";
43f126890aSEmmanuel Vadot	compatible = "renesas,gose", "renesas,r8a7793";
44f126890aSEmmanuel Vadot
45f126890aSEmmanuel Vadot	aliases {
46f126890aSEmmanuel Vadot		serial0 = &scif0;
47f126890aSEmmanuel Vadot		serial1 = &scif1;
48f126890aSEmmanuel Vadot		i2c9 = &gpioi2c2;
49f126890aSEmmanuel Vadot		i2c10 = &gpioi2c4;
50f126890aSEmmanuel Vadot		i2c11 = &i2chdmi;
51f126890aSEmmanuel Vadot		i2c12 = &i2cexio4;
52f126890aSEmmanuel Vadot		mmc0 = &sdhi0;
53f126890aSEmmanuel Vadot		mmc1 = &sdhi1;
54f126890aSEmmanuel Vadot		mmc2 = &sdhi2;
55f126890aSEmmanuel Vadot	};
56f126890aSEmmanuel Vadot
57f126890aSEmmanuel Vadot	chosen {
58f126890aSEmmanuel Vadot		bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
59f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
60f126890aSEmmanuel Vadot	};
61f126890aSEmmanuel Vadot
62f126890aSEmmanuel Vadot	memory@40000000 {
63f126890aSEmmanuel Vadot		device_type = "memory";
64f126890aSEmmanuel Vadot		reg = <0 0x40000000 0 0x40000000>;
65f126890aSEmmanuel Vadot	};
66f126890aSEmmanuel Vadot
67f126890aSEmmanuel Vadot	keyboard {
68f126890aSEmmanuel Vadot		compatible = "gpio-keys";
69f126890aSEmmanuel Vadot
70f126890aSEmmanuel Vadot		pinctrl-0 = <&keyboard_pins>;
71f126890aSEmmanuel Vadot		pinctrl-names = "default";
72f126890aSEmmanuel Vadot
73f126890aSEmmanuel Vadot		key-1 {
74f126890aSEmmanuel Vadot			gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
75f126890aSEmmanuel Vadot			linux,code = <KEY_1>;
76f126890aSEmmanuel Vadot			label = "SW2-1";
77f126890aSEmmanuel Vadot			wakeup-source;
78f126890aSEmmanuel Vadot			debounce-interval = <20>;
79f126890aSEmmanuel Vadot		};
80f126890aSEmmanuel Vadot		key-2 {
81f126890aSEmmanuel Vadot			gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
82f126890aSEmmanuel Vadot			linux,code = <KEY_2>;
83f126890aSEmmanuel Vadot			label = "SW2-2";
84f126890aSEmmanuel Vadot			wakeup-source;
85f126890aSEmmanuel Vadot			debounce-interval = <20>;
86f126890aSEmmanuel Vadot		};
87f126890aSEmmanuel Vadot		key-3 {
88f126890aSEmmanuel Vadot			gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
89f126890aSEmmanuel Vadot			linux,code = <KEY_3>;
90f126890aSEmmanuel Vadot			label = "SW2-3";
91f126890aSEmmanuel Vadot			wakeup-source;
92f126890aSEmmanuel Vadot			debounce-interval = <20>;
93f126890aSEmmanuel Vadot		};
94f126890aSEmmanuel Vadot		key-4 {
95f126890aSEmmanuel Vadot			gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
96f126890aSEmmanuel Vadot			linux,code = <KEY_4>;
97f126890aSEmmanuel Vadot			label = "SW2-4";
98f126890aSEmmanuel Vadot			wakeup-source;
99f126890aSEmmanuel Vadot			debounce-interval = <20>;
100f126890aSEmmanuel Vadot		};
101f126890aSEmmanuel Vadot		key-a {
102f126890aSEmmanuel Vadot			gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
103f126890aSEmmanuel Vadot			linux,code = <KEY_A>;
104f126890aSEmmanuel Vadot			label = "SW30";
105f126890aSEmmanuel Vadot			wakeup-source;
106f126890aSEmmanuel Vadot			debounce-interval = <20>;
107f126890aSEmmanuel Vadot		};
108f126890aSEmmanuel Vadot		key-b {
109f126890aSEmmanuel Vadot			gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
110f126890aSEmmanuel Vadot			linux,code = <KEY_B>;
111f126890aSEmmanuel Vadot			label = "SW31";
112f126890aSEmmanuel Vadot			wakeup-source;
113f126890aSEmmanuel Vadot			debounce-interval = <20>;
114f126890aSEmmanuel Vadot		};
115f126890aSEmmanuel Vadot		key-c {
116f126890aSEmmanuel Vadot			gpios = <&gpio7 2 GPIO_ACTIVE_LOW>;
117f126890aSEmmanuel Vadot			linux,code = <KEY_C>;
118f126890aSEmmanuel Vadot			label = "SW32";
119f126890aSEmmanuel Vadot			wakeup-source;
120f126890aSEmmanuel Vadot			debounce-interval = <20>;
121f126890aSEmmanuel Vadot		};
122f126890aSEmmanuel Vadot		key-d {
123f126890aSEmmanuel Vadot			gpios = <&gpio7 3 GPIO_ACTIVE_LOW>;
124f126890aSEmmanuel Vadot			linux,code = <KEY_D>;
125f126890aSEmmanuel Vadot			label = "SW33";
126f126890aSEmmanuel Vadot			wakeup-source;
127f126890aSEmmanuel Vadot			debounce-interval = <20>;
128f126890aSEmmanuel Vadot		};
129f126890aSEmmanuel Vadot		key-e {
130f126890aSEmmanuel Vadot			gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
131f126890aSEmmanuel Vadot			linux,code = <KEY_E>;
132f126890aSEmmanuel Vadot			label = "SW34";
133f126890aSEmmanuel Vadot			wakeup-source;
134f126890aSEmmanuel Vadot			debounce-interval = <20>;
135f126890aSEmmanuel Vadot		};
136f126890aSEmmanuel Vadot		key-f {
137f126890aSEmmanuel Vadot			gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
138f126890aSEmmanuel Vadot			linux,code = <KEY_F>;
139f126890aSEmmanuel Vadot			label = "SW35";
140f126890aSEmmanuel Vadot			wakeup-source;
141f126890aSEmmanuel Vadot			debounce-interval = <20>;
142f126890aSEmmanuel Vadot		};
143f126890aSEmmanuel Vadot		key-g {
144f126890aSEmmanuel Vadot			gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
145f126890aSEmmanuel Vadot			linux,code = <KEY_G>;
146f126890aSEmmanuel Vadot			label = "SW36";
147f126890aSEmmanuel Vadot			wakeup-source;
148f126890aSEmmanuel Vadot			debounce-interval = <20>;
149f126890aSEmmanuel Vadot		};
150f126890aSEmmanuel Vadot	};
151f126890aSEmmanuel Vadot
152f126890aSEmmanuel Vadot	leds {
153f126890aSEmmanuel Vadot		compatible = "gpio-leds";
154f126890aSEmmanuel Vadot		led6 {
155f126890aSEmmanuel Vadot			gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
156f126890aSEmmanuel Vadot			label = "LED6";
157f126890aSEmmanuel Vadot		};
158f126890aSEmmanuel Vadot		led7 {
159f126890aSEmmanuel Vadot			gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
160f126890aSEmmanuel Vadot			label = "LED7";
161f126890aSEmmanuel Vadot		};
162f126890aSEmmanuel Vadot		led8 {
163f126890aSEmmanuel Vadot			gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
164f126890aSEmmanuel Vadot			label = "LED8";
165f126890aSEmmanuel Vadot		};
166f126890aSEmmanuel Vadot	};
167f126890aSEmmanuel Vadot
168*8d13bc63SEmmanuel Vadot	reg_1p8v: regulator-1v8 {
169*8d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
170*8d13bc63SEmmanuel Vadot		regulator-name = "fixed-1.8V";
171*8d13bc63SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
172*8d13bc63SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
173*8d13bc63SEmmanuel Vadot		regulator-boot-on;
174*8d13bc63SEmmanuel Vadot		regulator-always-on;
175*8d13bc63SEmmanuel Vadot	};
176*8d13bc63SEmmanuel Vadot
177*8d13bc63SEmmanuel Vadot	reg_3p3v: regulator-3v3 {
178*8d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
179*8d13bc63SEmmanuel Vadot		regulator-name = "fixed-3.3V";
180*8d13bc63SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
181*8d13bc63SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
182*8d13bc63SEmmanuel Vadot		regulator-boot-on;
183*8d13bc63SEmmanuel Vadot		regulator-always-on;
184*8d13bc63SEmmanuel Vadot	};
185*8d13bc63SEmmanuel Vadot
186f126890aSEmmanuel Vadot	vcc_sdhi0: regulator-vcc-sdhi0 {
187f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
188f126890aSEmmanuel Vadot
189f126890aSEmmanuel Vadot		regulator-name = "SDHI0 Vcc";
190f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
191f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
192f126890aSEmmanuel Vadot
193f126890aSEmmanuel Vadot		gpio = <&gpio7 17 GPIO_ACTIVE_HIGH>;
194f126890aSEmmanuel Vadot		enable-active-high;
195f126890aSEmmanuel Vadot	};
196f126890aSEmmanuel Vadot
197f126890aSEmmanuel Vadot	vccq_sdhi0: regulator-vccq-sdhi0 {
198f126890aSEmmanuel Vadot		compatible = "regulator-gpio";
199f126890aSEmmanuel Vadot
200f126890aSEmmanuel Vadot		regulator-name = "SDHI0 VccQ";
201f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
202f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
203f126890aSEmmanuel Vadot
204f126890aSEmmanuel Vadot		gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
205f126890aSEmmanuel Vadot		gpios-states = <1>;
206f126890aSEmmanuel Vadot		states = <3300000 1>, <1800000 0>;
207f126890aSEmmanuel Vadot	};
208f126890aSEmmanuel Vadot
209f126890aSEmmanuel Vadot	vcc_sdhi1: regulator-vcc-sdhi1 {
210f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
211f126890aSEmmanuel Vadot
212f126890aSEmmanuel Vadot		regulator-name = "SDHI1 Vcc";
213f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
214f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
215f126890aSEmmanuel Vadot
216f126890aSEmmanuel Vadot		gpio = <&gpio7 18 GPIO_ACTIVE_HIGH>;
217f126890aSEmmanuel Vadot		enable-active-high;
218f126890aSEmmanuel Vadot	};
219f126890aSEmmanuel Vadot
220f126890aSEmmanuel Vadot	vccq_sdhi1: regulator-vccq-sdhi1 {
221f126890aSEmmanuel Vadot		compatible = "regulator-gpio";
222f126890aSEmmanuel Vadot
223f126890aSEmmanuel Vadot		regulator-name = "SDHI1 VccQ";
224f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
225f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
226f126890aSEmmanuel Vadot
227f126890aSEmmanuel Vadot		gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
228f126890aSEmmanuel Vadot		gpios-states = <1>;
229f126890aSEmmanuel Vadot		states = <3300000 1>, <1800000 0>;
230f126890aSEmmanuel Vadot	};
231f126890aSEmmanuel Vadot
232f126890aSEmmanuel Vadot	vcc_sdhi2: regulator-vcc-sdhi2 {
233f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
234f126890aSEmmanuel Vadot
235f126890aSEmmanuel Vadot		regulator-name = "SDHI2 Vcc";
236f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
237f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
238f126890aSEmmanuel Vadot
239f126890aSEmmanuel Vadot		gpio = <&gpio7 19 GPIO_ACTIVE_HIGH>;
240f126890aSEmmanuel Vadot		enable-active-high;
241f126890aSEmmanuel Vadot	};
242f126890aSEmmanuel Vadot
243f126890aSEmmanuel Vadot	vccq_sdhi2: regulator-vccq-sdhi2 {
244f126890aSEmmanuel Vadot		compatible = "regulator-gpio";
245f126890aSEmmanuel Vadot
246f126890aSEmmanuel Vadot		regulator-name = "SDHI2 VccQ";
247f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
248f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
249f126890aSEmmanuel Vadot
250f126890aSEmmanuel Vadot		gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
251f126890aSEmmanuel Vadot		gpios-states = <1>;
252f126890aSEmmanuel Vadot		states = <3300000 1>, <1800000 0>;
253f126890aSEmmanuel Vadot	};
254f126890aSEmmanuel Vadot
255f126890aSEmmanuel Vadot	audio_clock: audio_clock {
256f126890aSEmmanuel Vadot		compatible = "fixed-clock";
257f126890aSEmmanuel Vadot		#clock-cells = <0>;
258f126890aSEmmanuel Vadot		clock-frequency = <11289600>;
259f126890aSEmmanuel Vadot	};
260f126890aSEmmanuel Vadot
261f126890aSEmmanuel Vadot	rsnd_ak4643: sound {
262f126890aSEmmanuel Vadot		compatible = "simple-audio-card";
263f126890aSEmmanuel Vadot
264f126890aSEmmanuel Vadot		simple-audio-card,format = "left_j";
265f126890aSEmmanuel Vadot		simple-audio-card,bitclock-master = <&sndcodec>;
266f126890aSEmmanuel Vadot		simple-audio-card,frame-master = <&sndcodec>;
267f126890aSEmmanuel Vadot
268f126890aSEmmanuel Vadot		sndcpu: simple-audio-card,cpu {
269f126890aSEmmanuel Vadot			sound-dai = <&rcar_sound>;
270f126890aSEmmanuel Vadot		};
271f126890aSEmmanuel Vadot
272f126890aSEmmanuel Vadot		sndcodec: simple-audio-card,codec {
273f126890aSEmmanuel Vadot			sound-dai = <&ak4643>;
274f126890aSEmmanuel Vadot			clocks = <&audio_clock>;
275f126890aSEmmanuel Vadot		};
276f126890aSEmmanuel Vadot	};
277f126890aSEmmanuel Vadot
278f126890aSEmmanuel Vadot	hdmi-in {
279f126890aSEmmanuel Vadot		compatible = "hdmi-connector";
280f126890aSEmmanuel Vadot		type = "a";
281f126890aSEmmanuel Vadot
282f126890aSEmmanuel Vadot		port {
283f126890aSEmmanuel Vadot			hdmi_con_in: endpoint {
284f126890aSEmmanuel Vadot				remote-endpoint = <&adv7612_in>;
285f126890aSEmmanuel Vadot			};
286f126890aSEmmanuel Vadot		};
287f126890aSEmmanuel Vadot	};
288f126890aSEmmanuel Vadot
289f126890aSEmmanuel Vadot	hdmi-out {
290f126890aSEmmanuel Vadot		compatible = "hdmi-connector";
291f126890aSEmmanuel Vadot		type = "a";
292f126890aSEmmanuel Vadot
293f126890aSEmmanuel Vadot		port {
294f126890aSEmmanuel Vadot			hdmi_con_out: endpoint {
295f126890aSEmmanuel Vadot				remote-endpoint = <&adv7511_out>;
296f126890aSEmmanuel Vadot			};
297f126890aSEmmanuel Vadot		};
298f126890aSEmmanuel Vadot	};
299f126890aSEmmanuel Vadot
300f126890aSEmmanuel Vadot	composite-in {
301f126890aSEmmanuel Vadot		compatible = "composite-video-connector";
302f126890aSEmmanuel Vadot
303f126890aSEmmanuel Vadot		port {
304f126890aSEmmanuel Vadot			composite_con_in: endpoint {
305f126890aSEmmanuel Vadot				remote-endpoint = <&adv7180_in>;
306f126890aSEmmanuel Vadot			};
307f126890aSEmmanuel Vadot		};
308f126890aSEmmanuel Vadot	};
309f126890aSEmmanuel Vadot
310f126890aSEmmanuel Vadot	x2_clk: x2-clock {
311f126890aSEmmanuel Vadot		compatible = "fixed-clock";
312f126890aSEmmanuel Vadot		#clock-cells = <0>;
313f126890aSEmmanuel Vadot		clock-frequency = <74250000>;
314f126890aSEmmanuel Vadot	};
315f126890aSEmmanuel Vadot
316f126890aSEmmanuel Vadot	x13_clk: x13-clock {
317f126890aSEmmanuel Vadot		compatible = "fixed-clock";
318f126890aSEmmanuel Vadot		#clock-cells = <0>;
319f126890aSEmmanuel Vadot		clock-frequency = <148500000>;
320f126890aSEmmanuel Vadot	};
321f126890aSEmmanuel Vadot
322f126890aSEmmanuel Vadot	gpioi2c2: i2c-9 {
323f126890aSEmmanuel Vadot		#address-cells = <1>;
324f126890aSEmmanuel Vadot		#size-cells = <0>;
325f126890aSEmmanuel Vadot		compatible = "i2c-gpio";
326f126890aSEmmanuel Vadot		status = "disabled";
327f126890aSEmmanuel Vadot		scl-gpios = <&gpio2 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
328f126890aSEmmanuel Vadot		sda-gpios = <&gpio2 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
329f126890aSEmmanuel Vadot		i2c-gpio,delay-us = <5>;
330f126890aSEmmanuel Vadot	};
331f126890aSEmmanuel Vadot
332f126890aSEmmanuel Vadot	gpioi2c4: i2c-10 {
333f126890aSEmmanuel Vadot		#address-cells = <1>;
334f126890aSEmmanuel Vadot		#size-cells = <0>;
335f126890aSEmmanuel Vadot		compatible = "i2c-gpio";
336f126890aSEmmanuel Vadot		status = "disabled";
337f126890aSEmmanuel Vadot		scl-gpios = <&gpio7 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
338f126890aSEmmanuel Vadot		sda-gpios = <&gpio7 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
339f126890aSEmmanuel Vadot		i2c-gpio,delay-us = <5>;
340f126890aSEmmanuel Vadot	};
341f126890aSEmmanuel Vadot
342f126890aSEmmanuel Vadot	/*
343f126890aSEmmanuel Vadot	 * A fallback to GPIO is provided for I2C2.
344f126890aSEmmanuel Vadot	 */
345*8d13bc63SEmmanuel Vadot	i2chdmi: i2c-mux1 {
346f126890aSEmmanuel Vadot		compatible = "i2c-demux-pinctrl";
347f126890aSEmmanuel Vadot		i2c-parent = <&i2c2>, <&gpioi2c2>;
348f126890aSEmmanuel Vadot		i2c-bus-name = "i2c-hdmi";
349f126890aSEmmanuel Vadot		#address-cells = <1>;
350f126890aSEmmanuel Vadot		#size-cells = <0>;
351f126890aSEmmanuel Vadot
352f126890aSEmmanuel Vadot		ak4643: codec@12 {
353f126890aSEmmanuel Vadot			compatible = "asahi-kasei,ak4643";
354f126890aSEmmanuel Vadot			#sound-dai-cells = <0>;
355f126890aSEmmanuel Vadot			reg = <0x12>;
356f126890aSEmmanuel Vadot		};
357f126890aSEmmanuel Vadot
358f126890aSEmmanuel Vadot		composite-in@20 {
359f126890aSEmmanuel Vadot			compatible = "adi,adv7180cp";
360f126890aSEmmanuel Vadot			reg = <0x20>;
361f126890aSEmmanuel Vadot
362f126890aSEmmanuel Vadot			ports {
363f126890aSEmmanuel Vadot				#address-cells = <1>;
364f126890aSEmmanuel Vadot				#size-cells = <0>;
365f126890aSEmmanuel Vadot
366f126890aSEmmanuel Vadot				port@0 {
367f126890aSEmmanuel Vadot					reg = <0>;
368f126890aSEmmanuel Vadot					adv7180_in: endpoint {
369f126890aSEmmanuel Vadot						remote-endpoint = <&composite_con_in>;
370f126890aSEmmanuel Vadot					};
371f126890aSEmmanuel Vadot				};
372f126890aSEmmanuel Vadot
373f126890aSEmmanuel Vadot				port@3 {
374f126890aSEmmanuel Vadot					reg = <3>;
375f126890aSEmmanuel Vadot					adv7180_out: endpoint {
376f126890aSEmmanuel Vadot						bus-width = <8>;
377f126890aSEmmanuel Vadot						remote-endpoint = <&vin1ep>;
378f126890aSEmmanuel Vadot					};
379f126890aSEmmanuel Vadot				};
380f126890aSEmmanuel Vadot			};
381f126890aSEmmanuel Vadot		};
382f126890aSEmmanuel Vadot
383f126890aSEmmanuel Vadot		hdmi@39 {
384f126890aSEmmanuel Vadot			compatible = "adi,adv7511w";
385f126890aSEmmanuel Vadot			reg = <0x39>;
386f126890aSEmmanuel Vadot			interrupt-parent = <&gpio3>;
387f126890aSEmmanuel Vadot			interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
388f126890aSEmmanuel Vadot
389*8d13bc63SEmmanuel Vadot			avdd-supply = <&reg_1p8v>;
390*8d13bc63SEmmanuel Vadot			dvdd-supply = <&reg_1p8v>;
391*8d13bc63SEmmanuel Vadot			pvdd-supply = <&reg_1p8v>;
392*8d13bc63SEmmanuel Vadot			dvdd-3v-supply = <&reg_3p3v>;
393*8d13bc63SEmmanuel Vadot			bgvdd-supply = <&reg_1p8v>;
394*8d13bc63SEmmanuel Vadot
395f126890aSEmmanuel Vadot			adi,input-depth = <8>;
396f126890aSEmmanuel Vadot			adi,input-colorspace = "rgb";
397f126890aSEmmanuel Vadot			adi,input-clock = "1x";
398f126890aSEmmanuel Vadot
399f126890aSEmmanuel Vadot			ports {
400f126890aSEmmanuel Vadot				#address-cells = <1>;
401f126890aSEmmanuel Vadot				#size-cells = <0>;
402f126890aSEmmanuel Vadot
403f126890aSEmmanuel Vadot				port@0 {
404f126890aSEmmanuel Vadot					reg = <0>;
405f126890aSEmmanuel Vadot					adv7511_in: endpoint {
406f126890aSEmmanuel Vadot						remote-endpoint = <&du_out_rgb>;
407f126890aSEmmanuel Vadot					};
408f126890aSEmmanuel Vadot				};
409f126890aSEmmanuel Vadot
410f126890aSEmmanuel Vadot				port@1 {
411f126890aSEmmanuel Vadot					reg = <1>;
412f126890aSEmmanuel Vadot					adv7511_out: endpoint {
413f126890aSEmmanuel Vadot						remote-endpoint = <&hdmi_con_out>;
414f126890aSEmmanuel Vadot					};
415f126890aSEmmanuel Vadot				};
416f126890aSEmmanuel Vadot			};
417f126890aSEmmanuel Vadot		};
418f126890aSEmmanuel Vadot
419f126890aSEmmanuel Vadot		hdmi-in@4c {
420f126890aSEmmanuel Vadot			compatible = "adi,adv7612";
421f126890aSEmmanuel Vadot			reg = <0x4c>;
422f126890aSEmmanuel Vadot			interrupt-parent = <&gpio4>;
423f126890aSEmmanuel Vadot			interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
424f126890aSEmmanuel Vadot			default-input = <0>;
425f126890aSEmmanuel Vadot
426f126890aSEmmanuel Vadot			ports {
427f126890aSEmmanuel Vadot				#address-cells = <1>;
428f126890aSEmmanuel Vadot				#size-cells = <0>;
429f126890aSEmmanuel Vadot
430f126890aSEmmanuel Vadot				port@0 {
431f126890aSEmmanuel Vadot					reg = <0>;
432f126890aSEmmanuel Vadot					adv7612_in: endpoint {
433f126890aSEmmanuel Vadot						remote-endpoint = <&hdmi_con_in>;
434f126890aSEmmanuel Vadot					};
435f126890aSEmmanuel Vadot				};
436f126890aSEmmanuel Vadot
437f126890aSEmmanuel Vadot				port@2 {
438f126890aSEmmanuel Vadot					reg = <2>;
439f126890aSEmmanuel Vadot					adv7612_out: endpoint {
440f126890aSEmmanuel Vadot						remote-endpoint = <&vin0ep2>;
441f126890aSEmmanuel Vadot					};
442f126890aSEmmanuel Vadot				};
443f126890aSEmmanuel Vadot			};
444f126890aSEmmanuel Vadot		};
445f126890aSEmmanuel Vadot
446f126890aSEmmanuel Vadot		eeprom@50 {
447f126890aSEmmanuel Vadot			compatible = "renesas,r1ex24002", "atmel,24c02";
448f126890aSEmmanuel Vadot			reg = <0x50>;
449f126890aSEmmanuel Vadot			pagesize = <16>;
450f126890aSEmmanuel Vadot		};
451f126890aSEmmanuel Vadot	};
452f126890aSEmmanuel Vadot
453f126890aSEmmanuel Vadot	/*
454f126890aSEmmanuel Vadot	 * I2C4 is routed to EXIO connector E, pins 37 (SCL) + 39 (SDA).
455f126890aSEmmanuel Vadot	 * A fallback to GPIO is provided.
456f126890aSEmmanuel Vadot	 */
457*8d13bc63SEmmanuel Vadot	i2cexio4: i2c-mux2 {
458f126890aSEmmanuel Vadot		compatible = "i2c-demux-pinctrl";
459f126890aSEmmanuel Vadot		i2c-parent = <&i2c4>, <&gpioi2c4>;
460f126890aSEmmanuel Vadot		i2c-bus-name = "i2c-exio4";
461f126890aSEmmanuel Vadot		#address-cells = <1>;
462f126890aSEmmanuel Vadot		#size-cells = <0>;
463f126890aSEmmanuel Vadot	};
464f126890aSEmmanuel Vadot};
465f126890aSEmmanuel Vadot
466f126890aSEmmanuel Vadot&du {
467f126890aSEmmanuel Vadot	pinctrl-0 = <&du_pins>;
468f126890aSEmmanuel Vadot	pinctrl-names = "default";
469f126890aSEmmanuel Vadot	status = "okay";
470f126890aSEmmanuel Vadot
471f126890aSEmmanuel Vadot	clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
472f126890aSEmmanuel Vadot		 <&x13_clk>, <&x2_clk>;
473f126890aSEmmanuel Vadot	clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
474f126890aSEmmanuel Vadot
475f126890aSEmmanuel Vadot	ports {
476f126890aSEmmanuel Vadot		port@0 {
477f126890aSEmmanuel Vadot			endpoint {
478f126890aSEmmanuel Vadot				remote-endpoint = <&adv7511_in>;
479f126890aSEmmanuel Vadot			};
480f126890aSEmmanuel Vadot		};
481f126890aSEmmanuel Vadot	};
482f126890aSEmmanuel Vadot};
483f126890aSEmmanuel Vadot
484f126890aSEmmanuel Vadot&lvds0 {
485f126890aSEmmanuel Vadot	ports {
486f126890aSEmmanuel Vadot		port@1 {
487f126890aSEmmanuel Vadot			lvds_connector: endpoint {
488f126890aSEmmanuel Vadot			};
489f126890aSEmmanuel Vadot		};
490f126890aSEmmanuel Vadot	};
491f126890aSEmmanuel Vadot};
492f126890aSEmmanuel Vadot
493f126890aSEmmanuel Vadot&extal_clk {
494f126890aSEmmanuel Vadot	clock-frequency = <20000000>;
495f126890aSEmmanuel Vadot};
496f126890aSEmmanuel Vadot
497f126890aSEmmanuel Vadot&pfc {
498f126890aSEmmanuel Vadot	pinctrl-0 = <&scif_clk_pins>;
499f126890aSEmmanuel Vadot	pinctrl-names = "default";
500f126890aSEmmanuel Vadot
501f126890aSEmmanuel Vadot	i2c2_pins: i2c2 {
502f126890aSEmmanuel Vadot		groups = "i2c2";
503f126890aSEmmanuel Vadot		function = "i2c2";
504f126890aSEmmanuel Vadot	};
505f126890aSEmmanuel Vadot
506f126890aSEmmanuel Vadot	i2c4_pins: i2c4 {
507f126890aSEmmanuel Vadot		groups = "i2c4_c";
508f126890aSEmmanuel Vadot		function = "i2c4";
509f126890aSEmmanuel Vadot	};
510f126890aSEmmanuel Vadot
511f126890aSEmmanuel Vadot	du_pins: du {
512f126890aSEmmanuel Vadot		groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
513f126890aSEmmanuel Vadot		function = "du";
514f126890aSEmmanuel Vadot	};
515f126890aSEmmanuel Vadot
516f126890aSEmmanuel Vadot	scif0_pins: scif0 {
517f126890aSEmmanuel Vadot		groups = "scif0_data_d";
518f126890aSEmmanuel Vadot		function = "scif0";
519f126890aSEmmanuel Vadot	};
520f126890aSEmmanuel Vadot
521f126890aSEmmanuel Vadot	scif1_pins: scif1 {
522f126890aSEmmanuel Vadot		groups = "scif1_data_d";
523f126890aSEmmanuel Vadot		function = "scif1";
524f126890aSEmmanuel Vadot	};
525f126890aSEmmanuel Vadot
526f126890aSEmmanuel Vadot	scif_clk_pins: scif_clk {
527f126890aSEmmanuel Vadot		groups = "scif_clk";
528f126890aSEmmanuel Vadot		function = "scif_clk";
529f126890aSEmmanuel Vadot	};
530f126890aSEmmanuel Vadot
531f126890aSEmmanuel Vadot	ether_pins: ether {
532f126890aSEmmanuel Vadot		groups = "eth_link", "eth_mdio", "eth_rmii";
533f126890aSEmmanuel Vadot		function = "eth";
534f126890aSEmmanuel Vadot	};
535f126890aSEmmanuel Vadot
536f126890aSEmmanuel Vadot	phy1_pins: phy1 {
537f126890aSEmmanuel Vadot		groups = "intc_irq0";
538f126890aSEmmanuel Vadot		function = "intc";
539f126890aSEmmanuel Vadot	};
540f126890aSEmmanuel Vadot
541f126890aSEmmanuel Vadot	pmic_irq_pins: pmicirq {
542f126890aSEmmanuel Vadot		groups = "intc_irq2";
543f126890aSEmmanuel Vadot		function = "intc";
544f126890aSEmmanuel Vadot	};
545f126890aSEmmanuel Vadot
546f126890aSEmmanuel Vadot	sdhi0_pins: sd0 {
547f126890aSEmmanuel Vadot		groups = "sdhi0_data4", "sdhi0_ctrl";
548f126890aSEmmanuel Vadot		function = "sdhi0";
549f126890aSEmmanuel Vadot		power-source = <3300>;
550f126890aSEmmanuel Vadot	};
551f126890aSEmmanuel Vadot
552f126890aSEmmanuel Vadot	sdhi0_pins_uhs: sd0_uhs {
553f126890aSEmmanuel Vadot		groups = "sdhi0_data4", "sdhi0_ctrl";
554f126890aSEmmanuel Vadot		function = "sdhi0";
555f126890aSEmmanuel Vadot		power-source = <1800>;
556f126890aSEmmanuel Vadot	};
557f126890aSEmmanuel Vadot
558f126890aSEmmanuel Vadot	sdhi1_pins: sd1 {
559f126890aSEmmanuel Vadot		groups = "sdhi1_data4", "sdhi1_ctrl";
560f126890aSEmmanuel Vadot		function = "sdhi1";
561f126890aSEmmanuel Vadot		power-source = <3300>;
562f126890aSEmmanuel Vadot	};
563f126890aSEmmanuel Vadot
564f126890aSEmmanuel Vadot	sdhi1_pins_uhs: sd1_uhs {
565f126890aSEmmanuel Vadot		groups = "sdhi1_data4", "sdhi1_ctrl";
566f126890aSEmmanuel Vadot		function = "sdhi1";
567f126890aSEmmanuel Vadot		power-source = <1800>;
568f126890aSEmmanuel Vadot	};
569f126890aSEmmanuel Vadot
570f126890aSEmmanuel Vadot	sdhi2_pins: sd2 {
571f126890aSEmmanuel Vadot		groups = "sdhi2_data4", "sdhi2_ctrl";
572f126890aSEmmanuel Vadot		function = "sdhi2";
573f126890aSEmmanuel Vadot		power-source = <3300>;
574f126890aSEmmanuel Vadot	};
575f126890aSEmmanuel Vadot
576f126890aSEmmanuel Vadot	sdhi2_pins_uhs: sd2_uhs {
577f126890aSEmmanuel Vadot		groups = "sdhi2_data4", "sdhi2_ctrl";
578f126890aSEmmanuel Vadot		function = "sdhi2";
579f126890aSEmmanuel Vadot		power-source = <1800>;
580f126890aSEmmanuel Vadot	};
581f126890aSEmmanuel Vadot
582f126890aSEmmanuel Vadot	qspi_pins: qspi {
583f126890aSEmmanuel Vadot		groups = "qspi_ctrl", "qspi_data4";
584f126890aSEmmanuel Vadot		function = "qspi";
585f126890aSEmmanuel Vadot	};
586f126890aSEmmanuel Vadot
587f126890aSEmmanuel Vadot	sound_pins: sound {
588f126890aSEmmanuel Vadot		groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
589f126890aSEmmanuel Vadot		function = "ssi";
590f126890aSEmmanuel Vadot	};
591f126890aSEmmanuel Vadot
592f126890aSEmmanuel Vadot	sound_clk_pins: sound_clk {
593f126890aSEmmanuel Vadot		groups = "audio_clk_a";
594f126890aSEmmanuel Vadot		function = "audio_clk";
595f126890aSEmmanuel Vadot	};
596f126890aSEmmanuel Vadot
597f126890aSEmmanuel Vadot	keyboard_pins: keyboard {
598f126890aSEmmanuel Vadot		pins = "GP_5_0", "GP_5_1", "GP_5_2", "GP_5_3";
599f126890aSEmmanuel Vadot		bias-pull-up;
600f126890aSEmmanuel Vadot	};
601f126890aSEmmanuel Vadot
602f126890aSEmmanuel Vadot	vin0_pins: vin0 {
603f126890aSEmmanuel Vadot		groups = "vin0_data24", "vin0_sync", "vin0_clkenb", "vin0_clk";
604f126890aSEmmanuel Vadot		function = "vin0";
605f126890aSEmmanuel Vadot	};
606f126890aSEmmanuel Vadot
607f126890aSEmmanuel Vadot	vin1_pins: vin1 {
608f126890aSEmmanuel Vadot		groups = "vin1_data8", "vin1_clk";
609f126890aSEmmanuel Vadot		function = "vin1";
610f126890aSEmmanuel Vadot	};
611f126890aSEmmanuel Vadot};
612f126890aSEmmanuel Vadot
613f126890aSEmmanuel Vadot&ether {
614f126890aSEmmanuel Vadot	pinctrl-0 = <&ether_pins>, <&phy1_pins>;
615f126890aSEmmanuel Vadot	pinctrl-names = "default";
616f126890aSEmmanuel Vadot
617f126890aSEmmanuel Vadot	phy-handle = <&phy1>;
618f126890aSEmmanuel Vadot	renesas,ether-link-active-low;
619f126890aSEmmanuel Vadot	status = "okay";
620f126890aSEmmanuel Vadot
621f126890aSEmmanuel Vadot	phy1: ethernet-phy@1 {
622f126890aSEmmanuel Vadot		compatible = "ethernet-phy-id0022.1537",
623f126890aSEmmanuel Vadot			     "ethernet-phy-ieee802.3-c22";
624f126890aSEmmanuel Vadot		reg = <1>;
625f126890aSEmmanuel Vadot		interrupt-parent = <&irqc0>;
626f126890aSEmmanuel Vadot		interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
627f126890aSEmmanuel Vadot		micrel,led-mode = <1>;
628f126890aSEmmanuel Vadot		reset-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
629f126890aSEmmanuel Vadot	};
630f126890aSEmmanuel Vadot};
631f126890aSEmmanuel Vadot
632f126890aSEmmanuel Vadot&cmt0 {
633f126890aSEmmanuel Vadot	status = "okay";
634f126890aSEmmanuel Vadot};
635f126890aSEmmanuel Vadot
636f126890aSEmmanuel Vadot&cpu0 {
637f126890aSEmmanuel Vadot	cpu0-supply = <&vdd_dvfs>;
638f126890aSEmmanuel Vadot};
639f126890aSEmmanuel Vadot
640f126890aSEmmanuel Vadot&rwdt {
641f126890aSEmmanuel Vadot	timeout-sec = <60>;
642f126890aSEmmanuel Vadot	status = "okay";
643f126890aSEmmanuel Vadot};
644f126890aSEmmanuel Vadot
645f126890aSEmmanuel Vadot&scif0 {
646f126890aSEmmanuel Vadot	pinctrl-0 = <&scif0_pins>;
647f126890aSEmmanuel Vadot	pinctrl-names = "default";
648f126890aSEmmanuel Vadot
649f126890aSEmmanuel Vadot	status = "okay";
650f126890aSEmmanuel Vadot};
651f126890aSEmmanuel Vadot
652f126890aSEmmanuel Vadot&scif1 {
653f126890aSEmmanuel Vadot	pinctrl-0 = <&scif1_pins>;
654f126890aSEmmanuel Vadot	pinctrl-names = "default";
655f126890aSEmmanuel Vadot
656f126890aSEmmanuel Vadot	status = "okay";
657f126890aSEmmanuel Vadot};
658f126890aSEmmanuel Vadot
659f126890aSEmmanuel Vadot&scif_clk {
660f126890aSEmmanuel Vadot	clock-frequency = <14745600>;
661f126890aSEmmanuel Vadot};
662f126890aSEmmanuel Vadot
663f126890aSEmmanuel Vadot&sdhi0 {
664f126890aSEmmanuel Vadot	pinctrl-0 = <&sdhi0_pins>;
665f126890aSEmmanuel Vadot	pinctrl-1 = <&sdhi0_pins_uhs>;
666f126890aSEmmanuel Vadot	pinctrl-names = "default", "state_uhs";
667f126890aSEmmanuel Vadot
668f126890aSEmmanuel Vadot	vmmc-supply = <&vcc_sdhi0>;
669f126890aSEmmanuel Vadot	vqmmc-supply = <&vccq_sdhi0>;
670f126890aSEmmanuel Vadot	cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
671f126890aSEmmanuel Vadot	wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
672f126890aSEmmanuel Vadot	sd-uhs-sdr50;
673f126890aSEmmanuel Vadot	sd-uhs-sdr104;
674f126890aSEmmanuel Vadot	status = "okay";
675f126890aSEmmanuel Vadot};
676f126890aSEmmanuel Vadot
677f126890aSEmmanuel Vadot&sdhi1 {
678f126890aSEmmanuel Vadot	pinctrl-0 = <&sdhi1_pins>;
679f126890aSEmmanuel Vadot	pinctrl-1 = <&sdhi1_pins_uhs>;
680f126890aSEmmanuel Vadot	pinctrl-names = "default", "state_uhs";
681f126890aSEmmanuel Vadot
682f126890aSEmmanuel Vadot	vmmc-supply = <&vcc_sdhi1>;
683f126890aSEmmanuel Vadot	vqmmc-supply = <&vccq_sdhi1>;
684f126890aSEmmanuel Vadot	cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
685f126890aSEmmanuel Vadot	wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
686f126890aSEmmanuel Vadot	sd-uhs-sdr50;
687f126890aSEmmanuel Vadot	status = "okay";
688f126890aSEmmanuel Vadot};
689f126890aSEmmanuel Vadot
690f126890aSEmmanuel Vadot&sdhi2 {
691f126890aSEmmanuel Vadot	pinctrl-0 = <&sdhi2_pins>;
692f126890aSEmmanuel Vadot	pinctrl-1 = <&sdhi2_pins_uhs>;
693f126890aSEmmanuel Vadot	pinctrl-names = "default", "state_uhs";
694f126890aSEmmanuel Vadot
695f126890aSEmmanuel Vadot	vmmc-supply = <&vcc_sdhi2>;
696f126890aSEmmanuel Vadot	vqmmc-supply = <&vccq_sdhi2>;
697f126890aSEmmanuel Vadot	cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
698f126890aSEmmanuel Vadot	sd-uhs-sdr50;
699f126890aSEmmanuel Vadot	status = "okay";
700f126890aSEmmanuel Vadot};
701f126890aSEmmanuel Vadot
702f126890aSEmmanuel Vadot&qspi {
703f126890aSEmmanuel Vadot	pinctrl-0 = <&qspi_pins>;
704f126890aSEmmanuel Vadot	pinctrl-names = "default";
705f126890aSEmmanuel Vadot
706f126890aSEmmanuel Vadot	status = "okay";
707f126890aSEmmanuel Vadot
708f126890aSEmmanuel Vadot	flash@0 {
709f126890aSEmmanuel Vadot		compatible = "spansion,s25fl512s", "jedec,spi-nor";
710f126890aSEmmanuel Vadot		reg = <0>;
711f126890aSEmmanuel Vadot		spi-max-frequency = <30000000>;
712f126890aSEmmanuel Vadot		spi-tx-bus-width = <4>;
713f126890aSEmmanuel Vadot		spi-rx-bus-width = <4>;
714f126890aSEmmanuel Vadot		spi-cpol;
715f126890aSEmmanuel Vadot		spi-cpha;
716f126890aSEmmanuel Vadot		m25p,fast-read;
717f126890aSEmmanuel Vadot
718f126890aSEmmanuel Vadot		partitions {
719f126890aSEmmanuel Vadot			compatible = "fixed-partitions";
720f126890aSEmmanuel Vadot			#address-cells = <1>;
721f126890aSEmmanuel Vadot			#size-cells = <1>;
722f126890aSEmmanuel Vadot
723f126890aSEmmanuel Vadot			partition@0 {
724f126890aSEmmanuel Vadot				label = "loader";
725f126890aSEmmanuel Vadot				reg = <0x00000000 0x00040000>;
726f126890aSEmmanuel Vadot				read-only;
727f126890aSEmmanuel Vadot			};
728f126890aSEmmanuel Vadot			partition@40000 {
729f126890aSEmmanuel Vadot				label = "user";
730f126890aSEmmanuel Vadot				reg = <0x00040000 0x00400000>;
731f126890aSEmmanuel Vadot				read-only;
732f126890aSEmmanuel Vadot			};
733f126890aSEmmanuel Vadot			partition@440000 {
734f126890aSEmmanuel Vadot				label = "flash";
735f126890aSEmmanuel Vadot				reg = <0x00440000 0x03bc0000>;
736f126890aSEmmanuel Vadot			};
737f126890aSEmmanuel Vadot		};
738f126890aSEmmanuel Vadot	};
739f126890aSEmmanuel Vadot};
740f126890aSEmmanuel Vadot
741f126890aSEmmanuel Vadot&i2c2 {
742f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c2_pins>;
743f126890aSEmmanuel Vadot	pinctrl-names = "i2c-hdmi";
744f126890aSEmmanuel Vadot
745f126890aSEmmanuel Vadot	status = "okay";
746f126890aSEmmanuel Vadot	clock-frequency = <100000>;
747f126890aSEmmanuel Vadot
748f126890aSEmmanuel Vadot};
749f126890aSEmmanuel Vadot
750f126890aSEmmanuel Vadot&i2c6 {
751f126890aSEmmanuel Vadot	pinctrl-names = "default";
752f126890aSEmmanuel Vadot	pinctrl-0 = <&pmic_irq_pins>;
753f126890aSEmmanuel Vadot	status = "okay";
754f126890aSEmmanuel Vadot	clock-frequency = <100000>;
755f126890aSEmmanuel Vadot
756f126890aSEmmanuel Vadot	pmic@58 {
757f126890aSEmmanuel Vadot		compatible = "dlg,da9063";
758f126890aSEmmanuel Vadot		reg = <0x58>;
759f126890aSEmmanuel Vadot		interrupt-parent = <&irqc0>;
760f126890aSEmmanuel Vadot		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
761f126890aSEmmanuel Vadot		interrupt-controller;
762*8d13bc63SEmmanuel Vadot		#interrupt-cells = <2>;
763f126890aSEmmanuel Vadot
764f126890aSEmmanuel Vadot		rtc {
765f126890aSEmmanuel Vadot			compatible = "dlg,da9063-rtc";
766f126890aSEmmanuel Vadot		};
767f126890aSEmmanuel Vadot
768f126890aSEmmanuel Vadot		watchdog {
769f126890aSEmmanuel Vadot			compatible = "dlg,da9063-watchdog";
770f126890aSEmmanuel Vadot		};
771f126890aSEmmanuel Vadot	};
772f126890aSEmmanuel Vadot
773f126890aSEmmanuel Vadot	vdd_dvfs: regulator@68 {
774f126890aSEmmanuel Vadot		compatible = "dlg,da9210";
775f126890aSEmmanuel Vadot		reg = <0x68>;
776f126890aSEmmanuel Vadot		interrupt-parent = <&irqc0>;
777f126890aSEmmanuel Vadot		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
778f126890aSEmmanuel Vadot
779f126890aSEmmanuel Vadot		regulator-min-microvolt = <1000000>;
780f126890aSEmmanuel Vadot		regulator-max-microvolt = <1000000>;
781f126890aSEmmanuel Vadot		regulator-boot-on;
782f126890aSEmmanuel Vadot		regulator-always-on;
783f126890aSEmmanuel Vadot	};
784f126890aSEmmanuel Vadot};
785f126890aSEmmanuel Vadot
786f126890aSEmmanuel Vadot&i2c4 {
787f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c4_pins>;
788f126890aSEmmanuel Vadot	pinctrl-names = "i2c-exio4";
789f126890aSEmmanuel Vadot};
790f126890aSEmmanuel Vadot
791f126890aSEmmanuel Vadot&rcar_sound {
792f126890aSEmmanuel Vadot	pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
793f126890aSEmmanuel Vadot	pinctrl-names = "default";
794f126890aSEmmanuel Vadot
795f126890aSEmmanuel Vadot	/* Single DAI */
796f126890aSEmmanuel Vadot	#sound-dai-cells = <0>;
797f126890aSEmmanuel Vadot
798f126890aSEmmanuel Vadot	status = "okay";
799f126890aSEmmanuel Vadot
800f126890aSEmmanuel Vadot	rcar_sound,dai {
801f126890aSEmmanuel Vadot		dai0 {
802f126890aSEmmanuel Vadot			playback = <&ssi0>, <&src2>, <&dvc0>;
803f126890aSEmmanuel Vadot			capture  = <&ssi1>, <&src3>, <&dvc1>;
804f126890aSEmmanuel Vadot		};
805f126890aSEmmanuel Vadot	};
806f126890aSEmmanuel Vadot};
807f126890aSEmmanuel Vadot
808f126890aSEmmanuel Vadot&ssi1 {
809f126890aSEmmanuel Vadot	shared-pin;
810f126890aSEmmanuel Vadot};
811f126890aSEmmanuel Vadot
812f126890aSEmmanuel Vadot/* HDMI video input */
813f126890aSEmmanuel Vadot&vin0 {
814f126890aSEmmanuel Vadot	status = "okay";
815f126890aSEmmanuel Vadot	pinctrl-0 = <&vin0_pins>;
816f126890aSEmmanuel Vadot	pinctrl-names = "default";
817f126890aSEmmanuel Vadot
818f126890aSEmmanuel Vadot	port {
819f126890aSEmmanuel Vadot		vin0ep2: endpoint {
820f126890aSEmmanuel Vadot			remote-endpoint = <&adv7612_out>;
821f126890aSEmmanuel Vadot			bus-width = <24>;
822f126890aSEmmanuel Vadot			hsync-active = <0>;
823f126890aSEmmanuel Vadot			vsync-active = <0>;
824f126890aSEmmanuel Vadot			pclk-sample = <1>;
825f126890aSEmmanuel Vadot			data-active = <1>;
826f126890aSEmmanuel Vadot		};
827f126890aSEmmanuel Vadot	};
828f126890aSEmmanuel Vadot};
829f126890aSEmmanuel Vadot
830f126890aSEmmanuel Vadot/* composite video input */
831f126890aSEmmanuel Vadot&vin1 {
832f126890aSEmmanuel Vadot	pinctrl-0 = <&vin1_pins>;
833f126890aSEmmanuel Vadot	pinctrl-names = "default";
834f126890aSEmmanuel Vadot
835f126890aSEmmanuel Vadot	status = "okay";
836f126890aSEmmanuel Vadot
837f126890aSEmmanuel Vadot	port {
838f126890aSEmmanuel Vadot		vin1ep: endpoint {
839f126890aSEmmanuel Vadot			remote-endpoint = <&adv7180_out>;
840f126890aSEmmanuel Vadot			bus-width = <8>;
841f126890aSEmmanuel Vadot		};
842f126890aSEmmanuel Vadot	};
843f126890aSEmmanuel Vadot};
844