2 * Device Tree Source for the Lager board
4 * Copyright (C) 2013-2014 Renesas Solutions Corp.
5 * Copyright (C) 2014 Cogent Embedded, Inc.
7 * This file is licensed under the terms of the GNU General Public License
8 * version 2. This program is licensed "as is" without any warranty of any
9 * kind, whether express or implied.
13 #include "r8a7790.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
19 compatible = "renesas,lager", "renesas,r8a7790";
27 bootargs = "console=ttySC6,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp";
28 stdout-path = &scifa0;
32 device_type = "memory";
33 reg = <0 0x40000000 0 0x40000000>;
37 device_type = "memory";
38 reg = <1 0x40000000 0 0xc0000000>;
47 compatible = "gpio-keys";
53 debounce-interval = <20>;
54 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
60 debounce-interval = <20>;
61 gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
67 debounce-interval = <20>;
68 gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
74 debounce-interval = <20>;
75 gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
80 compatible = "gpio-leds";
82 gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
85 gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>;
88 gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
92 fixedregulator3v3: fixedregulator@0 {
93 compatible = "regulator-fixed";
94 regulator-name = "fixed-3.3V";
95 regulator-min-microvolt = <3300000>;
96 regulator-max-microvolt = <3300000>;
101 vcc_sdhi0: regulator@1 {
102 compatible = "regulator-fixed";
104 regulator-name = "SDHI0 Vcc";
105 regulator-min-microvolt = <3300000>;
106 regulator-max-microvolt = <3300000>;
108 gpio = <&gpio5 24 GPIO_ACTIVE_HIGH>;
112 vccq_sdhi0: regulator@2 {
113 compatible = "regulator-gpio";
115 regulator-name = "SDHI0 VccQ";
116 regulator-min-microvolt = <1800000>;
117 regulator-max-microvolt = <3300000>;
119 gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
125 vcc_sdhi2: regulator@3 {
126 compatible = "regulator-fixed";
128 regulator-name = "SDHI2 Vcc";
129 regulator-min-microvolt = <3300000>;
130 regulator-max-microvolt = <3300000>;
132 gpio = <&gpio5 25 GPIO_ACTIVE_HIGH>;
136 vccq_sdhi2: regulator@4 {
137 compatible = "regulator-gpio";
139 regulator-name = "SDHI2 VccQ";
140 regulator-min-microvolt = <1800000>;
141 regulator-max-microvolt = <3300000>;
143 gpios = <&gpio5 30 GPIO_ACTIVE_HIGH>;
150 compatible = "adi,adv7123";
153 #address-cells = <1>;
158 adv7123_in: endpoint {
159 remote-endpoint = <&du_out_rgb>;
164 adv7123_out: endpoint {
165 remote-endpoint = <&vga_in>;
172 compatible = "vga-connector";
176 remote-endpoint = <&adv7123_out>;
183 pinctrl-0 = <&du_pins>;
184 pinctrl-names = "default";
190 remote-endpoint = <&adv7123_in>;
194 lvds_connector: endpoint {
201 clock-frequency = <20000000>;
206 renesas,groups = "du_rgb666", "du_sync_1", "du_clk_out_0";
207 renesas,function = "du";
210 scifa0_pins: serial0 {
211 renesas,groups = "scifa0_data";
212 renesas,function = "scifa0";
216 renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
217 renesas,function = "eth";
221 renesas,groups = "intc_irq0";
222 renesas,function = "intc";
225 scifa1_pins: serial1 {
226 renesas,groups = "scifa1_data";
227 renesas,function = "scifa1";
231 renesas,groups = "sdhi0_data4", "sdhi0_ctrl";
232 renesas,function = "sdhi0";
236 renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
237 renesas,function = "sdhi2";
241 renesas,groups = "mmc1_data8", "mmc1_ctrl";
242 renesas,function = "mmc1";
246 renesas,groups = "qspi_ctrl", "qspi_data4";
247 renesas,function = "qspi";
251 renesas,groups = "msiof1_clk", "msiof1_sync", "msiof1_rx",
253 renesas,function = "msiof1";
257 renesas,groups = "iic1";
258 renesas,function = "iic1";
262 renesas,groups = "iic2";
263 renesas,function = "iic2";
267 renesas,groups = "iic3";
268 renesas,function = "iic3";
272 renesas,groups = "usb0_ovc_vbus";
273 renesas,function = "usb0";
277 renesas,groups = "usb0";
278 renesas,function = "usb0";
282 renesas,groups = "usb1";
283 renesas,function = "usb1";
287 renesas,groups = "usb2";
288 renesas,function = "usb2";
292 renesas,groups = "vin1_data8", "vin1_clk";
293 renesas,function = "vin1";
298 pinctrl-0 = <ðer_pins &phy1_pins>;
299 pinctrl-names = "default";
301 phy-handle = <&phy1>;
302 renesas,ether-link-active-low;
305 phy1: ethernet-phy@1 {
307 interrupt-parent = <&irqc0>;
308 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
309 micrel,led-mode = <1>;
318 pinctrl-0 = <&mmc1_pins>;
319 pinctrl-names = "default";
321 vmmc-supply = <&fixedregulator3v3>;
332 pinctrl-0 = <&qspi_pins>;
333 pinctrl-names = "default";
338 #address-cells = <1>;
340 compatible = "spansion,s25fl512s";
342 spi-max-frequency = <30000000>;
343 spi-tx-bus-width = <4>;
344 spi-rx-bus-width = <4>;
349 reg = <0x00000000 0x00040000>;
354 reg = <0x00040000 0x00400000>;
359 reg = <0x00440000 0x03bc0000>;
365 pinctrl-0 = <&scifa0_pins>;
366 pinctrl-names = "default";
372 pinctrl-0 = <&scifa1_pins>;
373 pinctrl-names = "default";
379 pinctrl-0 = <&msiof1_pins>;
380 pinctrl-names = "default";
385 compatible = "renesas,r2a11302ft";
387 spi-max-frequency = <6000000>;
394 pinctrl-0 = <&sdhi0_pins>;
395 pinctrl-names = "default";
397 vmmc-supply = <&vcc_sdhi0>;
398 vqmmc-supply = <&vccq_sdhi0>;
399 cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
404 pinctrl-0 = <&sdhi2_pins>;
405 pinctrl-names = "default";
407 vmmc-supply = <&vcc_sdhi2>;
408 vqmmc-supply = <&vccq_sdhi2>;
409 cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>;
414 cpu0-supply = <&vdd_dvfs>;
423 pinctrl-0 = <&iic1_pins>;
424 pinctrl-names = "default";
429 pinctrl-0 = <&iic2_pins>;
430 pinctrl-names = "default";
433 compatible = "adi,adv7180";
440 remote-endpoint = <&vin1ep0>;
447 pinctrl-names = "default";
448 pinctrl-0 = <&iic3_pins>;
451 vdd_dvfs: regulator@68 {
452 compatible = "dlg,da9210";
455 regulator-min-microvolt = <1000000>;
456 regulator-max-microvolt = <1000000>;
464 pinctrl-0 = <&usb0_pins>;
465 pinctrl-names = "default";
470 pinctrl-0 = <&usb1_pins>;
471 pinctrl-names = "default";
476 pinctrl-0 = <&usb2_pins>;
477 pinctrl-names = "default";
482 pinctrl-0 = <&usb2_pins>;
483 pinctrl-names = "default";
488 pinctrl-0 = <&hsusb_pins>;
489 pinctrl-names = "default";
490 renesas,enable-gpio = <&gpio5 18 GPIO_ACTIVE_HIGH>;
497 /* composite video input */
499 pinctrl-0 = <&vin1_pins>;
500 pinctrl-names = "default";
505 #address-cells = <1>;
509 remote-endpoint = <&adv7180>;