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";
39 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
40 stdout-path = "serial0:115200n8";
44 device_type = "memory";
45 reg = <0 0x40000000 0 0x40000000>;
49 compatible = "gpio-keys";
52 gpios = <&gpio5 10 GPIO_ACTIVE_LOW>;
56 debounce-interval = <20>;
59 gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
63 debounce-interval = <20>;
66 gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
70 debounce-interval = <20>;
73 gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
77 debounce-interval = <20>;
80 gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
84 debounce-interval = <20>;
87 gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
91 debounce-interval = <20>;
94 gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
98 debounce-interval = <20>;
102 d3_3v: regulator-d3-3v {
103 compatible = "regulator-fixed";
104 regulator-name = "D3.3V";
105 regulator-min-microvolt = <3300000>;
106 regulator-max-microvolt = <3300000>;
111 vcc_sdhi1: regulator-vcc-sdhi1 {
112 compatible = "regulator-fixed";
114 regulator-name = "SDHI1 Vcc";
115 regulator-min-microvolt = <3300000>;
116 regulator-max-microvolt = <3300000>;
118 gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
122 vccq_sdhi1: regulator-vccq-sdhi1 {
123 compatible = "regulator-gpio";
125 regulator-name = "SDHI1 VccQ";
126 regulator-min-microvolt = <1800000>;
127 regulator-max-microvolt = <3300000>;
129 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
131 states = <3300000 1>, <1800000 0>;
135 compatible = "adi,adv7123";
138 #address-cells = <1>;
143 adv7123_in: endpoint {
144 remote-endpoint = <&du_out_rgb1>;
149 adv7123_out: endpoint {
150 remote-endpoint = <&vga_in>;
157 compatible = "hdmi-connector";
162 remote-endpoint = <&adv7511_out>;
168 compatible = "vga-connector";
172 remote-endpoint = <&adv7123_out>;
178 compatible = "fixed-clock";
180 clock-frequency = <148500000>;
184 compatible = "fixed-clock";
186 clock-frequency = <74250000>;
189 x9_clk: audio_clock {
190 compatible = "fixed-clock";
192 clock-frequency = <12288000>;
196 compatible = "simple-audio-card";
198 simple-audio-card,format = "left_j";
199 simple-audio-card,bitclock-master = <&soundcodec>;
200 simple-audio-card,frame-master = <&soundcodec>;
202 simple-audio-card,cpu {
203 sound-dai = <&rcar_sound>;
206 soundcodec: simple-audio-card,codec {
207 sound-dai = <&ak4643>;
213 #address-cells = <1>;
215 compatible = "i2c-gpio";
217 scl-gpios = <&gpio4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
218 sda-gpios = <&gpio4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
219 i2c-gpio,delay-us = <5>;
223 * A fallback to GPIO is provided for I2C1.
226 compatible = "i2c-demux-pinctrl";
227 i2c-parent = <&i2c1>, <&gpioi2c1>;
228 i2c-bus-name = "i2c-hdmi";
229 #address-cells = <1>;
233 compatible = "asahi-kasei,ak4643";
234 #sound-dai-cells = <0>;
239 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";
261 #address-cells = <1>;
266 adv7511_in: endpoint {
267 remote-endpoint = <&du_out_rgb0>;
273 adv7511_out: endpoint {
274 remote-endpoint = <&hdmi_con>;
281 compatible = "renesas,r1ex24002", "atmel,24c02";
289 clock-frequency = <20000000>;
293 pinctrl-0 = <&scif_clk_pins>;
294 pinctrl-names = "default";
297 groups = "scif2_data";
301 scif_clk_pins: scif_clk {
303 function = "scif_clk";
307 groups = "eth_link", "eth_mdio", "eth_rmii";
312 groups = "intc_irq8";
321 mmcif0_pins: mmcif0 {
322 groups = "mmc_data8", "mmc_ctrl";
327 groups = "sdhi1_data4", "sdhi1_ctrl";
332 groups = "qspi_ctrl", "qspi_data4";
337 groups = "vin0_data8", "vin0_clk";
352 groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
357 groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
362 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
366 audio_clk_pins: audio_clk {
367 groups = "audio_clkc";
368 function = "audio_clk";
373 pinctrl-0 = <&scif2_pins>;
374 pinctrl-names = "default";
380 clock-frequency = <14745600>;
384 pinctrl-0 = <ðer_pins>, <&phy1_pins>;
385 pinctrl-names = "default";
387 phy-handle = <&phy1>;
388 renesas,ether-link-active-low;
391 phy1: ethernet-phy@1 {
393 interrupt-parent = <&irqc0>;
394 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
395 micrel,led-mode = <1>;
396 reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
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>;