2 * 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";
20 compatible = "renesas,armadillo800eva", "renesas,r8a7740";
27 bootargs = "console=tty0 console=ttySC1,115200 earlyprintk=sh-sci.1,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
31 device_type = "memory";
32 reg = <0x40000000 0x20000000>;
35 reg_3p3v: regulator@0 {
36 compatible = "regulator-fixed";
37 regulator-name = "fixed-3.3V";
38 regulator-min-microvolt = <3300000>;
39 regulator-max-microvolt = <3300000>;
44 vcc_sdhi0: regulator@1 {
45 compatible = "regulator-fixed";
47 regulator-name = "SDHI0 Vcc";
48 regulator-min-microvolt = <3300000>;
49 regulator-max-microvolt = <3300000>;
51 gpio = <&pfc 75 GPIO_ACTIVE_HIGH>;
55 vccq_sdhi0: regulator@2 {
56 compatible = "regulator-gpio";
58 regulator-name = "SDHI0 VccQ";
59 regulator-min-microvolt = <1800000>;
60 regulator-max-microvolt = <3300000>;
61 vin-supply = <&vcc_sdhi0>;
63 enable-gpio = <&pfc 74 GPIO_ACTIVE_HIGH>;
64 gpios = <&pfc 17 GPIO_ACTIVE_HIGH>;
71 reg_5p0v: regulator@3 {
72 compatible = "regulator-fixed";
73 regulator-name = "fixed-5.0V";
74 regulator-min-microvolt = <5000000>;
75 regulator-max-microvolt = <5000000>;
81 compatible = "gpio-keys";
84 gpios = <&pfc 99 GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_POWER>;
91 gpios = <&pfc 100 GPIO_ACTIVE_LOW>;
92 linux,code = <KEY_BACK>;
97 gpios = <&pfc 97 GPIO_ACTIVE_LOW>;
98 linux,code = <KEY_MENU>;
103 gpios = <&pfc 98 GPIO_ACTIVE_LOW>;
104 linux,code = <KEY_HOME>;
110 compatible = "gpio-leds";
112 gpios = <&pfc 102 GPIO_ACTIVE_HIGH>;
116 gpios = <&pfc 111 GPIO_ACTIVE_HIGH>;
120 gpios = <&pfc 110 GPIO_ACTIVE_HIGH>;
124 gpios = <&pfc 177 GPIO_ACTIVE_HIGH>;
130 #address-cells = <1>;
132 compatible = "i2c-gpio";
133 gpios = <&pfc 208 GPIO_ACTIVE_HIGH /* sda */
134 &pfc 91 GPIO_ACTIVE_HIGH /* scl */
136 i2c-gpio,delay-us = <5>;
140 compatible = "pwm-backlight";
141 pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>;
142 brightness-levels = <0 1 2 4 8 16 32 64 128 255>;
143 default-brightness-level = <9>;
144 pinctrl-0 = <&backlight_pins>;
145 pinctrl-names = "default";
146 power-supply = <®_5p0v>;
147 enable-gpios = <&pfc 61 GPIO_ACTIVE_HIGH>;
151 compatible = "simple-audio-card";
153 simple-audio-card,format = "i2s";
155 simple-audio-card,cpu {
156 sound-dai = <&sh_fsi2 0>;
160 simple-audio-card,codec {
161 sound-dai = <&wm8978>;
164 system-clock-frequency = <12288000>;
170 pinctrl-0 = <ðer_pins>;
171 pinctrl-names = "default";
173 phy-handle = <&phy0>;
176 phy0: ethernet-phy@0 {
182 clock-frequency = <25000000>;
185 clock-frequency = <48000000>;
188 clock-frequency = <12288000>;
191 renesas,mode = <0x05>; /* MD_CK0 | MD_CK2 */
201 compatible = "sitronix,st1232";
203 interrupt-parent = <&irqpin1>;
204 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
205 pinctrl-0 = <&st1232_pins>;
206 pinctrl-names = "default";
207 gpios = <&pfc 166 GPIO_ACTIVE_LOW>;
211 #sound-dai-cells = <0>;
212 compatible = "wlf,wm8978";
220 compatible = "sii,s35390a";
227 renesas,groups = "gether_mii", "gether_int";
228 renesas,function = "gether";
231 scifa1_pins: serial1 {
232 renesas,groups = "scifa1_data";
233 renesas,function = "scifa1";
236 st1232_pins: touchscreen {
237 renesas,groups = "intc_irq10";
238 renesas,function = "intc";
241 backlight_pins: backlight {
242 renesas,groups = "tpu0_to2_1";
243 renesas,function = "tpu0";
247 renesas,groups = "mmc0_data8_1", "mmc0_ctrl_1";
248 renesas,function = "mmc0";
252 renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_wp";
253 renesas,function = "sdhi0";
257 renesas,groups = "fsia_sclk_in", "fsia_mclk_out",
258 "fsia_data_in_1", "fsia_data_out_0";
259 renesas,function = "fsia";
268 pinctrl-0 = <&mmc0_pins>;
269 pinctrl-names = "default";
271 vmmc-supply = <®_3p3v>;
278 pinctrl-0 = <&scifa1_pins>;
279 pinctrl-names = "default";
285 pinctrl-0 = <&sdhi0_pins>;
286 pinctrl-names = "default";
288 vmmc-supply = <&vcc_sdhi0>;
289 vqmmc-supply = <&vccq_sdhi0>;
291 cd-gpios = <&pfc 167 GPIO_ACTIVE_LOW>;
296 pinctrl-0 = <&fsia_pins>;
297 pinctrl-names = "default";