xref: /linux/arch/arm/boot/dts/renesas/r8a7794-silk.dts (revision a84e0556f1347936557dabfd875b55563de52d16)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring/*
3724ba675SRob Herring * Device Tree Source for the SILK board
4724ba675SRob Herring *
5724ba675SRob Herring * Copyright (C) 2014 Renesas Electronics Corporation
6724ba675SRob Herring * Copyright (C) 2014-2015 Renesas Solutions Corp.
7724ba675SRob Herring * Copyright (C) 2014-2015 Cogent Embedded, Inc.
8724ba675SRob Herring */
9724ba675SRob Herring
10724ba675SRob Herring/*
11724ba675SRob Herring * SSI-AK4643
12724ba675SRob Herring *
13724ba675SRob Herring * SW1: 2-1: AK4643
14724ba675SRob Herring *      2-3: ADV7511
15724ba675SRob Herring *
16724ba675SRob Herring * This command is required before playback/capture:
17724ba675SRob Herring *
18724ba675SRob Herring *	amixer set "LINEOUT Mixer DACL" on
19724ba675SRob Herring */
20724ba675SRob Herring
21724ba675SRob Herring/dts-v1/;
22724ba675SRob Herring#include "r8a7794.dtsi"
23724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
24724ba675SRob Herring#include <dt-bindings/input/input.h>
25724ba675SRob Herring
26724ba675SRob Herring/ {
27724ba675SRob Herring	model = "SILK";
28724ba675SRob Herring	compatible = "renesas,silk", "renesas,r8a7794";
29724ba675SRob Herring
30724ba675SRob Herring	aliases {
31724ba675SRob Herring		serial0 = &scif2;
32724ba675SRob Herring		i2c9 = &gpioi2c1;
33724ba675SRob Herring		i2c10 = &i2chdmi;
34724ba675SRob Herring		mmc0 = &mmcif0;
35724ba675SRob Herring		mmc1 = &sdhi1;
36724ba675SRob Herring	};
37724ba675SRob Herring
38724ba675SRob Herring	chosen {
39724ba675SRob Herring		bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
40724ba675SRob Herring		stdout-path = "serial0:115200n8";
41724ba675SRob Herring	};
42724ba675SRob Herring
43724ba675SRob Herring	memory@40000000 {
44724ba675SRob Herring		device_type = "memory";
45724ba675SRob Herring		reg = <0 0x40000000 0 0x40000000>;
46724ba675SRob Herring	};
47724ba675SRob Herring
48724ba675SRob Herring	keyboard {
49724ba675SRob Herring		compatible = "gpio-keys";
50724ba675SRob Herring
51724ba675SRob Herring		pinctrl-0 = <&keyboard_pins>;
52724ba675SRob Herring		pinctrl-names = "default";
53724ba675SRob Herring
54724ba675SRob Herring		key-3 {
55724ba675SRob Herring			gpios = <&gpio5 10 GPIO_ACTIVE_LOW>;
56724ba675SRob Herring			linux,code = <KEY_3>;
57724ba675SRob Herring			label = "SW3";
58724ba675SRob Herring			wakeup-source;
59724ba675SRob Herring			debounce-interval = <20>;
60724ba675SRob Herring		};
61724ba675SRob Herring		key-4 {
62724ba675SRob Herring			gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
63724ba675SRob Herring			linux,code = <KEY_4>;
64724ba675SRob Herring			label = "SW4";
65724ba675SRob Herring			wakeup-source;
66724ba675SRob Herring			debounce-interval = <20>;
67724ba675SRob Herring		};
68724ba675SRob Herring		key-6 {
69724ba675SRob Herring			gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
70724ba675SRob Herring			linux,code = <KEY_6>;
71724ba675SRob Herring			label = "SW6";
72724ba675SRob Herring			wakeup-source;
73724ba675SRob Herring			debounce-interval = <20>;
74724ba675SRob Herring		};
75724ba675SRob Herring		key-a {
76724ba675SRob Herring			gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
77724ba675SRob Herring			linux,code = <KEY_A>;
78724ba675SRob Herring			label = "SW12-1";
79724ba675SRob Herring			wakeup-source;
80724ba675SRob Herring			debounce-interval = <20>;
81724ba675SRob Herring		};
82724ba675SRob Herring		key-b {
83724ba675SRob Herring			gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
84724ba675SRob Herring			linux,code = <KEY_B>;
85724ba675SRob Herring			label = "SW12-2";
86724ba675SRob Herring			wakeup-source;
87724ba675SRob Herring			debounce-interval = <20>;
88724ba675SRob Herring		};
89724ba675SRob Herring		key-c {
90724ba675SRob Herring			gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
91724ba675SRob Herring			linux,code = <KEY_C>;
92724ba675SRob Herring			label = "SW12-3";
93724ba675SRob Herring			wakeup-source;
94724ba675SRob Herring			debounce-interval = <20>;
95724ba675SRob Herring		};
96724ba675SRob Herring		key-d {
97724ba675SRob Herring			gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
98724ba675SRob Herring			linux,code = <KEY_D>;
99724ba675SRob Herring			label = "SW12-4";
100724ba675SRob Herring			wakeup-source;
101724ba675SRob Herring			debounce-interval = <20>;
102724ba675SRob Herring		};
103724ba675SRob Herring	};
104724ba675SRob Herring
105724ba675SRob Herring	d3_3v: regulator-d3-3v {
106724ba675SRob Herring		compatible = "regulator-fixed";
107724ba675SRob Herring		regulator-name = "D3.3V";
108724ba675SRob Herring		regulator-min-microvolt = <3300000>;
109724ba675SRob Herring		regulator-max-microvolt = <3300000>;
110724ba675SRob Herring		regulator-boot-on;
111724ba675SRob Herring		regulator-always-on;
112724ba675SRob Herring	};
113724ba675SRob Herring
114724ba675SRob Herring	vcc_sdhi1: regulator-vcc-sdhi1 {
115724ba675SRob Herring		compatible = "regulator-fixed";
116724ba675SRob Herring
117724ba675SRob Herring		regulator-name = "SDHI1 Vcc";
118724ba675SRob Herring		regulator-min-microvolt = <3300000>;
119724ba675SRob Herring		regulator-max-microvolt = <3300000>;
120724ba675SRob Herring
121724ba675SRob Herring		gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
122724ba675SRob Herring		enable-active-high;
123724ba675SRob Herring	};
124724ba675SRob Herring
125724ba675SRob Herring	vccq_sdhi1: regulator-vccq-sdhi1 {
126724ba675SRob Herring		compatible = "regulator-gpio";
127724ba675SRob Herring
128724ba675SRob Herring		regulator-name = "SDHI1 VccQ";
129724ba675SRob Herring		regulator-min-microvolt = <1800000>;
130724ba675SRob Herring		regulator-max-microvolt = <3300000>;
131724ba675SRob Herring
132724ba675SRob Herring		gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
133724ba675SRob Herring		gpios-states = <1>;
134724ba675SRob Herring		states = <3300000 1>, <1800000 0>;
135724ba675SRob Herring	};
136724ba675SRob Herring
137724ba675SRob Herring	vga-encoder {
138724ba675SRob Herring		compatible = "adi,adv7123";
139724ba675SRob Herring
140724ba675SRob Herring		ports {
141724ba675SRob Herring			#address-cells = <1>;
142724ba675SRob Herring			#size-cells = <0>;
143724ba675SRob Herring
144724ba675SRob Herring			port@0 {
145724ba675SRob Herring				reg = <0>;
146724ba675SRob Herring				adv7123_in: endpoint {
147724ba675SRob Herring					remote-endpoint = <&du_out_rgb1>;
148724ba675SRob Herring				};
149724ba675SRob Herring			};
150724ba675SRob Herring			port@1 {
151724ba675SRob Herring				reg = <1>;
152724ba675SRob Herring				adv7123_out: endpoint {
153724ba675SRob Herring					remote-endpoint = <&vga_in>;
154724ba675SRob Herring				};
155724ba675SRob Herring			};
156724ba675SRob Herring		};
157724ba675SRob Herring	};
158724ba675SRob Herring
159724ba675SRob Herring	hdmi-out {
160724ba675SRob Herring		compatible = "hdmi-connector";
161724ba675SRob Herring		type = "a";
162724ba675SRob Herring
163724ba675SRob Herring		port {
164724ba675SRob Herring			hdmi_con: endpoint {
165724ba675SRob Herring				remote-endpoint = <&adv7511_out>;
166724ba675SRob Herring			};
167724ba675SRob Herring		};
168724ba675SRob Herring	};
169724ba675SRob Herring
170724ba675SRob Herring	vga {
171724ba675SRob Herring		compatible = "vga-connector";
172724ba675SRob Herring
173724ba675SRob Herring		port {
174724ba675SRob Herring			vga_in: endpoint {
175724ba675SRob Herring				remote-endpoint = <&adv7123_out>;
176724ba675SRob Herring			};
177724ba675SRob Herring		};
178724ba675SRob Herring	};
179724ba675SRob Herring
180724ba675SRob Herring	x2_clk: x2-clock {
181724ba675SRob Herring		compatible = "fixed-clock";
182724ba675SRob Herring		#clock-cells = <0>;
183724ba675SRob Herring		clock-frequency = <148500000>;
184724ba675SRob Herring	};
185724ba675SRob Herring
186724ba675SRob Herring	x3_clk: x3-clock {
187724ba675SRob Herring		compatible = "fixed-clock";
188724ba675SRob Herring		#clock-cells = <0>;
189724ba675SRob Herring		clock-frequency = <74250000>;
190724ba675SRob Herring	};
191724ba675SRob Herring
192724ba675SRob Herring	x9_clk: audio_clock {
193724ba675SRob Herring		compatible = "fixed-clock";
194724ba675SRob Herring		#clock-cells = <0>;
195724ba675SRob Herring		clock-frequency = <12288000>;
196724ba675SRob Herring	};
197724ba675SRob Herring
198724ba675SRob Herring	sound {
199724ba675SRob Herring		compatible = "simple-audio-card";
200724ba675SRob Herring
201724ba675SRob Herring		simple-audio-card,format = "left_j";
202724ba675SRob Herring		simple-audio-card,bitclock-master = <&soundcodec>;
203724ba675SRob Herring		simple-audio-card,frame-master = <&soundcodec>;
204724ba675SRob Herring
205724ba675SRob Herring		simple-audio-card,cpu {
206724ba675SRob Herring			sound-dai = <&rcar_sound>;
207724ba675SRob Herring		};
208724ba675SRob Herring
209724ba675SRob Herring		soundcodec: simple-audio-card,codec {
210724ba675SRob Herring			sound-dai = <&ak4643>;
211724ba675SRob Herring			clocks = <&x9_clk>;
212724ba675SRob Herring		};
213724ba675SRob Herring	};
214724ba675SRob Herring
215724ba675SRob Herring	gpioi2c1: i2c-9 {
216724ba675SRob Herring		#address-cells = <1>;
217724ba675SRob Herring		#size-cells = <0>;
218724ba675SRob Herring		compatible = "i2c-gpio";
219724ba675SRob Herring		status = "disabled";
220724ba675SRob Herring		scl-gpios = <&gpio4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
221724ba675SRob Herring		sda-gpios = <&gpio4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
222724ba675SRob Herring		i2c-gpio,delay-us = <5>;
223724ba675SRob Herring	};
224724ba675SRob Herring
225724ba675SRob Herring	/*
226724ba675SRob Herring	 * A fallback to GPIO is provided for I2C1.
227724ba675SRob Herring	 */
228*a84e0556SGeert Uytterhoeven	i2chdmi: i2c-mux1 {
229724ba675SRob Herring		compatible = "i2c-demux-pinctrl";
230724ba675SRob Herring		i2c-parent = <&i2c1>, <&gpioi2c1>;
231724ba675SRob Herring		i2c-bus-name = "i2c-hdmi";
232724ba675SRob Herring		#address-cells = <1>;
233724ba675SRob Herring		#size-cells = <0>;
234724ba675SRob Herring
235724ba675SRob Herring		ak4643: codec@12 {
236724ba675SRob Herring			compatible = "asahi-kasei,ak4643";
237724ba675SRob Herring			#sound-dai-cells = <0>;
238724ba675SRob Herring			reg = <0x12>;
239724ba675SRob Herring		};
240724ba675SRob Herring
241724ba675SRob Herring		composite-in@20 {
242724ba675SRob Herring			compatible = "adi,adv7180";
243724ba675SRob Herring			reg = <0x20>;
244724ba675SRob Herring
245724ba675SRob Herring			port {
246724ba675SRob Herring				adv7180: endpoint {
247724ba675SRob Herring					bus-width = <8>;
248724ba675SRob Herring					remote-endpoint = <&vin0ep>;
249724ba675SRob Herring				};
250724ba675SRob Herring			};
251724ba675SRob Herring		};
252724ba675SRob Herring
253724ba675SRob Herring		hdmi@39 {
254724ba675SRob Herring			compatible = "adi,adv7511w";
255724ba675SRob Herring			reg = <0x39>;
256724ba675SRob Herring			interrupt-parent = <&gpio5>;
257724ba675SRob Herring			interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
258724ba675SRob Herring
259724ba675SRob Herring			adi,input-depth = <8>;
260724ba675SRob Herring			adi,input-colorspace = "rgb";
261724ba675SRob Herring			adi,input-clock = "1x";
262724ba675SRob Herring
263724ba675SRob Herring			ports {
264724ba675SRob Herring				#address-cells = <1>;
265724ba675SRob Herring				#size-cells = <0>;
266724ba675SRob Herring
267724ba675SRob Herring				port@0 {
268724ba675SRob Herring					reg = <0>;
269724ba675SRob Herring					adv7511_in: endpoint {
270724ba675SRob Herring						remote-endpoint = <&du_out_rgb0>;
271724ba675SRob Herring					};
272724ba675SRob Herring				};
273724ba675SRob Herring
274724ba675SRob Herring				port@1 {
275724ba675SRob Herring					reg = <1>;
276724ba675SRob Herring					adv7511_out: endpoint {
277724ba675SRob Herring						remote-endpoint = <&hdmi_con>;
278724ba675SRob Herring					};
279724ba675SRob Herring				};
280724ba675SRob Herring			};
281724ba675SRob Herring		};
282724ba675SRob Herring
283724ba675SRob Herring		eeprom@50 {
284724ba675SRob Herring			compatible = "renesas,r1ex24002", "atmel,24c02";
285724ba675SRob Herring			reg = <0x50>;
286724ba675SRob Herring			pagesize = <16>;
287724ba675SRob Herring		};
288724ba675SRob Herring	};
289724ba675SRob Herring};
290724ba675SRob Herring
291724ba675SRob Herring&extal_clk {
292724ba675SRob Herring	clock-frequency = <20000000>;
293724ba675SRob Herring};
294724ba675SRob Herring
295724ba675SRob Herring&pfc {
296724ba675SRob Herring	pinctrl-0 = <&scif_clk_pins>;
297724ba675SRob Herring	pinctrl-names = "default";
298724ba675SRob Herring
299724ba675SRob Herring	scif2_pins: scif2 {
300724ba675SRob Herring		groups = "scif2_data";
301724ba675SRob Herring		function = "scif2";
302724ba675SRob Herring	};
303724ba675SRob Herring
304724ba675SRob Herring	scif_clk_pins: scif_clk {
305724ba675SRob Herring		groups = "scif_clk";
306724ba675SRob Herring		function = "scif_clk";
307724ba675SRob Herring	};
308724ba675SRob Herring
309724ba675SRob Herring	ether_pins: ether {
310724ba675SRob Herring		groups = "eth_link", "eth_mdio", "eth_rmii";
311724ba675SRob Herring		function = "eth";
312724ba675SRob Herring	};
313724ba675SRob Herring
314724ba675SRob Herring	phy1_pins: phy1 {
315724ba675SRob Herring		groups = "intc_irq8";
316724ba675SRob Herring		function = "intc";
317724ba675SRob Herring	};
318724ba675SRob Herring
319724ba675SRob Herring	i2c1_pins: i2c1 {
320724ba675SRob Herring		groups = "i2c1";
321724ba675SRob Herring		function = "i2c1";
322724ba675SRob Herring	};
323724ba675SRob Herring
324724ba675SRob Herring	mmcif0_pins: mmcif0 {
325724ba675SRob Herring		groups = "mmc_data8", "mmc_ctrl";
326724ba675SRob Herring		function = "mmc";
327724ba675SRob Herring	};
328724ba675SRob Herring
329724ba675SRob Herring	sdhi1_pins: sd1 {
330724ba675SRob Herring		groups = "sdhi1_data4", "sdhi1_ctrl";
331724ba675SRob Herring		function = "sdhi1";
332724ba675SRob Herring	};
333724ba675SRob Herring
334724ba675SRob Herring	qspi_pins: qspi {
335724ba675SRob Herring		groups = "qspi_ctrl", "qspi_data4";
336724ba675SRob Herring		function = "qspi";
337724ba675SRob Herring	};
338724ba675SRob Herring
339724ba675SRob Herring	vin0_pins: vin0 {
340724ba675SRob Herring		groups = "vin0_data8", "vin0_clk";
341724ba675SRob Herring		function = "vin0";
342724ba675SRob Herring	};
343724ba675SRob Herring
344724ba675SRob Herring	usb0_pins: usb0 {
345724ba675SRob Herring		groups = "usb0";
346724ba675SRob Herring		function = "usb0";
347724ba675SRob Herring	};
348724ba675SRob Herring
349724ba675SRob Herring	usb1_pins: usb1 {
350724ba675SRob Herring		groups = "usb1";
351724ba675SRob Herring		function = "usb1";
352724ba675SRob Herring	};
353724ba675SRob Herring
354724ba675SRob Herring	du0_pins: du0 {
355724ba675SRob Herring		groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
356724ba675SRob Herring		function = "du0";
357724ba675SRob Herring	};
358724ba675SRob Herring
359724ba675SRob Herring	du1_pins: du1 {
360724ba675SRob Herring		groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
361724ba675SRob Herring		function = "du1";
362724ba675SRob Herring	};
363724ba675SRob Herring
364724ba675SRob Herring	keyboard_pins: keyboard {
365724ba675SRob Herring		pins = "GP_3_9", "GP_3_10", "GP_3_11", "GP_3_12";
366724ba675SRob Herring		bias-pull-up;
367724ba675SRob Herring	};
368724ba675SRob Herring
369724ba675SRob Herring	ssi_pins: sound {
370724ba675SRob Herring		groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
371724ba675SRob Herring		function = "ssi";
372724ba675SRob Herring	};
373724ba675SRob Herring
374724ba675SRob Herring	audio_clk_pins: audio_clk {
375724ba675SRob Herring		groups = "audio_clkc";
376724ba675SRob Herring		function = "audio_clk";
377724ba675SRob Herring	};
378724ba675SRob Herring};
379724ba675SRob Herring
380724ba675SRob Herring&scif2 {
381724ba675SRob Herring	pinctrl-0 = <&scif2_pins>;
382724ba675SRob Herring	pinctrl-names = "default";
383724ba675SRob Herring
384724ba675SRob Herring	status = "okay";
385724ba675SRob Herring};
386724ba675SRob Herring
387724ba675SRob Herring&scif_clk {
388724ba675SRob Herring	clock-frequency = <14745600>;
389724ba675SRob Herring};
390724ba675SRob Herring
391724ba675SRob Herring&ether {
392724ba675SRob Herring	pinctrl-0 = <&ether_pins>, <&phy1_pins>;
393724ba675SRob Herring	pinctrl-names = "default";
394724ba675SRob Herring
395724ba675SRob Herring	phy-handle = <&phy1>;
396724ba675SRob Herring	renesas,ether-link-active-low;
397724ba675SRob Herring	status = "okay";
398724ba675SRob Herring
399724ba675SRob Herring	phy1: ethernet-phy@1 {
400724ba675SRob Herring		compatible = "ethernet-phy-id0022.1537",
401724ba675SRob Herring			     "ethernet-phy-ieee802.3-c22";
402724ba675SRob Herring		reg = <1>;
403724ba675SRob Herring		interrupt-parent = <&irqc0>;
404724ba675SRob Herring		interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
405724ba675SRob Herring		micrel,led-mode = <1>;
406724ba675SRob Herring		reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
407724ba675SRob Herring	};
408724ba675SRob Herring};
409724ba675SRob Herring
410724ba675SRob Herring&i2c1 {
411724ba675SRob Herring	pinctrl-0 = <&i2c1_pins>;
412724ba675SRob Herring	pinctrl-names = "i2c-hdmi";
413724ba675SRob Herring
414724ba675SRob Herring	clock-frequency = <400000>;
415724ba675SRob Herring};
416724ba675SRob Herring
417724ba675SRob Herring&i2c7 {
418724ba675SRob Herring	status = "okay";
419724ba675SRob Herring	clock-frequency = <100000>;
420724ba675SRob Herring
421724ba675SRob Herring	pmic@58 {
422724ba675SRob Herring		compatible = "dlg,da9063";
423724ba675SRob Herring		reg = <0x58>;
424724ba675SRob Herring		interrupt-parent = <&gpio3>;
425724ba675SRob Herring		interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
426724ba675SRob Herring		interrupt-controller;
427724ba675SRob Herring
428724ba675SRob Herring		onkey {
429724ba675SRob Herring			compatible = "dlg,da9063-onkey";
430724ba675SRob Herring		};
431724ba675SRob Herring
432724ba675SRob Herring		rtc {
433724ba675SRob Herring			compatible = "dlg,da9063-rtc";
434724ba675SRob Herring		};
435724ba675SRob Herring
436724ba675SRob Herring		watchdog {
437724ba675SRob Herring			compatible = "dlg,da9063-watchdog";
438724ba675SRob Herring		};
439724ba675SRob Herring	};
440724ba675SRob Herring};
441724ba675SRob Herring
442724ba675SRob Herring&mmcif0 {
443724ba675SRob Herring	pinctrl-0 = <&mmcif0_pins>;
444724ba675SRob Herring	pinctrl-names = "default";
445724ba675SRob Herring
446724ba675SRob Herring	vmmc-supply = <&d3_3v>;
447724ba675SRob Herring	vqmmc-supply = <&d3_3v>;
448724ba675SRob Herring	bus-width = <8>;
449724ba675SRob Herring	non-removable;
450724ba675SRob Herring	status = "okay";
451724ba675SRob Herring};
452724ba675SRob Herring
453724ba675SRob Herring&sdhi1 {
454724ba675SRob Herring	pinctrl-0 = <&sdhi1_pins>;
455724ba675SRob Herring	pinctrl-names = "default";
456724ba675SRob Herring
457724ba675SRob Herring	vmmc-supply = <&vcc_sdhi1>;
458724ba675SRob Herring	vqmmc-supply = <&vccq_sdhi1>;
459724ba675SRob Herring	cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
460724ba675SRob Herring	status = "okay";
461724ba675SRob Herring};
462724ba675SRob Herring
463724ba675SRob Herring&qspi {
464724ba675SRob Herring	pinctrl-0 = <&qspi_pins>;
465724ba675SRob Herring	pinctrl-names = "default";
466724ba675SRob Herring
467724ba675SRob Herring	status = "okay";
468724ba675SRob Herring
469724ba675SRob Herring	flash@0 {
470724ba675SRob Herring		compatible = "spansion,s25fl512s", "jedec,spi-nor";
471724ba675SRob Herring		reg = <0>;
472724ba675SRob Herring		spi-max-frequency = <30000000>;
473724ba675SRob Herring		spi-tx-bus-width = <4>;
474724ba675SRob Herring		spi-rx-bus-width = <4>;
475724ba675SRob Herring		spi-cpol;
476724ba675SRob Herring		spi-cpha;
477724ba675SRob Herring		m25p,fast-read;
478724ba675SRob Herring
479724ba675SRob Herring		partitions {
480724ba675SRob Herring			compatible = "fixed-partitions";
481724ba675SRob Herring			#address-cells = <1>;
482724ba675SRob Herring			#size-cells = <1>;
483724ba675SRob Herring
484724ba675SRob Herring			partition@0 {
485724ba675SRob Herring				label = "loader";
486724ba675SRob Herring				reg = <0x00000000 0x00040000>;
487724ba675SRob Herring				read-only;
488724ba675SRob Herring			};
489724ba675SRob Herring			partition@40000 {
490724ba675SRob Herring				label = "user";
491724ba675SRob Herring				reg = <0x00040000 0x00400000>;
492724ba675SRob Herring				read-only;
493724ba675SRob Herring			};
494724ba675SRob Herring			partition@440000 {
495724ba675SRob Herring				label = "flash";
496724ba675SRob Herring				reg = <0x00440000 0x03bc0000>;
497724ba675SRob Herring			};
498724ba675SRob Herring		};
499724ba675SRob Herring	};
500724ba675SRob Herring};
501724ba675SRob Herring
502724ba675SRob Herring/* composite video input */
503724ba675SRob Herring&vin0 {
504724ba675SRob Herring	status = "okay";
505724ba675SRob Herring	pinctrl-0 = <&vin0_pins>;
506724ba675SRob Herring	pinctrl-names = "default";
507724ba675SRob Herring
508724ba675SRob Herring	port {
509724ba675SRob Herring		vin0ep: endpoint {
510724ba675SRob Herring			remote-endpoint = <&adv7180>;
511724ba675SRob Herring			bus-width = <8>;
512724ba675SRob Herring		};
513724ba675SRob Herring	};
514724ba675SRob Herring};
515724ba675SRob Herring
516724ba675SRob Herring&pci0 {
517724ba675SRob Herring	status = "okay";
518724ba675SRob Herring	pinctrl-0 = <&usb0_pins>;
519724ba675SRob Herring	pinctrl-names = "default";
520724ba675SRob Herring};
521724ba675SRob Herring
522724ba675SRob Herring&pci1 {
523724ba675SRob Herring	status = "okay";
524724ba675SRob Herring	pinctrl-0 = <&usb1_pins>;
525724ba675SRob Herring	pinctrl-names = "default";
526724ba675SRob Herring};
527724ba675SRob Herring
528724ba675SRob Herring&usbphy {
529724ba675SRob Herring	status = "okay";
530724ba675SRob Herring};
531724ba675SRob Herring
532724ba675SRob Herring&du {
533724ba675SRob Herring	pinctrl-0 = <&du0_pins>, <&du1_pins>;
534724ba675SRob Herring	pinctrl-names = "default";
535724ba675SRob Herring	status = "okay";
536724ba675SRob Herring
537724ba675SRob Herring	clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
538724ba675SRob Herring		 <&x2_clk>, <&x3_clk>;
539724ba675SRob Herring	clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
540724ba675SRob Herring
541724ba675SRob Herring	ports {
542724ba675SRob Herring		port@0 {
543724ba675SRob Herring			endpoint {
544724ba675SRob Herring				remote-endpoint = <&adv7511_in>;
545724ba675SRob Herring			};
546724ba675SRob Herring		};
547724ba675SRob Herring		port@1 {
548724ba675SRob Herring			endpoint {
549724ba675SRob Herring				remote-endpoint = <&adv7123_in>;
550724ba675SRob Herring			};
551724ba675SRob Herring		};
552724ba675SRob Herring	};
553724ba675SRob Herring};
554724ba675SRob Herring
555724ba675SRob Herring&rcar_sound {
556724ba675SRob Herring	pinctrl-0 = <&ssi_pins>, <&audio_clk_pins>;
557724ba675SRob Herring	pinctrl-names = "default";
558724ba675SRob Herring	status = "okay";
559724ba675SRob Herring
560724ba675SRob Herring	/* Single DAI */
561724ba675SRob Herring	#sound-dai-cells = <0>;
562724ba675SRob Herring
563724ba675SRob Herring	rcar_sound,dai {
564724ba675SRob Herring		dai0 {
565724ba675SRob Herring			playback = <&ssi0>;
566724ba675SRob Herring			capture  = <&ssi1>;
567724ba675SRob Herring		};
568724ba675SRob Herring	};
569724ba675SRob Herring};
570724ba675SRob Herring
571724ba675SRob Herring&rwdt {
572724ba675SRob Herring	timeout-sec = <60>;
573724ba675SRob Herring	status = "okay";
574724ba675SRob Herring};
575724ba675SRob Herring
576724ba675SRob Herring&ssi1 {
577724ba675SRob Herring	shared-pin;
578724ba675SRob Herring};
579