1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the SILK board
5 * Copyright (C) 2014 Renesas Electronics Corporation
6 * Copyright (C) 2014-2015 Renesas Solutions Corp.
7 * Copyright (C) 2014-2015 Cogent Embedded, Inc.
16 * This command is required before playback/capture:
18 * amixer set "LINEOUT Mixer DACL" on
22 #include "r8a7794.dtsi"
23 #include <dt-bindings/gpio/gpio.h>
24 #include <dt-bindings/input/input.h>
28 compatible = "renesas,silk", "renesas,r8a7794";
37 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
38 stdout-path = "serial0:115200n8";
42 device_type = "memory";
43 reg = <0 0x40000000 0 0x40000000>;
47 compatible = "gpio-keys";
50 gpios = <&gpio5 10 GPIO_ACTIVE_LOW>;
54 debounce-interval = <20>;
57 gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
61 debounce-interval = <20>;
64 gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
68 debounce-interval = <20>;
71 gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
75 debounce-interval = <20>;
78 gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
82 debounce-interval = <20>;
85 gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
89 debounce-interval = <20>;
92 gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
96 debounce-interval = <20>;
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>;
109 vcc_sdhi1: regulator-vcc-sdhi1 {
110 compatible = "regulator-fixed";
112 regulator-name = "SDHI1 Vcc";
113 regulator-min-microvolt = <3300000>;
114 regulator-max-microvolt = <3300000>;
116 gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
120 vccq_sdhi1: regulator-vccq-sdhi1 {
121 compatible = "regulator-gpio";
123 regulator-name = "SDHI1 VccQ";
124 regulator-min-microvolt = <1800000>;
125 regulator-max-microvolt = <3300000>;
127 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
129 states = <3300000 1>, <1800000 0>;
133 compatible = "adi,adv7123";
136 #address-cells = <1>;
141 adv7123_in: endpoint {
142 remote-endpoint = <&du_out_rgb1>;
147 adv7123_out: endpoint {
148 remote-endpoint = <&vga_in>;
155 compatible = "hdmi-connector";
160 remote-endpoint = <&adv7511_out>;
166 compatible = "vga-connector";
170 remote-endpoint = <&adv7123_out>;
176 compatible = "fixed-clock";
178 clock-frequency = <148500000>;
182 compatible = "fixed-clock";
184 clock-frequency = <74250000>;
187 x9_clk: audio_clock {
188 compatible = "fixed-clock";
190 clock-frequency = <12288000>;
194 compatible = "simple-audio-card";
196 simple-audio-card,format = "left_j";
197 simple-audio-card,bitclock-master = <&soundcodec>;
198 simple-audio-card,frame-master = <&soundcodec>;
200 simple-audio-card,cpu {
201 sound-dai = <&rcar_sound>;
204 soundcodec: simple-audio-card,codec {
205 sound-dai = <&ak4643>;
211 #address-cells = <1>;
213 compatible = "i2c-gpio";
215 scl-gpios = <&gpio4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
216 sda-gpios = <&gpio4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
217 i2c-gpio,delay-us = <5>;
221 * A fallback to GPIO is provided for I2C1.
224 compatible = "i2c-demux-pinctrl";
225 i2c-parent = <&i2c1>, <&gpioi2c1>;
226 i2c-bus-name = "i2c-hdmi";
227 #address-cells = <1>;
231 compatible = "asahi-kasei,ak4643";
232 #sound-dai-cells = <0>;
237 compatible = "adi,adv7180";
244 remote-endpoint = <&vin0ep>;
250 compatible = "adi,adv7511w";
252 interrupt-parent = <&gpio5>;
253 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
255 adi,input-depth = <8>;
256 adi,input-colorspace = "rgb";
257 adi,input-clock = "1x";
258 adi,input-style = <1>;
259 adi,input-justification = "evenly";
262 #address-cells = <1>;
267 adv7511_in: endpoint {
268 remote-endpoint = <&du_out_rgb0>;
274 adv7511_out: endpoint {
275 remote-endpoint = <&hdmi_con>;
282 compatible = "renesas,r1ex24002", "atmel,24c02";
290 clock-frequency = <20000000>;
294 pinctrl-0 = <&scif_clk_pins>;
295 pinctrl-names = "default";
298 groups = "scif2_data";
302 scif_clk_pins: scif_clk {
304 function = "scif_clk";
308 groups = "eth_link", "eth_mdio", "eth_rmii";
313 groups = "intc_irq8";
322 mmcif0_pins: mmcif0 {
323 groups = "mmc_data8", "mmc_ctrl";
328 groups = "sdhi1_data4", "sdhi1_ctrl";
333 groups = "qspi_ctrl", "qspi_data4";
338 groups = "vin0_data8", "vin0_clk";
353 groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
358 groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
363 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
367 audio_clk_pins: audio_clk {
368 groups = "audio_clkc";
369 function = "audio_clk";
374 pinctrl-0 = <&scif2_pins>;
375 pinctrl-names = "default";
381 clock-frequency = <14745600>;
385 pinctrl-0 = <ðer_pins &phy1_pins>;
386 pinctrl-names = "default";
388 phy-handle = <&phy1>;
389 renesas,ether-link-active-low;
392 phy1: ethernet-phy@1 {
394 interrupt-parent = <&irqc0>;
395 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
396 micrel,led-mode = <1>;
401 pinctrl-0 = <&i2c1_pins>;
402 pinctrl-names = "i2c-hdmi";
404 clock-frequency = <400000>;
409 clock-frequency = <100000>;
412 compatible = "dlg,da9063";
414 interrupt-parent = <&gpio3>;
415 interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
416 interrupt-controller;
419 compatible = "dlg,da9063-onkey";
423 compatible = "dlg,da9063-rtc";
427 compatible = "dlg,da9063-watchdog";
433 pinctrl-0 = <&mmcif0_pins>;
434 pinctrl-names = "default";
436 vmmc-supply = <&d3_3v>;
437 vqmmc-supply = <&d3_3v>;
444 pinctrl-0 = <&sdhi1_pins>;
445 pinctrl-names = "default";
447 vmmc-supply = <&vcc_sdhi1>;
448 vqmmc-supply = <&vccq_sdhi1>;
449 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
454 pinctrl-0 = <&qspi_pins>;
455 pinctrl-names = "default";
460 compatible = "spansion,s25fl512s", "jedec,spi-nor";
462 spi-max-frequency = <30000000>;
463 spi-tx-bus-width = <4>;
464 spi-rx-bus-width = <4>;
470 compatible = "fixed-partitions";
471 #address-cells = <1>;
476 reg = <0x00000000 0x00040000>;
481 reg = <0x00040000 0x00400000>;
486 reg = <0x00440000 0x03bc0000>;
492 /* composite video input */
495 pinctrl-0 = <&vin0_pins>;
496 pinctrl-names = "default";
500 remote-endpoint = <&adv7180>;
508 pinctrl-0 = <&usb0_pins>;
509 pinctrl-names = "default";
514 pinctrl-0 = <&usb1_pins>;
515 pinctrl-names = "default";
523 pinctrl-0 = <&du0_pins &du1_pins>;
524 pinctrl-names = "default";
527 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
528 <&x2_clk>, <&x3_clk>;
529 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
534 remote-endpoint = <&adv7511_in>;
539 remote-endpoint = <&adv7123_in>;
546 pinctrl-0 = <&ssi_pins &audio_clk_pins>;
547 pinctrl-names = "default";
551 #sound-dai-cells = <0>;