2013-04-17 10:34:06 +00:00
|
|
|
/*
|
|
|
|
* Reference Device Tree Source for the armadillo 800 eva board
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Renesas Solutions Corp.
|
|
|
|
*
|
|
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
|
|
* kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
2013-11-09 12:23:53 +00:00
|
|
|
#include "r8a7740.dtsi"
|
2013-05-09 15:41:59 +00:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2013-11-09 12:23:55 +00:00
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
2013-09-11 11:51:13 +00:00
|
|
|
#include <dt-bindings/pwm/pwm.h>
|
2013-04-17 10:34:06 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "armadillo 800 eva reference";
|
|
|
|
compatible = "renesas,armadillo800eva-reference", "renesas,r8a7740";
|
|
|
|
|
|
|
|
chosen {
|
2013-08-06 03:17:06 +00:00
|
|
|
bootargs = "console=tty0 console=ttySC1,115200 earlyprintk=sh-sci.1,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
|
2013-04-17 10:34:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x40000000 0x20000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
reg_3p3v: regulator@0 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "fixed-3.3V";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
2013-09-27 08:02:57 +00:00
|
|
|
vcc_sdhi0: regulator@1 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
|
|
|
|
regulator-name = "SDHI0 Vcc";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
|
|
|
|
gpio = <&pfc 75 GPIO_ACTIVE_HIGH>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
|
|
|
|
|
|
|
vccq_sdhi0: regulator@2 {
|
|
|
|
compatible = "regulator-gpio";
|
|
|
|
|
|
|
|
regulator-name = "SDHI0 VccQ";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
vin-supply = <&vcc_sdhi0>;
|
|
|
|
|
|
|
|
enable-gpio = <&pfc 74 GPIO_ACTIVE_HIGH>;
|
|
|
|
gpios = <&pfc 17 GPIO_ACTIVE_HIGH>;
|
|
|
|
states = <3300000 0
|
|
|
|
1800000 1>;
|
|
|
|
|
|
|
|
enable-active-high;
|
|
|
|
};
|
|
|
|
|
2013-05-09 22:23:04 +00:00
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
led1 {
|
|
|
|
gpios = <&pfc 102 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
led2 {
|
|
|
|
gpios = <&pfc 111 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
led3 {
|
|
|
|
gpios = <&pfc 110 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
led4 {
|
|
|
|
gpios = <&pfc 177 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
};
|
2013-09-11 11:51:13 +00:00
|
|
|
|
|
|
|
backlight {
|
|
|
|
compatible = "pwm-backlight";
|
|
|
|
pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>;
|
|
|
|
brightness-levels = <0 1 2 4 8 16 32 64 128 255>;
|
|
|
|
default-brightness-level = <9>;
|
|
|
|
pinctrl-0 = <&backlight_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
2013-04-17 10:34:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c0 {
|
2013-09-26 11:06:01 +00:00
|
|
|
status = "okay";
|
2013-10-22 02:37:14 +00:00
|
|
|
touchscreen@55 {
|
2013-04-17 10:34:06 +00:00
|
|
|
compatible = "sitronix,st1232";
|
|
|
|
reg = <0x55>;
|
|
|
|
interrupt-parent = <&irqpin1>;
|
2013-11-09 12:23:55 +00:00
|
|
|
interrupts = <2 IRQ_TYPE_NONE>; /* IRQ10: hwirq 2 on irqpin1 */
|
2013-05-09 15:41:59 +00:00
|
|
|
pinctrl-0 = <&st1232_pins>;
|
|
|
|
pinctrl-names = "default";
|
2013-05-09 15:41:59 +00:00
|
|
|
gpios = <&pfc 166 GPIO_ACTIVE_LOW>;
|
2013-04-17 10:34:06 +00:00
|
|
|
};
|
|
|
|
};
|
2013-05-09 15:41:59 +00:00
|
|
|
|
|
|
|
&pfc {
|
|
|
|
pinctrl-0 = <&scifa1_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
2013-10-22 02:37:14 +00:00
|
|
|
scifa1_pins: serial1 {
|
2013-05-09 15:41:59 +00:00
|
|
|
renesas,groups = "scifa1_data";
|
|
|
|
renesas,function = "scifa1";
|
|
|
|
};
|
2013-05-09 15:41:59 +00:00
|
|
|
|
2013-10-22 02:37:14 +00:00
|
|
|
st1232_pins: touchscreen {
|
2013-05-09 15:41:59 +00:00
|
|
|
renesas,groups = "intc_irq10";
|
|
|
|
renesas,function = "intc";
|
|
|
|
};
|
2013-09-11 11:51:13 +00:00
|
|
|
|
|
|
|
backlight_pins: backlight {
|
|
|
|
renesas,groups = "tpu0_to2_1";
|
|
|
|
renesas,function = "tpu0";
|
|
|
|
};
|
2013-09-27 08:02:57 +00:00
|
|
|
|
|
|
|
mmc0_pins: mmc0 {
|
|
|
|
renesas,groups = "mmc0_data8_1", "mmc0_ctrl_1";
|
|
|
|
renesas,function = "mmc0";
|
|
|
|
};
|
|
|
|
|
2013-10-22 02:37:14 +00:00
|
|
|
sdhi0_pins: sd0 {
|
2013-09-27 08:02:57 +00:00
|
|
|
renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_wp";
|
|
|
|
renesas,function = "sdhi0";
|
|
|
|
};
|
2013-09-11 11:51:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&tpu {
|
|
|
|
status = "okay";
|
2013-05-09 15:41:59 +00:00
|
|
|
};
|
2013-09-27 08:02:57 +00:00
|
|
|
|
|
|
|
&mmcif0 {
|
|
|
|
pinctrl-0 = <&mmc0_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
vmmc-supply = <®_3p3v>;
|
|
|
|
bus-width = <8>;
|
|
|
|
non-removable;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdhi0 {
|
|
|
|
pinctrl-0 = <&sdhi0_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
vmmc-supply = <&vcc_sdhi0>;
|
|
|
|
vqmmc-supply = <&vccq_sdhi0>;
|
|
|
|
bus-width = <4>;
|
|
|
|
cd-gpios = <&pfc 167 GPIO_ACTIVE_LOW>;
|
|
|
|
status = "okay";
|
|
|
|
};
|