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";
51 pinctrl-0 = <&keyboard_pins>;
52 pinctrl-names = "default";
55 gpios = <&gpio5 10 GPIO_ACTIVE_LOW>;
59 debounce-interval = <20>;
62 gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
66 debounce-interval = <20>;
69 gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
73 debounce-interval = <20>;
76 gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
80 debounce-interval = <20>;
83 gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
87 debounce-interval = <20>;
90 gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
94 debounce-interval = <20>;
97 gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
101 debounce-interval = <20>;
105 d3_3v: regulator-d3-3v {
106 compatible = "regulator-fixed";
107 regulator-name = "D3.3V";
108 regulator-min-microvolt = <3300000>;
109 regulator-max-microvolt = <3300000>;
114 vcc_sdhi1: regulator-vcc-sdhi1 {
115 compatible = "regulator-fixed";
117 regulator-name = "SDHI1 Vcc";
118 regulator-min-microvolt = <3300000>;
119 regulator-max-microvolt = <3300000>;
121 gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
125 vccq_sdhi1: regulator-vccq-sdhi1 {
126 compatible = "regulator-gpio";
128 regulator-name = "SDHI1 VccQ";
129 regulator-min-microvolt = <1800000>;
130 regulator-max-microvolt = <3300000>;
132 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
134 states = <3300000 1>, <1800000 0>;
138 compatible = "adi,adv7123";
141 #address-cells = <1>;
146 adv7123_in: endpoint {
147 remote-endpoint = <&du_out_rgb1>;
152 adv7123_out: endpoint {
153 remote-endpoint = <&vga_in>;
160 compatible = "hdmi-connector";
165 remote-endpoint = <&adv7511_out>;
171 compatible = "vga-connector";
175 remote-endpoint = <&adv7123_out>;
181 compatible = "fixed-clock";
183 clock-frequency = <148500000>;
187 compatible = "fixed-clock";
189 clock-frequency = <74250000>;
192 x9_clk: audio_clock {
193 compatible = "fixed-clock";
195 clock-frequency = <12288000>;
199 compatible = "simple-audio-card";
201 simple-audio-card,format = "left_j";
202 simple-audio-card,bitclock-master = <&soundcodec>;
203 simple-audio-card,frame-master = <&soundcodec>;
205 simple-audio-card,cpu {
206 sound-dai = <&rcar_sound>;
209 soundcodec: simple-audio-card,codec {
210 sound-dai = <&ak4643>;
216 #address-cells = <1>;
218 compatible = "i2c-gpio";
220 scl-gpios = <&gpio4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
221 sda-gpios = <&gpio4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
222 i2c-gpio,delay-us = <5>;
226 * A fallback to GPIO is provided for I2C1.
229 compatible = "i2c-demux-pinctrl";
230 i2c-parent = <&i2c1>, <&gpioi2c1>;
231 i2c-bus-name = "i2c-hdmi";
232 #address-cells = <1>;
236 compatible = "asahi-kasei,ak4643";
237 #sound-dai-cells = <0>;
242 compatible = "adi,adv7180";
248 remote-endpoint = <&vin0ep>;
254 compatible = "adi,adv7511w";
256 interrupt-parent = <&gpio5>;
257 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
259 adi,input-depth = <8>;
260 adi,input-colorspace = "rgb";
261 adi,input-clock = "1x";
264 #address-cells = <1>;
269 adv7511_in: endpoint {
270 remote-endpoint = <&du_out_rgb0>;
276 adv7511_out: endpoint {
277 remote-endpoint = <&hdmi_con>;
284 compatible = "renesas,r1ex24002", "atmel,24c02";
292 clock-frequency = <20000000>;
296 pinctrl-0 = <&scif_clk_pins>;
297 pinctrl-names = "default";
300 groups = "scif2_data";
304 scif_clk_pins: scif_clk {
306 function = "scif_clk";
310 groups = "eth_link", "eth_mdio", "eth_rmii";
315 groups = "intc_irq8";
324 mmcif0_pins: mmcif0 {
325 groups = "mmc_data8", "mmc_ctrl";
330 groups = "sdhi1_data4", "sdhi1_ctrl";
335 groups = "qspi_ctrl", "qspi_data4";
340 groups = "vin0_data8", "vin0_clk";
355 groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
360 groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
364 keyboard_pins: keyboard {
365 pins = "GP_3_9", "GP_3_10", "GP_3_11", "GP_3_12";
370 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
374 audio_clk_pins: audio_clk {
375 groups = "audio_clkc";
376 function = "audio_clk";
381 pinctrl-0 = <&scif2_pins>;
382 pinctrl-names = "default";
388 clock-frequency = <14745600>;
392 pinctrl-0 = <ðer_pins>, <&phy1_pins>;
393 pinctrl-names = "default";
395 phy-handle = <&phy1>;
396 renesas,ether-link-active-low;
399 phy1: ethernet-phy@1 {
400 compatible = "ethernet-phy-id0022.1537",
401 "ethernet-phy-ieee802.3-c22";
403 interrupt-parent = <&irqc0>;
404 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
405 micrel,led-mode = <1>;
406 reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
411 pinctrl-0 = <&i2c1_pins>;
412 pinctrl-names = "i2c-hdmi";
414 clock-frequency = <400000>;
419 clock-frequency = <100000>;
422 compatible = "dlg,da9063";
424 interrupt-parent = <&gpio3>;
425 interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
426 interrupt-controller;
429 compatible = "dlg,da9063-onkey";
433 compatible = "dlg,da9063-rtc";
437 compatible = "dlg,da9063-watchdog";
443 pinctrl-0 = <&mmcif0_pins>;
444 pinctrl-names = "default";
446 vmmc-supply = <&d3_3v>;
447 vqmmc-supply = <&d3_3v>;
454 pinctrl-0 = <&sdhi1_pins>;
455 pinctrl-names = "default";
457 vmmc-supply = <&vcc_sdhi1>;
458 vqmmc-supply = <&vccq_sdhi1>;
459 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
464 pinctrl-0 = <&qspi_pins>;
465 pinctrl-names = "default";
470 compatible = "spansion,s25fl512s", "jedec,spi-nor";
472 spi-max-frequency = <30000000>;
473 spi-tx-bus-width = <4>;
474 spi-rx-bus-width = <4>;
480 compatible = "fixed-partitions";
481 #address-cells = <1>;
486 reg = <0x00000000 0x00040000>;
491 reg = <0x00040000 0x00400000>;
496 reg = <0x00440000 0x03bc0000>;
502 /* composite video input */
505 pinctrl-0 = <&vin0_pins>;
506 pinctrl-names = "default";
510 remote-endpoint = <&adv7180>;
518 pinctrl-0 = <&usb0_pins>;
519 pinctrl-names = "default";
524 pinctrl-0 = <&usb1_pins>;
525 pinctrl-names = "default";
533 pinctrl-0 = <&du0_pins>, <&du1_pins>;
534 pinctrl-names = "default";
537 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
538 <&x2_clk>, <&x3_clk>;
539 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
544 remote-endpoint = <&adv7511_in>;
549 remote-endpoint = <&adv7123_in>;
556 pinctrl-0 = <&ssi_pins>, <&audio_clk_pins>;
557 pinctrl-names = "default";
561 #sound-dai-cells = <0>;