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";
31 device_type = "memory";
32 reg = <0 0x40000000 0 0x40000000>;
36 device_type = "memory";
37 reg = <1 0x40000000 0 0xc0000000>;
46 compatible = "gpio-keys";
52 debounce-interval = <20>;
53 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
59 debounce-interval = <20>;
60 gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
66 debounce-interval = <20>;
67 gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
73 debounce-interval = <20>;
74 gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
79 compatible = "gpio-leds";
81 gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
84 gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>;
87 gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
91 fixedregulator3v3: fixedregulator@0 {
92 compatible = "regulator-fixed";
93 regulator-name = "fixed-3.3V";
94 regulator-min-microvolt = <3300000>;
95 regulator-max-microvolt = <3300000>;
100 vcc_sdhi0: regulator@1 {
101 compatible = "regulator-fixed";
103 regulator-name = "SDHI0 Vcc";
104 regulator-min-microvolt = <3300000>;
105 regulator-max-microvolt = <3300000>;
107 gpio = <&gpio5 24 GPIO_ACTIVE_HIGH>;
111 vccq_sdhi0: regulator@2 {
112 compatible = "regulator-gpio";
114 regulator-name = "SDHI0 VccQ";
115 regulator-min-microvolt = <1800000>;
116 regulator-max-microvolt = <3300000>;
118 gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
124 vcc_sdhi2: regulator@3 {
125 compatible = "regulator-fixed";
127 regulator-name = "SDHI2 Vcc";
128 regulator-min-microvolt = <3300000>;
129 regulator-max-microvolt = <3300000>;
131 gpio = <&gpio5 25 GPIO_ACTIVE_HIGH>;
135 vccq_sdhi2: regulator@4 {
136 compatible = "regulator-gpio";
138 regulator-name = "SDHI2 VccQ";
139 regulator-min-microvolt = <1800000>;
140 regulator-max-microvolt = <3300000>;
142 gpios = <&gpio5 30 GPIO_ACTIVE_HIGH>;
150 clock-frequency = <20000000>;
154 pinctrl-0 = <&du_pins>;
155 pinctrl-names = "default";
158 renesas,groups = "du_rgb666", "du_sync_1", "du_clk_out_0";
159 renesas,function = "du";
162 scif0_pins: serial0 {
163 renesas,groups = "scif0_data";
164 renesas,function = "scif0";
168 renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
169 renesas,function = "eth";
173 renesas,groups = "intc_irq0";
174 renesas,function = "intc";
177 scif1_pins: serial1 {
178 renesas,groups = "scif1_data";
179 renesas,function = "scif1";
183 renesas,groups = "sdhi0_data4", "sdhi0_ctrl";
184 renesas,function = "sdhi0";
188 renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
189 renesas,function = "sdhi2";
193 renesas,groups = "mmc1_data8", "mmc1_ctrl";
194 renesas,function = "mmc1";
198 renesas,groups = "qspi_ctrl", "qspi_data4";
199 renesas,function = "qspi";
203 renesas,groups = "msiof1_clk", "msiof1_sync", "msiof1_rx",
205 renesas,function = "msiof1";
209 renesas,groups = "iic1";
210 renesas,function = "iic1";
214 renesas,groups = "iic2";
215 renesas,function = "iic2";
219 renesas,groups = "iic3";
220 renesas,function = "iic3";
224 renesas,groups = "usb0";
225 renesas,function = "usb0";
229 renesas,groups = "usb1";
230 renesas,function = "usb1";
234 renesas,groups = "usb2";
235 renesas,function = "usb2";
240 pinctrl-0 = <ðer_pins &phy1_pins>;
241 pinctrl-names = "default";
243 phy-handle = <&phy1>;
244 renesas,ether-link-active-low;
247 phy1: ethernet-phy@1 {
249 interrupt-parent = <&irqc0>;
250 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
251 micrel,led-mode = <1>;
256 pinctrl-0 = <&mmc1_pins>;
257 pinctrl-names = "default";
259 vmmc-supply = <&fixedregulator3v3>;
270 pinctrl-0 = <&qspi_pins>;
271 pinctrl-names = "default";
276 #address-cells = <1>;
278 compatible = "spansion,s25fl512s";
280 spi-max-frequency = <30000000>;
281 spi-tx-bus-width = <4>;
282 spi-rx-bus-width = <4>;
287 reg = <0x00000000 0x00040000>;
292 reg = <0x00040000 0x00400000>;
297 reg = <0x00440000 0x03bc0000>;
303 pinctrl-0 = <&msiof1_pins>;
304 pinctrl-names = "default";
309 compatible = "renesas,r2a11302ft";
311 spi-max-frequency = <6000000>;
318 pinctrl-0 = <&scif0_pins>;
319 pinctrl-names = "default";
325 pinctrl-0 = <&scif1_pins>;
326 pinctrl-names = "default";
332 pinctrl-0 = <&sdhi0_pins>;
333 pinctrl-names = "default";
335 vmmc-supply = <&vcc_sdhi0>;
336 vqmmc-supply = <&vccq_sdhi0>;
337 cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
342 pinctrl-0 = <&sdhi2_pins>;
343 pinctrl-names = "default";
345 vmmc-supply = <&vcc_sdhi2>;
346 vqmmc-supply = <&vccq_sdhi2>;
347 cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>;
352 cpu0-supply = <&vdd_dvfs>;
361 pinctrl-0 = <&iic1_pins>;
362 pinctrl-names = "default";
367 pinctrl-0 = <&iic2_pins>;
368 pinctrl-names = "default";
372 pinctrl-names = "default";
373 pinctrl-0 = <&iic3_pins>;
376 vdd_dvfs: regulator@68 {
377 compatible = "diasemi,da9210";
380 regulator-min-microvolt = <1000000>;
381 regulator-max-microvolt = <1000000>;
389 pinctrl-0 = <&usb0_pins>;
390 pinctrl-names = "default";
395 pinctrl-0 = <&usb1_pins>;
396 pinctrl-names = "default";
401 pinctrl-0 = <&usb2_pins>;
402 pinctrl-names = "default";