2 * Device Tree Source for the SILK board
4 * Copyright (C) 2014 Renesas Electronics Corporation
5 * Copyright (C) 2014-2015 Renesas Solutions Corp.
6 * Copyright (C) 2014-2015 Cogent Embedded, Inc.
8 * This file is licensed under the terms of the GNU General Public License
9 * version 2. This program is licensed "as is" without any warranty of any
10 * kind, whether express or implied.
14 #include "r8a7794.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
19 compatible = "renesas,silk", "renesas,r8a7794";
26 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
27 stdout-path = "serial0:115200n8";
31 device_type = "memory";
32 reg = <0 0x40000000 0 0x40000000>;
36 compatible = "regulator-fixed";
37 regulator-name = "D3.3V";
38 regulator-min-microvolt = <3300000>;
39 regulator-max-microvolt = <3300000>;
44 vcc_sdhi1: regulator@3 {
45 compatible = "regulator-fixed";
47 regulator-name = "SDHI1 Vcc";
48 regulator-min-microvolt = <3300000>;
49 regulator-max-microvolt = <3300000>;
51 gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
55 vccq_sdhi1: regulator@4 {
56 compatible = "regulator-gpio";
58 regulator-name = "SDHI1 VccQ";
59 regulator-min-microvolt = <1800000>;
60 regulator-max-microvolt = <3300000>;
62 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
69 compatible = "adi,adv7123";
77 adv7123_in: endpoint {
78 remote-endpoint = <&du_out_rgb1>;
83 adv7123_out: endpoint {
84 remote-endpoint = <&vga_in>;
91 compatible = "hdmi-connector";
96 remote-endpoint = <&adv7511_out>;
102 compatible = "vga-connector";
106 remote-endpoint = <&adv7123_out>;
112 compatible = "fixed-clock";
114 clock-frequency = <148500000>;
118 compatible = "fixed-clock";
120 clock-frequency = <74250000>;
125 clock-frequency = <20000000>;
129 pinctrl-0 = <&scif_clk_pins>;
130 pinctrl-names = "default";
132 scif2_pins: serial2 {
133 renesas,groups = "scif2_data";
134 renesas,function = "scif2";
137 scif_clk_pins: scif_clk {
138 renesas,groups = "scif_clk";
139 renesas,function = "scif_clk";
143 renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
144 renesas,function = "eth";
148 renesas,groups = "intc_irq8";
149 renesas,function = "intc";
153 renesas,groups = "i2c1";
154 renesas,function = "i2c1";
157 mmcif0_pins: mmcif0 {
158 renesas,groups = "mmc_data8", "mmc_ctrl";
159 renesas,function = "mmc";
163 renesas,groups = "sdhi1_data4", "sdhi1_ctrl";
164 renesas,function = "sdhi1";
168 renesas,groups = "qspi_ctrl", "qspi_data4";
169 renesas,function = "qspi";
173 renesas,groups = "vin0_data8", "vin0_clk";
174 renesas,function = "vin0";
178 renesas,groups = "usb0";
179 renesas,function = "usb0";
183 renesas,groups = "usb1";
184 renesas,function = "usb1";
189 pinctrl-0 = <&scif2_pins>;
190 pinctrl-names = "default";
196 clock-frequency = <14745600>;
201 pinctrl-0 = <ðer_pins &phy1_pins>;
202 pinctrl-names = "default";
204 phy-handle = <&phy1>;
205 renesas,ether-link-active-low;
208 phy1: ethernet-phy@1 {
210 interrupt-parent = <&irqc0>;
211 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
212 micrel,led-mode = <1>;
217 pinctrl-0 = <&i2c1_pins>;
218 pinctrl-names = "default";
221 clock-frequency = <400000>;
224 compatible = "adi,adv7180";
231 remote-endpoint = <&vin0ep>;
237 compatible = "adi,adv7511w";
239 interrupt-parent = <&gpio5>;
240 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
242 adi,input-depth = <8>;
243 adi,input-colorspace = "rgb";
244 adi,input-clock = "1x";
245 adi,input-style = <1>;
246 adi,input-justification = "evenly";
249 #address-cells = <1>;
254 adv7511_in: endpoint {
255 remote-endpoint = <&du_out_rgb0>;
261 adv7511_out: endpoint {
262 remote-endpoint = <&hdmi_con>;
270 pinctrl-0 = <&mmcif0_pins>;
271 pinctrl-names = "default";
273 vmmc-supply = <&d3_3v>;
274 vqmmc-supply = <&d3_3v>;
281 pinctrl-0 = <&sdhi1_pins>;
282 pinctrl-names = "default";
284 vmmc-supply = <&vcc_sdhi1>;
285 vqmmc-supply = <&vccq_sdhi1>;
286 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
291 pinctrl-0 = <&qspi_pins>;
292 pinctrl-names = "default";
297 compatible = "spansion,s25fl512s", "jedec,spi-nor";
299 spi-max-frequency = <30000000>;
300 spi-tx-bus-width = <4>;
301 spi-rx-bus-width = <4>;
307 compatible = "fixed-partitions";
308 #address-cells = <1>;
313 reg = <0x00000000 0x00040000>;
318 reg = <0x00040000 0x00400000>;
323 reg = <0x00440000 0x03bc0000>;
329 /* composite video input */
332 pinctrl-0 = <&vin0_pins>;
333 pinctrl-names = "default";
336 #address-cells = <1>;
340 remote-endpoint = <&adv7180>;
348 pinctrl-0 = <&usb0_pins>;
349 pinctrl-names = "default";
354 pinctrl-0 = <&usb1_pins>;
355 pinctrl-names = "default";
365 clocks = <&mstp7_clks R8A7794_CLK_DU0>,
366 <&mstp7_clks R8A7794_CLK_DU0>,
367 <&x2_clk>, <&x3_clk>;
368 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
373 remote-endpoint = <&adv7511_in>;
378 remote-endpoint = <&adv7123_in>;