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>
27 compatible = "renesas,silk", "renesas,r8a7794";
34 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
35 stdout-path = "serial0:115200n8";
39 device_type = "memory";
40 reg = <0 0x40000000 0 0x40000000>;
43 d3_3v: regulator-d3-3v {
44 compatible = "regulator-fixed";
45 regulator-name = "D3.3V";
46 regulator-min-microvolt = <3300000>;
47 regulator-max-microvolt = <3300000>;
52 vcc_sdhi1: regulator-vcc-sdhi1 {
53 compatible = "regulator-fixed";
55 regulator-name = "SDHI1 Vcc";
56 regulator-min-microvolt = <3300000>;
57 regulator-max-microvolt = <3300000>;
59 gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
63 vccq_sdhi1: regulator-vccq-sdhi1 {
64 compatible = "regulator-gpio";
66 regulator-name = "SDHI1 VccQ";
67 regulator-min-microvolt = <1800000>;
68 regulator-max-microvolt = <3300000>;
70 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
77 compatible = "adi,adv7123";
85 adv7123_in: endpoint {
86 remote-endpoint = <&du_out_rgb1>;
91 adv7123_out: endpoint {
92 remote-endpoint = <&vga_in>;
99 compatible = "hdmi-connector";
104 remote-endpoint = <&adv7511_out>;
110 compatible = "vga-connector";
114 remote-endpoint = <&adv7123_out>;
120 compatible = "fixed-clock";
122 clock-frequency = <148500000>;
126 compatible = "fixed-clock";
128 clock-frequency = <74250000>;
131 x9_clk: audio_clock {
132 compatible = "fixed-clock";
134 clock-frequency = <12288000>;
138 compatible = "simple-audio-card";
140 simple-audio-card,format = "left_j";
141 simple-audio-card,bitclock-master = <&soundcodec>;
142 simple-audio-card,frame-master = <&soundcodec>;
144 simple-audio-card,cpu {
145 sound-dai = <&rcar_sound>;
148 soundcodec: simple-audio-card,codec {
149 sound-dai = <&ak4643>;
156 clock-frequency = <20000000>;
160 pinctrl-0 = <&scif_clk_pins>;
161 pinctrl-names = "default";
164 groups = "scif2_data";
168 scif_clk_pins: scif_clk {
170 function = "scif_clk";
174 groups = "eth_link", "eth_mdio", "eth_rmii";
179 groups = "intc_irq8";
188 mmcif0_pins: mmcif0 {
189 groups = "mmc_data8", "mmc_ctrl";
194 groups = "sdhi1_data4", "sdhi1_ctrl";
199 groups = "qspi_ctrl", "qspi_data4";
204 groups = "vin0_data8", "vin0_clk";
219 groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
224 groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
229 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
233 audio_clk_pins: audio_clk {
234 groups = "audio_clkc";
235 function = "audio_clk";
240 pinctrl-0 = <&scif2_pins>;
241 pinctrl-names = "default";
247 clock-frequency = <14745600>;
251 pinctrl-0 = <ðer_pins &phy1_pins>;
252 pinctrl-names = "default";
254 phy-handle = <&phy1>;
255 renesas,ether-link-active-low;
258 phy1: ethernet-phy@1 {
260 interrupt-parent = <&irqc0>;
261 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
262 micrel,led-mode = <1>;
267 pinctrl-0 = <&i2c1_pins>;
268 pinctrl-names = "default";
271 clock-frequency = <400000>;
274 compatible = "asahi-kasei,ak4643";
275 #sound-dai-cells = <0>;
280 compatible = "adi,adv7180";
287 remote-endpoint = <&vin0ep>;
293 compatible = "adi,adv7511w";
295 interrupt-parent = <&gpio5>;
296 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
298 adi,input-depth = <8>;
299 adi,input-colorspace = "rgb";
300 adi,input-clock = "1x";
301 adi,input-style = <1>;
302 adi,input-justification = "evenly";
305 #address-cells = <1>;
310 adv7511_in: endpoint {
311 remote-endpoint = <&du_out_rgb0>;
317 adv7511_out: endpoint {
318 remote-endpoint = <&hdmi_con>;
326 pinctrl-0 = <&mmcif0_pins>;
327 pinctrl-names = "default";
329 vmmc-supply = <&d3_3v>;
330 vqmmc-supply = <&d3_3v>;
337 pinctrl-0 = <&sdhi1_pins>;
338 pinctrl-names = "default";
340 vmmc-supply = <&vcc_sdhi1>;
341 vqmmc-supply = <&vccq_sdhi1>;
342 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
347 pinctrl-0 = <&qspi_pins>;
348 pinctrl-names = "default";
353 compatible = "spansion,s25fl512s", "jedec,spi-nor";
355 spi-max-frequency = <30000000>;
356 spi-tx-bus-width = <4>;
357 spi-rx-bus-width = <4>;
363 compatible = "fixed-partitions";
364 #address-cells = <1>;
369 reg = <0x00000000 0x00040000>;
374 reg = <0x00040000 0x00400000>;
379 reg = <0x00440000 0x03bc0000>;
385 /* composite video input */
388 pinctrl-0 = <&vin0_pins>;
389 pinctrl-names = "default";
392 #address-cells = <1>;
396 remote-endpoint = <&adv7180>;
404 pinctrl-0 = <&usb0_pins>;
405 pinctrl-names = "default";
410 pinctrl-0 = <&usb1_pins>;
411 pinctrl-names = "default";
419 pinctrl-0 = <&du0_pins &du1_pins>;
420 pinctrl-names = "default";
423 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
424 <&x2_clk>, <&x3_clk>;
425 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
430 remote-endpoint = <&adv7511_in>;
435 remote-endpoint = <&adv7123_in>;
442 pinctrl-0 = <&ssi_pins &audio_clk_pins>;
443 pinctrl-names = "default";
447 #sound-dai-cells = <0>;