1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * DTS file for SPEAr320 Evaluation Baord
5 * Copyright 2012 Shiraz Hashim <shiraz.linux.kernel@gmail.com>
9 /include/ "spear320.dtsi"
12 model = "ST SPEAr320 HMI Board";
13 compatible = "st,spear320-hmi", "st,spear320";
24 pinctrl-names = "default";
25 pinctrl-0 = <&state_default>;
27 state_default: pinmux {
37 st,pins = "uart0_grp";
38 st,function = "uart0";
45 st,pins = "fsmc_8bit_grp";
49 st,pins = "sdhci_cd_12_grp";
50 st,function = "sdhci";
57 st,pins = "uart1_grp";
58 st,function = "uart1";
61 st,pins = "uart2_grp";
62 st,function = "uart2";
73 st,pins = "rmii0_1_grp";
74 st,function = "mii0_1";
77 st,pins = "pwm0_1_pin_37_38_grp";
78 st,function = "pwm0_1";
81 st,pins = "pwm2_pin_34_grp";
99 fsmc: flash@4c000000 {
108 reg = <0x80000 0x140000>;
111 label = "environment";
112 reg = <0x1C0000 0x40000>;
116 reg = <0x200000 0x40000>;
120 reg = <0x240000 0xC00000>;
124 reg = <0xE40000 0x0>;
129 compatible = "gpio-keys";
130 #address-cells = <1>;
134 label = "user button 1";
135 linux,code = <0x100>;
136 gpios = <&stmpegpio 3 0x4>;
137 debounce-interval = <20>;
142 label = "user button 2";
143 linux,code = <0x200>;
144 gpios = <&stmpegpio 2 0x4>;
145 debounce-interval = <20>;
163 power-gpio = <&gpiopinctrl 50 1>;
168 smi: flash@fc000000 {
170 clock-rate=<50000000>;
173 #address-cells = <1>;
175 reg = <0xf8000000 0x800000>;
184 reg = <0x10000 0x50000>;
187 label = "environment";
188 reg = <0x60000 0x10000>;
192 reg = <0x70000 0x10000>;
196 reg = <0x80000 0x310000>;
200 reg = <0x390000 0x0>;
222 gpio0: gpio@fc980000 {
234 compatible = "st,stmpe811";
235 #address-cells = <1>;
239 irq-gpios = <&gpiopinctrl 29 0x4>;
244 stmpegpio: stmpe-gpio {
245 compatible = "stmpe,gpio";
249 gpio,norequest-mask = <0xF3>;
253 compatible = "stmpe,ts";
255 ts,sample-time = <4>;
260 ts,touch-det-delay = <3>;
278 pinctrl-names = "default";
284 pinctrl-names = "default";
290 pinctrl-names = "default";