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";
260 #address-cells = <1>;
265 adv7511_in: endpoint {
266 remote-endpoint = <&du_out_rgb0>;
272 adv7511_out: endpoint {
273 remote-endpoint = <&hdmi_con>;
280 compatible = "renesas,r1ex24002", "atmel,24c02";
288 clock-frequency = <20000000>;
292 pinctrl-0 = <&scif_clk_pins>;
293 pinctrl-names = "default";
296 groups = "scif2_data";
300 scif_clk_pins: scif_clk {
302 function = "scif_clk";
306 groups = "eth_link", "eth_mdio", "eth_rmii";
311 groups = "intc_irq8";
320 mmcif0_pins: mmcif0 {
321 groups = "mmc_data8", "mmc_ctrl";
326 groups = "sdhi1_data4", "sdhi1_ctrl";
331 groups = "qspi_ctrl", "qspi_data4";
336 groups = "vin0_data8", "vin0_clk";
351 groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
356 groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
361 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
365 audio_clk_pins: audio_clk {
366 groups = "audio_clkc";
367 function = "audio_clk";
372 pinctrl-0 = <&scif2_pins>;
373 pinctrl-names = "default";
379 clock-frequency = <14745600>;
383 pinctrl-0 = <ðer_pins &phy1_pins>;
384 pinctrl-names = "default";
386 phy-handle = <&phy1>;
387 renesas,ether-link-active-low;
390 phy1: ethernet-phy@1 {
392 interrupt-parent = <&irqc0>;
393 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
394 micrel,led-mode = <1>;
395 reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
400 pinctrl-0 = <&i2c1_pins>;
401 pinctrl-names = "i2c-hdmi";
403 clock-frequency = <400000>;
408 clock-frequency = <100000>;
411 compatible = "dlg,da9063";
413 interrupt-parent = <&gpio3>;
414 interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
415 interrupt-controller;
418 compatible = "dlg,da9063-onkey";
422 compatible = "dlg,da9063-rtc";
426 compatible = "dlg,da9063-watchdog";
432 pinctrl-0 = <&mmcif0_pins>;
433 pinctrl-names = "default";
435 vmmc-supply = <&d3_3v>;
436 vqmmc-supply = <&d3_3v>;
443 pinctrl-0 = <&sdhi1_pins>;
444 pinctrl-names = "default";
446 vmmc-supply = <&vcc_sdhi1>;
447 vqmmc-supply = <&vccq_sdhi1>;
448 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
453 pinctrl-0 = <&qspi_pins>;
454 pinctrl-names = "default";
459 compatible = "spansion,s25fl512s", "jedec,spi-nor";
461 spi-max-frequency = <30000000>;
462 spi-tx-bus-width = <4>;
463 spi-rx-bus-width = <4>;
469 compatible = "fixed-partitions";
470 #address-cells = <1>;
475 reg = <0x00000000 0x00040000>;
480 reg = <0x00040000 0x00400000>;
485 reg = <0x00440000 0x03bc0000>;
491 /* composite video input */
494 pinctrl-0 = <&vin0_pins>;
495 pinctrl-names = "default";
499 remote-endpoint = <&adv7180>;
507 pinctrl-0 = <&usb0_pins>;
508 pinctrl-names = "default";
513 pinctrl-0 = <&usb1_pins>;
514 pinctrl-names = "default";
522 pinctrl-0 = <&du0_pins &du1_pins>;
523 pinctrl-names = "default";
526 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
527 <&x2_clk>, <&x3_clk>;
528 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
533 remote-endpoint = <&adv7511_in>;
538 remote-endpoint = <&adv7123_in>;
545 pinctrl-0 = <&ssi_pins &audio_clk_pins>;
546 pinctrl-names = "default";
550 #sound-dai-cells = <0>;