2 * Device Tree Source for the Koelsch board
4 * Copyright (C) 2013 Renesas Electronics Corporation
5 * Copyright (C) 2013-2014 Renesas Solutions Corp.
6 * Copyright (C) 2014 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 "r8a7791.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
19 compatible = "renesas,koelsch", "renesas,r8a7791";
22 bootargs = "console=ttySC6,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp";
26 device_type = "memory";
27 reg = <0 0x40000000 0 0x40000000>;
31 device_type = "memory";
32 reg = <2 0x00000000 0 0x40000000>;
41 compatible = "gpio-keys";
44 gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
48 debounce-interval = <20>;
51 gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
55 debounce-interval = <20>;
58 gpios = <&gpio7 2 GPIO_ACTIVE_LOW>;
62 debounce-interval = <20>;
65 gpios = <&gpio7 3 GPIO_ACTIVE_LOW>;
69 debounce-interval = <20>;
72 gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
76 debounce-interval = <20>;
79 gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
83 debounce-interval = <20>;
86 gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
90 debounce-interval = <20>;
95 compatible = "gpio-leds";
97 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
100 gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
103 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
107 vcc_sdhi0: regulator@0 {
108 compatible = "regulator-fixed";
110 regulator-name = "SDHI0 Vcc";
111 regulator-min-microvolt = <3300000>;
112 regulator-max-microvolt = <3300000>;
114 gpio = <&gpio7 17 GPIO_ACTIVE_HIGH>;
118 vccq_sdhi0: regulator@1 {
119 compatible = "regulator-gpio";
121 regulator-name = "SDHI0 VccQ";
122 regulator-min-microvolt = <1800000>;
123 regulator-max-microvolt = <3300000>;
125 gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
131 vcc_sdhi1: regulator@2 {
132 compatible = "regulator-fixed";
134 regulator-name = "SDHI1 Vcc";
135 regulator-min-microvolt = <3300000>;
136 regulator-max-microvolt = <3300000>;
138 gpio = <&gpio7 18 GPIO_ACTIVE_HIGH>;
142 vccq_sdhi1: regulator@3 {
143 compatible = "regulator-gpio";
145 regulator-name = "SDHI1 VccQ";
146 regulator-min-microvolt = <1800000>;
147 regulator-max-microvolt = <3300000>;
149 gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
155 vcc_sdhi2: regulator@4 {
156 compatible = "regulator-fixed";
158 regulator-name = "SDHI2 Vcc";
159 regulator-min-microvolt = <3300000>;
160 regulator-max-microvolt = <3300000>;
162 gpio = <&gpio7 19 GPIO_ACTIVE_HIGH>;
166 vccq_sdhi2: regulator@5 {
167 compatible = "regulator-gpio";
169 regulator-name = "SDHI2 VccQ";
170 regulator-min-microvolt = <1800000>;
171 regulator-max-microvolt = <3300000>;
173 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
181 clock-frequency = <20000000>;
185 pinctrl-0 = <&i2c2_pins>;
186 pinctrl-names = "default";
189 clock-frequency = <400000>;
192 compatible = "renesas,24c02";
199 pinctrl-0 = <&du_pins &scif0_pins &scif1_pins>;
200 pinctrl-names = "default";
203 renesas,groups = "i2c2";
204 renesas,function = "i2c2";
208 renesas,groups = "du_rgb666", "du_sync", "du_clk_out_0";
209 renesas,function = "du";
212 scif0_pins: serial0 {
213 renesas,groups = "scif0_data_d";
214 renesas,function = "scif0";
217 scif1_pins: serial1 {
218 renesas,groups = "scif1_data_d";
219 renesas,function = "scif1";
223 renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
224 renesas,function = "eth";
228 renesas,groups = "intc_irq0";
229 renesas,function = "intc";
233 renesas,gpios = "sdhi0_data4", "sdhi0_ctrl";
234 renesas,function = "sdhi0";
238 renesas,gpios = "sdhi1_data4", "sdhi1_ctrl";
239 renesas,function = "sdhi1";
243 renesas,gpios = "sdhi2_data4", "sdhi2_ctrl";
244 renesas,function = "sdhi2";
248 renesas,groups = "qspi_ctrl", "qspi_data4";
249 renesas,function = "qspi";
254 pinctrl-0 = <ðer_pins &phy1_pins>;
255 pinctrl-names = "default";
257 phy-handle = <&phy1>;
258 renesas,ether-link-active-low;
261 phy1: ethernet-phy@1 {
263 interrupt-parent = <&irqc0>;
264 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
273 pinctrl-0 = <&sdhi0_pins>;
274 pinctrl-names = "default";
276 vmmc-supply = <&vcc_sdhi0>;
277 vqmmc-supply = <&vccq_sdhi0>;
278 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
279 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
284 pinctrl-0 = <&sdhi1_pins>;
285 pinctrl-names = "default";
287 vmmc-supply = <&vcc_sdhi1>;
288 vqmmc-supply = <&vccq_sdhi1>;
289 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
290 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
295 pinctrl-0 = <&sdhi2_pins>;
296 pinctrl-names = "default";
298 vmmc-supply = <&vcc_sdhi2>;
299 vqmmc-supply = <&vccq_sdhi2>;
300 cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
305 pinctrl-0 = <&qspi_pins>;
306 pinctrl-names = "default";
311 #address-cells = <1>;
313 compatible = "spansion,s25fl512s";
315 spi-max-frequency = <30000000>;
320 reg = <0x00000000 0x00080000>;
325 reg = <0x00080000 0x00080000>;
330 reg = <0x00100000 0x03f00000>;