blob: c49781e196b644c6f209610efb8a821b5debe11e [file] [log] [blame]
Viresh Kumar07658d9a62012-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 Kumar07658d9a62012-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 {
Shiraz Hashim7cef07d2012-09-03 11:46:58 +053020
21 spics: spics@e0700000{
22 compatible = "st,spear-spics-gpio";
23 reg = <0xe0700000 0x1000>;
24 st-spics,peripcfg-reg = <0x42c>;
25 st-spics,sw-enable-bit = <21>;
26 st-spics,cs-value-bit = <20>;
27 st-spics,cs-enable-mask = <3>;
28 st-spics,cs-enable-shift = <18>;
29 gpio-controller;
30 #gpio-cells = <2>;
31 status = "disabled";
32 };
33
Viresh Kumar07658d9a62012-04-16 23:57:51 +053034 ahci@b1000000 {
35 compatible = "snps,spear-ahci";
36 reg = <0xb1000000 0x10000>;
37 interrupts = <0 72 0x4>;
38 status = "disabled";
39 };
40
Viresh Kumar4ddb1c22012-10-27 15:21:39 +053041 pinmux: pinmux@e0700000 {
42 compatible = "st,spear1340-pinmux";
43 reg = <0xe0700000 0x1000>;
44 #gpio-range-cells = <2>;
45 };
46
Viresh Kumar07658d9a62012-04-16 23:57:51 +053047 spi1: spi@5d400000 {
48 compatible = "arm,pl022", "arm,primecell";
49 reg = <0x5d400000 0x1000>;
50 interrupts = <0 99 0x4>;
51 status = "disabled";
52 };
53
54 apb {
55 i2c1: i2c@b4000000 {
56 #address-cells = <1>;
57 #size-cells = <0>;
58 compatible = "snps,designware-i2c";
59 reg = <0xb4000000 0x1000>;
60 interrupts = <0 104 0x4>;
Vipul Kumar Samarf631b9842012-07-05 11:51:47 +080061 write-16bit;
Viresh Kumar07658d9a62012-04-16 23:57:51 +053062 status = "disabled";
63 };
64
65 serial@b4100000 {
66 compatible = "arm,pl011", "arm,primecell";
67 reg = <0xb4100000 0x1000>;
68 interrupts = <0 105 0x4>;
69 status = "disabled";
70 };
71
72 thermal@e07008c4 {
73 st,thermal-flags = <0x2a00>;
74 };
Viresh Kumar4ddb1c22012-10-27 15:21:39 +053075
76 gpiopinctrl: gpio@e2800000 {
77 compatible = "st,spear-plgpio";
78 reg = <0xe2800000 0x1000>;
79 interrupts = <0 107 0x4>;
80 #interrupt-cells = <1>;
81 interrupt-controller;
82 gpio-controller;
83 #gpio-cells = <2>;
84 gpio-ranges = <&pinmux 0 252>;
85 status = "disabled";
86
87 st-plgpio,ngpio = <250>;
88 st-plgpio,wdata-reg = <0x40>;
89 st-plgpio,dir-reg = <0x00>;
90 st-plgpio,ie-reg = <0x80>;
91 st-plgpio,rdata-reg = <0x20>;
92 st-plgpio,mis-reg = <0xa0>;
93 st-plgpio,eit-reg = <0x60>;
94 };
Viresh Kumar07658d9a62012-04-16 23:57:51 +053095 };
96 };
97};