Linux Audio

Check our new training course

Loading...
v5.4
  1// SPDX-License-Identifier: GPL-2.0
  2/*
  3 * Device Tree Source for the SILK board
  4 *
  5 * Copyright (C) 2014 Renesas Electronics Corporation
  6 * Copyright (C) 2014-2015 Renesas Solutions Corp.
  7 * Copyright (C) 2014-2015 Cogent Embedded, Inc.
  8 */
  9
 10/*
 11 * SSI-AK4643
 12 *
 13 * SW1: 2-1: AK4643
 14 *      2-3: ADV7511
 15 *
 16 * This command is required before playback/capture:
 17 *
 18 *	amixer set "LINEOUT Mixer DACL" on
 19 */
 20
 21/dts-v1/;
 22#include "r8a7794.dtsi"
 23#include <dt-bindings/gpio/gpio.h>
 24#include <dt-bindings/input/input.h>
 25
 26/ {
 27	model = "SILK";
 28	compatible = "renesas,silk", "renesas,r8a7794";
 29
 30	aliases {
 31		serial0 = &scif2;
 32		i2c9 = &gpioi2c1;
 33		i2c10 = &i2chdmi;
 34	};
 35
 36	chosen {
 37		bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
 38		stdout-path = "serial0:115200n8";
 39	};
 40
 41	memory@40000000 {
 42		device_type = "memory";
 43		reg = <0 0x40000000 0 0x40000000>;
 44	};
 45
 46	gpio-keys {
 47		compatible = "gpio-keys";
 48
 49		key-3 {
 50			gpios = <&gpio5 10 GPIO_ACTIVE_LOW>;
 51			linux,code = <KEY_3>;
 52			label = "SW3";
 53			wakeup-source;
 54			debounce-interval = <20>;
 55		};
 56		key-4 {
 57			gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
 58			linux,code = <KEY_4>;
 59			label = "SW4";
 60			wakeup-source;
 61			debounce-interval = <20>;
 62		};
 63		key-6 {
 64			gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
 65			linux,code = <KEY_6>;
 66			label = "SW6";
 67			wakeup-source;
 68			debounce-interval = <20>;
 69		};
 70		key-a {
 71			gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
 72			linux,code = <KEY_A>;
 73			label = "SW12-1";
 74			wakeup-source;
 75			debounce-interval = <20>;
 76		};
 77		key-b {
 78			gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
 79			linux,code = <KEY_B>;
 80			label = "SW12-2";
 81			wakeup-source;
 82			debounce-interval = <20>;
 83		};
 84		key-c {
 85			gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
 86			linux,code = <KEY_C>;
 87			label = "SW12-3";
 88			wakeup-source;
 89			debounce-interval = <20>;
 90		};
 91		key-d {
 92			gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
 93			linux,code = <KEY_D>;
 94			label = "SW12-4";
 95			wakeup-source;
 96			debounce-interval = <20>;
 97		};
 98	};
 99
100	d3_3v: regulator-d3-3v {
101		compatible = "regulator-fixed";
102		regulator-name = "D3.3V";
103		regulator-min-microvolt = <3300000>;
104		regulator-max-microvolt = <3300000>;
105		regulator-boot-on;
106		regulator-always-on;
107	};
108
109	vcc_sdhi1: regulator-vcc-sdhi1 {
110		compatible = "regulator-fixed";
111
112		regulator-name = "SDHI1 Vcc";
113		regulator-min-microvolt = <3300000>;
114		regulator-max-microvolt = <3300000>;
115
116		gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
117		enable-active-high;
118	};
119
120	vccq_sdhi1: regulator-vccq-sdhi1 {
121		compatible = "regulator-gpio";
122
123		regulator-name = "SDHI1 VccQ";
124		regulator-min-microvolt = <1800000>;
125		regulator-max-microvolt = <3300000>;
126
127		gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
128		gpios-states = <1>;
129		states = <3300000 1
130			  1800000 0>;
131	};
132
133	vga-encoder {
134		compatible = "adi,adv7123";
135
136		ports {
137			#address-cells = <1>;
138			#size-cells = <0>;
139
140			port@0 {
141				reg = <0>;
142				adv7123_in: endpoint {
143					remote-endpoint = <&du_out_rgb1>;
144				};
145			};
146			port@1 {
147				reg = <1>;
148				adv7123_out: endpoint {
149					remote-endpoint = <&vga_in>;
150				};
151			};
152		};
153	};
154
155	hdmi-out {
156		compatible = "hdmi-connector";
157		type = "a";
158
159		port {
160			hdmi_con: endpoint {
161				remote-endpoint = <&adv7511_out>;
162			};
163		};
164	};
165
166	vga {
167		compatible = "vga-connector";
168
169		port {
170			vga_in: endpoint {
171				remote-endpoint = <&adv7123_out>;
172			};
173		};
174	};
175
176	x2_clk: x2-clock {
177		compatible = "fixed-clock";
178		#clock-cells = <0>;
179		clock-frequency = <148500000>;
180	};
181
182	x3_clk: x3-clock {
183		compatible = "fixed-clock";
184		#clock-cells = <0>;
185		clock-frequency = <74250000>;
186	};
187
188	x9_clk: audio_clock {
189		compatible = "fixed-clock";
190		#clock-cells = <0>;
191		clock-frequency = <12288000>;
192	};
193
194	sound {
195		compatible = "simple-audio-card";
196
197		simple-audio-card,format = "left_j";
198		simple-audio-card,bitclock-master = <&soundcodec>;
199		simple-audio-card,frame-master = <&soundcodec>;
200
201		simple-audio-card,cpu {
202			sound-dai = <&rcar_sound>;
203		};
204
205		soundcodec: simple-audio-card,codec {
206			sound-dai = <&ak4643>;
207			clocks = <&x9_clk>;
208		};
209	};
210
211	gpioi2c1: i2c-9 {
212		#address-cells = <1>;
213		#size-cells = <0>;
214		compatible = "i2c-gpio";
215		status = "disabled";
216		scl-gpios = <&gpio4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
217		sda-gpios = <&gpio4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
218		i2c-gpio,delay-us = <5>;
219	};
220
221	/*
222	 * A fallback to GPIO is provided for I2C1.
223	 */
224	i2chdmi: i2c-10 {
225		compatible = "i2c-demux-pinctrl";
226		i2c-parent = <&i2c1>, <&gpioi2c1>;
227		i2c-bus-name = "i2c-hdmi";
228		#address-cells = <1>;
229		#size-cells = <0>;
230
231		ak4643: codec@12 {
232			compatible = "asahi-kasei,ak4643";
233			#sound-dai-cells = <0>;
234			reg = <0x12>;
235		};
236
237		composite-in@20 {
238			compatible = "adi,adv7180";
239			reg = <0x20>;
240			remote = <&vin0>;
241
242			port {
243				adv7180: endpoint {
244					bus-width = <8>;
245					remote-endpoint = <&vin0ep>;
246				};
247			};
248		};
249
250		hdmi@39 {
251			compatible = "adi,adv7511w";
252			reg = <0x39>;
253			interrupt-parent = <&gpio5>;
254			interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
255
256			adi,input-depth = <8>;
257			adi,input-colorspace = "rgb";
258			adi,input-clock = "1x";
259			adi,input-style = <1>;
260			adi,input-justification = "evenly";
261
262			ports {
263				#address-cells = <1>;
264				#size-cells = <0>;
265
266				port@0 {
267					reg = <0>;
268					adv7511_in: endpoint {
269						remote-endpoint = <&du_out_rgb0>;
270					};
271				};
272
273				port@1 {
274					reg = <1>;
275					adv7511_out: endpoint {
276						remote-endpoint = <&hdmi_con>;
277					};
278				};
279			};
280		};
281
282		eeprom@50 {
283			compatible = "renesas,r1ex24002", "atmel,24c02";
284			reg = <0x50>;
285			pagesize = <16>;
286		};
287	};
288};
289
290&extal_clk {
291	clock-frequency = <20000000>;
292};
293
294&pfc {
295	pinctrl-0 = <&scif_clk_pins>;
296	pinctrl-names = "default";
297
298	scif2_pins: scif2 {
299		groups = "scif2_data";
300		function = "scif2";
301	};
302
303	scif_clk_pins: scif_clk {
304		groups = "scif_clk";
305		function = "scif_clk";
306	};
307
308	ether_pins: ether {
309		groups = "eth_link", "eth_mdio", "eth_rmii";
310		function = "eth";
311	};
312
313	phy1_pins: phy1 {
314		groups = "intc_irq8";
315		function = "intc";
316	};
317
318	i2c1_pins: i2c1 {
319		groups = "i2c1";
320		function = "i2c1";
321	};
322
323	mmcif0_pins: mmcif0 {
324		groups = "mmc_data8", "mmc_ctrl";
325		function = "mmc";
326	};
327
328	sdhi1_pins: sd1 {
329		groups = "sdhi1_data4", "sdhi1_ctrl";
330		function = "sdhi1";
331	};
332
333	qspi_pins: qspi {
334		groups = "qspi_ctrl", "qspi_data4";
335		function = "qspi";
336	};
337
338	vin0_pins: vin0 {
339		groups = "vin0_data8", "vin0_clk";
340		function = "vin0";
341	};
342
343	usb0_pins: usb0 {
344		groups = "usb0";
345		function = "usb0";
346	};
347
348	usb1_pins: usb1 {
349		groups = "usb1";
350		function = "usb1";
351	};
352
353	du0_pins: du0 {
354		groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
355		function = "du0";
356	};
357
358	du1_pins: du1 {
359		groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
360		function = "du1";
361	};
362
363	ssi_pins: sound {
364		groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
365		function = "ssi";
366	};
367
368	audio_clk_pins: audio_clk {
369		groups = "audio_clkc";
370		function = "audio_clk";
371	};
372};
373
374&scif2 {
375	pinctrl-0 = <&scif2_pins>;
376	pinctrl-names = "default";
377
378	status = "okay";
379};
380
381&scif_clk {
382	clock-frequency = <14745600>;
 
383};
384
385&ether {
386	pinctrl-0 = <&ether_pins &phy1_pins>;
387	pinctrl-names = "default";
388
389	phy-handle = <&phy1>;
390	renesas,ether-link-active-low;
391	status = "okay";
392
393	phy1: ethernet-phy@1 {
394		reg = <1>;
395		interrupt-parent = <&irqc0>;
396		interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
397		micrel,led-mode = <1>;
398	};
399};
400
401&i2c1 {
402	pinctrl-0 = <&i2c1_pins>;
403	pinctrl-names = "i2c-hdmi";
404
405	clock-frequency = <400000>;
406};
407
408&i2c7 {
409	status = "okay";
410	clock-frequency = <100000>;
411
412	pmic@58 {
413		compatible = "dlg,da9063";
414		reg = <0x58>;
415		interrupt-parent = <&gpio3>;
416		interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
417		interrupt-controller;
418
419		onkey {
420			compatible = "dlg,da9063-onkey";
 
 
 
421		};
 
422
423		rtc {
424			compatible = "dlg,da9063-rtc";
425		};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
426
427		wdt {
428			compatible = "dlg,da9063-watchdog";
 
 
 
 
429		};
430	};
431};
432
433&mmcif0 {
434	pinctrl-0 = <&mmcif0_pins>;
435	pinctrl-names = "default";
436
437	vmmc-supply = <&d3_3v>;
438	vqmmc-supply = <&d3_3v>;
439	bus-width = <8>;
440	non-removable;
441	status = "okay";
442};
443
444&sdhi1 {
445	pinctrl-0 = <&sdhi1_pins>;
446	pinctrl-names = "default";
447
448	vmmc-supply = <&vcc_sdhi1>;
449	vqmmc-supply = <&vccq_sdhi1>;
450	cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
451	status = "okay";
452};
453
454&qspi {
455	pinctrl-0 = <&qspi_pins>;
456	pinctrl-names = "default";
457
458	status = "okay";
459
460	flash@0 {
461		compatible = "spansion,s25fl512s", "jedec,spi-nor";
462		reg = <0>;
463		spi-max-frequency = <30000000>;
464		spi-tx-bus-width = <4>;
465		spi-rx-bus-width = <4>;
466		spi-cpol;
467		spi-cpha;
468		m25p,fast-read;
469
470		partitions {
471			compatible = "fixed-partitions";
472			#address-cells = <1>;
473			#size-cells = <1>;
474
475			partition@0 {
476				label = "loader";
477				reg = <0x00000000 0x00040000>;
478				read-only;
479			};
480			partition@40000 {
481				label = "user";
482				reg = <0x00040000 0x00400000>;
483				read-only;
484			};
485			partition@440000 {
486				label = "flash";
487				reg = <0x00440000 0x03bc0000>;
488			};
489		};
490	};
491};
492
493/* composite video input */
494&vin0 {
495	status = "okay";
496	pinctrl-0 = <&vin0_pins>;
497	pinctrl-names = "default";
498
499	port {
 
 
 
500		vin0ep: endpoint {
501			remote-endpoint = <&adv7180>;
502			bus-width = <8>;
503		};
504	};
505};
506
507&pci0 {
508	status = "okay";
509	pinctrl-0 = <&usb0_pins>;
510	pinctrl-names = "default";
511};
512
513&pci1 {
514	status = "okay";
515	pinctrl-0 = <&usb1_pins>;
516	pinctrl-names = "default";
517};
518
519&usbphy {
520	status = "okay";
521};
522
523&du {
524	pinctrl-0 = <&du0_pins &du1_pins>;
525	pinctrl-names = "default";
526	status = "okay";
527
528	clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
 
529		 <&x2_clk>, <&x3_clk>;
530	clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
531
532	ports {
533		port@0 {
534			endpoint {
535				remote-endpoint = <&adv7511_in>;
536			};
537		};
538		port@1 {
539			endpoint {
540				remote-endpoint = <&adv7123_in>;
541			};
542		};
543	};
544};
545
546&rcar_sound {
547	pinctrl-0 = <&ssi_pins &audio_clk_pins>;
548	pinctrl-names = "default";
549	status = "okay";
550
551	/* Single DAI */
552	#sound-dai-cells = <0>;
553
554	rcar_sound,dai {
555		dai0 {
556			playback = <&ssi0>;
557			capture  = <&ssi1>;
558		};
559	};
560};
561
562&rwdt {
563	timeout-sec = <60>;
564	status = "okay";
565};
566
567&ssi1 {
568	shared-pin;
569};
v4.6
 
  1/*
  2 * Device Tree Source for the SILK board
  3 *
  4 * Copyright (C) 2014 Renesas Electronics Corporation
  5 * Copyright (C) 2014-2015 Renesas Solutions Corp.
  6 * Copyright (C) 2014-2015 Cogent Embedded, Inc.
 
 
 
 
 
 
 
  7 *
  8 * This file is licensed under the terms of the GNU General Public License
  9 * version 2.  This program is licensed "as is" without any warranty of any
 10 * kind, whether express or implied.
 11 */
 12
 13/dts-v1/;
 14#include "r8a7794.dtsi"
 15#include <dt-bindings/gpio/gpio.h>
 
 16
 17/ {
 18	model = "SILK";
 19	compatible = "renesas,silk", "renesas,r8a7794";
 20
 21	aliases {
 22		serial0 = &scif2;
 
 
 23	};
 24
 25	chosen {
 26		bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
 27		stdout-path = "serial0:115200n8";
 28	};
 29
 30	memory@40000000 {
 31		device_type = "memory";
 32		reg = <0 0x40000000 0 0x40000000>;
 33	};
 34
 35	d3_3v: regulator@0 {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 36		compatible = "regulator-fixed";
 37		regulator-name = "D3.3V";
 38		regulator-min-microvolt = <3300000>;
 39		regulator-max-microvolt = <3300000>;
 40		regulator-boot-on;
 41		regulator-always-on;
 42	};
 43
 44	vcc_sdhi1: regulator@3 {
 45		compatible = "regulator-fixed";
 46
 47		regulator-name = "SDHI1 Vcc";
 48		regulator-min-microvolt = <3300000>;
 49		regulator-max-microvolt = <3300000>;
 50
 51		gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
 52		enable-active-high;
 53	};
 54
 55	vccq_sdhi1: regulator@4 {
 56		compatible = "regulator-gpio";
 57
 58		regulator-name = "SDHI1 VccQ";
 59		regulator-min-microvolt = <1800000>;
 60		regulator-max-microvolt = <3300000>;
 61
 62		gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
 63		gpios-states = <1>;
 64		states = <3300000 1
 65			  1800000 0>;
 66	};
 67
 68	vga-encoder {
 69		compatible = "adi,adv7123";
 70
 71		ports {
 72			#address-cells = <1>;
 73			#size-cells = <0>;
 74
 75			port@0 {
 76				reg = <0>;
 77				adv7123_in: endpoint {
 78					remote-endpoint = <&du_out_rgb1>;
 79				};
 80			};
 81			port@1 {
 82				reg = <1>;
 83				adv7123_out: endpoint {
 84					remote-endpoint = <&vga_in>;
 85				};
 86			};
 87		};
 88	};
 89
 90	hdmi-out {
 91		compatible = "hdmi-connector";
 92		type = "a";
 93
 94		port {
 95			hdmi_con: endpoint {
 96				remote-endpoint = <&adv7511_out>;
 97			};
 98		};
 99	};
100
101	vga {
102		compatible = "vga-connector";
103
104		port {
105			vga_in: endpoint {
106				remote-endpoint = <&adv7123_out>;
107			};
108		};
109	};
110
111	x2_clk: x2-clock {
112		compatible = "fixed-clock";
113		#clock-cells = <0>;
114		clock-frequency = <148500000>;
115	};
116
117	x3_clk: x3-clock {
118		compatible = "fixed-clock";
119		#clock-cells = <0>;
120		clock-frequency = <74250000>;
121	};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122};
123
124&extal_clk {
125	clock-frequency = <20000000>;
126};
127
128&pfc {
129	pinctrl-0 = <&scif_clk_pins>;
130	pinctrl-names = "default";
131
132	scif2_pins: serial2 {
133		renesas,groups = "scif2_data";
134		renesas,function = "scif2";
135	};
136
137	scif_clk_pins: scif_clk {
138		renesas,groups = "scif_clk";
139		renesas,function = "scif_clk";
140	};
141
142	ether_pins: ether {
143		renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
144		renesas,function = "eth";
145	};
146
147	phy1_pins: phy1 {
148		renesas,groups = "intc_irq8";
149		renesas,function = "intc";
150	};
151
152	i2c1_pins: i2c1 {
153		renesas,groups = "i2c1";
154		renesas,function = "i2c1";
155	};
156
157	mmcif0_pins: mmcif0 {
158		renesas,groups = "mmc_data8", "mmc_ctrl";
159		renesas,function = "mmc";
160	};
161
162	sdhi1_pins: sd1 {
163		renesas,groups = "sdhi1_data4", "sdhi1_ctrl";
164		renesas,function = "sdhi1";
165	};
166
167	qspi_pins: spi0 {
168		renesas,groups = "qspi_ctrl", "qspi_data4";
169		renesas,function = "qspi";
170	};
171
172	vin0_pins: vin0 {
173		renesas,groups = "vin0_data8", "vin0_clk";
174		renesas,function = "vin0";
175	};
176
177	usb0_pins: usb0 {
178		renesas,groups = "usb0";
179		renesas,function = "usb0";
180	};
181
182	usb1_pins: usb1 {
183		renesas,groups = "usb1";
184		renesas,function = "usb1";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185	};
186};
187
188&scif2 {
189	pinctrl-0 = <&scif2_pins>;
190	pinctrl-names = "default";
191
192	status = "okay";
193};
194
195&scif_clk {
196	clock-frequency = <14745600>;
197	status = "okay";
198};
199
200&ether {
201	pinctrl-0 = <&ether_pins &phy1_pins>;
202	pinctrl-names = "default";
203
204	phy-handle = <&phy1>;
205	renesas,ether-link-active-low;
206	status = "okay";
207
208	phy1: ethernet-phy@1 {
209		reg = <1>;
210		interrupt-parent = <&irqc0>;
211		interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
212		micrel,led-mode = <1>;
213	};
214};
215
216&i2c1 {
217	pinctrl-0 = <&i2c1_pins>;
218	pinctrl-names = "default";
 
 
 
219
 
220	status = "okay";
221	clock-frequency = <400000>;
222
223	composite-in@20 {
224		compatible = "adi,adv7180";
225		reg = <0x20>;
226		remote = <&vin0>;
 
 
227
228		port {
229			adv7180: endpoint {
230				bus-width = <8>;
231				remote-endpoint = <&vin0ep>;
232			};
233		};
234	};
235
236	hdmi@39 {
237		compatible = "adi,adv7511w";
238		reg = <0x39>;
239		interrupt-parent = <&gpio5>;
240		interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
241
242		adi,input-depth = <8>;
243		adi,input-colorspace = "rgb";
244		adi,input-clock = "1x";
245		adi,input-style = <1>;
246		adi,input-justification = "evenly";
247
248		ports {
249			#address-cells = <1>;
250			#size-cells = <0>;
251
252			port@0 {
253				reg = <0>;
254				adv7511_in: endpoint {
255					remote-endpoint = <&du_out_rgb0>;
256				};
257			};
258
259			port@1 {
260				reg = <1>;
261				adv7511_out: endpoint {
262					remote-endpoint = <&hdmi_con>;
263				};
264			};
265		};
266	};
267};
268
269&mmcif0 {
270	pinctrl-0 = <&mmcif0_pins>;
271	pinctrl-names = "default";
272
273	vmmc-supply = <&d3_3v>;
274	vqmmc-supply = <&d3_3v>;
275	bus-width = <8>;
276	non-removable;
277	status = "okay";
278};
279
280&sdhi1 {
281	pinctrl-0 = <&sdhi1_pins>;
282	pinctrl-names = "default";
283
284	vmmc-supply = <&vcc_sdhi1>;
285	vqmmc-supply = <&vccq_sdhi1>;
286	cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
287	status = "okay";
288};
289
290&qspi {
291	pinctrl-0 = <&qspi_pins>;
292	pinctrl-names = "default";
293
294	status = "okay";
295
296	flash@0 {
297		compatible = "spansion,s25fl512s", "jedec,spi-nor";
298		reg = <0>;
299		spi-max-frequency = <30000000>;
300		spi-tx-bus-width = <4>;
301		spi-rx-bus-width = <4>;
302		spi-cpol;
303		spi-cpha;
304		m25p,fast-read;
305
306		partitions {
307			compatible = "fixed-partitions";
308			#address-cells = <1>;
309			#size-cells = <1>;
310
311			partition@0 {
312				label = "loader";
313				reg = <0x00000000 0x00040000>;
314				read-only;
315			};
316			partition@40000 {
317				label = "user";
318				reg = <0x00040000 0x00400000>;
319				read-only;
320			};
321			partition@440000 {
322				label = "flash";
323				reg = <0x00440000 0x03bc0000>;
324			};
325		};
326	};
327};
328
329/* composite video input */
330&vin0 {
331	status = "okay";
332	pinctrl-0 = <&vin0_pins>;
333	pinctrl-names = "default";
334
335	port {
336		#address-cells = <1>;
337		#size-cells = <0>;
338
339		vin0ep: endpoint {
340			remote-endpoint = <&adv7180>;
341			bus-width = <8>;
342		};
343	};
344};
345
346&pci0 {
347	status = "okay";
348	pinctrl-0 = <&usb0_pins>;
349	pinctrl-names = "default";
350};
351
352&pci1 {
353	status = "okay";
354	pinctrl-0 = <&usb1_pins>;
355	pinctrl-names = "default";
356};
357
358&usbphy {
359	status = "okay";
360};
361
362&du {
 
 
363	status = "okay";
364
365	clocks = <&mstp7_clks R8A7794_CLK_DU0>,
366		 <&mstp7_clks R8A7794_CLK_DU0>,
367		 <&x2_clk>, <&x3_clk>;
368	clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
369
370	ports {
371		port@0 {
372			endpoint {
373				remote-endpoint = <&adv7511_in>;
374			};
375		};
376		port@1 {
377			endpoint {
378				remote-endpoint = <&adv7123_in>;
379			};
380		};
381	};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382};