blob: ba6377cf44ddc79b4cf8ffe870a57485cf31ccd5 [file] [log] [blame]
Abhimanyu Kapur68275a12013-03-18 17:23:06 -07001/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13/include/ "skeleton.dtsi"
14
15/ {
16 model = "Qualcomm MSM KRYPTON";
17 compatible = "qcom,msmkrypton";
18 interrupt-parent = <&intc>;
19
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070020 soc: soc { };
21};
22
23&soc {
24 #address-cells = <1>;
25 #size-cells = <1>;
26 ranges;
27
Abhimanyu Kapur68275a12013-03-18 17:23:06 -070028 intc: interrupt-controller@f9000000 {
29 compatible = "qcom,msm-qgic2";
30 interrupt-controller;
31 #interrupt-cells = <3>;
32 reg = <0xf9000000 0x1000>,
33 <0xf9002000 0x1000>;
34 };
35
36 msmgpio: gpio@fd510000 {
37 compatible = "qcom,msm-gpio";
38 gpio-controller;
39 #gpio-cells = <2>;
40 interrupt-controller;
41 #interrupt-cells = <2>;
42 reg = <0xfd510000 0x4000>;
43 ngpio = <89>;
44 interrupts = <0 208 0>;
45 qcom,direct-connect-irqs = <8>;
46 };
47
Abhimanyu Kapurd0164272013-06-14 13:50:48 -070048 qcom,msm-imem@fe805000 {
49 compatible = "qcom,msm-imem";
50 reg = <0xfe807800 0x1000>; /* Address and size of IMEM */
51 };
52
Abhimanyu Kapur6b481a12013-04-18 15:10:43 -070053 timer@f9020000 {
54 #address-cells = <1>;
55 #size-cells = <1>;
56 ranges;
57 compatible = "arm,armv7-timer-mem";
58 reg = <0xf9020000 0x1000>;
Abhimanyu Kapur68275a12013-03-18 17:23:06 -070059 clock-frequency = <19200000>;
Abhimanyu Kapur6b481a12013-04-18 15:10:43 -070060
61 frame@f9021000 {
62 frame-number = <0>;
63 interrupts = <0 7 0x4>,
64 <0 6 0x4>;
65 reg = <0xf9021000 0x1000>,
66 <0xf9022000 0x1000>;
67 };
68
69 frame@f9023000 {
70 frame-number = <1>;
71 interrupts = <0 8 0x4>;
72 reg = <0xf9023000 0x1000>;
73 status = "disabled";
74 };
75
76 frame@f9024000 {
77 frame-number = <2>;
78 interrupts = <0 9 0x4>;
79 reg = <0xf9024000 0x1000>;
80 status = "disabled";
81 };
82
83 frame@f9025000 {
84 frame-number = <3>;
85 interrupts = <0 10 0x4>;
86 reg = <0xf9025000 0x1000>;
87 status = "disabled";
88 };
89
90 frame@f9026000 {
91 frame-number = <4>;
92 interrupts = <0 11 0x4>;
93 reg = <0xf9026000 0x1000>;
94 status = "disabled";
95 };
96
97 frame@f9027000 {
98 frame-number = <5>;
99 interrupts = <0 12 0x4>;
100 reg = <0xf9027000 0x1000>;
101 status = "disabled";
102 };
103
104 frame@f9028000 {
105 frame-number = <6>;
106 interrupts = <0 13 0x4>;
107 reg = <0xf9028000 0x1000>;
108 status = "disabled";
109 };
110
111 frame@f9029000 {
112 frame-number = <7>;
113 interrupts = <0 14 0x4>;
114 reg = <0xf9029000 0x1000>;
115 status = "disabled";
116 };
Abhimanyu Kapur68275a12013-03-18 17:23:06 -0700117 };
118
119 uartdm3: serial@f991f000 {
120 compatible = "qcom,msm-lsuart-v14";
121 reg = <0xf991f000 0x1000>;
122 interrupts = <0 109 0>;
123 status = "disabled";
124 };
Abhicf5bb642013-06-10 20:23:41 -0700125
126 spi_6: spi@f9928000 { /* BLSP1 QUP6 */
127 cell-index = <0>;
128 compatible = "qcom,spi-qup-v2";
129 #address-cells = <1>;
130 #size-cells = <0>;
131 reg = <0xf9928000 0x1000>;
132 interrupts = <0 100 0>;
133 spi-max-frequency = <19200000>;
134
135 gpios = <&msmgpio 23 0>, /* CLK */
136 <&msmgpio 21 0>, /* MISO */
137 <&msmgpio 20 0>; /* MOSI */
138 cs-gpios = <&msmgpio 22 0>;
139 };
Abhimanyu Kapur68275a12013-03-18 17:23:06 -0700140};