blob: a3fd26b8139fd8a5ba1b8a460054a61953b4f1c0 [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-msm8660.h>
Kumar Gala66a6c312014-05-28 12:12:40 -05006#include <dt-bindings/soc/qcom,gsbi.h>
Kumar Galacc60a1a2014-01-23 14:09:54 -06007
8/ {
9 model = "Qualcomm MSM8660";
10 compatible = "qcom,msm8660";
11 interrupt-parent = <&intc>;
12
Rohit Vaswani2ab27992013-11-01 10:10:40 -070013 cpus {
14 #address-cells = <1>;
15 #size-cells = <0>;
Rohit Vaswani2ab27992013-11-01 10:10:40 -070016
17 cpu@0 {
Kumar Gala66a6c312014-05-28 12:12:40 -050018 compatible = "qcom,scorpion";
19 enable-method = "qcom,gcc-msm8660";
Rohit Vaswani2ab27992013-11-01 10:10:40 -070020 device_type = "cpu";
21 reg = <0>;
22 next-level-cache = <&L2>;
23 };
24
25 cpu@1 {
Kumar Gala66a6c312014-05-28 12:12:40 -050026 compatible = "qcom,scorpion";
27 enable-method = "qcom,gcc-msm8660";
Rohit Vaswani2ab27992013-11-01 10:10:40 -070028 device_type = "cpu";
29 reg = <1>;
30 next-level-cache = <&L2>;
31 };
32
33 L2: l2-cache {
34 compatible = "cache";
35 cache-level = <2>;
36 };
37 };
38
Kumar Gala66a6c312014-05-28 12:12:40 -050039 soc: soc {
40 #address-cells = <1>;
41 #size-cells = <1>;
42 ranges;
43 compatible = "simple-bus";
Kumar Galacc60a1a2014-01-23 14:09:54 -060044
Kumar Gala66a6c312014-05-28 12:12:40 -050045 intc: interrupt-controller@2080000 {
46 compatible = "qcom,msm-8660-qgic";
47 interrupt-controller;
48 #interrupt-cells = <3>;
49 reg = < 0x02080000 0x1000 >,
50 < 0x02081000 0x1000 >;
51 };
Kumar Galacc60a1a2014-01-23 14:09:54 -060052
Kumar Gala66a6c312014-05-28 12:12:40 -050053 timer@2000000 {
54 compatible = "qcom,scss-timer", "qcom,msm-timer";
55 interrupts = <1 0 0x301>,
56 <1 1 0x301>,
57 <1 2 0x301>;
58 reg = <0x02000000 0x100>;
59 clock-frequency = <27000000>,
60 <32768>;
61 cpu-offset = <0x40000>;
62 };
Kumar Galacc60a1a2014-01-23 14:09:54 -060063
Kumar Gala66a6c312014-05-28 12:12:40 -050064 msmgpio: gpio@800000 {
65 compatible = "qcom,msm-gpio";
66 reg = <0x00800000 0x4000>;
67 gpio-controller;
68 #gpio-cells = <2>;
69 ngpio = <173>;
70 interrupts = <0 16 0x4>;
71 interrupt-controller;
72 #interrupt-cells = <2>;
73 };
Kumar Galacc60a1a2014-01-23 14:09:54 -060074
Kumar Gala66a6c312014-05-28 12:12:40 -050075 gcc: clock-controller@900000 {
76 compatible = "qcom,gcc-msm8660";
77 #clock-cells = <1>;
78 #reset-cells = <1>;
79 reg = <0x900000 0x4000>;
80 };
Kumar Galacc60a1a2014-01-23 14:09:54 -060081
Kumar Gala66a6c312014-05-28 12:12:40 -050082 gsbi12: gsbi@19c00000 {
83 compatible = "qcom,gsbi-v1.0.0";
84 reg = <0x19c00000 0x100>;
85 clocks = <&gcc GSBI12_H_CLK>;
86 clock-names = "iface";
87 #address-cells = <1>;
88 #size-cells = <1>;
89 ranges;
90
91 serial@19c40000 {
92 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
93 reg = <0x19c40000 0x1000>,
94 <0x19c00000 0x1000>;
95 interrupts = <0 195 0x0>;
96 clocks = <&gcc GSBI12_UART_CLK>, <&gcc GSBI12_H_CLK>;
97 clock-names = "core", "iface";
98 status = "disabled";
99 };
100 };
101
102 qcom,ssbi@500000 {
103 compatible = "qcom,ssbi";
104 reg = <0x500000 0x1000>;
105 qcom,controller-type = "pmic-arbiter";
Stephen Boyd94ae9912014-06-24 14:03:54 -0700106
107 pmicintc: pmic@0 {
108 compatible = "qcom,pm8058";
109 interrupt-parent = <&msmgpio>;
110 interrupts = <88 8>;
111 #interrupt-cells = <2>;
112 interrupt-controller;
113 #address-cells = <1>;
114 #size-cells = <0>;
115
116 pwrkey@1c {
117 compatible = "qcom,pm8058-pwrkey";
118 reg = <0x1c>;
119 interrupt-parent = <&pmicintc>;
120 interrupts = <50 1>, <51 1>;
121 debounce = <15625>;
122 pull-up;
123 };
124
125 keypad@148 {
126 compatible = "qcom,pm8058-keypad";
127 reg = <0x148>;
128 interrupt-parent = <&pmicintc>;
129 interrupts = <74 1>, <75 1>;
130 debounce = <15>;
131 scan-delay = <32>;
132 row-hold = <91500>;
133 };
134
135 rtc@11d {
136 compatible = "qcom,pm8058-rtc";
137 interrupt-parent = <&pmicintc>;
138 interrupts = <39 1>;
139 reg = <0x11d>;
140 allow-set-time;
141 };
142
143 vibrator@4a {
144 compatible = "qcom,pm8058-vib";
145 reg = <0x4a>;
146 };
147 };
Kumar Gala66a6c312014-05-28 12:12:40 -0500148 };
Kumar Galacc60a1a2014-01-23 14:09:54 -0600149 };
150};