Georgi Djakov | 975fd0f | 2014-05-23 18:12:29 +0300 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | #include "skeleton.dtsi" |
| 4 | |
Georgi Djakov | 98a2953 | 2014-06-03 17:29:40 +0300 | [diff] [blame] | 5 | #include <dt-bindings/clock/qcom,gcc-apq8084.h> |
Georgi Djakov | 66c04e3 | 2014-09-03 19:50:31 +0300 | [diff] [blame] | 6 | #include <dt-bindings/gpio/gpio.h> |
Georgi Djakov | 98a2953 | 2014-06-03 17:29:40 +0300 | [diff] [blame] | 7 | |
Georgi Djakov | 975fd0f | 2014-05-23 18:12:29 +0300 | [diff] [blame] | 8 | / { |
| 9 | model = "Qualcomm APQ 8084"; |
| 10 | compatible = "qcom,apq8084"; |
| 11 | interrupt-parent = <&intc>; |
| 12 | |
| 13 | cpus { |
| 14 | #address-cells = <1>; |
| 15 | #size-cells = <0>; |
| 16 | |
| 17 | cpu@0 { |
| 18 | device_type = "cpu"; |
| 19 | compatible = "qcom,krait"; |
| 20 | reg = <0>; |
| 21 | enable-method = "qcom,kpss-acc-v2"; |
| 22 | next-level-cache = <&L2>; |
| 23 | qcom,acc = <&acc0>; |
Lina Iyer | 030e27f | 2015-03-25 14:25:31 -0600 | [diff] [blame^] | 24 | qcom,saw = <&saw0>; |
Georgi Djakov | 975fd0f | 2014-05-23 18:12:29 +0300 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | cpu@1 { |
| 28 | device_type = "cpu"; |
| 29 | compatible = "qcom,krait"; |
| 30 | reg = <1>; |
| 31 | enable-method = "qcom,kpss-acc-v2"; |
| 32 | next-level-cache = <&L2>; |
| 33 | qcom,acc = <&acc1>; |
Lina Iyer | 030e27f | 2015-03-25 14:25:31 -0600 | [diff] [blame^] | 34 | qcom,saw = <&saw1>; |
Georgi Djakov | 975fd0f | 2014-05-23 18:12:29 +0300 | [diff] [blame] | 35 | }; |
| 36 | |
| 37 | cpu@2 { |
| 38 | device_type = "cpu"; |
| 39 | compatible = "qcom,krait"; |
| 40 | reg = <2>; |
| 41 | enable-method = "qcom,kpss-acc-v2"; |
| 42 | next-level-cache = <&L2>; |
| 43 | qcom,acc = <&acc2>; |
Lina Iyer | 030e27f | 2015-03-25 14:25:31 -0600 | [diff] [blame^] | 44 | qcom,saw = <&saw2>; |
Georgi Djakov | 975fd0f | 2014-05-23 18:12:29 +0300 | [diff] [blame] | 45 | }; |
| 46 | |
| 47 | cpu@3 { |
| 48 | device_type = "cpu"; |
| 49 | compatible = "qcom,krait"; |
| 50 | reg = <3>; |
| 51 | enable-method = "qcom,kpss-acc-v2"; |
| 52 | next-level-cache = <&L2>; |
| 53 | qcom,acc = <&acc3>; |
Lina Iyer | 030e27f | 2015-03-25 14:25:31 -0600 | [diff] [blame^] | 54 | qcom,saw = <&saw3>; |
Georgi Djakov | 975fd0f | 2014-05-23 18:12:29 +0300 | [diff] [blame] | 55 | }; |
| 56 | |
| 57 | L2: l2-cache { |
| 58 | compatible = "qcom,arch-cache"; |
| 59 | cache-level = <2>; |
| 60 | qcom,saw = <&saw_l2>; |
| 61 | }; |
| 62 | }; |
| 63 | |
| 64 | cpu-pmu { |
| 65 | compatible = "qcom,krait-pmu"; |
| 66 | interrupts = <1 7 0xf04>; |
| 67 | }; |
| 68 | |
| 69 | timer { |
| 70 | compatible = "arm,armv7-timer"; |
| 71 | interrupts = <1 2 0xf08>, |
| 72 | <1 3 0xf08>, |
| 73 | <1 4 0xf08>, |
| 74 | <1 1 0xf08>; |
| 75 | clock-frequency = <19200000>; |
| 76 | }; |
| 77 | |
| 78 | soc: soc { |
| 79 | #address-cells = <1>; |
| 80 | #size-cells = <1>; |
| 81 | ranges; |
| 82 | compatible = "simple-bus"; |
| 83 | |
| 84 | intc: interrupt-controller@f9000000 { |
| 85 | compatible = "qcom,msm-qgic2"; |
| 86 | interrupt-controller; |
| 87 | #interrupt-cells = <3>; |
| 88 | reg = <0xf9000000 0x1000>, |
| 89 | <0xf9002000 0x1000>; |
| 90 | }; |
| 91 | |
| 92 | timer@f9020000 { |
| 93 | #address-cells = <1>; |
| 94 | #size-cells = <1>; |
| 95 | ranges; |
| 96 | compatible = "arm,armv7-timer-mem"; |
| 97 | reg = <0xf9020000 0x1000>; |
| 98 | clock-frequency = <19200000>; |
| 99 | |
| 100 | frame@f9021000 { |
| 101 | frame-number = <0>; |
| 102 | interrupts = <0 8 0x4>, |
| 103 | <0 7 0x4>; |
| 104 | reg = <0xf9021000 0x1000>, |
| 105 | <0xf9022000 0x1000>; |
| 106 | }; |
| 107 | |
| 108 | frame@f9023000 { |
| 109 | frame-number = <1>; |
| 110 | interrupts = <0 9 0x4>; |
| 111 | reg = <0xf9023000 0x1000>; |
| 112 | status = "disabled"; |
| 113 | }; |
| 114 | |
| 115 | frame@f9024000 { |
| 116 | frame-number = <2>; |
| 117 | interrupts = <0 10 0x4>; |
| 118 | reg = <0xf9024000 0x1000>; |
| 119 | status = "disabled"; |
| 120 | }; |
| 121 | |
| 122 | frame@f9025000 { |
| 123 | frame-number = <3>; |
| 124 | interrupts = <0 11 0x4>; |
| 125 | reg = <0xf9025000 0x1000>; |
| 126 | status = "disabled"; |
| 127 | }; |
| 128 | |
| 129 | frame@f9026000 { |
| 130 | frame-number = <4>; |
| 131 | interrupts = <0 12 0x4>; |
| 132 | reg = <0xf9026000 0x1000>; |
| 133 | status = "disabled"; |
| 134 | }; |
| 135 | |
| 136 | frame@f9027000 { |
| 137 | frame-number = <5>; |
| 138 | interrupts = <0 13 0x4>; |
| 139 | reg = <0xf9027000 0x1000>; |
| 140 | status = "disabled"; |
| 141 | }; |
| 142 | |
| 143 | frame@f9028000 { |
| 144 | frame-number = <6>; |
| 145 | interrupts = <0 14 0x4>; |
| 146 | reg = <0xf9028000 0x1000>; |
| 147 | status = "disabled"; |
| 148 | }; |
| 149 | }; |
| 150 | |
Lina Iyer | 030e27f | 2015-03-25 14:25:31 -0600 | [diff] [blame^] | 151 | saw0: power-controller@f9089000 { |
| 152 | compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2"; |
| 153 | reg = <0xf9089000 0x1000>, <0xf9009000 0x1000>; |
| 154 | }; |
| 155 | |
| 156 | saw1: power-controller@f9099000 { |
| 157 | compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2"; |
| 158 | reg = <0xf9099000 0x1000>, <0xf9009000 0x1000>; |
| 159 | }; |
| 160 | |
| 161 | saw2: power-controller@f90a9000 { |
| 162 | compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2"; |
| 163 | reg = <0xf90a9000 0x1000>, <0xf9009000 0x1000>; |
| 164 | }; |
| 165 | |
| 166 | saw3: power-controller@f90b9000 { |
| 167 | compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2"; |
| 168 | reg = <0xf90b9000 0x1000>, <0xf9009000 0x1000>; |
| 169 | }; |
| 170 | |
| 171 | saw_l2: power-controller@f9012000 { |
Georgi Djakov | 975fd0f | 2014-05-23 18:12:29 +0300 | [diff] [blame] | 172 | compatible = "qcom,saw2"; |
| 173 | reg = <0xf9012000 0x1000>; |
| 174 | regulator; |
| 175 | }; |
| 176 | |
| 177 | acc0: clock-controller@f9088000 { |
| 178 | compatible = "qcom,kpss-acc-v2"; |
| 179 | reg = <0xf9088000 0x1000>, |
| 180 | <0xf9008000 0x1000>; |
| 181 | }; |
| 182 | |
| 183 | acc1: clock-controller@f9098000 { |
| 184 | compatible = "qcom,kpss-acc-v2"; |
| 185 | reg = <0xf9098000 0x1000>, |
| 186 | <0xf9008000 0x1000>; |
| 187 | }; |
| 188 | |
| 189 | acc2: clock-controller@f90a8000 { |
| 190 | compatible = "qcom,kpss-acc-v2"; |
| 191 | reg = <0xf90a8000 0x1000>, |
| 192 | <0xf9008000 0x1000>; |
| 193 | }; |
| 194 | |
| 195 | acc3: clock-controller@f90b8000 { |
| 196 | compatible = "qcom,kpss-acc-v2"; |
| 197 | reg = <0xf90b8000 0x1000>, |
| 198 | <0xf9008000 0x1000>; |
| 199 | }; |
| 200 | |
| 201 | restart@fc4ab000 { |
| 202 | compatible = "qcom,pshold"; |
| 203 | reg = <0xfc4ab000 0x4>; |
| 204 | }; |
Georgi Djakov | 98a2953 | 2014-06-03 17:29:40 +0300 | [diff] [blame] | 205 | |
| 206 | gcc: clock-controller@fc400000 { |
| 207 | compatible = "qcom,gcc-apq8084"; |
| 208 | #clock-cells = <1>; |
| 209 | #reset-cells = <1>; |
| 210 | reg = <0xfc400000 0x4000>; |
| 211 | }; |
| 212 | |
Georgi Djakov | 44980b2 | 2014-09-03 19:28:15 +0300 | [diff] [blame] | 213 | tlmm: pinctrl@fd510000 { |
| 214 | compatible = "qcom,apq8084-pinctrl"; |
| 215 | reg = <0xfd510000 0x4000>; |
| 216 | gpio-controller; |
| 217 | #gpio-cells = <2>; |
| 218 | interrupt-controller; |
| 219 | #interrupt-cells = <2>; |
| 220 | interrupts = <0 208 0>; |
| 221 | }; |
| 222 | |
Georgi Djakov | 14ff1c4 | 2014-06-03 17:29:41 +0300 | [diff] [blame] | 223 | serial@f995e000 { |
| 224 | compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; |
| 225 | reg = <0xf995e000 0x1000>; |
| 226 | interrupts = <0 114 0x0>; |
| 227 | clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; |
| 228 | clock-names = "core", "iface"; |
| 229 | status = "disabled"; |
| 230 | }; |
Georgi Djakov | 66c04e3 | 2014-09-03 19:50:31 +0300 | [diff] [blame] | 231 | |
| 232 | sdhci@f9824900 { |
| 233 | compatible = "qcom,sdhci-msm-v4"; |
| 234 | reg = <0xf9824900 0x11c>, <0xf9824000 0x800>; |
| 235 | reg-names = "hc_mem", "core_mem"; |
| 236 | interrupts = <0 123 0>, <0 138 0>; |
| 237 | interrupt-names = "hc_irq", "pwr_irq"; |
| 238 | clocks = <&gcc GCC_SDCC1_APPS_CLK>, <&gcc GCC_SDCC1_AHB_CLK>; |
| 239 | clock-names = "core", "iface"; |
| 240 | status = "disabled"; |
| 241 | }; |
| 242 | |
| 243 | sdhci@f98a4900 { |
| 244 | compatible = "qcom,sdhci-msm-v4"; |
| 245 | reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>; |
| 246 | reg-names = "hc_mem", "core_mem"; |
| 247 | interrupts = <0 125 0>, <0 221 0>; |
| 248 | interrupt-names = "hc_irq", "pwr_irq"; |
| 249 | clocks = <&gcc GCC_SDCC2_APPS_CLK>, <&gcc GCC_SDCC2_AHB_CLK>; |
| 250 | clock-names = "core", "iface"; |
| 251 | status = "disabled"; |
| 252 | }; |
Ivan T. Ivanov | af22e46 | 2015-02-03 14:17:58 +0200 | [diff] [blame] | 253 | |
| 254 | spmi_bus: spmi@fc4cf000 { |
| 255 | compatible = "qcom,spmi-pmic-arb"; |
| 256 | reg-names = "core", "intr", "cnfg"; |
| 257 | reg = <0xfc4cf000 0x1000>, |
| 258 | <0xfc4cb000 0x1000>, |
| 259 | <0xfc4ca000 0x1000>; |
| 260 | interrupt-names = "periph_irq"; |
| 261 | interrupts = <0 190 0>; |
| 262 | qcom,ee = <0>; |
| 263 | qcom,channel = <0>; |
| 264 | #address-cells = <2>; |
| 265 | #size-cells = <0>; |
| 266 | interrupt-controller; |
| 267 | #interrupt-cells = <4>; |
| 268 | }; |
Georgi Djakov | 975fd0f | 2014-05-23 18:12:29 +0300 | [diff] [blame] | 269 | }; |
| 270 | }; |