xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/ulcb.dtsi (revision 5d3b226ace6d8d6f1a9fecbfb21e7e743a88f33c)
1cba59c25SWolfram Sang// SPDX-License-Identifier: GPL-2.0
2253ed045SGeert Uytterhoeven/*
3253ed045SGeert Uytterhoeven * Device Tree Source for the R-Car Gen3 ULCB board
4253ed045SGeert Uytterhoeven *
5253ed045SGeert Uytterhoeven * Copyright (C) 2016 Renesas Electronics Corp.
6253ed045SGeert Uytterhoeven * Copyright (C) 2016 Cogent Embedded, Inc.
7253ed045SGeert Uytterhoeven */
8253ed045SGeert Uytterhoeven
9253ed045SGeert Uytterhoeven#include <dt-bindings/gpio/gpio.h>
10253ed045SGeert Uytterhoeven#include <dt-bindings/input/input.h>
11253ed045SGeert Uytterhoeven
12253ed045SGeert Uytterhoeven/ {
13253ed045SGeert Uytterhoeven	model = "Renesas R-Car Gen3 ULCB board";
14253ed045SGeert Uytterhoeven
15253ed045SGeert Uytterhoeven	aliases {
16253ed045SGeert Uytterhoeven		serial0 = &scif2;
17253ed045SGeert Uytterhoeven		ethernet0 = &avb;
18253ed045SGeert Uytterhoeven	};
19253ed045SGeert Uytterhoeven
20253ed045SGeert Uytterhoeven	chosen {
21ae3d16b9SKuninori Morimoto		bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
22253ed045SGeert Uytterhoeven		stdout-path = "serial0:115200n8";
23253ed045SGeert Uytterhoeven	};
24253ed045SGeert Uytterhoeven
25253ed045SGeert Uytterhoeven	audio_clkout: audio-clkout {
26253ed045SGeert Uytterhoeven		/*
27253ed045SGeert Uytterhoeven		 * This is same as <&rcar_sound 0>
28253ed045SGeert Uytterhoeven		 * but needed to avoid cs2000/rcar_sound probe dead-lock
29253ed045SGeert Uytterhoeven		 */
30253ed045SGeert Uytterhoeven		compatible = "fixed-clock";
31253ed045SGeert Uytterhoeven		#clock-cells = <0>;
32822cecb1SKuninori Morimoto		clock-frequency = <12288000>;
33253ed045SGeert Uytterhoeven	};
34253ed045SGeert Uytterhoeven
359f9b22e8SVladimir Barinov	hdmi0-out {
369f9b22e8SVladimir Barinov		compatible = "hdmi-connector";
379f9b22e8SVladimir Barinov		type = "a";
389f9b22e8SVladimir Barinov
399f9b22e8SVladimir Barinov		port {
409f9b22e8SVladimir Barinov			hdmi0_con: endpoint {
419f9b22e8SVladimir Barinov			};
429f9b22e8SVladimir Barinov		};
439f9b22e8SVladimir Barinov	};
449f9b22e8SVladimir Barinov
45253ed045SGeert Uytterhoeven	keyboard {
46253ed045SGeert Uytterhoeven		compatible = "gpio-keys";
47253ed045SGeert Uytterhoeven
48253ed045SGeert Uytterhoeven		key-1 {
49253ed045SGeert Uytterhoeven			linux,code = <KEY_1>;
50253ed045SGeert Uytterhoeven			label = "SW3";
51253ed045SGeert Uytterhoeven			wakeup-source;
52253ed045SGeert Uytterhoeven			debounce-interval = <20>;
53253ed045SGeert Uytterhoeven			gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
54253ed045SGeert Uytterhoeven		};
55253ed045SGeert Uytterhoeven	};
56253ed045SGeert Uytterhoeven
57253ed045SGeert Uytterhoeven	leds {
58253ed045SGeert Uytterhoeven		compatible = "gpio-leds";
59253ed045SGeert Uytterhoeven
60253ed045SGeert Uytterhoeven		led5 {
61253ed045SGeert Uytterhoeven			gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
62253ed045SGeert Uytterhoeven		};
63253ed045SGeert Uytterhoeven		led6 {
64253ed045SGeert Uytterhoeven			gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
65253ed045SGeert Uytterhoeven		};
66253ed045SGeert Uytterhoeven	};
67253ed045SGeert Uytterhoeven
68253ed045SGeert Uytterhoeven	reg_1p8v: regulator0 {
69253ed045SGeert Uytterhoeven		compatible = "regulator-fixed";
70253ed045SGeert Uytterhoeven		regulator-name = "fixed-1.8V";
71253ed045SGeert Uytterhoeven		regulator-min-microvolt = <1800000>;
72253ed045SGeert Uytterhoeven		regulator-max-microvolt = <1800000>;
73253ed045SGeert Uytterhoeven		regulator-boot-on;
74253ed045SGeert Uytterhoeven		regulator-always-on;
75253ed045SGeert Uytterhoeven	};
76253ed045SGeert Uytterhoeven
77253ed045SGeert Uytterhoeven	reg_3p3v: regulator1 {
78253ed045SGeert Uytterhoeven		compatible = "regulator-fixed";
79253ed045SGeert Uytterhoeven		regulator-name = "fixed-3.3V";
80253ed045SGeert Uytterhoeven		regulator-min-microvolt = <3300000>;
81253ed045SGeert Uytterhoeven		regulator-max-microvolt = <3300000>;
82253ed045SGeert Uytterhoeven		regulator-boot-on;
83253ed045SGeert Uytterhoeven		regulator-always-on;
84253ed045SGeert Uytterhoeven	};
85253ed045SGeert Uytterhoeven
86*5d3b226aSKuninori Morimoto	sound_card: sound {
87*5d3b226aSKuninori Morimoto		compatible = "audio-graph-card";
88*5d3b226aSKuninori Morimoto		label = "rcar-sound";
89253ed045SGeert Uytterhoeven
90*5d3b226aSKuninori Morimoto		dais = <&rsnd_port0>;
91253ed045SGeert Uytterhoeven	};
92253ed045SGeert Uytterhoeven
93253ed045SGeert Uytterhoeven	vcc_sdhi0: regulator-vcc-sdhi0 {
94253ed045SGeert Uytterhoeven		compatible = "regulator-fixed";
95253ed045SGeert Uytterhoeven
96253ed045SGeert Uytterhoeven		regulator-name = "SDHI0 Vcc";
97253ed045SGeert Uytterhoeven		regulator-min-microvolt = <3300000>;
98253ed045SGeert Uytterhoeven		regulator-max-microvolt = <3300000>;
99253ed045SGeert Uytterhoeven
100253ed045SGeert Uytterhoeven		gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>;
101253ed045SGeert Uytterhoeven		enable-active-high;
102253ed045SGeert Uytterhoeven	};
103253ed045SGeert Uytterhoeven
104253ed045SGeert Uytterhoeven	vccq_sdhi0: regulator-vccq-sdhi0 {
105253ed045SGeert Uytterhoeven		compatible = "regulator-gpio";
106253ed045SGeert Uytterhoeven
107253ed045SGeert Uytterhoeven		regulator-name = "SDHI0 VccQ";
108253ed045SGeert Uytterhoeven		regulator-min-microvolt = <1800000>;
109253ed045SGeert Uytterhoeven		regulator-max-microvolt = <3300000>;
110253ed045SGeert Uytterhoeven
111253ed045SGeert Uytterhoeven		gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
112253ed045SGeert Uytterhoeven		gpios-states = <1>;
113253ed045SGeert Uytterhoeven		states = <3300000 1
114253ed045SGeert Uytterhoeven			  1800000 0>;
115253ed045SGeert Uytterhoeven	};
116253ed045SGeert Uytterhoeven
117253ed045SGeert Uytterhoeven	x12_clk: x12 {
118253ed045SGeert Uytterhoeven		compatible = "fixed-clock";
119253ed045SGeert Uytterhoeven		#clock-cells = <0>;
120253ed045SGeert Uytterhoeven		clock-frequency = <24576000>;
121253ed045SGeert Uytterhoeven	};
1228cb6898cSVladimir Barinov
1238cb6898cSVladimir Barinov	x23_clk: x23-clock {
1248cb6898cSVladimir Barinov		compatible = "fixed-clock";
1258cb6898cSVladimir Barinov		#clock-cells = <0>;
1268cb6898cSVladimir Barinov		clock-frequency = <25000000>;
1278cb6898cSVladimir Barinov	};
128253ed045SGeert Uytterhoeven};
129253ed045SGeert Uytterhoeven
130253ed045SGeert Uytterhoeven&audio_clk_a {
131253ed045SGeert Uytterhoeven	clock-frequency = <22579200>;
132253ed045SGeert Uytterhoeven};
133253ed045SGeert Uytterhoeven
134253ed045SGeert Uytterhoeven&avb {
135253ed045SGeert Uytterhoeven	pinctrl-0 = <&avb_pins>;
136253ed045SGeert Uytterhoeven	pinctrl-names = "default";
137253ed045SGeert Uytterhoeven	phy-handle = <&phy0>;
138b3635b18SJacopo Mondi	phy-mode = "rgmii-txid";
139253ed045SGeert Uytterhoeven	status = "okay";
140253ed045SGeert Uytterhoeven
141253ed045SGeert Uytterhoeven	phy0: ethernet-phy@0 {
142253ed045SGeert Uytterhoeven		rxc-skew-ps = <1500>;
143253ed045SGeert Uytterhoeven		reg = <0>;
144253ed045SGeert Uytterhoeven		interrupt-parent = <&gpio2>;
145253ed045SGeert Uytterhoeven		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
146ef4a3bc8SGeert Uytterhoeven		reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
147253ed045SGeert Uytterhoeven	};
148253ed045SGeert Uytterhoeven};
149253ed045SGeert Uytterhoeven
1507da2ed12SLaurent Pinchart&du {
1517da2ed12SLaurent Pinchart	status = "okay";
1527da2ed12SLaurent Pinchart};
1537da2ed12SLaurent Pinchart
154253ed045SGeert Uytterhoeven&ehci1 {
155253ed045SGeert Uytterhoeven	status = "okay";
156253ed045SGeert Uytterhoeven};
157253ed045SGeert Uytterhoeven
158253ed045SGeert Uytterhoeven&extal_clk {
159253ed045SGeert Uytterhoeven	clock-frequency = <16666666>;
160253ed045SGeert Uytterhoeven};
161253ed045SGeert Uytterhoeven
162253ed045SGeert Uytterhoeven&extalr_clk {
163253ed045SGeert Uytterhoeven	clock-frequency = <32768>;
164253ed045SGeert Uytterhoeven};
165253ed045SGeert Uytterhoeven
1662a50b40fSVladimir Barinov&hdmi0 {
1672a50b40fSVladimir Barinov	status = "okay";
1682a50b40fSVladimir Barinov
1692a50b40fSVladimir Barinov	ports {
1702a50b40fSVladimir Barinov		port@1 {
1712a50b40fSVladimir Barinov			reg = <1>;
1722a50b40fSVladimir Barinov			rcar_dw_hdmi0_out: endpoint {
1732a50b40fSVladimir Barinov				remote-endpoint = <&hdmi0_con>;
1742a50b40fSVladimir Barinov			};
1752a50b40fSVladimir Barinov		};
1762a50b40fSVladimir Barinov	};
1772a50b40fSVladimir Barinov};
1782a50b40fSVladimir Barinov
1792a50b40fSVladimir Barinov&hdmi0_con {
1802a50b40fSVladimir Barinov	remote-endpoint = <&rcar_dw_hdmi0_out>;
1812a50b40fSVladimir Barinov};
1822a50b40fSVladimir Barinov
183253ed045SGeert Uytterhoeven&i2c2 {
184253ed045SGeert Uytterhoeven	pinctrl-0 = <&i2c2_pins>;
185253ed045SGeert Uytterhoeven	pinctrl-names = "default";
186253ed045SGeert Uytterhoeven
187253ed045SGeert Uytterhoeven	status = "okay";
188253ed045SGeert Uytterhoeven
189253ed045SGeert Uytterhoeven	clock-frequency = <100000>;
190253ed045SGeert Uytterhoeven
191253ed045SGeert Uytterhoeven	ak4613: codec@10 {
192253ed045SGeert Uytterhoeven		compatible = "asahi-kasei,ak4613";
193253ed045SGeert Uytterhoeven		#sound-dai-cells = <0>;
194253ed045SGeert Uytterhoeven		reg = <0x10>;
195253ed045SGeert Uytterhoeven		clocks = <&rcar_sound 3>;
196253ed045SGeert Uytterhoeven
197253ed045SGeert Uytterhoeven		asahi-kasei,in1-single-end;
198253ed045SGeert Uytterhoeven		asahi-kasei,in2-single-end;
199253ed045SGeert Uytterhoeven		asahi-kasei,out1-single-end;
200253ed045SGeert Uytterhoeven		asahi-kasei,out2-single-end;
201253ed045SGeert Uytterhoeven		asahi-kasei,out3-single-end;
202253ed045SGeert Uytterhoeven		asahi-kasei,out4-single-end;
203253ed045SGeert Uytterhoeven		asahi-kasei,out5-single-end;
204253ed045SGeert Uytterhoeven		asahi-kasei,out6-single-end;
205*5d3b226aSKuninori Morimoto
206*5d3b226aSKuninori Morimoto		port {
207*5d3b226aSKuninori Morimoto			ak4613_endpoint: endpoint {
208*5d3b226aSKuninori Morimoto				remote-endpoint = <&rsnd_for_ak4613>;
209*5d3b226aSKuninori Morimoto			};
210*5d3b226aSKuninori Morimoto		};
211253ed045SGeert Uytterhoeven	};
212253ed045SGeert Uytterhoeven
213253ed045SGeert Uytterhoeven	cs2000: clk-multiplier@4f {
214253ed045SGeert Uytterhoeven		#clock-cells = <0>;
215253ed045SGeert Uytterhoeven		compatible = "cirrus,cs2000-cp";
216253ed045SGeert Uytterhoeven		reg = <0x4f>;
217253ed045SGeert Uytterhoeven		clocks = <&audio_clkout>, <&x12_clk>;
218253ed045SGeert Uytterhoeven		clock-names = "clk_in", "ref_clk";
219253ed045SGeert Uytterhoeven
220253ed045SGeert Uytterhoeven		assigned-clocks = <&cs2000>;
221253ed045SGeert Uytterhoeven		assigned-clock-rates = <24576000>; /* 1/1 divide */
222253ed045SGeert Uytterhoeven	};
223253ed045SGeert Uytterhoeven};
224253ed045SGeert Uytterhoeven
225476b2e4fSVladimir Barinov&i2c4 {
226476b2e4fSVladimir Barinov	status = "okay";
227476b2e4fSVladimir Barinov
228476b2e4fSVladimir Barinov	clock-frequency = <400000>;
2298cb6898cSVladimir Barinov
2308cb6898cSVladimir Barinov	versaclock5: clock-generator@6a {
2318cb6898cSVladimir Barinov		compatible = "idt,5p49v5925";
2328cb6898cSVladimir Barinov		reg = <0x6a>;
2338cb6898cSVladimir Barinov		#clock-cells = <1>;
2348cb6898cSVladimir Barinov		clocks = <&x23_clk>;
2358cb6898cSVladimir Barinov		clock-names = "xin";
2368cb6898cSVladimir Barinov	};
237476b2e4fSVladimir Barinov};
238476b2e4fSVladimir Barinov
239a4fedb3aSVladimir Barinov&i2c_dvfs {
240a4fedb3aSVladimir Barinov	status = "okay";
241786f3cc0SGeert Uytterhoeven
24211a33f81SWolfram Sang	clock-frequency = <400000>;
24311a33f81SWolfram Sang
244786f3cc0SGeert Uytterhoeven	pmic: pmic@30 {
245786f3cc0SGeert Uytterhoeven		pinctrl-0 = <&irq0_pins>;
246786f3cc0SGeert Uytterhoeven		pinctrl-names = "default";
247786f3cc0SGeert Uytterhoeven
248786f3cc0SGeert Uytterhoeven		compatible = "rohm,bd9571mwv";
249786f3cc0SGeert Uytterhoeven		reg = <0x30>;
250786f3cc0SGeert Uytterhoeven		interrupt-parent = <&intc_ex>;
251786f3cc0SGeert Uytterhoeven		interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
252786f3cc0SGeert Uytterhoeven		interrupt-controller;
253786f3cc0SGeert Uytterhoeven		#interrupt-cells = <2>;
254786f3cc0SGeert Uytterhoeven		gpio-controller;
255786f3cc0SGeert Uytterhoeven		#gpio-cells = <2>;
2561c81a633SGeert Uytterhoeven		rohm,ddr-backup-power = <0xf>;
2571c81a633SGeert Uytterhoeven		rohm,rstbmode-pulse;
258786f3cc0SGeert Uytterhoeven
259786f3cc0SGeert Uytterhoeven		regulators {
260786f3cc0SGeert Uytterhoeven			dvfs: dvfs {
261786f3cc0SGeert Uytterhoeven				regulator-name = "dvfs";
262786f3cc0SGeert Uytterhoeven				regulator-min-microvolt = <750000>;
263786f3cc0SGeert Uytterhoeven				regulator-max-microvolt = <1030000>;
264786f3cc0SGeert Uytterhoeven				regulator-boot-on;
265786f3cc0SGeert Uytterhoeven				regulator-always-on;
266786f3cc0SGeert Uytterhoeven			};
267786f3cc0SGeert Uytterhoeven		};
268786f3cc0SGeert Uytterhoeven	};
269a4fedb3aSVladimir Barinov};
270a4fedb3aSVladimir Barinov
271253ed045SGeert Uytterhoeven&ohci1 {
272253ed045SGeert Uytterhoeven	status = "okay";
273253ed045SGeert Uytterhoeven};
274253ed045SGeert Uytterhoeven
275253ed045SGeert Uytterhoeven&pfc {
276253ed045SGeert Uytterhoeven	pinctrl-0 = <&scif_clk_pins>;
277253ed045SGeert Uytterhoeven	pinctrl-names = "default";
278253ed045SGeert Uytterhoeven
279253ed045SGeert Uytterhoeven	avb_pins: avb {
280133ace3fSSimon Horman		mux {
2811518ad14SGeert Uytterhoeven			groups = "avb_link", "avb_mdio", "avb_mii";
282253ed045SGeert Uytterhoeven			function = "avb";
283253ed045SGeert Uytterhoeven		};
284253ed045SGeert Uytterhoeven
2851518ad14SGeert Uytterhoeven		pins_mdio {
2861518ad14SGeert Uytterhoeven			groups = "avb_mdio";
287133ace3fSSimon Horman			drive-strength = <24>;
288133ace3fSSimon Horman		};
289133ace3fSSimon Horman
290133ace3fSSimon Horman		pins_mii_tx {
291133ace3fSSimon Horman			pins = "PIN_AVB_TX_CTL", "PIN_AVB_TXC", "PIN_AVB_TD0",
292133ace3fSSimon Horman			       "PIN_AVB_TD1", "PIN_AVB_TD2", "PIN_AVB_TD3";
293133ace3fSSimon Horman			drive-strength = <12>;
294133ace3fSSimon Horman		};
295133ace3fSSimon Horman	};
296133ace3fSSimon Horman
297253ed045SGeert Uytterhoeven	i2c2_pins: i2c2 {
298253ed045SGeert Uytterhoeven		groups = "i2c2_a";
299253ed045SGeert Uytterhoeven		function = "i2c2";
300253ed045SGeert Uytterhoeven	};
301253ed045SGeert Uytterhoeven
302786f3cc0SGeert Uytterhoeven	irq0_pins: irq0 {
303786f3cc0SGeert Uytterhoeven		groups = "intc_ex_irq0";
304786f3cc0SGeert Uytterhoeven		function = "intc_ex";
305786f3cc0SGeert Uytterhoeven	};
306786f3cc0SGeert Uytterhoeven
307253ed045SGeert Uytterhoeven	scif2_pins: scif2 {
308253ed045SGeert Uytterhoeven		groups = "scif2_data_a";
309253ed045SGeert Uytterhoeven		function = "scif2";
310253ed045SGeert Uytterhoeven	};
311253ed045SGeert Uytterhoeven
312253ed045SGeert Uytterhoeven	scif_clk_pins: scif_clk {
313253ed045SGeert Uytterhoeven		groups = "scif_clk_a";
314253ed045SGeert Uytterhoeven		function = "scif_clk";
315253ed045SGeert Uytterhoeven	};
316253ed045SGeert Uytterhoeven
317253ed045SGeert Uytterhoeven	sdhi0_pins: sd0 {
318253ed045SGeert Uytterhoeven		groups = "sdhi0_data4", "sdhi0_ctrl";
319253ed045SGeert Uytterhoeven		function = "sdhi0";
320253ed045SGeert Uytterhoeven		power-source = <3300>;
321253ed045SGeert Uytterhoeven	};
322253ed045SGeert Uytterhoeven
323253ed045SGeert Uytterhoeven	sdhi0_pins_uhs: sd0_uhs {
324253ed045SGeert Uytterhoeven		groups = "sdhi0_data4", "sdhi0_ctrl";
325253ed045SGeert Uytterhoeven		function = "sdhi0";
326253ed045SGeert Uytterhoeven		power-source = <1800>;
327253ed045SGeert Uytterhoeven	};
328253ed045SGeert Uytterhoeven
329253ed045SGeert Uytterhoeven	sdhi2_pins: sd2 {
330c5dd01aaSMasaharu Hayakawa		groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds";
331253ed045SGeert Uytterhoeven		function = "sdhi2";
332253ed045SGeert Uytterhoeven		power-source = <1800>;
333253ed045SGeert Uytterhoeven	};
334253ed045SGeert Uytterhoeven
335253ed045SGeert Uytterhoeven	sound_pins: sound {
336253ed045SGeert Uytterhoeven		groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data_a";
337253ed045SGeert Uytterhoeven		function = "ssi";
338253ed045SGeert Uytterhoeven	};
339253ed045SGeert Uytterhoeven
340253ed045SGeert Uytterhoeven	sound_clk_pins: sound-clk {
341253ed045SGeert Uytterhoeven		groups = "audio_clk_a_a", "audio_clk_b_a", "audio_clk_c_a",
342253ed045SGeert Uytterhoeven			 "audio_clkout_a", "audio_clkout3_a";
343253ed045SGeert Uytterhoeven		function = "audio_clk";
344253ed045SGeert Uytterhoeven	};
345253ed045SGeert Uytterhoeven
346253ed045SGeert Uytterhoeven	usb1_pins: usb1 {
347253ed045SGeert Uytterhoeven		groups = "usb1";
348253ed045SGeert Uytterhoeven		function = "usb1";
349253ed045SGeert Uytterhoeven	};
350253ed045SGeert Uytterhoeven};
351253ed045SGeert Uytterhoeven
352253ed045SGeert Uytterhoeven&rcar_sound {
353253ed045SGeert Uytterhoeven	pinctrl-0 = <&sound_pins &sound_clk_pins>;
354253ed045SGeert Uytterhoeven	pinctrl-names = "default";
355253ed045SGeert Uytterhoeven
356253ed045SGeert Uytterhoeven	/* Single DAI */
357253ed045SGeert Uytterhoeven	#sound-dai-cells = <0>;
358253ed045SGeert Uytterhoeven
359253ed045SGeert Uytterhoeven	/* audio_clkout0/1/2/3 */
360253ed045SGeert Uytterhoeven	#clock-cells = <1>;
3612752660aSVladimir Barinov	clock-frequency = <12288000 11289600>;
362253ed045SGeert Uytterhoeven
363253ed045SGeert Uytterhoeven	status = "okay";
364253ed045SGeert Uytterhoeven
365253ed045SGeert Uytterhoeven	/* update <audio_clk_b> to <cs2000> */
366253ed045SGeert Uytterhoeven	clocks = <&cpg CPG_MOD 1005>,
367253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
368253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
369253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
370253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
371253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
372253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
373253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
374253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
375253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
376253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
377253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
378253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
379253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
380253ed045SGeert Uytterhoeven		 <&audio_clk_a>, <&cs2000>,
381253ed045SGeert Uytterhoeven		 <&audio_clk_c>,
382253ed045SGeert Uytterhoeven		 <&cpg CPG_CORE CPG_AUDIO_CLK_I>;
383253ed045SGeert Uytterhoeven
384*5d3b226aSKuninori Morimoto	ports {
385*5d3b226aSKuninori Morimoto		rsnd_port0: port {
386*5d3b226aSKuninori Morimoto			rsnd_for_ak4613: endpoint {
387*5d3b226aSKuninori Morimoto				remote-endpoint = <&ak4613_endpoint>;
388*5d3b226aSKuninori Morimoto
389*5d3b226aSKuninori Morimoto				dai-format = "left_j";
390*5d3b226aSKuninori Morimoto				bitclock-master = <&rsnd_for_ak4613>;
391*5d3b226aSKuninori Morimoto				frame-master = <&rsnd_for_ak4613>;
392*5d3b226aSKuninori Morimoto
393253ed045SGeert Uytterhoeven				playback = <&ssi0 &src0 &dvc0>;
394253ed045SGeert Uytterhoeven				capture  = <&ssi1 &src1 &dvc1>;
395253ed045SGeert Uytterhoeven			};
396253ed045SGeert Uytterhoeven		};
397253ed045SGeert Uytterhoeven	};
398*5d3b226aSKuninori Morimoto};
399253ed045SGeert Uytterhoeven
400253ed045SGeert Uytterhoeven&scif2 {
401253ed045SGeert Uytterhoeven	pinctrl-0 = <&scif2_pins>;
402253ed045SGeert Uytterhoeven	pinctrl-names = "default";
403253ed045SGeert Uytterhoeven
404253ed045SGeert Uytterhoeven	status = "okay";
405253ed045SGeert Uytterhoeven};
406253ed045SGeert Uytterhoeven
407253ed045SGeert Uytterhoeven&scif_clk {
408253ed045SGeert Uytterhoeven	clock-frequency = <14745600>;
409253ed045SGeert Uytterhoeven};
410253ed045SGeert Uytterhoeven
411253ed045SGeert Uytterhoeven&sdhi0 {
412253ed045SGeert Uytterhoeven	pinctrl-0 = <&sdhi0_pins>;
413253ed045SGeert Uytterhoeven	pinctrl-1 = <&sdhi0_pins_uhs>;
414253ed045SGeert Uytterhoeven	pinctrl-names = "default", "state_uhs";
415253ed045SGeert Uytterhoeven
416253ed045SGeert Uytterhoeven	vmmc-supply = <&vcc_sdhi0>;
417253ed045SGeert Uytterhoeven	vqmmc-supply = <&vccq_sdhi0>;
418253ed045SGeert Uytterhoeven	cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
419253ed045SGeert Uytterhoeven	bus-width = <4>;
420253ed045SGeert Uytterhoeven	sd-uhs-sdr50;
4219bc03b57SWolfram Sang	sd-uhs-sdr104;
422253ed045SGeert Uytterhoeven	status = "okay";
423253ed045SGeert Uytterhoeven};
424253ed045SGeert Uytterhoeven
425253ed045SGeert Uytterhoeven&sdhi2 {
426253ed045SGeert Uytterhoeven	/* used for on-board 8bit eMMC */
427253ed045SGeert Uytterhoeven	pinctrl-0 = <&sdhi2_pins>;
4285f65328dSMarek Vasut	pinctrl-1 = <&sdhi2_pins>;
429253ed045SGeert Uytterhoeven	pinctrl-names = "default", "state_uhs";
430253ed045SGeert Uytterhoeven
431253ed045SGeert Uytterhoeven	vmmc-supply = <&reg_3p3v>;
432253ed045SGeert Uytterhoeven	vqmmc-supply = <&reg_1p8v>;
433253ed045SGeert Uytterhoeven	bus-width = <8>;
434253ed045SGeert Uytterhoeven	mmc-hs200-1_8v;
435253ed045SGeert Uytterhoeven	non-removable;
436253ed045SGeert Uytterhoeven	status = "okay";
437253ed045SGeert Uytterhoeven};
438253ed045SGeert Uytterhoeven
439253ed045SGeert Uytterhoeven&ssi1 {
440253ed045SGeert Uytterhoeven	shared-pin;
441253ed045SGeert Uytterhoeven};
442253ed045SGeert Uytterhoeven
443253ed045SGeert Uytterhoeven&usb2_phy1 {
444253ed045SGeert Uytterhoeven	pinctrl-0 = <&usb1_pins>;
445253ed045SGeert Uytterhoeven	pinctrl-names = "default";
446253ed045SGeert Uytterhoeven
447253ed045SGeert Uytterhoeven	status = "okay";
448253ed045SGeert Uytterhoeven};
449253ed045SGeert Uytterhoeven
4500b65a9adSYoshihiro Shimoda&rwdt {
451253ed045SGeert Uytterhoeven	timeout-sec = <60>;
452253ed045SGeert Uytterhoeven	status = "okay";
453253ed045SGeert Uytterhoeven};
454