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>;
134 compatible = "adi,adv7123";
137 #address-cells = <1>;
142 adv7123_in: endpoint {
143 remote-endpoint = <&du_out_rgb1>;
148 adv7123_out: endpoint {
149 remote-endpoint = <&vga_in>;
156 compatible = "hdmi-connector";
161 remote-endpoint = <&adv7511_out>;
167 compatible = "vga-connector";
171 remote-endpoint = <&adv7123_out>;
177 compatible = "fixed-clock";
179 clock-frequency = <148500000>;
183 compatible = "fixed-clock";
185 clock-frequency = <74250000>;
188 x9_clk: audio_clock {
189 compatible = "fixed-clock";
191 clock-frequency = <12288000>;
195 compatible = "simple-audio-card";
197 simple-audio-card,format = "left_j";
198 simple-audio-card,bitclock-master = <&soundcodec>;
199 simple-audio-card,frame-master = <&soundcodec>;
201 simple-audio-card,cpu {
202 sound-dai = <&rcar_sound>;
205 soundcodec: simple-audio-card,codec {
206 sound-dai = <&ak4643>;
212 #address-cells = <1>;
214 compatible = "i2c-gpio";
216 scl-gpios = <&gpio4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
217 sda-gpios = <&gpio4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
218 i2c-gpio,delay-us = <5>;
222 * A fallback to GPIO is provided for I2C1.
225 compatible = "i2c-demux-pinctrl";
226 i2c-parent = <&i2c1>, <&gpioi2c1>;
227 i2c-bus-name = "i2c-hdmi";
228 #address-cells = <1>;
232 compatible = "asahi-kasei,ak4643";
233 #sound-dai-cells = <0>;
238 compatible = "adi,adv7180";
245 remote-endpoint = <&vin0ep>;
251 compatible = "adi,adv7511w";
253 interrupt-parent = <&gpio5>;
254 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
256 adi,input-depth = <8>;
257 adi,input-colorspace = "rgb";
258 adi,input-clock = "1x";
259 adi,input-style = <1>;
260 adi,input-justification = "evenly";
263 #address-cells = <1>;
268 adv7511_in: endpoint {
269 remote-endpoint = <&du_out_rgb0>;
275 adv7511_out: endpoint {
276 remote-endpoint = <&hdmi_con>;
283 compatible = "renesas,r1ex24002", "atmel,24c02";
291 clock-frequency = <20000000>;
295 pinctrl-0 = <&scif_clk_pins>;
296 pinctrl-names = "default";
299 groups = "scif2_data";
303 scif_clk_pins: scif_clk {
305 function = "scif_clk";
309 groups = "eth_link", "eth_mdio", "eth_rmii";
314 groups = "intc_irq8";
323 mmcif0_pins: mmcif0 {
324 groups = "mmc_data8", "mmc_ctrl";
329 groups = "sdhi1_data4", "sdhi1_ctrl";
334 groups = "qspi_ctrl", "qspi_data4";
339 groups = "vin0_data8", "vin0_clk";
354 groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
359 groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
364 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
368 audio_clk_pins: audio_clk {
369 groups = "audio_clkc";
370 function = "audio_clk";
375 pinctrl-0 = <&scif2_pins>;
376 pinctrl-names = "default";
382 clock-frequency = <14745600>;
386 pinctrl-0 = <ðer_pins &phy1_pins>;
387 pinctrl-names = "default";
389 phy-handle = <&phy1>;
390 renesas,ether-link-active-low;
393 phy1: ethernet-phy@1 {
395 interrupt-parent = <&irqc0>;
396 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
397 micrel,led-mode = <1>;
402 pinctrl-0 = <&i2c1_pins>;
403 pinctrl-names = "i2c-hdmi";
405 clock-frequency = <400000>;
410 clock-frequency = <100000>;
413 compatible = "dlg,da9063";
415 interrupt-parent = <&gpio3>;
416 interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
417 interrupt-controller;
420 compatible = "dlg,da9063-onkey";
424 compatible = "dlg,da9063-rtc";
428 compatible = "dlg,da9063-watchdog";
434 pinctrl-0 = <&mmcif0_pins>;
435 pinctrl-names = "default";
437 vmmc-supply = <&d3_3v>;
438 vqmmc-supply = <&d3_3v>;
445 pinctrl-0 = <&sdhi1_pins>;
446 pinctrl-names = "default";
448 vmmc-supply = <&vcc_sdhi1>;
449 vqmmc-supply = <&vccq_sdhi1>;
450 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
455 pinctrl-0 = <&qspi_pins>;
456 pinctrl-names = "default";
461 compatible = "spansion,s25fl512s", "jedec,spi-nor";
463 spi-max-frequency = <30000000>;
464 spi-tx-bus-width = <4>;
465 spi-rx-bus-width = <4>;
471 compatible = "fixed-partitions";
472 #address-cells = <1>;
477 reg = <0x00000000 0x00040000>;
482 reg = <0x00040000 0x00400000>;
487 reg = <0x00440000 0x03bc0000>;
493 /* composite video input */
496 pinctrl-0 = <&vin0_pins>;
497 pinctrl-names = "default";
501 remote-endpoint = <&adv7180>;
509 pinctrl-0 = <&usb0_pins>;
510 pinctrl-names = "default";
515 pinctrl-0 = <&usb1_pins>;
516 pinctrl-names = "default";
524 pinctrl-0 = <&du0_pins &du1_pins>;
525 pinctrl-names = "default";
528 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
529 <&x2_clk>, <&x3_clk>;
530 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
535 remote-endpoint = <&adv7511_in>;
540 remote-endpoint = <&adv7123_in>;
547 pinctrl-0 = <&ssi_pins &audio_clk_pins>;
548 pinctrl-names = "default";
552 #sound-dai-cells = <0>;