1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * DTS file for SPEAr1340 Evaluation Baord
5 * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
9 /include/ "spear1340.dtsi"
12 model = "ST SPEAr1340 Evaluation Board";
13 compatible = "st,spear1340-evb", "st,spear1340";
23 pinctrl-names = "default";
24 pinctrl-0 = <&state_default>;
26 state_default: pinmux {
28 st,pins = "pads_as_gpio_grp";
29 st,function = "pads_as_gpio";
32 st,pins = "fsmc_8bit_grp";
36 st,pins = "uart0_grp";
37 st,function = "uart0";
48 st,pins = "spdif_in_grp";
49 st,function = "spdif_in";
52 st,pins = "spdif_out_grp";
53 st,function = "spdif_out";
56 st,pins = "ssp0_grp", "ssp0_cs1_grp", "ssp0_cs2_grp", "ssp0_cs3_grp";
64 st,pins = "i2s_in_grp", "i2s_out_grp";
68 st,pins = "gmii_grp", "rgmii_grp";
96 st,pins = "sdhci_grp";
97 st,function = "sdhci";
100 st,pins = "clcd_grp";
101 st,function = "clcd";
104 st,pins = "sata_grp";
105 st,function = "sata";
108 st,pins = "pcie_grp";
109 st,function = "pcie";
131 fsmc: flash@b0000000 {
136 reg = <0x0 0x200000>;
140 reg = <0x200000 0x200000>;
143 label = "environment";
144 reg = <0x400000 0x100000>;
148 reg = <0x500000 0x100000>;
152 reg = <0x600000 0xC00000>;
156 reg = <0x1200000 0x0>;
160 gmac0: eth@e2000000 {
169 smi: flash@ea000000 {
171 clock-rate=<50000000>;
174 #address-cells = <1>;
176 reg = <0xe6000000 0x800000>;
185 reg = <0x10000 0x50000>;
188 label = "environment";
189 reg = <0x60000 0x10000>;
193 reg = <0x70000 0x10000>;
197 reg = <0x80000 0x310000>;
201 reg = <0x390000 0x0>;
211 compatible = "gpio-keys";
212 #address-cells = <1>;
217 linux,code = <0x100>;
218 gpios = <&gpio1 1 0x4>;
219 debounce-interval = <20>;
228 i2s0: i2s-play@b2400000 {
232 i2s1: i2s-rec@b2000000 {
237 compatible = "dummy,dir-hifi";
250 compatible = "dummy,dit-hifi";
255 compatible = "spear,spear-evb";
256 audio-controllers = <&spdif0 &spdif1 &i2s0 &i2s1>;
257 audio-codecs = <&incodec &outcodec &sta529 &sta529>;
258 codec_dai_name = "dir-hifi", "dit-hifi", "sta529-audio", "sta529-audio";
259 stream_name = "spdif-cap", "spdif-play", "i2s-play", "i2s-cap";
260 dai_name = "spdifin-pcm", "spdifout-pcm", "i2s0-pcm", "i2s1-pcm";
261 nr_controllers = <4>;
265 spdif0: spdif-in@d0100000 {
269 spdif1: spdif-out@d0000000 {
286 gpio0: gpio@e0600000 {
290 gpio1: gpio@e0680000 {
302 compatible = "st,sta529";
311 compatible = "st,eeprom";
316 compatible = "st,stmpe801";
317 #address-cells = <1>;
320 interrupts = <4 0x4>;
321 interrupt-parent = <&gpio0>;
324 stmpegpio: stmpe_gpio {
325 compatible = "st,stmpe-gpio";
333 linux,keymap = < 0x00000001
416 suspended_rate = <2000000>;
426 pinctrl-names = "default";
432 pinctrl-names = "default";
439 cs-gpios = <&gpiopinctrl 80 0>, <&gpiopinctrl 24 0>,
443 compatible = "m25p80";
445 spi-max-frequency = <12000000>;
448 pl022,hierarchy = <0>;
449 pl022,interface = <0>;
450 pl022,slave-tx-disable;
451 pl022,com-mode = <0x2>;
452 pl022,rx-level-trig = <0>;
453 pl022,tx-level-trig = <0>;
454 pl022,ctrl-len = <0x11>;
455 pl022,wait-state = <0>;
460 compatible = "st,stmpe610";
461 spi-max-frequency = <1000000>;
464 pl022,hierarchy = <0>;
465 pl022,interface = <0>;
466 pl022,slave-tx-disable;
467 pl022,com-mode = <0>;
468 pl022,rx-level-trig = <0>;
469 pl022,tx-level-trig = <0>;
470 pl022,ctrl-len = <0x7>;
471 pl022,wait-state = <0>;
473 interrupts = <100 0>;
474 interrupt-parent = <&gpiopinctrl>;
476 #address-cells = <1>;
480 compatible = "st,stmpe-ts";
481 ts,sample-time = <4>;
486 ts,touch-det-delay = <2>;
494 compatible = "spidev";
496 spi-max-frequency = <25000000>;
498 pl022,hierarchy = <0>;
499 pl022,interface = <0>;
500 pl022,slave-tx-disable;
501 pl022,com-mode = <0x2>;
502 pl022,rx-level-trig = <0>;
503 pl022,tx-level-trig = <0>;
504 pl022,ctrl-len = <0x11>;
505 pl022,wait-state = <0>;