2 * DTS file for SPEAr1340 Evaluation Baord
4 * Copyright 2012 Viresh Kumar <viresh.linux@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/ "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";
133 fsmc: flash@b0000000 {
138 reg = <0x0 0x200000>;
142 reg = <0x200000 0x200000>;
145 label = "environment";
146 reg = <0x400000 0x100000>;
150 reg = <0x500000 0x100000>;
154 reg = <0x600000 0xC00000>;
158 reg = <0x1200000 0x0>;
162 gmac0: eth@e2000000 {
171 smi: flash@ea000000 {
173 clock-rate=<50000000>;
176 #address-cells = <1>;
178 reg = <0xe6000000 0x800000>;
187 reg = <0x10000 0x50000>;
190 label = "environment";
191 reg = <0x60000 0x10000>;
195 reg = <0x70000 0x10000>;
199 reg = <0x80000 0x310000>;
203 reg = <0x390000 0x0>;
213 compatible = "gpio-keys";
214 #address-cells = <1>;
219 linux,code = <0x100>;
220 gpios = <&gpio1 1 0x4>;
221 debounce-interval = <20>;
222 gpio-key,wakeup = <1>;
230 i2s0: i2s-play@b2400000 {
234 i2s1: i2s-rec@b2000000 {
239 compatible = "dummy,dir-hifi";
252 compatible = "dummy,dit-hifi";
257 compatible = "spear,spear-evb";
258 audio-controllers = <&spdif0 &spdif1 &i2s0 &i2s1>;
259 audio-codecs = <&incodec &outcodec &sta529 &sta529>;
260 codec_dai_name = "dir-hifi", "dit-hifi", "sta529-audio", "sta529-audio";
261 stream_name = "spdif-cap", "spdif-play", "i2s-play", "i2s-cap";
262 dai_name = "spdifin-pcm", "spdifout-pcm", "i2s0-pcm", "i2s1-pcm";
263 nr_controllers = <4>;
267 spdif0: spdif-in@d0100000 {
271 spdif1: spdif-out@d0000000 {
288 gpio0: gpio@e0600000 {
292 gpio1: gpio@e0680000 {
304 compatible = "st,sta529";
313 compatible = "st,eeprom";
318 compatible = "st,stmpe801";
319 #address-cells = <1>;
322 interrupts = <4 0x4>;
323 interrupt-parent = <&gpio0>;
326 stmpegpio: stmpe_gpio {
327 compatible = "st,stmpe-gpio";
335 linux,keymap = < 0x00000001
418 suspended_rate = <2000000>;
428 pinctrl-names = "default";
434 pinctrl-names = "default";
441 cs-gpios = <&gpiopinctrl 80 0>, <&gpiopinctrl 24 0>,
445 compatible = "m25p80";
447 spi-max-frequency = <12000000>;
450 pl022,hierarchy = <0>;
451 pl022,interface = <0>;
452 pl022,slave-tx-disable;
453 pl022,com-mode = <0x2>;
454 pl022,rx-level-trig = <0>;
455 pl022,tx-level-trig = <0>;
456 pl022,ctrl-len = <0x11>;
457 pl022,wait-state = <0>;
462 compatible = "st,stmpe610";
463 spi-max-frequency = <1000000>;
466 pl022,hierarchy = <0>;
467 pl022,interface = <0>;
468 pl022,slave-tx-disable;
469 pl022,com-mode = <0>;
470 pl022,rx-level-trig = <0>;
471 pl022,tx-level-trig = <0>;
472 pl022,ctrl-len = <0x7>;
473 pl022,wait-state = <0>;
475 interrupts = <100 0>;
476 interrupt-parent = <&gpiopinctrl>;
478 #address-cells = <1>;
482 compatible = "st,stmpe-ts";
483 ts,sample-time = <4>;
488 ts,touch-det-delay = <2>;
496 compatible = "spidev";
498 spi-max-frequency = <25000000>;
500 pl022,hierarchy = <0>;
501 pl022,interface = <0>;
502 pl022,slave-tx-disable;
503 pl022,com-mode = <0x2>;
504 pl022,rx-level-trig = <0>;
505 pl022,tx-level-trig = <0>;
506 pl022,ctrl-len = <0x11>;
507 pl022,wait-state = <0>;