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>;
255 pinctrl-0 = <ðer_pins &phy1_pins>;
256 pinctrl-names = "default";
258 phy-handle = <&phy1>;
259 renesas,ether-link-active-low;
262 phy1: ethernet-phy@1 {
264 interrupt-parent = <&irqc0>;
265 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
266 micrel,led-mode = <1>;
271 pinctrl-0 = <&i2c1_pins>;
272 pinctrl-names = "default";
275 clock-frequency = <400000>;
278 compatible = "asahi-kasei,ak4643";
279 #sound-dai-cells = <0>;
284 compatible = "adi,adv7180";
291 remote-endpoint = <&vin0ep>;
297 compatible = "adi,adv7511w";
299 interrupt-parent = <&gpio5>;
300 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
302 adi,input-depth = <8>;
303 adi,input-colorspace = "rgb";
304 adi,input-clock = "1x";
305 adi,input-style = <1>;
306 adi,input-justification = "evenly";
309 #address-cells = <1>;
314 adv7511_in: endpoint {
315 remote-endpoint = <&du_out_rgb0>;
321 adv7511_out: endpoint {
322 remote-endpoint = <&hdmi_con>;
330 pinctrl-0 = <&mmcif0_pins>;
331 pinctrl-names = "default";
333 vmmc-supply = <&d3_3v>;
334 vqmmc-supply = <&d3_3v>;
341 pinctrl-0 = <&sdhi1_pins>;
342 pinctrl-names = "default";
344 vmmc-supply = <&vcc_sdhi1>;
345 vqmmc-supply = <&vccq_sdhi1>;
346 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
351 pinctrl-0 = <&qspi_pins>;
352 pinctrl-names = "default";
357 compatible = "spansion,s25fl512s", "jedec,spi-nor";
359 spi-max-frequency = <30000000>;
360 spi-tx-bus-width = <4>;
361 spi-rx-bus-width = <4>;
367 compatible = "fixed-partitions";
368 #address-cells = <1>;
373 reg = <0x00000000 0x00040000>;
378 reg = <0x00040000 0x00400000>;
383 reg = <0x00440000 0x03bc0000>;
389 /* composite video input */
392 pinctrl-0 = <&vin0_pins>;
393 pinctrl-names = "default";
396 #address-cells = <1>;
400 remote-endpoint = <&adv7180>;
408 pinctrl-0 = <&usb0_pins>;
409 pinctrl-names = "default";
414 pinctrl-0 = <&usb1_pins>;
415 pinctrl-names = "default";
423 pinctrl-0 = <&du0_pins &du1_pins>;
424 pinctrl-names = "default";
427 clocks = <&mstp7_clks R8A7794_CLK_DU0>,
428 <&mstp7_clks R8A7794_CLK_DU0>,
429 <&x2_clk>, <&x3_clk>;
430 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
435 remote-endpoint = <&adv7511_in>;
440 remote-endpoint = <&adv7123_in>;
447 pinctrl-0 = <&ssi_pins &audio_clk_pins>;
448 pinctrl-names = "default";
452 #sound-dai-cells = <0>;