2 * Reference Device Tree Source for the armadillo 800 eva board
4 * Copyright (C) 2012 Renesas Solutions Corp.
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
12 #include "r8a7740.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
16 #include <dt-bindings/pwm/pwm.h>
19 model = "armadillo 800 eva reference";
20 compatible = "renesas,armadillo800eva-reference", "renesas,r8a7740";
23 bootargs = "console=tty0 console=ttySC1,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
27 device_type = "memory";
28 reg = <0x40000000 0x20000000>;
31 reg_3p3v: regulator@0 {
32 compatible = "regulator-fixed";
33 regulator-name = "fixed-3.3V";
34 regulator-min-microvolt = <3300000>;
35 regulator-max-microvolt = <3300000>;
40 vcc_sdhi0: regulator@1 {
41 compatible = "regulator-fixed";
43 regulator-name = "SDHI0 Vcc";
44 regulator-min-microvolt = <3300000>;
45 regulator-max-microvolt = <3300000>;
47 gpio = <&pfc 75 GPIO_ACTIVE_HIGH>;
51 vccq_sdhi0: regulator@2 {
52 compatible = "regulator-gpio";
54 regulator-name = "SDHI0 VccQ";
55 regulator-min-microvolt = <1800000>;
56 regulator-max-microvolt = <3300000>;
57 vin-supply = <&vcc_sdhi0>;
59 enable-gpio = <&pfc 74 GPIO_ACTIVE_HIGH>;
60 gpios = <&pfc 17 GPIO_ACTIVE_HIGH>;
67 reg_5p0v: regulator@3 {
68 compatible = "regulator-fixed";
69 regulator-name = "fixed-5.0V";
70 regulator-min-microvolt = <5000000>;
71 regulator-max-microvolt = <5000000>;
77 compatible = "gpio-keys";
80 gpios = <&pfc 99 GPIO_ACTIVE_LOW>;
81 linux,code = <KEY_POWER>;
87 gpios = <&pfc 100 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_BACK>;
93 gpios = <&pfc 97 GPIO_ACTIVE_LOW>;
94 linux,code = <KEY_MENU>;
99 gpios = <&pfc 98 GPIO_ACTIVE_LOW>;
100 linux,code = <KEY_HOME>;
106 compatible = "gpio-leds";
108 gpios = <&pfc 102 GPIO_ACTIVE_HIGH>;
112 gpios = <&pfc 111 GPIO_ACTIVE_HIGH>;
116 gpios = <&pfc 110 GPIO_ACTIVE_HIGH>;
120 gpios = <&pfc 177 GPIO_ACTIVE_HIGH>;
126 #address-cells = <1>;
128 compatible = "i2c-gpio";
129 gpios = <&pfc 208 GPIO_ACTIVE_HIGH /* sda */
130 &pfc 91 GPIO_ACTIVE_HIGH /* scl */
132 i2c-gpio,delay-us = <5>;
136 compatible = "pwm-backlight";
137 pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>;
138 brightness-levels = <0 1 2 4 8 16 32 64 128 255>;
139 default-brightness-level = <9>;
140 pinctrl-0 = <&backlight_pins>;
141 pinctrl-names = "default";
142 power-supply = <®_5p0v>;
143 enable-gpios = <&pfc 61 GPIO_ACTIVE_HIGH>;
147 compatible = "simple-audio-card";
149 simple-audio-card,format = "i2s";
151 simple-audio-card,cpu {
152 sound-dai = <&sh_fsi2 0>;
156 simple-audio-card,codec {
157 sound-dai = <&wm8978>;
160 system-clock-frequency = <12288000>;
166 pinctrl-0 = <ðer_pins>;
167 pinctrl-names = "default";
169 phy-handle = <&phy0>;
172 phy0: ethernet-phy@0 {
180 compatible = "sitronix,st1232";
182 interrupt-parent = <&irqpin1>;
183 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
184 pinctrl-0 = <&st1232_pins>;
185 pinctrl-names = "default";
186 gpios = <&pfc 166 GPIO_ACTIVE_LOW>;
190 #sound-dai-cells = <0>;
191 compatible = "wlf,wm8978";
199 compatible = "sii,s35390a";
205 pinctrl-0 = <&scifa1_pins>;
206 pinctrl-names = "default";
209 renesas,groups = "gether_mii", "gether_int";
210 renesas,function = "gether";
213 scifa1_pins: serial1 {
214 renesas,groups = "scifa1_data";
215 renesas,function = "scifa1";
218 st1232_pins: touchscreen {
219 renesas,groups = "intc_irq10";
220 renesas,function = "intc";
223 backlight_pins: backlight {
224 renesas,groups = "tpu0_to2_1";
225 renesas,function = "tpu0";
229 renesas,groups = "mmc0_data8_1", "mmc0_ctrl_1";
230 renesas,function = "mmc0";
234 renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_wp";
235 renesas,function = "sdhi0";
239 renesas,groups = "fsia_sclk_in", "fsia_mclk_out",
240 "fsia_data_in_1", "fsia_data_out_0";
241 renesas,function = "fsia";
250 pinctrl-0 = <&mmc0_pins>;
251 pinctrl-names = "default";
253 vmmc-supply = <®_3p3v>;
260 pinctrl-0 = <&sdhi0_pins>;
261 pinctrl-names = "default";
263 vmmc-supply = <&vcc_sdhi0>;
264 vqmmc-supply = <&vccq_sdhi0>;
266 cd-gpios = <&pfc 167 GPIO_ACTIVE_LOW>;
271 pinctrl-0 = <&fsia_pins>;
272 pinctrl-names = "default";