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";
243 remote-endpoint = <&vin0ep>;
249 compatible = "adi,adv7511w";
251 interrupt-parent = <&gpio5>;
252 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
254 adi,input-depth = <8>;
255 adi,input-colorspace = "rgb";
256 adi,input-clock = "1x";
259 #address-cells = <1>;
264 adv7511_in: endpoint {
265 remote-endpoint = <&du_out_rgb0>;
271 adv7511_out: endpoint {
272 remote-endpoint = <&hdmi_con>;
279 compatible = "renesas,r1ex24002", "atmel,24c02";
287 clock-frequency = <20000000>;
291 pinctrl-0 = <&scif_clk_pins>;
292 pinctrl-names = "default";
295 groups = "scif2_data";
299 scif_clk_pins: scif_clk {
301 function = "scif_clk";
305 groups = "eth_link", "eth_mdio", "eth_rmii";
310 groups = "intc_irq8";
319 mmcif0_pins: mmcif0 {
320 groups = "mmc_data8", "mmc_ctrl";
325 groups = "sdhi1_data4", "sdhi1_ctrl";
330 groups = "qspi_ctrl", "qspi_data4";
335 groups = "vin0_data8", "vin0_clk";
350 groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
355 groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
360 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
364 audio_clk_pins: audio_clk {
365 groups = "audio_clkc";
366 function = "audio_clk";
371 pinctrl-0 = <&scif2_pins>;
372 pinctrl-names = "default";
378 clock-frequency = <14745600>;
382 pinctrl-0 = <ðer_pins &phy1_pins>;
383 pinctrl-names = "default";
385 phy-handle = <&phy1>;
386 renesas,ether-link-active-low;
389 phy1: ethernet-phy@1 {
391 interrupt-parent = <&irqc0>;
392 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
393 micrel,led-mode = <1>;
394 reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
399 pinctrl-0 = <&i2c1_pins>;
400 pinctrl-names = "i2c-hdmi";
402 clock-frequency = <400000>;
407 clock-frequency = <100000>;
410 compatible = "dlg,da9063";
412 interrupt-parent = <&gpio3>;
413 interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
414 interrupt-controller;
417 compatible = "dlg,da9063-onkey";
421 compatible = "dlg,da9063-rtc";
425 compatible = "dlg,da9063-watchdog";
431 pinctrl-0 = <&mmcif0_pins>;
432 pinctrl-names = "default";
434 vmmc-supply = <&d3_3v>;
435 vqmmc-supply = <&d3_3v>;
442 pinctrl-0 = <&sdhi1_pins>;
443 pinctrl-names = "default";
445 vmmc-supply = <&vcc_sdhi1>;
446 vqmmc-supply = <&vccq_sdhi1>;
447 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
452 pinctrl-0 = <&qspi_pins>;
453 pinctrl-names = "default";
458 compatible = "spansion,s25fl512s", "jedec,spi-nor";
460 spi-max-frequency = <30000000>;
461 spi-tx-bus-width = <4>;
462 spi-rx-bus-width = <4>;
468 compatible = "fixed-partitions";
469 #address-cells = <1>;
474 reg = <0x00000000 0x00040000>;
479 reg = <0x00040000 0x00400000>;
484 reg = <0x00440000 0x03bc0000>;
490 /* composite video input */
493 pinctrl-0 = <&vin0_pins>;
494 pinctrl-names = "default";
498 remote-endpoint = <&adv7180>;
506 pinctrl-0 = <&usb0_pins>;
507 pinctrl-names = "default";
512 pinctrl-0 = <&usb1_pins>;
513 pinctrl-names = "default";
521 pinctrl-0 = <&du0_pins &du1_pins>;
522 pinctrl-names = "default";
525 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
526 <&x2_clk>, <&x3_clk>;
527 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
532 remote-endpoint = <&adv7511_in>;
537 remote-endpoint = <&adv7123_in>;
544 pinctrl-0 = <&ssi_pins &audio_clk_pins>;
545 pinctrl-names = "default";
549 #sound-dai-cells = <0>;