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";
28 stdout-path = &scifa1;
32 device_type = "memory";
33 reg = <0x40000000 0x20000000>;
36 reg_3p3v: regulator@0 {
37 compatible = "regulator-fixed";
38 regulator-name = "fixed-3.3V";
39 regulator-min-microvolt = <3300000>;
40 regulator-max-microvolt = <3300000>;
45 vcc_sdhi0: regulator@1 {
46 compatible = "regulator-fixed";
48 regulator-name = "SDHI0 Vcc";
49 regulator-min-microvolt = <3300000>;
50 regulator-max-microvolt = <3300000>;
52 gpio = <&pfc 75 GPIO_ACTIVE_HIGH>;
56 vccq_sdhi0: regulator@2 {
57 compatible = "regulator-gpio";
59 regulator-name = "SDHI0 VccQ";
60 regulator-min-microvolt = <1800000>;
61 regulator-max-microvolt = <3300000>;
62 vin-supply = <&vcc_sdhi0>;
64 enable-gpio = <&pfc 74 GPIO_ACTIVE_HIGH>;
65 gpios = <&pfc 17 GPIO_ACTIVE_HIGH>;
72 reg_5p0v: regulator@3 {
73 compatible = "regulator-fixed";
74 regulator-name = "fixed-5.0V";
75 regulator-min-microvolt = <5000000>;
76 regulator-max-microvolt = <5000000>;
82 compatible = "gpio-keys";
85 gpios = <&pfc 99 GPIO_ACTIVE_LOW>;
86 linux,code = <KEY_POWER>;
92 gpios = <&pfc 100 GPIO_ACTIVE_LOW>;
93 linux,code = <KEY_BACK>;
98 gpios = <&pfc 97 GPIO_ACTIVE_LOW>;
99 linux,code = <KEY_MENU>;
104 gpios = <&pfc 98 GPIO_ACTIVE_LOW>;
105 linux,code = <KEY_HOME>;
111 compatible = "gpio-leds";
113 gpios = <&pfc 102 GPIO_ACTIVE_HIGH>;
117 gpios = <&pfc 111 GPIO_ACTIVE_HIGH>;
121 gpios = <&pfc 110 GPIO_ACTIVE_HIGH>;
125 gpios = <&pfc 177 GPIO_ACTIVE_HIGH>;
131 #address-cells = <1>;
133 compatible = "i2c-gpio";
134 gpios = <&pfc 208 GPIO_ACTIVE_HIGH /* sda */
135 &pfc 91 GPIO_ACTIVE_HIGH /* scl */
137 i2c-gpio,delay-us = <5>;
141 compatible = "pwm-backlight";
142 pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>;
143 brightness-levels = <0 1 2 4 8 16 32 64 128 255>;
144 default-brightness-level = <9>;
145 pinctrl-0 = <&backlight_pins>;
146 pinctrl-names = "default";
147 power-supply = <®_5p0v>;
148 enable-gpios = <&pfc 61 GPIO_ACTIVE_HIGH>;
152 compatible = "simple-audio-card";
154 simple-audio-card,format = "i2s";
156 simple-audio-card,cpu {
157 sound-dai = <&sh_fsi2 0>;
161 simple-audio-card,codec {
162 sound-dai = <&wm8978>;
165 system-clock-frequency = <12288000>;
171 pinctrl-0 = <ðer_pins>;
172 pinctrl-names = "default";
174 phy-handle = <&phy0>;
177 phy0: ethernet-phy@0 {
183 clock-frequency = <25000000>;
186 clock-frequency = <48000000>;
189 clock-frequency = <12288000>;
192 renesas,mode = <0x05>; /* MD_CK0 | MD_CK2 */
202 compatible = "sitronix,st1232";
204 interrupt-parent = <&irqpin1>;
205 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
206 pinctrl-0 = <&st1232_pins>;
207 pinctrl-names = "default";
208 gpios = <&pfc 166 GPIO_ACTIVE_LOW>;
212 #sound-dai-cells = <0>;
213 compatible = "wlf,wm8978";
221 compatible = "sii,s35390a";
227 pinctrl-0 = <&lcd0_pins>;
228 pinctrl-names = "default";
231 renesas,groups = "gether_mii", "gether_int";
232 renesas,function = "gether";
235 scifa1_pins: serial1 {
236 renesas,groups = "scifa1_data";
237 renesas,function = "scifa1";
240 st1232_pins: touchscreen {
241 renesas,groups = "intc_irq10";
242 renesas,function = "intc";
245 backlight_pins: backlight {
246 renesas,groups = "tpu0_to2_1";
247 renesas,function = "tpu0";
251 renesas,groups = "mmc0_data8_1", "mmc0_ctrl_1";
252 renesas,function = "mmc0";
256 renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_wp";
257 renesas,function = "sdhi0";
261 renesas,groups = "fsia_sclk_in", "fsia_mclk_out",
262 "fsia_data_in_1", "fsia_data_out_0";
263 renesas,function = "fsia";
267 renesas,groups = "lcd0_data24_0", "lcd0_lclk_1", "lcd0_sync";
268 renesas,function = "lcd0";
270 /* DBGMD/LCDC0/FSIA MUX */
282 pinctrl-0 = <&mmc0_pins>;
283 pinctrl-names = "default";
285 vmmc-supply = <®_3p3v>;
292 pinctrl-0 = <&scifa1_pins>;
293 pinctrl-names = "default";
299 pinctrl-0 = <&sdhi0_pins>;
300 pinctrl-names = "default";
302 vmmc-supply = <&vcc_sdhi0>;
303 vqmmc-supply = <&vccq_sdhi0>;
305 cd-gpios = <&pfc 167 GPIO_ACTIVE_LOW>;
310 pinctrl-0 = <&fsia_pins>;
311 pinctrl-names = "default";