2 * DTS file for SPEAr320 Evaluation Baord
4 * Copyright 2012 Shiraz Hashim <shiraz.linux.kernel@gmail.com>
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
15 /include/ "spear320.dtsi"
18 model = "ST SPEAr320 HMI Board";
19 compatible = "st,spear320-hmi", "st,spear320";
30 pinctrl-names = "default";
31 pinctrl-0 = <&state_default>;
33 state_default: pinmux {
43 st,pins = "uart0_grp";
44 st,function = "uart0";
51 st,pins = "fsmc_8bit_grp";
55 st,pins = "sdhci_cd_12_grp";
56 st,function = "sdhci";
63 st,pins = "uart1_grp";
64 st,function = "uart1";
67 st,pins = "uart2_grp";
68 st,function = "uart2";
79 st,pins = "rmii0_1_grp";
80 st,function = "mii0_1";
83 st,pins = "pwm0_1_pin_37_38_grp";
84 st,function = "pwm0_1";
87 st,pins = "pwm2_pin_34_grp";
105 fsmc: flash@4c000000 {
114 reg = <0x80000 0x140000>;
117 label = "environment";
118 reg = <0x1C0000 0x40000>;
122 reg = <0x200000 0x40000>;
126 reg = <0x240000 0xC00000>;
130 reg = <0xE40000 0x0>;
135 compatible = "gpio-keys";
136 #address-cells = <1>;
140 label = "user button 1";
141 linux,code = <0x100>;
142 gpios = <&stmpegpio 3 0x4>;
143 debounce-interval = <20>;
148 label = "user button 2";
149 linux,code = <0x200>;
150 gpios = <&stmpegpio 2 0x4>;
151 debounce-interval = <20>;
169 power-gpio = <&gpiopinctrl 50 1>;
174 smi: flash@fc000000 {
176 clock-rate=<50000000>;
179 #address-cells = <1>;
181 reg = <0xf8000000 0x800000>;
190 reg = <0x10000 0x50000>;
193 label = "environment";
194 reg = <0x60000 0x10000>;
198 reg = <0x70000 0x10000>;
202 reg = <0x80000 0x310000>;
206 reg = <0x390000 0x0>;
228 gpio0: gpio@fc980000 {
240 compatible = "st,stmpe811";
241 #address-cells = <1>;
245 irq-gpios = <&gpiopinctrl 29 0x4>;
250 stmpegpio: stmpe-gpio {
251 compatible = "stmpe,gpio";
255 gpio,norequest-mask = <0xF3>;
259 compatible = "stmpe,ts";
261 ts,sample-time = <4>;
266 ts,touch-det-delay = <3>;
284 pinctrl-names = "default";
290 pinctrl-names = "default";
296 pinctrl-names = "default";