2 * Device Tree Source for the SILK board
4 * Copyright (C) 2014 Renesas Electronics Corporation
5 * Copyright (C) 2014-2015 Renesas Solutions Corp.
6 * Copyright (C) 2014-2015 Cogent Embedded, Inc.
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.
19 * This command is required before playback/capture:
21 * amixer set "LINEOUT Mixer DACL" on
25 #include "r8a7794.dtsi"
26 #include <dt-bindings/gpio/gpio.h>
30 compatible = "renesas,silk", "renesas,r8a7794";
37 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
38 stdout-path = "serial0:115200n8";
42 device_type = "memory";
43 reg = <0 0x40000000 0 0x40000000>;
46 d3_3v: regulator-d3-3v {
47 compatible = "regulator-fixed";
48 regulator-name = "D3.3V";
49 regulator-min-microvolt = <3300000>;
50 regulator-max-microvolt = <3300000>;
55 vcc_sdhi1: regulator-vcc-sdhi1 {
56 compatible = "regulator-fixed";
58 regulator-name = "SDHI1 Vcc";
59 regulator-min-microvolt = <3300000>;
60 regulator-max-microvolt = <3300000>;
62 gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
66 vccq_sdhi1: regulator-vccq-sdhi1 {
67 compatible = "regulator-gpio";
69 regulator-name = "SDHI1 VccQ";
70 regulator-min-microvolt = <1800000>;
71 regulator-max-microvolt = <3300000>;
73 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
80 compatible = "adi,adv7123";
88 adv7123_in: endpoint {
89 remote-endpoint = <&du_out_rgb1>;
94 adv7123_out: endpoint {
95 remote-endpoint = <&vga_in>;
102 compatible = "hdmi-connector";
107 remote-endpoint = <&adv7511_out>;
113 compatible = "vga-connector";
117 remote-endpoint = <&adv7123_out>;
123 compatible = "fixed-clock";
125 clock-frequency = <148500000>;
129 compatible = "fixed-clock";
131 clock-frequency = <74250000>;
134 x9_clk: audio_clock {
135 compatible = "fixed-clock";
137 clock-frequency = <12288000>;
141 compatible = "simple-audio-card";
143 simple-audio-card,format = "left_j";
144 simple-audio-card,bitclock-master = <&soundcodec>;
145 simple-audio-card,frame-master = <&soundcodec>;
147 simple-audio-card,cpu {
148 sound-dai = <&rcar_sound>;
151 soundcodec: simple-audio-card,codec {
152 sound-dai = <&ak4643>;
159 clock-frequency = <20000000>;
163 pinctrl-0 = <&scif_clk_pins>;
164 pinctrl-names = "default";
167 groups = "scif2_data";
171 scif_clk_pins: scif_clk {
173 function = "scif_clk";
177 groups = "eth_link", "eth_mdio", "eth_rmii";
182 groups = "intc_irq8";
191 mmcif0_pins: mmcif0 {
192 groups = "mmc_data8", "mmc_ctrl";
197 groups = "sdhi1_data4", "sdhi1_ctrl";
202 groups = "qspi_ctrl", "qspi_data4";
207 groups = "vin0_data8", "vin0_clk";
222 groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
227 groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
232 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
236 audio_clk_pins: audio_clk {
237 groups = "audio_clkc";
238 function = "audio_clk";
243 pinctrl-0 = <&scif2_pins>;
244 pinctrl-names = "default";
250 clock-frequency = <14745600>;
254 pinctrl-0 = <ðer_pins &phy1_pins>;
255 pinctrl-names = "default";
257 phy-handle = <&phy1>;
258 renesas,ether-link-active-low;
261 phy1: ethernet-phy@1 {
263 interrupt-parent = <&irqc0>;
264 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
265 micrel,led-mode = <1>;
270 pinctrl-0 = <&i2c1_pins>;
271 pinctrl-names = "default";
274 clock-frequency = <400000>;
277 compatible = "asahi-kasei,ak4643";
278 #sound-dai-cells = <0>;
283 compatible = "adi,adv7180";
290 remote-endpoint = <&vin0ep>;
296 compatible = "adi,adv7511w";
298 interrupt-parent = <&gpio5>;
299 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
301 adi,input-depth = <8>;
302 adi,input-colorspace = "rgb";
303 adi,input-clock = "1x";
304 adi,input-style = <1>;
305 adi,input-justification = "evenly";
308 #address-cells = <1>;
313 adv7511_in: endpoint {
314 remote-endpoint = <&du_out_rgb0>;
320 adv7511_out: endpoint {
321 remote-endpoint = <&hdmi_con>;
329 pinctrl-0 = <&mmcif0_pins>;
330 pinctrl-names = "default";
332 vmmc-supply = <&d3_3v>;
333 vqmmc-supply = <&d3_3v>;
340 pinctrl-0 = <&sdhi1_pins>;
341 pinctrl-names = "default";
343 vmmc-supply = <&vcc_sdhi1>;
344 vqmmc-supply = <&vccq_sdhi1>;
345 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
350 pinctrl-0 = <&qspi_pins>;
351 pinctrl-names = "default";
356 compatible = "spansion,s25fl512s", "jedec,spi-nor";
358 spi-max-frequency = <30000000>;
359 spi-tx-bus-width = <4>;
360 spi-rx-bus-width = <4>;
366 compatible = "fixed-partitions";
367 #address-cells = <1>;
372 reg = <0x00000000 0x00040000>;
377 reg = <0x00040000 0x00400000>;
382 reg = <0x00440000 0x03bc0000>;
388 /* composite video input */
391 pinctrl-0 = <&vin0_pins>;
392 pinctrl-names = "default";
395 #address-cells = <1>;
399 remote-endpoint = <&adv7180>;
407 pinctrl-0 = <&usb0_pins>;
408 pinctrl-names = "default";
413 pinctrl-0 = <&usb1_pins>;
414 pinctrl-names = "default";
422 pinctrl-0 = <&du0_pins &du1_pins>;
423 pinctrl-names = "default";
426 clocks = <&mstp7_clks R8A7794_CLK_DU0>,
427 <&mstp7_clks R8A7794_CLK_DU1>,
428 <&x2_clk>, <&x3_clk>;
429 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
434 remote-endpoint = <&adv7511_in>;
439 remote-endpoint = <&adv7123_in>;
446 pinctrl-0 = <&ssi_pins &audio_clk_pins>;
447 pinctrl-names = "default";
451 #sound-dai-cells = <0>;