]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
Merge tag 'jfs-3.12' of git://github.com/kleikamp/linux-shaggy
[karo-tx-linux.git] / arch / arm / boot / dts / r8a7740-armadillo800eva-reference.dts
1 /*
2  * Reference Device Tree Source for the armadillo 800 eva board
3  *
4  * Copyright (C) 2012 Renesas Solutions Corp.
5  *
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.
9  */
10
11 /dts-v1/;
12 /include/ "r8a7740.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14
15 / {
16         model = "armadillo 800 eva reference";
17         compatible = "renesas,armadillo800eva-reference", "renesas,r8a7740";
18
19         chosen {
20                 bootargs = "console=tty0 console=ttySC1,115200 earlyprintk=sh-sci.1,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
21         };
22
23         memory {
24                 device_type = "memory";
25                 reg = <0x40000000 0x20000000>;
26         };
27
28         reg_3p3v: regulator@0 {
29                 compatible = "regulator-fixed";
30                 regulator-name = "fixed-3.3V";
31                 regulator-min-microvolt = <3300000>;
32                 regulator-max-microvolt = <3300000>;
33                 regulator-always-on;
34                 regulator-boot-on;
35         };
36
37         leds {
38                 compatible = "gpio-leds";
39                 led1 {
40                         gpios = <&pfc 102 GPIO_ACTIVE_HIGH>;
41                 };
42                 led2 {
43                         gpios = <&pfc 111 GPIO_ACTIVE_HIGH>;
44                 };
45                 led3 {
46                         gpios = <&pfc 110 GPIO_ACTIVE_HIGH>;
47                 };
48                 led4 {
49                         gpios = <&pfc 177 GPIO_ACTIVE_HIGH>;
50                 };
51         };
52 };
53
54 &i2c0 {
55         touchscreen: st1232@55 {
56                 compatible = "sitronix,st1232";
57                 reg = <0x55>;
58                 interrupt-parent = <&irqpin1>;
59                 interrupts = <2 0>; /* IRQ10: hwirq 2 on irqpin1 */
60                 pinctrl-0 = <&st1232_pins>;
61                 pinctrl-names = "default";
62                 gpios = <&pfc 166 GPIO_ACTIVE_LOW>;
63         };
64 };
65
66 &pfc {
67         pinctrl-0 = <&scifa1_pins>;
68         pinctrl-names = "default";
69
70         scifa1_pins: scifa1 {
71                 renesas,groups = "scifa1_data";
72                 renesas,function = "scifa1";
73         };
74
75         st1232_pins: st1232 {
76                 renesas,groups = "intc_irq10";
77                 renesas,function = "intc";
78         };
79 };