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>
27 #include <dt-bindings/input/input.h>
31 compatible = "renesas,silk", "renesas,r8a7794";
40 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
41 stdout-path = "serial0:115200n8";
45 device_type = "memory";
46 reg = <0 0x40000000 0 0x40000000>;
50 compatible = "gpio-keys";
53 gpios = <&gpio5 10 GPIO_ACTIVE_LOW>;
57 debounce-interval = <20>;
60 gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
64 debounce-interval = <20>;
67 gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
71 debounce-interval = <20>;
74 gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
78 debounce-interval = <20>;
81 gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
85 debounce-interval = <20>;
88 gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
92 debounce-interval = <20>;
95 gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
99 debounce-interval = <20>;
103 d3_3v: regulator-d3-3v {
104 compatible = "regulator-fixed";
105 regulator-name = "D3.3V";
106 regulator-min-microvolt = <3300000>;
107 regulator-max-microvolt = <3300000>;
112 vcc_sdhi1: regulator-vcc-sdhi1 {
113 compatible = "regulator-fixed";
115 regulator-name = "SDHI1 Vcc";
116 regulator-min-microvolt = <3300000>;
117 regulator-max-microvolt = <3300000>;
119 gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
123 vccq_sdhi1: regulator-vccq-sdhi1 {
124 compatible = "regulator-gpio";
126 regulator-name = "SDHI1 VccQ";
127 regulator-min-microvolt = <1800000>;
128 regulator-max-microvolt = <3300000>;
130 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
137 compatible = "adi,adv7123";
140 #address-cells = <1>;
145 adv7123_in: endpoint {
146 remote-endpoint = <&du_out_rgb1>;
151 adv7123_out: endpoint {
152 remote-endpoint = <&vga_in>;
159 compatible = "hdmi-connector";
164 remote-endpoint = <&adv7511_out>;
170 compatible = "vga-connector";
174 remote-endpoint = <&adv7123_out>;
180 compatible = "fixed-clock";
182 clock-frequency = <148500000>;
186 compatible = "fixed-clock";
188 clock-frequency = <74250000>;
191 x9_clk: audio_clock {
192 compatible = "fixed-clock";
194 clock-frequency = <12288000>;
198 compatible = "simple-audio-card";
200 simple-audio-card,format = "left_j";
201 simple-audio-card,bitclock-master = <&soundcodec>;
202 simple-audio-card,frame-master = <&soundcodec>;
204 simple-audio-card,cpu {
205 sound-dai = <&rcar_sound>;
208 soundcodec: simple-audio-card,codec {
209 sound-dai = <&ak4643>;
215 #address-cells = <1>;
217 compatible = "i2c-gpio";
219 scl-gpios = <&gpio4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
220 sda-gpios = <&gpio4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
221 i2c-gpio,delay-us = <5>;
225 * A fallback to GPIO is provided for I2C1.
228 compatible = "i2c-demux-pinctrl";
229 i2c-parent = <&i2c1>, <&gpioi2c1>;
230 i2c-bus-name = "i2c-hdmi";
231 #address-cells = <1>;
235 compatible = "asahi-kasei,ak4643";
236 #sound-dai-cells = <0>;
241 compatible = "adi,adv7180";
248 remote-endpoint = <&vin0ep>;
254 compatible = "adi,adv7511w";
256 interrupt-parent = <&gpio5>;
257 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
259 adi,input-depth = <8>;
260 adi,input-colorspace = "rgb";
261 adi,input-clock = "1x";
262 adi,input-style = <1>;
263 adi,input-justification = "evenly";
266 #address-cells = <1>;
271 adv7511_in: endpoint {
272 remote-endpoint = <&du_out_rgb0>;
278 adv7511_out: endpoint {
279 remote-endpoint = <&hdmi_con>;
286 compatible = "renesas,r1ex24002", "atmel,24c02";
294 clock-frequency = <20000000>;
298 pinctrl-0 = <&scif_clk_pins>;
299 pinctrl-names = "default";
302 groups = "scif2_data";
306 scif_clk_pins: scif_clk {
308 function = "scif_clk";
312 groups = "eth_link", "eth_mdio", "eth_rmii";
317 groups = "intc_irq8";
326 mmcif0_pins: mmcif0 {
327 groups = "mmc_data8", "mmc_ctrl";
332 groups = "sdhi1_data4", "sdhi1_ctrl";
337 groups = "qspi_ctrl", "qspi_data4";
342 groups = "vin0_data8", "vin0_clk";
357 groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
362 groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
367 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
371 audio_clk_pins: audio_clk {
372 groups = "audio_clkc";
373 function = "audio_clk";
378 pinctrl-0 = <&scif2_pins>;
379 pinctrl-names = "default";
385 clock-frequency = <14745600>;
389 pinctrl-0 = <ðer_pins &phy1_pins>;
390 pinctrl-names = "default";
392 phy-handle = <&phy1>;
393 renesas,ether-link-active-low;
396 phy1: ethernet-phy@1 {
398 interrupt-parent = <&irqc0>;
399 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
400 micrel,led-mode = <1>;
405 pinctrl-0 = <&i2c1_pins>;
406 pinctrl-names = "i2c-hdmi";
408 clock-frequency = <400000>;
412 pinctrl-0 = <&mmcif0_pins>;
413 pinctrl-names = "default";
415 vmmc-supply = <&d3_3v>;
416 vqmmc-supply = <&d3_3v>;
423 pinctrl-0 = <&sdhi1_pins>;
424 pinctrl-names = "default";
426 vmmc-supply = <&vcc_sdhi1>;
427 vqmmc-supply = <&vccq_sdhi1>;
428 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
433 pinctrl-0 = <&qspi_pins>;
434 pinctrl-names = "default";
439 compatible = "spansion,s25fl512s", "jedec,spi-nor";
441 spi-max-frequency = <30000000>;
442 spi-tx-bus-width = <4>;
443 spi-rx-bus-width = <4>;
449 compatible = "fixed-partitions";
450 #address-cells = <1>;
455 reg = <0x00000000 0x00040000>;
460 reg = <0x00040000 0x00400000>;
465 reg = <0x00440000 0x03bc0000>;
471 /* composite video input */
474 pinctrl-0 = <&vin0_pins>;
475 pinctrl-names = "default";
478 #address-cells = <1>;
482 remote-endpoint = <&adv7180>;
490 pinctrl-0 = <&usb0_pins>;
491 pinctrl-names = "default";
496 pinctrl-0 = <&usb1_pins>;
497 pinctrl-names = "default";
505 pinctrl-0 = <&du0_pins &du1_pins>;
506 pinctrl-names = "default";
509 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
510 <&x2_clk>, <&x3_clk>;
511 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
516 remote-endpoint = <&adv7511_in>;
521 remote-endpoint = <&adv7123_in>;
528 pinctrl-0 = <&ssi_pins &audio_clk_pins>;
529 pinctrl-names = "default";
533 #sound-dai-cells = <0>;