ARM: shmobile: armadillo-reference: Move st1232 reset GPIO to DT
[linux-2.6-block.git] / arch / arm / boot / dts / r8a7740-armadillo800eva-reference.dts
CommitLineData
76b92b40
BH
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"
14d0a2b7 13#include <dt-bindings/gpio/gpio.h>
76b92b40
BH
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 nfsroot=,rsize=4096,wsize=4096 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};
38
39&i2c0 {
40 touchscreen: st1232@55 {
41 compatible = "sitronix,st1232";
42 reg = <0x55>;
43 interrupt-parent = <&irqpin1>;
44 interrupts = <2 0>; /* IRQ10: hwirq 2 on irqpin1 */
f46a6b0f
LP
45 pinctrl-0 = <&st1232_pins>;
46 pinctrl-names = "default";
14d0a2b7 47 gpios = <&pfc 166 GPIO_ACTIVE_LOW>;
76b92b40
BH
48 };
49};
5d244563
LP
50
51&pfc {
52 pinctrl-0 = <&scifa1_pins>;
53 pinctrl-names = "default";
54
55 scifa1_pins: scifa1 {
56 renesas,groups = "scifa1_data";
57 renesas,function = "scifa1";
58 };
f46a6b0f
LP
59
60 st1232_pins: st1232 {
61 renesas,groups = "intc_irq10";
62 renesas,function = "intc";
63 };
5d244563 64};