2 * DTS file for SPEAr1340 Evaluation Baord
4 * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
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/ "spear1340.dtsi"
18 model = "ST SPEAr1340 Evaluation Board";
19 compatible = "st,spear1340-evb", "st,spear1340";
29 pinctrl-names = "default";
30 pinctrl-0 = <&state_default>;
32 state_default: pinmux {
34 st,pins = "pads_as_gpio_grp";
35 st,function = "pads_as_gpio";
38 st,pins = "fsmc_8bit_grp";
42 st,pins = "uart0_grp";
43 st,function = "uart0";
54 st,pins = "spdif_in_grp";
55 st,function = "spdif_in";
58 st,pins = "spdif_out_grp";
59 st,function = "spdif_out";
62 st,pins = "ssp0_grp", "ssp0_cs1_grp", "ssp0_cs2_grp", "ssp0_cs3_grp";
70 st,pins = "i2s_in_grp", "i2s_out_grp";
74 st,pins = "gmii_grp", "rgmii_grp";
102 st,pins = "sdhci_grp";
103 st,function = "sdhci";
106 st,pins = "clcd_grp";
107 st,function = "clcd";
110 st,pins = "sata_grp";
111 st,function = "sata";
114 st,pins = "pcie_grp";
115 st,function = "pcie";
137 fsmc: flash@b0000000 {
142 reg = <0x0 0x200000>;
146 reg = <0x200000 0x200000>;
149 label = "environment";
150 reg = <0x400000 0x100000>;
154 reg = <0x500000 0x100000>;
158 reg = <0x600000 0xC00000>;
162 reg = <0x1200000 0x0>;
166 gmac0: eth@e2000000 {
175 smi: flash@ea000000 {
177 clock-rate=<50000000>;
180 #address-cells = <1>;
182 reg = <0xe6000000 0x800000>;
191 reg = <0x10000 0x50000>;
194 label = "environment";
195 reg = <0x60000 0x10000>;
199 reg = <0x70000 0x10000>;
203 reg = <0x80000 0x310000>;
207 reg = <0x390000 0x0>;
217 compatible = "gpio-keys";
218 #address-cells = <1>;
223 linux,code = <0x100>;
224 gpios = <&gpio1 1 0x4>;
225 debounce-interval = <20>;
226 gpio-key,wakeup = <1>;
234 i2s0: i2s-play@b2400000 {
238 i2s1: i2s-rec@b2000000 {
243 compatible = "dummy,dir-hifi";
256 compatible = "dummy,dit-hifi";
261 compatible = "spear,spear-evb";
262 audio-controllers = <&spdif0 &spdif1 &i2s0 &i2s1>;
263 audio-codecs = <&incodec &outcodec &sta529 &sta529>;
264 codec_dai_name = "dir-hifi", "dit-hifi", "sta529-audio", "sta529-audio";
265 stream_name = "spdif-cap", "spdif-play", "i2s-play", "i2s-cap";
266 dai_name = "spdifin-pcm", "spdifout-pcm", "i2s0-pcm", "i2s1-pcm";
267 nr_controllers = <4>;
271 spdif0: spdif-in@d0100000 {
275 spdif1: spdif-out@d0000000 {
292 gpio0: gpio@e0600000 {
296 gpio1: gpio@e0680000 {
308 compatible = "st,sta529";
317 compatible = "st,eeprom";
322 compatible = "st,stmpe801";
323 #address-cells = <1>;
326 interrupts = <4 0x4>;
327 interrupt-parent = <&gpio0>;
330 stmpegpio: stmpe_gpio {
331 compatible = "st,stmpe-gpio";
339 linux,keymap = < 0x00000001
422 suspended_rate = <2000000>;
432 pinctrl-names = "default";
438 pinctrl-names = "default";
445 cs-gpios = <&gpiopinctrl 80 0>, <&gpiopinctrl 24 0>,
449 compatible = "m25p80";
451 spi-max-frequency = <12000000>;
454 pl022,hierarchy = <0>;
455 pl022,interface = <0>;
456 pl022,slave-tx-disable;
457 pl022,com-mode = <0x2>;
458 pl022,rx-level-trig = <0>;
459 pl022,tx-level-trig = <0>;
460 pl022,ctrl-len = <0x11>;
461 pl022,wait-state = <0>;
466 compatible = "st,stmpe610";
467 spi-max-frequency = <1000000>;
470 pl022,hierarchy = <0>;
471 pl022,interface = <0>;
472 pl022,slave-tx-disable;
473 pl022,com-mode = <0>;
474 pl022,rx-level-trig = <0>;
475 pl022,tx-level-trig = <0>;
476 pl022,ctrl-len = <0x7>;
477 pl022,wait-state = <0>;
479 interrupts = <100 0>;
480 interrupt-parent = <&gpiopinctrl>;
482 #address-cells = <1>;
486 compatible = "st,stmpe-ts";
487 ts,sample-time = <4>;
492 ts,touch-det-delay = <2>;
500 compatible = "spidev";
502 spi-max-frequency = <25000000>;
504 pl022,hierarchy = <0>;
505 pl022,interface = <0>;
506 pl022,slave-tx-disable;
507 pl022,com-mode = <0x2>;
508 pl022,rx-level-trig = <0>;
509 pl022,tx-level-trig = <0>;
510 pl022,ctrl-len = <0x11>;
511 pl022,wait-state = <0>;