blob: 5303e53e34dc2e23c884ace1cfb8ac79d89556fb [file] [log] [blame]
Kumar Galacc60a1a2014-01-23 14:09:54 -06001/dts-v1/;
2
3/include/ "skeleton.dtsi"
4
5#include <dt-bindings/clock/qcom,gcc-msm8960.h>
Kumar Gala665c9c02014-05-28 12:09:53 -05006#include <dt-bindings/soc/qcom,gsbi.h>
Kumar Galacc60a1a2014-01-23 14:09:54 -06007
8/ {
9 model = "Qualcomm MSM8960";
10 compatible = "qcom,msm8960";
11 interrupt-parent = <&intc>;
12
Rohit Vaswani2ab27992013-11-01 10:10:40 -070013 cpus {
14 #address-cells = <1>;
15 #size-cells = <0>;
16 interrupts = <1 14 0x304>;
Rohit Vaswani2ab27992013-11-01 10:10:40 -070017
18 cpu@0 {
Kumar Gala665c9c02014-05-28 12:09:53 -050019 compatible = "qcom,krait";
20 enable-method = "qcom,kpss-acc-v1";
Rohit Vaswani2ab27992013-11-01 10:10:40 -070021 device_type = "cpu";
22 reg = <0>;
23 next-level-cache = <&L2>;
24 qcom,acc = <&acc0>;
25 qcom,saw = <&saw0>;
26 };
27
28 cpu@1 {
Kumar Gala665c9c02014-05-28 12:09:53 -050029 compatible = "qcom,krait";
30 enable-method = "qcom,kpss-acc-v1";
Rohit Vaswani2ab27992013-11-01 10:10:40 -070031 device_type = "cpu";
32 reg = <1>;
33 next-level-cache = <&L2>;
34 qcom,acc = <&acc1>;
35 qcom,saw = <&saw1>;
36 };
37
38 L2: l2-cache {
39 compatible = "cache";
40 cache-level = <2>;
Rohit Vaswani2ab27992013-11-01 10:10:40 -070041 };
42 };
43
Stephen Boyd3bff5472014-02-21 11:09:50 +000044 cpu-pmu {
45 compatible = "qcom,krait-pmu";
46 interrupts = <1 10 0x304>;
47 qcom,no-pc-write;
48 };
49
Kumar Gala665c9c02014-05-28 12:09:53 -050050 soc: soc {
51 #address-cells = <1>;
52 #size-cells = <1>;
53 ranges;
54 compatible = "simple-bus";
Kumar Galacc60a1a2014-01-23 14:09:54 -060055
Kumar Gala665c9c02014-05-28 12:09:53 -050056 intc: interrupt-controller@2000000 {
57 compatible = "qcom,msm-qgic2";
58 interrupt-controller;
59 #interrupt-cells = <3>;
60 reg = <0x02000000 0x1000>,
61 <0x02002000 0x1000>;
62 };
Kumar Galacc60a1a2014-01-23 14:09:54 -060063
Kumar Gala665c9c02014-05-28 12:09:53 -050064 timer@200a000 {
65 compatible = "qcom,kpss-timer", "qcom,msm-timer";
66 interrupts = <1 1 0x301>,
67 <1 2 0x301>,
68 <1 3 0x301>;
69 reg = <0x0200a000 0x100>;
70 clock-frequency = <27000000>,
71 <32768>;
72 cpu-offset = <0x80000>;
73 };
Kumar Galacc60a1a2014-01-23 14:09:54 -060074
Kumar Gala665c9c02014-05-28 12:09:53 -050075 msmgpio: gpio@800000 {
76 compatible = "qcom,msm-gpio";
77 gpio-controller;
78 #gpio-cells = <2>;
79 ngpio = <150>;
80 interrupts = <0 16 0x4>;
81 interrupt-controller;
82 #interrupt-cells = <2>;
83 reg = <0x800000 0x4000>;
84 };
Kumar Galacc60a1a2014-01-23 14:09:54 -060085
Kumar Gala665c9c02014-05-28 12:09:53 -050086 gcc: clock-controller@900000 {
87 compatible = "qcom,gcc-msm8960";
88 #clock-cells = <1>;
89 #reset-cells = <1>;
90 reg = <0x900000 0x4000>;
91 };
Kumar Galacc60a1a2014-01-23 14:09:54 -060092
Kumar Gala665c9c02014-05-28 12:09:53 -050093 clock-controller@4000000 {
94 compatible = "qcom,mmcc-msm8960";
95 reg = <0x4000000 0x1000>;
96 #clock-cells = <1>;
97 #reset-cells = <1>;
98 };
Rohit Vaswani2ab27992013-11-01 10:10:40 -070099
Kumar Gala665c9c02014-05-28 12:09:53 -0500100 acc0: clock-controller@2088000 {
101 compatible = "qcom,kpss-acc-v1";
102 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
103 };
Rohit Vaswani2ab27992013-11-01 10:10:40 -0700104
Kumar Gala665c9c02014-05-28 12:09:53 -0500105 acc1: clock-controller@2098000 {
106 compatible = "qcom,kpss-acc-v1";
107 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
108 };
Rohit Vaswani2ab27992013-11-01 10:10:40 -0700109
Kumar Gala665c9c02014-05-28 12:09:53 -0500110 saw0: regulator@2089000 {
111 compatible = "qcom,saw2";
112 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
113 regulator;
114 };
Rohit Vaswani2ab27992013-11-01 10:10:40 -0700115
Kumar Gala665c9c02014-05-28 12:09:53 -0500116 saw1: regulator@2099000 {
117 compatible = "qcom,saw2";
118 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
119 regulator;
120 };
Kumar Galacc60a1a2014-01-23 14:09:54 -0600121
Kumar Gala665c9c02014-05-28 12:09:53 -0500122 gsbi5: gsbi@16400000 {
123 compatible = "qcom,gsbi-v1.0.0";
124 reg = <0x16400000 0x100>;
125 clocks = <&gcc GSBI5_H_CLK>;
126 clock-names = "iface";
127 #address-cells = <1>;
128 #size-cells = <1>;
129 ranges;
Stanimir Varbanov5a229c22014-02-19 16:33:06 +0200130
Kumar Gala665c9c02014-05-28 12:09:53 -0500131 serial@16440000 {
132 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
133 reg = <0x16440000 0x1000>,
134 <0x16400000 0x1000>;
135 interrupts = <0 154 0x0>;
136 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
137 clock-names = "core", "iface";
138 status = "disabled";
139 };
140 };
141
142 qcom,ssbi@500000 {
143 compatible = "qcom,ssbi";
144 reg = <0x500000 0x1000>;
145 qcom,controller-type = "pmic-arbiter";
146 };
147
148 rng@1a500000 {
149 compatible = "qcom,prng";
150 reg = <0x1a500000 0x200>;
151 clocks = <&gcc PRNG_CLK>;
152 clock-names = "core";
153 };
Stanimir Varbanov5a229c22014-02-19 16:33:06 +0200154 };
Kumar Galacc60a1a2014-01-23 14:09:54 -0600155};