blob: 64d14fde215d4f5dd6ba03bedaac3b9993a36643 [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 {
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 Kumar07658d92012-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 Kumar07658d92012-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>;
61 status = "disabled";
62 };
63
64 serial@b4100000 {
65 compatible = "arm,pl011", "arm,primecell";
66 reg = <0xb4100000 0x1000>;
67 interrupts = <0 105 0x4>;
68 status = "disabled";
69 };
70
71 thermal@e07008c4 {
72 st,thermal-flags = <0x2a00>;
73 };
Viresh Kumar4ddb1c22012-10-27 15:21:39 +053074
75 gpiopinctrl: gpio@e2800000 {
76 compatible = "st,spear-plgpio";
77 reg = <0xe2800000 0x1000>;
78 interrupts = <0 107 0x4>;
79 #interrupt-cells = <1>;
80 interrupt-controller;
81 gpio-controller;
82 #gpio-cells = <2>;
83 gpio-ranges = <&pinmux 0 252>;
84 status = "disabled";
85
86 st-plgpio,ngpio = <250>;
87 st-plgpio,wdata-reg = <0x40>;
88 st-plgpio,dir-reg = <0x00>;
89 st-plgpio,ie-reg = <0x80>;
90 st-plgpio,rdata-reg = <0x20>;
91 st-plgpio,mis-reg = <0xa0>;
92 st-plgpio,eit-reg = <0x60>;
93 };
Viresh Kumar07658d92012-04-16 23:57:51 +053094 };
95 };
96};