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 d1_8v: regulator-d1-8v {
106 compatible = "regulator-fixed";
107 regulator-name = "D1.8V";
108 regulator-min-microvolt = <1800000>;
109 regulator-max-microvolt = <1800000>;
114 d3_3v: regulator-d3-3v {
115 compatible = "regulator-fixed";
116 regulator-name = "D3.3V";
117 regulator-min-microvolt = <3300000>;
118 regulator-max-microvolt = <3300000>;
123 vcc_sdhi1: regulator-vcc-sdhi1 {
124 compatible = "regulator-fixed";
126 regulator-name = "SDHI1 Vcc";
127 regulator-min-microvolt = <3300000>;
128 regulator-max-microvolt = <3300000>;
130 gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
134 vccq_sdhi1: regulator-vccq-sdhi1 {
135 compatible = "regulator-gpio";
137 regulator-name = "SDHI1 VccQ";
138 regulator-min-microvolt = <1800000>;
139 regulator-max-microvolt = <3300000>;
141 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
143 states = <3300000 1>, <1800000 0>;
147 compatible = "adi,adv7123";
150 #address-cells = <1>;
155 adv7123_in: endpoint {
156 remote-endpoint = <&du_out_rgb1>;
161 adv7123_out: endpoint {
162 remote-endpoint = <&vga_in>;
169 compatible = "hdmi-connector";
174 remote-endpoint = <&adv7511_out>;
180 compatible = "vga-connector";
184 remote-endpoint = <&adv7123_out>;
190 compatible = "fixed-clock";
192 clock-frequency = <148500000>;
196 compatible = "fixed-clock";
198 clock-frequency = <74250000>;
201 x9_clk: audio_clock {
202 compatible = "fixed-clock";
204 clock-frequency = <12288000>;
208 compatible = "simple-audio-card";
210 simple-audio-card,format = "left_j";
211 simple-audio-card,bitclock-master = <&soundcodec>;
212 simple-audio-card,frame-master = <&soundcodec>;
214 simple-audio-card,cpu {
215 sound-dai = <&rcar_sound>;
218 soundcodec: simple-audio-card,codec {
219 sound-dai = <&ak4643>;
225 #address-cells = <1>;
227 compatible = "i2c-gpio";
229 scl-gpios = <&gpio4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
230 sda-gpios = <&gpio4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
231 i2c-gpio,delay-us = <5>;
235 * A fallback to GPIO is provided for I2C1.
238 compatible = "i2c-demux-pinctrl";
239 i2c-parent = <&i2c1>, <&gpioi2c1>;
240 i2c-bus-name = "i2c-hdmi";
241 #address-cells = <1>;
245 compatible = "asahi-kasei,ak4643";
246 #sound-dai-cells = <0>;
251 compatible = "adi,adv7180";
257 remote-endpoint = <&vin0ep>;
263 compatible = "adi,adv7511w";
265 interrupt-parent = <&gpio5>;
266 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
268 avdd-supply = <&d1_8v>;
269 dvdd-supply = <&d1_8v>;
270 pvdd-supply = <&d1_8v>;
271 dvdd-3v-supply = <&d3_3v>;
272 bgvdd-supply = <&d1_8v>;
274 adi,input-depth = <8>;
275 adi,input-colorspace = "rgb";
276 adi,input-clock = "1x";
279 #address-cells = <1>;
284 adv7511_in: endpoint {
285 remote-endpoint = <&du_out_rgb0>;
291 adv7511_out: endpoint {
292 remote-endpoint = <&hdmi_con>;
299 compatible = "renesas,r1ex24002", "atmel,24c02";
307 clock-frequency = <20000000>;
311 pinctrl-0 = <&scif_clk_pins>;
312 pinctrl-names = "default";
315 groups = "scif2_data";
319 scif_clk_pins: scif_clk {
321 function = "scif_clk";
325 groups = "eth_link", "eth_mdio", "eth_rmii";
330 groups = "intc_irq8";
339 mmcif0_pins: mmcif0 {
340 groups = "mmc_data8", "mmc_ctrl";
345 groups = "sdhi1_data4", "sdhi1_ctrl";
350 groups = "qspi_ctrl", "qspi_data4";
355 groups = "vin0_data8", "vin0_clk";
370 groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
375 groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
379 keyboard_pins: keyboard {
380 pins = "GP_3_9", "GP_3_10", "GP_3_11", "GP_3_12";
385 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
389 audio_clk_pins: audio_clk {
390 groups = "audio_clkc";
391 function = "audio_clk";
396 pinctrl-0 = <&scif2_pins>;
397 pinctrl-names = "default";
403 clock-frequency = <14745600>;
407 pinctrl-0 = <ðer_pins>, <&phy1_pins>;
408 pinctrl-names = "default";
410 phy-handle = <&phy1>;
411 renesas,ether-link-active-low;
414 phy1: ethernet-phy@1 {
415 compatible = "ethernet-phy-id0022.1537",
416 "ethernet-phy-ieee802.3-c22";
418 interrupt-parent = <&irqc0>;
419 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
420 micrel,led-mode = <1>;
421 reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
426 pinctrl-0 = <&i2c1_pins>;
427 pinctrl-names = "i2c-hdmi";
429 clock-frequency = <400000>;
434 clock-frequency = <100000>;
437 compatible = "dlg,da9063";
439 interrupt-parent = <&gpio3>;
440 interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
441 interrupt-controller;
442 #interrupt-cells = <2>;
445 compatible = "dlg,da9063-onkey";
449 compatible = "dlg,da9063-rtc";
453 compatible = "dlg,da9063-watchdog";
459 pinctrl-0 = <&mmcif0_pins>;
460 pinctrl-names = "default";
462 vmmc-supply = <&d3_3v>;
463 vqmmc-supply = <&d3_3v>;
470 pinctrl-0 = <&sdhi1_pins>;
471 pinctrl-names = "default";
473 vmmc-supply = <&vcc_sdhi1>;
474 vqmmc-supply = <&vccq_sdhi1>;
475 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
480 pinctrl-0 = <&qspi_pins>;
481 pinctrl-names = "default";
486 compatible = "spansion,s25fl512s", "jedec,spi-nor";
488 spi-max-frequency = <30000000>;
489 spi-tx-bus-width = <4>;
490 spi-rx-bus-width = <4>;
496 compatible = "fixed-partitions";
497 #address-cells = <1>;
502 reg = <0x00000000 0x00040000>;
507 reg = <0x00040000 0x00400000>;
512 reg = <0x00440000 0x03bc0000>;
518 /* composite video input */
521 pinctrl-0 = <&vin0_pins>;
522 pinctrl-names = "default";
526 remote-endpoint = <&adv7180>;
534 pinctrl-0 = <&usb0_pins>;
535 pinctrl-names = "default";
540 pinctrl-0 = <&usb1_pins>;
541 pinctrl-names = "default";
549 pinctrl-0 = <&du0_pins>, <&du1_pins>;
550 pinctrl-names = "default";
553 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
554 <&x2_clk>, <&x3_clk>;
555 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
560 remote-endpoint = <&adv7511_in>;
565 remote-endpoint = <&adv7123_in>;
572 pinctrl-0 = <&ssi_pins>, <&audio_clk_pins>;
573 pinctrl-names = "default";
577 #sound-dai-cells = <0>;