Bastian Hecht | 76b92b4 | 2013-04-17 12:34:06 +0200 | [diff] [blame] | 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" |
Laurent Pinchart | 14d0a2b | 2013-05-09 17:41:59 +0200 | [diff] [blame^] | 13 | #include <dt-bindings/gpio/gpio.h> |
Bastian Hecht | 76b92b4 | 2013-04-17 12:34:06 +0200 | [diff] [blame] | 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 */ |
Laurent Pinchart | f46a6b0 | 2013-05-09 17:41:59 +0200 | [diff] [blame] | 45 | pinctrl-0 = <&st1232_pins>; |
| 46 | pinctrl-names = "default"; |
Laurent Pinchart | 14d0a2b | 2013-05-09 17:41:59 +0200 | [diff] [blame^] | 47 | gpios = <&pfc 166 GPIO_ACTIVE_LOW>; |
Bastian Hecht | 76b92b4 | 2013-04-17 12:34:06 +0200 | [diff] [blame] | 48 | }; |
| 49 | }; |
Laurent Pinchart | 5d24456 | 2013-05-09 17:41:59 +0200 | [diff] [blame] | 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 | }; |
Laurent Pinchart | f46a6b0 | 2013-05-09 17:41:59 +0200 | [diff] [blame] | 59 | |
| 60 | st1232_pins: st1232 { |
| 61 | renesas,groups = "intc_irq10"; |
| 62 | renesas,function = "intc"; |
| 63 | }; |
Laurent Pinchart | 5d24456 | 2013-05-09 17:41:59 +0200 | [diff] [blame] | 64 | }; |