1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the armadillo 800 eva board
5 * Copyright (C) 2012 Renesas Solutions Corp.
9 #include "r8a7740.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/pwm/pwm.h>
16 model = "armadillo 800 eva";
17 compatible = "renesas,armadillo800eva", "renesas,r8a7740";
24 bootargs = "earlyprintk ignore_loglevel root=/dev/nfs ip=dhcp rw";
25 stdout-path = "serial0:115200n8";
29 device_type = "memory";
30 reg = <0x40000000 0x20000000>;
33 reg_3p3v: regulator-3p3v {
34 compatible = "regulator-fixed";
35 regulator-name = "fixed-3.3V";
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
42 vcc_sdhi0: regulator-vcc-sdhi0 {
43 compatible = "regulator-fixed";
45 regulator-name = "SDHI0 Vcc";
46 regulator-min-microvolt = <3300000>;
47 regulator-max-microvolt = <3300000>;
49 gpio = <&pfc 75 GPIO_ACTIVE_HIGH>;
53 vccq_sdhi0: regulator-vccq-sdhi0 {
54 compatible = "regulator-gpio";
56 regulator-name = "SDHI0 VccQ";
57 regulator-min-microvolt = <1800000>;
58 regulator-max-microvolt = <3300000>;
59 vin-supply = <&vcc_sdhi0>;
61 enable-gpio = <&pfc 74 GPIO_ACTIVE_HIGH>;
62 gpios = <&pfc 17 GPIO_ACTIVE_HIGH>;
69 reg_5p0v: regulator-5p0v {
70 compatible = "regulator-fixed";
71 regulator-name = "fixed-5.0V";
72 regulator-min-microvolt = <5000000>;
73 regulator-max-microvolt = <5000000>;
79 compatible = "gpio-keys";
82 gpios = <&pfc 99 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_POWER>;
89 gpios = <&pfc 100 GPIO_ACTIVE_LOW>;
90 linux,code = <KEY_BACK>;
95 gpios = <&pfc 97 GPIO_ACTIVE_LOW>;
96 linux,code = <KEY_MENU>;
101 gpios = <&pfc 98 GPIO_ACTIVE_LOW>;
102 linux,code = <KEY_HOME>;
108 compatible = "gpio-leds";
110 gpios = <&pfc 102 GPIO_ACTIVE_HIGH>;
114 gpios = <&pfc 111 GPIO_ACTIVE_HIGH>;
118 gpios = <&pfc 110 GPIO_ACTIVE_HIGH>;
122 gpios = <&pfc 177 GPIO_ACTIVE_HIGH>;
128 #address-cells = <1>;
130 compatible = "i2c-gpio";
131 sda-gpios = <&pfc 208 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
132 scl-gpios = <&pfc 91 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
133 i2c-gpio,delay-us = <5>;
137 compatible = "pwm-backlight";
138 pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>;
139 brightness-levels = <0 1 2 4 8 16 32 64 128 255>;
140 default-brightness-level = <9>;
141 pinctrl-0 = <&backlight_pins>;
142 pinctrl-names = "default";
143 power-supply = <®_5p0v>;
144 enable-gpios = <&pfc 61 GPIO_ACTIVE_HIGH>;
148 compatible = "simple-audio-card";
150 simple-audio-card,format = "i2s";
152 simple-audio-card,cpu {
153 sound-dai = <&sh_fsi2 0>;
157 simple-audio-card,codec {
158 sound-dai = <&wm8978>;
161 system-clock-frequency = <12288000>;
167 pinctrl-0 = <ðer_pins>;
168 pinctrl-names = "default";
170 phy-handle = <&phy0>;
173 phy0: ethernet-phy@0 {
179 clock-frequency = <24000000>;
182 clock-frequency = <48000000>;
185 clock-frequency = <12288000>;
188 renesas,mode = <0x05>; /* MD_CK0 | MD_CK2 */
198 compatible = "sitronix,st1232";
200 interrupt-parent = <&irqpin1>;
201 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
202 pinctrl-0 = <&st1232_pins>;
203 pinctrl-names = "default";
204 gpios = <&pfc 166 GPIO_ACTIVE_LOW>;
208 #sound-dai-cells = <0>;
209 compatible = "wlf,wm8978";
217 compatible = "sii,s35390a";
223 pinctrl-0 = <&lcd0_pins>;
224 pinctrl-names = "default";
227 groups = "gether_mii", "gether_int";
231 scifa1_pins: scifa1 {
232 groups = "scifa1_data";
236 st1232_pins: touchscreen {
237 groups = "intc_irq10";
241 backlight_pins: backlight {
242 groups = "tpu0_to2_1";
247 groups = "mmc0_data8_1", "mmc0_ctrl_1";
252 groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_wp";
257 groups = "fsia_sclk_in", "fsia_mclk_out",
258 "fsia_data_in_1", "fsia_data_out_0";
263 groups = "lcd0_data24_0", "lcd0_lclk_1", "lcd0_sync";
268 /* DBGMD/LCDC0/FSIA MUX */
280 pinctrl-0 = <&mmc0_pins>;
281 pinctrl-names = "default";
283 vmmc-supply = <®_3p3v>;
290 pinctrl-0 = <&scifa1_pins>;
291 pinctrl-names = "default";
297 pinctrl-0 = <&sdhi0_pins>;
298 pinctrl-names = "default";
300 vmmc-supply = <&vcc_sdhi0>;
301 vqmmc-supply = <&vccq_sdhi0>;
303 cd-gpios = <&pfc 167 GPIO_ACTIVE_LOW>;
308 pinctrl-0 = <&fsia_pins>;
309 pinctrl-names = "default";