blob: 6c09eb0a1b2bbad90683f7311c14f052a2e21ac7 [file] [log] [blame]
Viresh Kumar07658d92012-04-16 23:57:51 +05301/*
2 * DTS file for all SPEAr1340 SoCs
3 *
Viresh Kumar10d89352012-06-20 12:53:02 -07004 * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com>
Viresh Kumar07658d92012-04-16 23:57:51 +05305 *
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:
9 *
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
12 */
13
14/include/ "spear13xx.dtsi"
15
16/ {
17 compatible = "st,spear1340";
18
19 ahb {
20 ahci@b1000000 {
21 compatible = "snps,spear-ahci";
22 reg = <0xb1000000 0x10000>;
23 interrupts = <0 72 0x4>;
24 status = "disabled";
25 };
26
Viresh Kumar4ddb1c22012-10-27 15:21:39 +053027 pinmux: pinmux@e0700000 {
28 compatible = "st,spear1340-pinmux";
29 reg = <0xe0700000 0x1000>;
30 #gpio-range-cells = <2>;
31 };
32
Viresh Kumar07658d92012-04-16 23:57:51 +053033 spi1: spi@5d400000 {
34 compatible = "arm,pl022", "arm,primecell";
35 reg = <0x5d400000 0x1000>;
36 interrupts = <0 99 0x4>;
37 status = "disabled";
38 };
39
40 apb {
41 i2c1: i2c@b4000000 {
42 #address-cells = <1>;
43 #size-cells = <0>;
44 compatible = "snps,designware-i2c";
45 reg = <0xb4000000 0x1000>;
46 interrupts = <0 104 0x4>;
47 status = "disabled";
48 };
49
50 serial@b4100000 {
51 compatible = "arm,pl011", "arm,primecell";
52 reg = <0xb4100000 0x1000>;
53 interrupts = <0 105 0x4>;
54 status = "disabled";
55 };
56
57 thermal@e07008c4 {
58 st,thermal-flags = <0x2a00>;
59 };
Viresh Kumar4ddb1c22012-10-27 15:21:39 +053060
61 gpiopinctrl: gpio@e2800000 {
62 compatible = "st,spear-plgpio";
63 reg = <0xe2800000 0x1000>;
64 interrupts = <0 107 0x4>;
65 #interrupt-cells = <1>;
66 interrupt-controller;
67 gpio-controller;
68 #gpio-cells = <2>;
69 gpio-ranges = <&pinmux 0 252>;
70 status = "disabled";
71
72 st-plgpio,ngpio = <250>;
73 st-plgpio,wdata-reg = <0x40>;
74 st-plgpio,dir-reg = <0x00>;
75 st-plgpio,ie-reg = <0x80>;
76 st-plgpio,rdata-reg = <0x20>;
77 st-plgpio,mis-reg = <0xa0>;
78 st-plgpio,eit-reg = <0x60>;
79 };
Viresh Kumar07658d92012-04-16 23:57:51 +053080 };
81 };
82};