1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 2 /dts-v1/; 3 3 4 #include <dt-bindings/interrupt-controller/arm 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/mfd/qcom-rpm.h> 5 #include <dt-bindings/mfd/qcom-rpm.h> 6 #include <dt-bindings/clock/qcom,rpmcc.h> 6 #include <dt-bindings/clock/qcom,rpmcc.h> 7 #include <dt-bindings/clock/qcom,gcc-ipq806x.h 7 #include <dt-bindings/clock/qcom,gcc-ipq806x.h> 8 #include <dt-bindings/clock/qcom,lcc-ipq806x.h 8 #include <dt-bindings/clock/qcom,lcc-ipq806x.h> 9 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/reset/qcom,gcc-ipq806x.h 10 #include <dt-bindings/reset/qcom,gcc-ipq806x.h> 11 #include <dt-bindings/soc/qcom,gsbi.h> 11 #include <dt-bindings/soc/qcom,gsbi.h> 12 #include <dt-bindings/interrupt-controller/arm 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 13 14 / { 14 / { 15 #address-cells = <1>; 15 #address-cells = <1>; 16 #size-cells = <1>; 16 #size-cells = <1>; 17 model = "Qualcomm IPQ8064"; 17 model = "Qualcomm IPQ8064"; 18 compatible = "qcom,ipq8064"; 18 compatible = "qcom,ipq8064"; 19 interrupt-parent = <&intc>; 19 interrupt-parent = <&intc>; 20 20 21 cpus { 21 cpus { 22 #address-cells = <1>; 22 #address-cells = <1>; 23 #size-cells = <0>; 23 #size-cells = <0>; 24 24 25 cpu0: cpu@0 { 25 cpu0: cpu@0 { 26 compatible = "qcom,kra 26 compatible = "qcom,krait"; 27 enable-method = "qcom, 27 enable-method = "qcom,kpss-acc-v1"; 28 device_type = "cpu"; 28 device_type = "cpu"; 29 reg = <0>; 29 reg = <0>; 30 next-level-cache = <&L 30 next-level-cache = <&L2>; 31 qcom,acc = <&acc0>; 31 qcom,acc = <&acc0>; 32 qcom,saw = <&saw0>; 32 qcom,saw = <&saw0>; 33 }; 33 }; 34 34 35 cpu1: cpu@1 { 35 cpu1: cpu@1 { 36 compatible = "qcom,kra 36 compatible = "qcom,krait"; 37 enable-method = "qcom, 37 enable-method = "qcom,kpss-acc-v1"; 38 device_type = "cpu"; 38 device_type = "cpu"; 39 reg = <1>; 39 reg = <1>; 40 next-level-cache = <&L 40 next-level-cache = <&L2>; 41 qcom,acc = <&acc1>; 41 qcom,acc = <&acc1>; 42 qcom,saw = <&saw1>; 42 qcom,saw = <&saw1>; 43 }; 43 }; 44 44 45 L2: l2-cache { 45 L2: l2-cache { 46 compatible = "cache"; 46 compatible = "cache"; 47 cache-level = <2>; 47 cache-level = <2>; 48 cache-unified; 48 cache-unified; 49 }; 49 }; 50 }; 50 }; 51 51 52 thermal-zones { 52 thermal-zones { 53 sensor0-thermal { 53 sensor0-thermal { 54 polling-delay-passive 54 polling-delay-passive = <0>; 55 polling-delay = <0>; 55 polling-delay = <0>; 56 thermal-sensors = <&ts 56 thermal-sensors = <&tsens 0>; 57 57 58 trips { 58 trips { 59 cpu-critical { 59 cpu-critical { 60 temper 60 temperature = <105000>; 61 hyster 61 hysteresis = <2000>; 62 type = 62 type = "critical"; 63 }; 63 }; 64 64 65 cpu-hot { 65 cpu-hot { 66 temper 66 temperature = <95000>; 67 hyster 67 hysteresis = <2000>; 68 type = 68 type = "hot"; 69 }; 69 }; 70 }; 70 }; 71 }; 71 }; 72 72 73 sensor1-thermal { 73 sensor1-thermal { 74 polling-delay-passive 74 polling-delay-passive = <0>; 75 polling-delay = <0>; 75 polling-delay = <0>; 76 thermal-sensors = <&ts 76 thermal-sensors = <&tsens 1>; 77 77 78 trips { 78 trips { 79 cpu-critical { 79 cpu-critical { 80 temper 80 temperature = <105000>; 81 hyster 81 hysteresis = <2000>; 82 type = 82 type = "critical"; 83 }; 83 }; 84 84 85 cpu-hot { 85 cpu-hot { 86 temper 86 temperature = <95000>; 87 hyster 87 hysteresis = <2000>; 88 type = 88 type = "hot"; 89 }; 89 }; 90 }; 90 }; 91 }; 91 }; 92 92 93 sensor2-thermal { 93 sensor2-thermal { 94 polling-delay-passive 94 polling-delay-passive = <0>; 95 polling-delay = <0>; 95 polling-delay = <0>; 96 thermal-sensors = <&ts 96 thermal-sensors = <&tsens 2>; 97 97 98 trips { 98 trips { 99 cpu-critical { 99 cpu-critical { 100 temper 100 temperature = <105000>; 101 hyster 101 hysteresis = <2000>; 102 type = 102 type = "critical"; 103 }; 103 }; 104 104 105 cpu-hot { 105 cpu-hot { 106 temper 106 temperature = <95000>; 107 hyster 107 hysteresis = <2000>; 108 type = 108 type = "hot"; 109 }; 109 }; 110 }; 110 }; 111 }; 111 }; 112 112 113 sensor3-thermal { 113 sensor3-thermal { 114 polling-delay-passive 114 polling-delay-passive = <0>; 115 polling-delay = <0>; 115 polling-delay = <0>; 116 thermal-sensors = <&ts 116 thermal-sensors = <&tsens 3>; 117 117 118 trips { 118 trips { 119 cpu-critical { 119 cpu-critical { 120 temper 120 temperature = <105000>; 121 hyster 121 hysteresis = <2000>; 122 type = 122 type = "critical"; 123 }; 123 }; 124 124 125 cpu-hot { 125 cpu-hot { 126 temper 126 temperature = <95000>; 127 hyster 127 hysteresis = <2000>; 128 type = 128 type = "hot"; 129 }; 129 }; 130 }; 130 }; 131 }; 131 }; 132 132 133 sensor4-thermal { 133 sensor4-thermal { 134 polling-delay-passive 134 polling-delay-passive = <0>; 135 polling-delay = <0>; 135 polling-delay = <0>; 136 thermal-sensors = <&ts 136 thermal-sensors = <&tsens 4>; 137 137 138 trips { 138 trips { 139 cpu-critical { 139 cpu-critical { 140 temper 140 temperature = <105000>; 141 hyster 141 hysteresis = <2000>; 142 type = 142 type = "critical"; 143 }; 143 }; 144 144 145 cpu-hot { 145 cpu-hot { 146 temper 146 temperature = <95000>; 147 hyster 147 hysteresis = <2000>; 148 type = 148 type = "hot"; 149 }; 149 }; 150 }; 150 }; 151 }; 151 }; 152 152 153 sensor5-thermal { 153 sensor5-thermal { 154 polling-delay-passive 154 polling-delay-passive = <0>; 155 polling-delay = <0>; 155 polling-delay = <0>; 156 thermal-sensors = <&ts 156 thermal-sensors = <&tsens 5>; 157 157 158 trips { 158 trips { 159 cpu-critical { 159 cpu-critical { 160 temper 160 temperature = <105000>; 161 hyster 161 hysteresis = <2000>; 162 type = 162 type = "critical"; 163 }; 163 }; 164 164 165 cpu-hot { 165 cpu-hot { 166 temper 166 temperature = <95000>; 167 hyster 167 hysteresis = <2000>; 168 type = 168 type = "hot"; 169 }; 169 }; 170 }; 170 }; 171 }; 171 }; 172 172 173 sensor6-thermal { 173 sensor6-thermal { 174 polling-delay-passive 174 polling-delay-passive = <0>; 175 polling-delay = <0>; 175 polling-delay = <0>; 176 thermal-sensors = <&ts 176 thermal-sensors = <&tsens 6>; 177 177 178 trips { 178 trips { 179 cpu-critical { 179 cpu-critical { 180 temper 180 temperature = <105000>; 181 hyster 181 hysteresis = <2000>; 182 type = 182 type = "critical"; 183 }; 183 }; 184 184 185 cpu-hot { 185 cpu-hot { 186 temper 186 temperature = <95000>; 187 hyster 187 hysteresis = <2000>; 188 type = 188 type = "hot"; 189 }; 189 }; 190 }; 190 }; 191 }; 191 }; 192 192 193 sensor7-thermal { 193 sensor7-thermal { 194 polling-delay-passive 194 polling-delay-passive = <0>; 195 polling-delay = <0>; 195 polling-delay = <0>; 196 thermal-sensors = <&ts 196 thermal-sensors = <&tsens 7>; 197 197 198 trips { 198 trips { 199 cpu-critical { 199 cpu-critical { 200 temper 200 temperature = <105000>; 201 hyster 201 hysteresis = <2000>; 202 type = 202 type = "critical"; 203 }; 203 }; 204 204 205 cpu-hot { 205 cpu-hot { 206 temper 206 temperature = <95000>; 207 hyster 207 hysteresis = <2000>; 208 type = 208 type = "hot"; 209 }; 209 }; 210 }; 210 }; 211 }; 211 }; 212 212 213 sensor8-thermal { 213 sensor8-thermal { 214 polling-delay-passive 214 polling-delay-passive = <0>; 215 polling-delay = <0>; 215 polling-delay = <0>; 216 thermal-sensors = <&ts 216 thermal-sensors = <&tsens 8>; 217 217 218 trips { 218 trips { 219 cpu-critical { 219 cpu-critical { 220 temper 220 temperature = <105000>; 221 hyster 221 hysteresis = <2000>; 222 type = 222 type = "critical"; 223 }; 223 }; 224 224 225 cpu-hot { 225 cpu-hot { 226 temper 226 temperature = <95000>; 227 hyster 227 hysteresis = <2000>; 228 type = 228 type = "hot"; 229 }; 229 }; 230 }; 230 }; 231 }; 231 }; 232 232 233 sensor9-thermal { 233 sensor9-thermal { 234 polling-delay-passive 234 polling-delay-passive = <0>; 235 polling-delay = <0>; 235 polling-delay = <0>; 236 thermal-sensors = <&ts 236 thermal-sensors = <&tsens 9>; 237 237 238 trips { 238 trips { 239 cpu-critical { 239 cpu-critical { 240 temper 240 temperature = <105000>; 241 hyster 241 hysteresis = <2000>; 242 type = 242 type = "critical"; 243 }; 243 }; 244 244 245 cpu-hot { 245 cpu-hot { 246 temper 246 temperature = <95000>; 247 hyster 247 hysteresis = <2000>; 248 type = 248 type = "hot"; 249 }; 249 }; 250 }; 250 }; 251 }; 251 }; 252 252 253 sensor10-thermal { 253 sensor10-thermal { 254 polling-delay-passive 254 polling-delay-passive = <0>; 255 polling-delay = <0>; 255 polling-delay = <0>; 256 thermal-sensors = <&ts 256 thermal-sensors = <&tsens 10>; 257 257 258 trips { 258 trips { 259 cpu-critical { 259 cpu-critical { 260 temper 260 temperature = <105000>; 261 hyster 261 hysteresis = <2000>; 262 type = 262 type = "critical"; 263 }; 263 }; 264 264 265 cpu-hot { 265 cpu-hot { 266 temper 266 temperature = <95000>; 267 hyster 267 hysteresis = <2000>; 268 type = 268 type = "hot"; 269 }; 269 }; 270 }; 270 }; 271 }; 271 }; 272 }; 272 }; 273 273 274 memory { 274 memory { 275 device_type = "memory"; 275 device_type = "memory"; 276 reg = <0x0 0x0>; 276 reg = <0x0 0x0>; 277 }; 277 }; 278 278 279 cpu-pmu { 279 cpu-pmu { 280 compatible = "qcom,krait-pmu"; 280 compatible = "qcom,krait-pmu"; 281 interrupts = <GIC_PPI 10 (GIC_ 281 interrupts = <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | 282 IRQ_ 282 IRQ_TYPE_LEVEL_HIGH)>; 283 }; 283 }; 284 284 285 reserved-memory { 285 reserved-memory { 286 #address-cells = <1>; 286 #address-cells = <1>; 287 #size-cells = <1>; 287 #size-cells = <1>; 288 ranges; 288 ranges; 289 289 290 nss@40000000 { 290 nss@40000000 { 291 reg = <0x40000000 0x10 291 reg = <0x40000000 0x1000000>; 292 no-map; 292 no-map; 293 }; 293 }; 294 294 295 smem: smem@41000000 { 295 smem: smem@41000000 { 296 compatible = "qcom,sme 296 compatible = "qcom,smem"; 297 reg = <0x41000000 0x20 297 reg = <0x41000000 0x200000>; 298 no-map; 298 no-map; 299 299 300 hwlocks = <&sfpb_mutex 300 hwlocks = <&sfpb_mutex 3>; 301 }; 301 }; 302 }; 302 }; 303 303 304 clocks { 304 clocks { 305 cxo_board: cxo_board { 305 cxo_board: cxo_board { 306 compatible = "fixed-cl 306 compatible = "fixed-clock"; 307 #clock-cells = <0>; 307 #clock-cells = <0>; 308 clock-frequency = <250 308 clock-frequency = <25000000>; 309 }; 309 }; 310 310 311 pxo_board: pxo_board { 311 pxo_board: pxo_board { 312 compatible = "fixed-cl 312 compatible = "fixed-clock"; 313 #clock-cells = <0>; 313 #clock-cells = <0>; 314 clock-frequency = <250 314 clock-frequency = <25000000>; 315 }; 315 }; 316 316 317 sleep_clk: sleep_clk { 317 sleep_clk: sleep_clk { 318 compatible = "fixed-cl 318 compatible = "fixed-clock"; 319 clock-frequency = <327 319 clock-frequency = <32768>; 320 #clock-cells = <0>; 320 #clock-cells = <0>; 321 }; 321 }; 322 }; 322 }; 323 323 324 firmware { 324 firmware { 325 scm { 325 scm { 326 compatible = "qcom,scm 326 compatible = "qcom,scm-ipq806x", "qcom,scm"; 327 }; 327 }; 328 }; 328 }; 329 329 330 stmmac_axi_setup: stmmac-axi-config { 330 stmmac_axi_setup: stmmac-axi-config { 331 snps,wr_osr_lmt = <7>; 331 snps,wr_osr_lmt = <7>; 332 snps,rd_osr_lmt = <7>; 332 snps,rd_osr_lmt = <7>; 333 snps,blen = <16 0 0 0 0 0 0>; 333 snps,blen = <16 0 0 0 0 0 0>; 334 }; 334 }; 335 335 336 vsdcc_fixed: vsdcc-regulator { 336 vsdcc_fixed: vsdcc-regulator { 337 compatible = "regulator-fixed" 337 compatible = "regulator-fixed"; 338 regulator-name = "SDCC Power"; 338 regulator-name = "SDCC Power"; 339 regulator-min-microvolt = <330 339 regulator-min-microvolt = <3300000>; 340 regulator-max-microvolt = <330 340 regulator-max-microvolt = <3300000>; 341 regulator-always-on; 341 regulator-always-on; 342 }; 342 }; 343 343 344 soc: soc { 344 soc: soc { 345 #address-cells = <1>; 345 #address-cells = <1>; 346 #size-cells = <1>; 346 #size-cells = <1>; 347 ranges; 347 ranges; 348 compatible = "simple-bus"; 348 compatible = "simple-bus"; 349 349 350 rpm: rpm@108000 { 350 rpm: rpm@108000 { 351 compatible = "qcom,rpm 351 compatible = "qcom,rpm-ipq8064"; 352 reg = <0x00108000 0x10 352 reg = <0x00108000 0x1000>; 353 qcom,ipc = <&l2cc 0x8 353 qcom,ipc = <&l2cc 0x8 2>; 354 354 355 interrupts = <GIC_SPI 355 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 356 <GIC_S 356 <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>, 357 <GIC_S 357 <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 358 interrupt-names = "ack 358 interrupt-names = "ack", "err", "wakeup"; 359 359 360 clocks = <&gcc RPM_MSG 360 clocks = <&gcc RPM_MSG_RAM_H_CLK>; 361 clock-names = "ram"; 361 clock-names = "ram"; 362 362 363 rpmcc: clock-controlle 363 rpmcc: clock-controller { 364 compatible = " 364 compatible = "qcom,rpmcc-ipq806x", "qcom,rpmcc"; 365 #clock-cells = 365 #clock-cells = <1>; 366 }; 366 }; 367 }; 367 }; 368 368 369 ssbi@500000 { !! 369 qcom,ssbi@500000 { 370 compatible = "qcom,ssb 370 compatible = "qcom,ssbi"; 371 reg = <0x00500000 0x10 371 reg = <0x00500000 0x1000>; 372 qcom,controller-type = 372 qcom,controller-type = "pmic-arbiter"; 373 }; 373 }; 374 374 375 qfprom: efuse@700000 { !! 375 qfprom: qfprom@700000 { 376 compatible = "qcom,ipq 376 compatible = "qcom,ipq8064-qfprom", "qcom,qfprom"; 377 reg = <0x00700000 0x10 377 reg = <0x00700000 0x1000>; 378 #address-cells = <1>; 378 #address-cells = <1>; 379 #size-cells = <1>; 379 #size-cells = <1>; 380 speedbin_efuse: speedb 380 speedbin_efuse: speedbin@c0 { 381 reg = <0xc0 0x 381 reg = <0xc0 0x4>; 382 }; 382 }; 383 tsens_calib: calib@400 383 tsens_calib: calib@400 { 384 reg = <0x400 0 384 reg = <0x400 0xb>; 385 }; 385 }; 386 tsens_calib_backup: ca 386 tsens_calib_backup: calib_backup@410 { 387 reg = <0x410 0 387 reg = <0x410 0xb>; 388 }; 388 }; 389 }; 389 }; 390 390 391 qcom_pinmux: pinmux@800000 { 391 qcom_pinmux: pinmux@800000 { 392 compatible = "qcom,ipq 392 compatible = "qcom,ipq8064-pinctrl"; 393 reg = <0x00800000 0x40 393 reg = <0x00800000 0x4000>; 394 394 395 gpio-controller; 395 gpio-controller; 396 gpio-ranges = <&qcom_p 396 gpio-ranges = <&qcom_pinmux 0 0 69>; 397 #gpio-cells = <2>; 397 #gpio-cells = <2>; 398 interrupt-controller; 398 interrupt-controller; 399 #interrupt-cells = <2> 399 #interrupt-cells = <2>; 400 interrupts = <GIC_SPI 400 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 401 401 402 pcie0_pins: pcie0-stat !! 402 pcie0_pins: pcie0_pinmux { 403 pins = "gpio3" !! 403 mux { 404 function = "pc !! 404 pins = "gpio3"; 405 drive-strength !! 405 function = "pcie1_rst"; 406 bias-disable; !! 406 drive-strength = <12>; >> 407 bias-disable; >> 408 }; 407 }; 409 }; 408 410 409 pcie1_pins: pcie1-stat !! 411 pcie1_pins: pcie1_pinmux { 410 pins = "gpio48 !! 412 mux { 411 function = "pc !! 413 pins = "gpio48"; 412 drive-strength !! 414 function = "pcie2_rst"; 413 bias-disable; !! 415 drive-strength = <12>; >> 416 bias-disable; >> 417 }; 414 }; 418 }; 415 419 416 pcie2_pins: pcie2-stat !! 420 pcie2_pins: pcie2_pinmux { 417 pins = "gpio63 !! 421 mux { 418 function = "pc !! 422 pins = "gpio63"; 419 drive-strength !! 423 function = "pcie3_rst"; 420 bias-disable; !! 424 drive-strength = <12>; >> 425 bias-disable; >> 426 }; 421 }; 427 }; 422 428 423 i2c4_pins: i2c4-state !! 429 i2c4_pins: i2c4-default { 424 pins = "gpio12 430 pins = "gpio12", "gpio13"; 425 function = "gs 431 function = "gsbi4"; 426 drive-strength 432 drive-strength = <12>; 427 bias-disable; 433 bias-disable; 428 }; 434 }; 429 435 430 spi_pins: spi-state { !! 436 spi_pins: spi_pins { 431 pins = "gpio18 !! 437 mux { 432 function = "gs !! 438 pins = "gpio18", "gpio19", "gpio21"; 433 drive-strength !! 439 function = "gsbi5"; 434 bias-disable; !! 440 drive-strength = <10>; >> 441 bias-none; >> 442 }; >> 443 }; >> 444 >> 445 leds_pins: leds_pins { >> 446 mux { >> 447 pins = "gpio7", "gpio8", "gpio9", >> 448 "gpio26", "gpio53"; >> 449 function = "gpio"; >> 450 drive-strength = <2>; >> 451 bias-pull-down; >> 452 output-low; >> 453 }; 435 }; 454 }; 436 455 437 leds_pins: leds-state !! 456 buttons_pins: buttons_pins { 438 pins = "gpio7" !! 457 mux { 439 "gpio2 !! 458 pins = "gpio54"; 440 function = "gp !! 459 drive-strength = <2>; 441 drive-strength !! 460 bias-pull-up; 442 bias-pull-down !! 461 }; 443 output-low; << 444 }; << 445 << 446 buttons_pins: buttons- << 447 pins = "gpio54 << 448 drive-strength << 449 bias-pull-up; << 450 }; 462 }; 451 463 452 nand_pins: nand-state !! 464 nand_pins: nand_pins { 453 nand-pins { !! 465 mux { 454 pins = 466 pins = "gpio34", "gpio35", "gpio36", 455 467 "gpio37", "gpio38", "gpio39", 456 468 "gpio40", "gpio41", "gpio42", 457 469 "gpio43", "gpio44", "gpio45", 458 470 "gpio46", "gpio47"; 459 functi 471 function = "nand"; 460 drive- 472 drive-strength = <10>; 461 bias-d 473 bias-disable; 462 }; 474 }; 463 475 464 nand-pullup-pi !! 476 pullups { 465 pins = 477 pins = "gpio39"; 466 functi 478 function = "nand"; 467 drive- 479 drive-strength = <10>; 468 bias-p 480 bias-pull-up; 469 }; 481 }; 470 482 471 nand-hold-pins !! 483 hold { 472 pins = 484 pins = "gpio40", "gpio41", "gpio42", 473 485 "gpio43", "gpio44", "gpio45", 474 486 "gpio46", "gpio47"; 475 functi 487 function = "nand"; 476 drive- 488 drive-strength = <10>; 477 bias-b 489 bias-bus-hold; 478 }; 490 }; 479 }; 491 }; 480 492 481 mdio0_pins: mdio0-stat !! 493 mdio0_pins: mdio0-pins { 482 pins = "gpio0" !! 494 mux { 483 function = "md !! 495 pins = "gpio0", "gpio1"; 484 drive-strength !! 496 function = "mdio"; 485 bias-disable; !! 497 drive-strength = <8>; >> 498 bias-disable; >> 499 }; 486 }; 500 }; 487 501 488 rgmii2_pins: rgmii2-st !! 502 rgmii2_pins: rgmii2-pins { 489 pins = "gpio27 !! 503 mux { 490 "gpio3 !! 504 pins = "gpio27", "gpio28", "gpio29", 491 "gpio5 !! 505 "gpio30", "gpio31", "gpio32", 492 "gpio6 !! 506 "gpio51", "gpio52", "gpio59", 493 function = "rg !! 507 "gpio60", "gpio61", "gpio62"; 494 drive-strength !! 508 function = "rgmii2"; 495 bias-disable; !! 509 drive-strength = <8>; >> 510 bias-disable; >> 511 }; 496 }; 512 }; 497 }; 513 }; 498 514 499 gcc: clock-controller@900000 { 515 gcc: clock-controller@900000 { 500 compatible = "qcom,gcc 516 compatible = "qcom,gcc-ipq8064", "syscon"; 501 clocks = <&pxo_board>, 517 clocks = <&pxo_board>, <&cxo_board>, <&lcc PLL4>; 502 clock-names = "pxo", " 518 clock-names = "pxo", "cxo", "pll4"; 503 reg = <0x00900000 0x40 519 reg = <0x00900000 0x4000>; 504 #clock-cells = <1>; 520 #clock-cells = <1>; 505 #reset-cells = <1>; 521 #reset-cells = <1>; >> 522 #power-domain-cells = <1>; 506 523 507 tsens: thermal-sensor 524 tsens: thermal-sensor { 508 compatible = " 525 compatible = "qcom,ipq8064-tsens"; 509 526 510 nvmem-cells = 527 nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>; 511 nvmem-cell-nam 528 nvmem-cell-names = "calib", "calib_backup"; 512 interrupts = < 529 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>; 513 interrupt-name 530 interrupt-names = "uplow"; 514 531 515 #qcom,sensors 532 #qcom,sensors = <11>; 516 #thermal-senso 533 #thermal-sensor-cells = <1>; 517 }; 534 }; 518 }; 535 }; 519 536 520 sfpb_mutex: hwlock@1200600 { 537 sfpb_mutex: hwlock@1200600 { 521 compatible = "qcom,sfp 538 compatible = "qcom,sfpb-mutex"; 522 reg = <0x01200600 0x10 539 reg = <0x01200600 0x100>; 523 540 524 #hwlock-cells = <1>; 541 #hwlock-cells = <1>; 525 }; 542 }; 526 543 527 intc: interrupt-controller@200 544 intc: interrupt-controller@2000000 { 528 compatible = "qcom,msm 545 compatible = "qcom,msm-qgic2"; 529 interrupt-controller; 546 interrupt-controller; 530 #interrupt-cells = <3> 547 #interrupt-cells = <3>; 531 reg = <0x02000000 0x10 548 reg = <0x02000000 0x1000>, 532 <0x02002000 0x10 549 <0x02002000 0x1000>; 533 }; 550 }; 534 551 535 timer@200a000 { 552 timer@200a000 { 536 compatible = "qcom,kps 553 compatible = "qcom,kpss-wdt-ipq8064", "qcom,kpss-timer", 537 "qcom,msm 554 "qcom,msm-timer"; 538 interrupts = <GIC_PPI 555 interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(2) | 539 556 IRQ_TYPE_EDGE_RISING)>, 540 <GIC_PPI 557 <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(2) | 541 558 IRQ_TYPE_EDGE_RISING)>, 542 <GIC_PPI 559 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(2) | 543 560 IRQ_TYPE_EDGE_RISING)>, 544 <GIC_PPI 561 <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(2) | 545 562 IRQ_TYPE_EDGE_RISING)>, 546 <GIC_PPI 563 <GIC_PPI 5 (GIC_CPU_MASK_SIMPLE(2) | 547 564 IRQ_TYPE_EDGE_RISING)>; 548 reg = <0x0200a000 0x10 565 reg = <0x0200a000 0x100>; 549 clock-frequency = <250 566 clock-frequency = <25000000>; 550 clocks = <&sleep_clk>; 567 clocks = <&sleep_clk>; 551 clock-names = "sleep"; 568 clock-names = "sleep"; 552 cpu-offset = <0x80000> 569 cpu-offset = <0x80000>; 553 }; 570 }; 554 571 555 l2cc: clock-controller@2011000 572 l2cc: clock-controller@2011000 { 556 compatible = "qcom,kps 573 compatible = "qcom,kpss-gcc-ipq8064", "qcom,kpss-gcc", "syscon"; 557 reg = <0x02011000 0x10 574 reg = <0x02011000 0x1000>; 558 clocks = <&gcc PLL8_VO 575 clocks = <&gcc PLL8_VOTE>, <&pxo_board>; 559 clock-names = "pll8_vo 576 clock-names = "pll8_vote", "pxo"; 560 #clock-cells = <0>; 577 #clock-cells = <0>; 561 }; 578 }; 562 579 563 acc0: clock-controller@2088000 580 acc0: clock-controller@2088000 { 564 compatible = "qcom,kps 581 compatible = "qcom,kpss-acc-v1"; 565 reg = <0x02088000 0x10 582 reg = <0x02088000 0x1000>, <0x02008000 0x1000>; 566 clocks = <&gcc PLL8_VO 583 clocks = <&gcc PLL8_VOTE>, <&pxo_board>; 567 clock-names = "pll8_vo 584 clock-names = "pll8_vote", "pxo"; 568 clock-output-names = " 585 clock-output-names = "acpu0_aux"; 569 #clock-cells = <0>; 586 #clock-cells = <0>; 570 }; 587 }; 571 588 572 saw0: power-manager@2089000 { !! 589 saw0: regulator@2089000 { 573 compatible = "qcom,ipq !! 590 compatible = "qcom,saw2"; 574 reg = <0x02089000 0x10 591 reg = <0x02089000 0x1000>, <0x02009000 0x1000>; >> 592 regulator; 575 }; 593 }; 576 594 577 acc1: clock-controller@2098000 595 acc1: clock-controller@2098000 { 578 compatible = "qcom,kps 596 compatible = "qcom,kpss-acc-v1"; 579 reg = <0x02098000 0x10 597 reg = <0x02098000 0x1000>, <0x02008000 0x1000>; 580 clocks = <&gcc PLL8_VO 598 clocks = <&gcc PLL8_VOTE>, <&pxo_board>; 581 clock-names = "pll8_vo 599 clock-names = "pll8_vote", "pxo"; 582 clock-output-names = " 600 clock-output-names = "acpu1_aux"; 583 #clock-cells = <0>; 601 #clock-cells = <0>; 584 }; 602 }; 585 603 586 saw1: power-manager@2099000 { !! 604 saw1: regulator@2099000 { 587 compatible = "qcom,ipq !! 605 compatible = "qcom,saw2"; 588 reg = <0x02099000 0x10 606 reg = <0x02099000 0x1000>, <0x02009000 0x1000>; >> 607 regulator; 589 }; 608 }; 590 609 591 nss_common: syscon@3000000 { 610 nss_common: syscon@3000000 { 592 compatible = "syscon"; 611 compatible = "syscon"; 593 reg = <0x03000000 0x00 612 reg = <0x03000000 0x0000FFFF>; 594 }; 613 }; 595 614 596 usb3_0: usb@100f8800 { 615 usb3_0: usb@100f8800 { 597 compatible = "qcom,ipq 616 compatible = "qcom,ipq8064-dwc3", "qcom,dwc3"; 598 #address-cells = <1>; 617 #address-cells = <1>; 599 #size-cells = <1>; 618 #size-cells = <1>; 600 reg = <0x100f8800 0x80 619 reg = <0x100f8800 0x8000>; 601 clocks = <&gcc USB30_0 620 clocks = <&gcc USB30_0_MASTER_CLK>; 602 clock-names = "core"; 621 clock-names = "core"; 603 622 604 ranges; 623 ranges; 605 624 606 resets = <&gcc USB30_0 625 resets = <&gcc USB30_0_MASTER_RESET>; >> 626 reset-names = "master"; 607 627 608 status = "disabled"; 628 status = "disabled"; 609 629 610 dwc3_0: usb@10000000 { 630 dwc3_0: usb@10000000 { 611 compatible = " 631 compatible = "snps,dwc3"; 612 reg = <0x10000 632 reg = <0x10000000 0xcd00>; 613 interrupts = < 633 interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>; 614 phys = <&hs_ph 634 phys = <&hs_phy_0>, <&ss_phy_0>; 615 phy-names = "u 635 phy-names = "usb2-phy", "usb3-phy"; 616 dr_mode = "hos 636 dr_mode = "host"; 617 snps,dis_u3_su 637 snps,dis_u3_susphy_quirk; 618 }; 638 }; 619 }; 639 }; 620 640 621 hs_phy_0: phy@100f8800 { 641 hs_phy_0: phy@100f8800 { 622 compatible = "qcom,ipq 642 compatible = "qcom,ipq806x-usb-phy-hs"; 623 reg = <0x100f8800 0x30 643 reg = <0x100f8800 0x30>; 624 clocks = <&gcc USB30_0 644 clocks = <&gcc USB30_0_UTMI_CLK>; 625 clock-names = "ref"; 645 clock-names = "ref"; 626 #phy-cells = <0>; 646 #phy-cells = <0>; 627 647 628 status = "disabled"; 648 status = "disabled"; 629 }; 649 }; 630 650 631 ss_phy_0: phy@100f8830 { 651 ss_phy_0: phy@100f8830 { 632 compatible = "qcom,ipq 652 compatible = "qcom,ipq806x-usb-phy-ss"; 633 reg = <0x100f8830 0x30 653 reg = <0x100f8830 0x30>; 634 clocks = <&gcc USB30_0 654 clocks = <&gcc USB30_0_MASTER_CLK>; 635 clock-names = "ref"; 655 clock-names = "ref"; 636 #phy-cells = <0>; 656 #phy-cells = <0>; 637 657 638 status = "disabled"; 658 status = "disabled"; 639 }; 659 }; 640 660 641 usb3_1: usb@110f8800 { 661 usb3_1: usb@110f8800 { 642 compatible = "qcom,ipq 662 compatible = "qcom,ipq8064-dwc3", "qcom,dwc3"; 643 #address-cells = <1>; 663 #address-cells = <1>; 644 #size-cells = <1>; 664 #size-cells = <1>; 645 reg = <0x110f8800 0x80 665 reg = <0x110f8800 0x8000>; 646 clocks = <&gcc USB30_1 666 clocks = <&gcc USB30_1_MASTER_CLK>; 647 clock-names = "core"; 667 clock-names = "core"; 648 668 649 ranges; 669 ranges; 650 670 651 resets = <&gcc USB30_1 671 resets = <&gcc USB30_1_MASTER_RESET>; >> 672 reset-names = "master"; 652 673 653 status = "disabled"; 674 status = "disabled"; 654 675 655 dwc3_1: usb@11000000 { 676 dwc3_1: usb@11000000 { 656 compatible = " 677 compatible = "snps,dwc3"; 657 reg = <0x11000 678 reg = <0x11000000 0xcd00>; 658 interrupts = < 679 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 659 phys = <&hs_ph 680 phys = <&hs_phy_1>, <&ss_phy_1>; 660 phy-names = "u 681 phy-names = "usb2-phy", "usb3-phy"; 661 dr_mode = "hos 682 dr_mode = "host"; 662 snps,dis_u3_su 683 snps,dis_u3_susphy_quirk; 663 }; 684 }; 664 }; 685 }; 665 686 666 hs_phy_1: phy@110f8800 { 687 hs_phy_1: phy@110f8800 { 667 compatible = "qcom,ipq 688 compatible = "qcom,ipq806x-usb-phy-hs"; 668 reg = <0x110f8800 0x30 689 reg = <0x110f8800 0x30>; 669 clocks = <&gcc USB30_1 690 clocks = <&gcc USB30_1_UTMI_CLK>; 670 clock-names = "ref"; 691 clock-names = "ref"; 671 #phy-cells = <0>; 692 #phy-cells = <0>; 672 693 673 status = "disabled"; 694 status = "disabled"; 674 }; 695 }; 675 696 676 ss_phy_1: phy@110f8830 { 697 ss_phy_1: phy@110f8830 { 677 compatible = "qcom,ipq 698 compatible = "qcom,ipq806x-usb-phy-ss"; 678 reg = <0x110f8830 0x30 699 reg = <0x110f8830 0x30>; 679 clocks = <&gcc USB30_1 700 clocks = <&gcc USB30_1_MASTER_CLK>; 680 clock-names = "ref"; 701 clock-names = "ref"; 681 #phy-cells = <0>; 702 #phy-cells = <0>; 682 703 683 status = "disabled"; 704 status = "disabled"; 684 }; 705 }; 685 706 686 sdcc3bam: dma-controller@12182 707 sdcc3bam: dma-controller@12182000 { 687 compatible = "qcom,bam 708 compatible = "qcom,bam-v1.3.0"; 688 reg = <0x12182000 0x80 709 reg = <0x12182000 0x8000>; 689 interrupts = <GIC_SPI 710 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 690 clocks = <&gcc SDC3_H_ 711 clocks = <&gcc SDC3_H_CLK>; 691 clock-names = "bam_clk 712 clock-names = "bam_clk"; 692 #dma-cells = <1>; 713 #dma-cells = <1>; 693 qcom,ee = <0>; 714 qcom,ee = <0>; 694 }; 715 }; 695 716 696 sdcc1bam: dma-controller@12402 717 sdcc1bam: dma-controller@12402000 { 697 compatible = "qcom,bam 718 compatible = "qcom,bam-v1.3.0"; 698 reg = <0x12402000 0x80 719 reg = <0x12402000 0x8000>; 699 interrupts = <GIC_SPI 720 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 700 clocks = <&gcc SDC1_H_ 721 clocks = <&gcc SDC1_H_CLK>; 701 clock-names = "bam_clk 722 clock-names = "bam_clk"; 702 #dma-cells = <1>; 723 #dma-cells = <1>; 703 qcom,ee = <0>; 724 qcom,ee = <0>; 704 }; 725 }; 705 726 706 amba: amba { 727 amba: amba { 707 compatible = "simple-b 728 compatible = "simple-bus"; 708 #address-cells = <1>; 729 #address-cells = <1>; 709 #size-cells = <1>; 730 #size-cells = <1>; 710 ranges; 731 ranges; 711 732 712 sdcc3: mmc@12180000 { 733 sdcc3: mmc@12180000 { 713 compatible = " 734 compatible = "arm,pl18x", "arm,primecell"; 714 arm,primecell- 735 arm,primecell-periphid = <0x00051180>; 715 status = "disa 736 status = "disabled"; 716 reg = <0x12180 737 reg = <0x12180000 0x2000>; 717 interrupts = < 738 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 718 clocks = <&gcc 739 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>; 719 clock-names = 740 clock-names = "mclk", "apb_pclk"; 720 bus-width = <8 741 bus-width = <8>; 721 cap-sd-highspe 742 cap-sd-highspeed; 722 cap-mmc-highsp 743 cap-mmc-highspeed; 723 max-frequency 744 max-frequency = <192000000>; 724 sd-uhs-sdr104; 745 sd-uhs-sdr104; 725 sd-uhs-ddr50; 746 sd-uhs-ddr50; 726 vqmmc-supply = 747 vqmmc-supply = <&vsdcc_fixed>; 727 dmas = <&sdcc3 748 dmas = <&sdcc3bam 2>, <&sdcc3bam 1>; 728 dma-names = "t 749 dma-names = "tx", "rx"; 729 }; 750 }; 730 751 731 sdcc1: mmc@12400000 { 752 sdcc1: mmc@12400000 { 732 status = "disa 753 status = "disabled"; 733 compatible = " 754 compatible = "arm,pl18x", "arm,primecell"; 734 arm,primecell- 755 arm,primecell-periphid = <0x00051180>; 735 reg = <0x12400 756 reg = <0x12400000 0x2000>; 736 interrupts = < 757 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 737 clocks = <&gcc 758 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; 738 clock-names = 759 clock-names = "mclk", "apb_pclk"; 739 bus-width = <8 760 bus-width = <8>; 740 max-frequency 761 max-frequency = <96000000>; 741 non-removable; 762 non-removable; 742 cap-sd-highspe 763 cap-sd-highspeed; 743 cap-mmc-highsp 764 cap-mmc-highspeed; 744 vmmc-supply = 765 vmmc-supply = <&vsdcc_fixed>; 745 dmas = <&sdcc1 766 dmas = <&sdcc1bam 2>, <&sdcc1bam 1>; 746 dma-names = "t 767 dma-names = "tx", "rx"; 747 }; 768 }; 748 }; 769 }; 749 770 750 gsbi1: gsbi@12440000 { 771 gsbi1: gsbi@12440000 { 751 compatible = "qcom,gsb 772 compatible = "qcom,gsbi-v1.0.0"; 752 reg = <0x12440000 0x10 773 reg = <0x12440000 0x100>; 753 cell-index = <1>; 774 cell-index = <1>; 754 clocks = <&gcc GSBI1_H 775 clocks = <&gcc GSBI1_H_CLK>; 755 clock-names = "iface"; 776 clock-names = "iface"; 756 #address-cells = <1>; 777 #address-cells = <1>; 757 #size-cells = <1>; 778 #size-cells = <1>; 758 ranges; 779 ranges; 759 780 760 syscon-tcsr = <&tcsr>; 781 syscon-tcsr = <&tcsr>; 761 782 762 status = "disabled"; 783 status = "disabled"; 763 784 764 gsbi1_serial: serial@1 785 gsbi1_serial: serial@12450000 { 765 compatible = " 786 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; 766 reg = <0x12450 787 reg = <0x12450000 0x100>, 767 <0x12400 788 <0x12400000 0x03>; 768 interrupts = < 789 interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; 769 clocks = <&gcc 790 clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>; 770 clock-names = 791 clock-names = "core", "iface"; 771 792 772 status = "disa 793 status = "disabled"; 773 }; 794 }; 774 795 775 gsbi1_i2c: i2c@1246000 796 gsbi1_i2c: i2c@12460000 { 776 compatible = " 797 compatible = "qcom,i2c-qup-v1.1.1"; 777 reg = <0x12460 798 reg = <0x12460000 0x1000>; 778 interrupts = < 799 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>; 779 clocks = <&gcc 800 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>; 780 clock-names = 801 clock-names = "core", "iface"; 781 #address-cells 802 #address-cells = <1>; 782 #size-cells = 803 #size-cells = <0>; 783 804 784 status = "disa 805 status = "disabled"; 785 }; 806 }; 786 }; 807 }; 787 808 788 gsbi2: gsbi@12480000 { 809 gsbi2: gsbi@12480000 { 789 compatible = "qcom,gsb 810 compatible = "qcom,gsbi-v1.0.0"; 790 cell-index = <2>; 811 cell-index = <2>; 791 reg = <0x12480000 0x10 812 reg = <0x12480000 0x100>; 792 clocks = <&gcc GSBI2_H 813 clocks = <&gcc GSBI2_H_CLK>; 793 clock-names = "iface"; 814 clock-names = "iface"; 794 #address-cells = <1>; 815 #address-cells = <1>; 795 #size-cells = <1>; 816 #size-cells = <1>; 796 ranges; 817 ranges; 797 status = "disabled"; 818 status = "disabled"; 798 819 799 syscon-tcsr = <&tcsr>; 820 syscon-tcsr = <&tcsr>; 800 821 801 gsbi2_serial: serial@1 822 gsbi2_serial: serial@12490000 { 802 compatible = " 823 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; 803 reg = <0x12490 824 reg = <0x12490000 0x1000>, 804 <0x12480 825 <0x12480000 0x1000>; 805 interrupts = < 826 interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>; 806 clocks = <&gcc 827 clocks = <&gcc GSBI2_UART_CLK>, <&gcc GSBI2_H_CLK>; 807 clock-names = 828 clock-names = "core", "iface"; 808 status = "disa 829 status = "disabled"; 809 }; 830 }; 810 831 811 gsbi2_i2c: i2c@124a000 832 gsbi2_i2c: i2c@124a0000 { 812 compatible = " 833 compatible = "qcom,i2c-qup-v1.1.1"; 813 reg = <0x124a0 834 reg = <0x124a0000 0x1000>; 814 interrupts = < 835 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>; 815 836 816 clocks = <&gcc 837 clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>; 817 clock-names = 838 clock-names = "core", "iface"; 818 status = "disa 839 status = "disabled"; 819 840 820 #address-cells 841 #address-cells = <1>; 821 #size-cells = 842 #size-cells = <0>; 822 }; 843 }; 823 }; 844 }; 824 845 825 gsbi4: gsbi@16300000 { 846 gsbi4: gsbi@16300000 { 826 compatible = "qcom,gsb 847 compatible = "qcom,gsbi-v1.0.0"; 827 cell-index = <4>; 848 cell-index = <4>; 828 reg = <0x16300000 0x10 849 reg = <0x16300000 0x100>; 829 clocks = <&gcc GSBI4_H 850 clocks = <&gcc GSBI4_H_CLK>; 830 clock-names = "iface"; 851 clock-names = "iface"; 831 #address-cells = <1>; 852 #address-cells = <1>; 832 #size-cells = <1>; 853 #size-cells = <1>; 833 ranges; 854 ranges; 834 status = "disabled"; 855 status = "disabled"; 835 856 836 syscon-tcsr = <&tcsr>; 857 syscon-tcsr = <&tcsr>; 837 858 838 gsbi4_serial: serial@1 859 gsbi4_serial: serial@16340000 { 839 compatible = " 860 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; 840 reg = <0x16340 861 reg = <0x16340000 0x1000>, 841 <0x16300 862 <0x16300000 0x1000>; 842 interrupts = < 863 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; 843 clocks = <&gcc 864 clocks = <&gcc GSBI4_UART_CLK>, <&gcc GSBI4_H_CLK>; 844 clock-names = 865 clock-names = "core", "iface"; 845 status = "disa 866 status = "disabled"; 846 }; 867 }; 847 868 848 i2c@16380000 { 869 i2c@16380000 { 849 compatible = " 870 compatible = "qcom,i2c-qup-v1.1.1"; 850 reg = <0x16380 871 reg = <0x16380000 0x1000>; 851 interrupts = < 872 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; 852 873 853 clocks = <&gcc 874 clocks = <&gcc GSBI4_QUP_CLK>, <&gcc GSBI4_H_CLK>; 854 clock-names = 875 clock-names = "core", "iface"; 855 status = "disa 876 status = "disabled"; 856 877 857 #address-cells 878 #address-cells = <1>; 858 #size-cells = 879 #size-cells = <0>; 859 }; 880 }; 860 }; 881 }; 861 882 862 gsbi6: gsbi@16500000 { 883 gsbi6: gsbi@16500000 { 863 compatible = "qcom,gsb 884 compatible = "qcom,gsbi-v1.0.0"; 864 reg = <0x16500000 0x10 885 reg = <0x16500000 0x100>; 865 cell-index = <6>; 886 cell-index = <6>; 866 clocks = <&gcc GSBI6_H 887 clocks = <&gcc GSBI6_H_CLK>; 867 clock-names = "iface"; 888 clock-names = "iface"; 868 #address-cells = <1>; 889 #address-cells = <1>; 869 #size-cells = <1>; 890 #size-cells = <1>; 870 ranges; 891 ranges; 871 892 872 syscon-tcsr = <&tcsr>; 893 syscon-tcsr = <&tcsr>; 873 894 874 status = "disabled"; 895 status = "disabled"; 875 896 876 gsbi6_i2c: i2c@1658000 897 gsbi6_i2c: i2c@16580000 { 877 compatible = " 898 compatible = "qcom,i2c-qup-v1.1.1"; 878 reg = <0x16580 899 reg = <0x16580000 0x1000>; 879 interrupts = < 900 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>; 880 901 881 clocks = <&gcc 902 clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>; 882 clock-names = 903 clock-names = "core", "iface"; 883 904 884 #address-cells 905 #address-cells = <1>; 885 #size-cells = 906 #size-cells = <0>; 886 907 887 status = "disa 908 status = "disabled"; 888 }; 909 }; 889 910 890 gsbi6_spi: spi@1658000 911 gsbi6_spi: spi@16580000 { 891 compatible = " 912 compatible = "qcom,spi-qup-v1.1.1"; 892 reg = <0x16580 913 reg = <0x16580000 0x1000>; 893 interrupts = < 914 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>; 894 915 895 clocks = <&gcc 916 clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>; 896 clock-names = 917 clock-names = "core", "iface"; 897 918 898 #address-cells 919 #address-cells = <1>; 899 #size-cells = 920 #size-cells = <0>; 900 921 901 status = "disa 922 status = "disabled"; 902 }; 923 }; 903 }; 924 }; 904 925 905 gsbi7: gsbi@16600000 { 926 gsbi7: gsbi@16600000 { 906 status = "disabled"; 927 status = "disabled"; 907 compatible = "qcom,gsb 928 compatible = "qcom,gsbi-v1.0.0"; 908 cell-index = <7>; 929 cell-index = <7>; 909 reg = <0x16600000 0x10 930 reg = <0x16600000 0x100>; 910 clocks = <&gcc GSBI7_H 931 clocks = <&gcc GSBI7_H_CLK>; 911 clock-names = "iface"; 932 clock-names = "iface"; 912 #address-cells = <1>; 933 #address-cells = <1>; 913 #size-cells = <1>; 934 #size-cells = <1>; 914 ranges; 935 ranges; 915 syscon-tcsr = <&tcsr>; 936 syscon-tcsr = <&tcsr>; 916 937 917 gsbi7_serial: serial@1 938 gsbi7_serial: serial@16640000 { 918 compatible = " 939 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; 919 reg = <0x16640 940 reg = <0x16640000 0x1000>, 920 <0x16600 941 <0x16600000 0x1000>; 921 interrupts = < 942 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>; 922 clocks = <&gcc 943 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>; 923 clock-names = 944 clock-names = "core", "iface"; 924 status = "disa 945 status = "disabled"; 925 }; 946 }; 926 947 927 gsbi7_i2c: i2c@1668000 948 gsbi7_i2c: i2c@16680000 { 928 compatible = " 949 compatible = "qcom,i2c-qup-v1.1.1"; 929 reg = <0x16680 950 reg = <0x16680000 0x1000>; 930 interrupts = < 951 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>; 931 952 932 clocks = <&gcc 953 clocks = <&gcc GSBI7_QUP_CLK>, <&gcc GSBI7_H_CLK>; 933 clock-names = 954 clock-names = "core", "iface"; 934 955 935 #address-cells 956 #address-cells = <1>; 936 #size-cells = 957 #size-cells = <0>; 937 958 938 status = "disa 959 status = "disabled"; 939 }; 960 }; 940 }; 961 }; 941 962 942 adm_dma: dma-controller@183000 963 adm_dma: dma-controller@18300000 { 943 compatible = "qcom,adm 964 compatible = "qcom,adm"; 944 reg = <0x18300000 0x10 965 reg = <0x18300000 0x100000>; 945 interrupts = <GIC_SPI 966 interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>; 946 #dma-cells = <1>; 967 #dma-cells = <1>; 947 968 948 clocks = <&gcc ADM0_CL 969 clocks = <&gcc ADM0_CLK>, <&gcc ADM0_PBUS_CLK>; 949 clock-names = "core", 970 clock-names = "core", "iface"; 950 971 951 resets = <&gcc ADM0_RE 972 resets = <&gcc ADM0_RESET>, 952 <&gcc ADM0_PB 973 <&gcc ADM0_PBUS_RESET>, 953 <&gcc ADM0_C0 974 <&gcc ADM0_C0_RESET>, 954 <&gcc ADM0_C1 975 <&gcc ADM0_C1_RESET>, 955 <&gcc ADM0_C2 976 <&gcc ADM0_C2_RESET>; 956 reset-names = "clk", " 977 reset-names = "clk", "pbus", "c0", "c1", "c2"; 957 qcom,ee = <0>; 978 qcom,ee = <0>; 958 979 959 status = "disabled"; 980 status = "disabled"; 960 }; 981 }; 961 982 962 gsbi5: gsbi@1a200000 { 983 gsbi5: gsbi@1a200000 { 963 compatible = "qcom,gsb 984 compatible = "qcom,gsbi-v1.0.0"; 964 cell-index = <5>; 985 cell-index = <5>; 965 reg = <0x1a200000 0x10 986 reg = <0x1a200000 0x100>; 966 clocks = <&gcc GSBI5_H 987 clocks = <&gcc GSBI5_H_CLK>; 967 clock-names = "iface"; 988 clock-names = "iface"; 968 #address-cells = <1>; 989 #address-cells = <1>; 969 990 970 #size-cells = <1>; 991 #size-cells = <1>; 971 ranges; 992 ranges; 972 status = "disabled"; 993 status = "disabled"; 973 994 974 syscon-tcsr = <&tcsr>; 995 syscon-tcsr = <&tcsr>; 975 996 976 gsbi5_serial: serial@1 997 gsbi5_serial: serial@1a240000 { 977 compatible = " 998 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; 978 reg = <0x1a240 999 reg = <0x1a240000 0x1000>, 979 <0x1a200 1000 <0x1a200000 0x1000>; 980 interrupts = < 1001 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; 981 clocks = <&gcc 1002 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>; 982 clock-names = 1003 clock-names = "core", "iface"; 983 status = "disa 1004 status = "disabled"; 984 }; 1005 }; 985 1006 986 i2c@1a280000 { 1007 i2c@1a280000 { 987 compatible = " 1008 compatible = "qcom,i2c-qup-v1.1.1"; 988 reg = <0x1a280 1009 reg = <0x1a280000 0x1000>; 989 interrupts = < 1010 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 990 1011 991 clocks = <&gcc 1012 clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>; 992 clock-names = 1013 clock-names = "core", "iface"; 993 status = "disa 1014 status = "disabled"; 994 1015 995 #address-cells 1016 #address-cells = <1>; 996 #size-cells = 1017 #size-cells = <0>; 997 }; 1018 }; 998 1019 999 spi@1a280000 { 1020 spi@1a280000 { 1000 compatible = 1021 compatible = "qcom,spi-qup-v1.1.1"; 1001 reg = <0x1a28 1022 reg = <0x1a280000 0x1000>; 1002 interrupts = 1023 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 1003 1024 1004 clocks = <&gc 1025 clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>; 1005 clock-names = 1026 clock-names = "core", "iface"; 1006 status = "dis 1027 status = "disabled"; 1007 1028 1008 #address-cell 1029 #address-cells = <1>; 1009 #size-cells = 1030 #size-cells = <0>; 1010 }; 1031 }; 1011 }; 1032 }; 1012 1033 1013 tcsr: syscon@1a400000 { 1034 tcsr: syscon@1a400000 { 1014 compatible = "qcom,tc 1035 compatible = "qcom,tcsr-ipq8064", "syscon"; 1015 reg = <0x1a400000 0x1 1036 reg = <0x1a400000 0x100>; 1016 }; 1037 }; 1017 1038 1018 rng@1a500000 { 1039 rng@1a500000 { 1019 compatible = "qcom,pr 1040 compatible = "qcom,prng"; 1020 reg = <0x1a500000 0x2 1041 reg = <0x1a500000 0x200>; 1021 clocks = <&gcc PRNG_C 1042 clocks = <&gcc PRNG_CLK>; 1022 clock-names = "core"; 1043 clock-names = "core"; 1023 }; 1044 }; 1024 1045 1025 nand: nand-controller@1ac0000 1046 nand: nand-controller@1ac00000 { 1026 compatible = "qcom,ip 1047 compatible = "qcom,ipq806x-nand"; 1027 reg = <0x1ac00000 0x8 1048 reg = <0x1ac00000 0x800>; 1028 1049 1029 pinctrl-0 = <&nand_pi 1050 pinctrl-0 = <&nand_pins>; 1030 pinctrl-names = "defa 1051 pinctrl-names = "default"; 1031 1052 1032 clocks = <&gcc EBI2_C 1053 clocks = <&gcc EBI2_CLK>, 1033 <&gcc EBI2_A 1054 <&gcc EBI2_AON_CLK>; 1034 clock-names = "core", 1055 clock-names = "core", "aon"; 1035 1056 1036 dmas = <&adm_dma 3>; 1057 dmas = <&adm_dma 3>; 1037 dma-names = "rxtx"; 1058 dma-names = "rxtx"; 1038 qcom,cmd-crci = <15>; 1059 qcom,cmd-crci = <15>; 1039 qcom,data-crci = <3>; 1060 qcom,data-crci = <3>; 1040 1061 1041 #address-cells = <1>; 1062 #address-cells = <1>; 1042 #size-cells = <0>; 1063 #size-cells = <0>; 1043 1064 1044 status = "disabled"; 1065 status = "disabled"; 1045 }; 1066 }; 1046 1067 1047 sata_phy: sata-phy@1b400000 { 1068 sata_phy: sata-phy@1b400000 { 1048 compatible = "qcom,ip 1069 compatible = "qcom,ipq806x-sata-phy"; 1049 reg = <0x1b400000 0x2 1070 reg = <0x1b400000 0x200>; 1050 1071 1051 clocks = <&gcc SATA_P 1072 clocks = <&gcc SATA_PHY_CFG_CLK>; 1052 clock-names = "cfg"; 1073 clock-names = "cfg"; 1053 1074 1054 #phy-cells = <0>; 1075 #phy-cells = <0>; 1055 status = "disabled"; 1076 status = "disabled"; 1056 }; 1077 }; 1057 1078 1058 pcie0: pcie@1b500000 { !! 1079 pcie0: pci@1b500000 { 1059 compatible = "qcom,pc 1080 compatible = "qcom,pcie-ipq8064"; 1060 reg = <0x1b500000 0x1 1081 reg = <0x1b500000 0x1000 1061 0x1b502000 0x8 1082 0x1b502000 0x80 1062 0x1b600000 0x1 1083 0x1b600000 0x100 1063 0x0ff00000 0x1 1084 0x0ff00000 0x100000>; 1064 reg-names = "dbi", "e 1085 reg-names = "dbi", "elbi", "parf", "config"; 1065 device_type = "pci"; 1086 device_type = "pci"; 1066 linux,pci-domain = <0 1087 linux,pci-domain = <0>; 1067 bus-range = <0x00 0xf 1088 bus-range = <0x00 0xff>; 1068 num-lanes = <1>; 1089 num-lanes = <1>; 1069 #address-cells = <3>; 1090 #address-cells = <3>; 1070 #size-cells = <2>; 1091 #size-cells = <2>; 1071 1092 1072 ranges = <0x81000000 1093 ranges = <0x81000000 0x0 0x00000000 0x0fe00000 0x0 0x00010000 /* I/O */ 1073 0x82000000 1094 0x82000000 0x0 0x08000000 0x08000000 0x0 0x07e00000>; /* MEM */ 1074 1095 1075 interrupts = <GIC_SPI 1096 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 1076 interrupt-names = "ms 1097 interrupt-names = "msi"; 1077 #interrupt-cells = <1 1098 #interrupt-cells = <1>; 1078 interrupt-map-mask = 1099 interrupt-map-mask = <0 0 0 0x7>; 1079 interrupt-map = <0 0 1100 interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 1080 <0 0 1101 <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 1081 <0 0 1102 <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 1082 <0 0 1103 <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 1083 1104 1084 clocks = <&gcc PCIE_A 1105 clocks = <&gcc PCIE_A_CLK>, 1085 <&gcc PCIE_H 1106 <&gcc PCIE_H_CLK>, 1086 <&gcc PCIE_P 1107 <&gcc PCIE_PHY_CLK>, 1087 <&gcc PCIE_A 1108 <&gcc PCIE_AUX_CLK>, 1088 <&gcc PCIE_A 1109 <&gcc PCIE_ALT_REF_CLK>; 1089 clock-names = "core", 1110 clock-names = "core", "iface", "phy", "aux", "ref"; 1090 1111 1091 assigned-clocks = <&g 1112 assigned-clocks = <&gcc PCIE_ALT_REF_CLK>; 1092 assigned-clock-rates 1113 assigned-clock-rates = <100000000>; 1093 1114 1094 resets = <&gcc PCIE_A 1115 resets = <&gcc PCIE_ACLK_RESET>, 1095 <&gcc PCIE_H 1116 <&gcc PCIE_HCLK_RESET>, 1096 <&gcc PCIE_P 1117 <&gcc PCIE_POR_RESET>, 1097 <&gcc PCIE_P 1118 <&gcc PCIE_PCI_RESET>, 1098 <&gcc PCIE_P 1119 <&gcc PCIE_PHY_RESET>, 1099 <&gcc PCIE_E 1120 <&gcc PCIE_EXT_RESET>; 1100 reset-names = "axi", 1121 reset-names = "axi", "ahb", "por", "pci", "phy", "ext"; 1101 1122 1102 pinctrl-0 = <&pcie0_p 1123 pinctrl-0 = <&pcie0_pins>; 1103 pinctrl-names = "defa 1124 pinctrl-names = "default"; 1104 1125 1105 status = "disabled"; 1126 status = "disabled"; 1106 perst-gpios = <&qcom_ 1127 perst-gpios = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>; 1107 << 1108 pcie@0 { << 1109 device_type = << 1110 reg = <0x0 0x << 1111 bus-range = < << 1112 << 1113 #address-cell << 1114 #size-cells = << 1115 ranges; << 1116 }; << 1117 }; 1128 }; 1118 1129 1119 pcie1: pcie@1b700000 { !! 1130 pcie1: pci@1b700000 { 1120 compatible = "qcom,pc 1131 compatible = "qcom,pcie-ipq8064"; 1121 reg = <0x1b700000 0x1 1132 reg = <0x1b700000 0x1000 1122 0x1b702000 0x8 1133 0x1b702000 0x80 1123 0x1b800000 0x1 1134 0x1b800000 0x100 1124 0x31f00000 0x1 1135 0x31f00000 0x100000>; 1125 reg-names = "dbi", "e 1136 reg-names = "dbi", "elbi", "parf", "config"; 1126 device_type = "pci"; 1137 device_type = "pci"; 1127 linux,pci-domain = <1 1138 linux,pci-domain = <1>; 1128 bus-range = <0x00 0xf 1139 bus-range = <0x00 0xff>; 1129 num-lanes = <1>; 1140 num-lanes = <1>; 1130 #address-cells = <3>; 1141 #address-cells = <3>; 1131 #size-cells = <2>; 1142 #size-cells = <2>; 1132 1143 1133 ranges = <0x81000000 1144 ranges = <0x81000000 0x0 0x00000000 0x31e00000 0x0 0x00010000 /* I/O */ 1134 0x82000000 1145 0x82000000 0x0 0x2e000000 0x2e000000 0x0 0x03e00000>; /* MEM */ 1135 1146 1136 interrupts = <GIC_SPI 1147 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; 1137 interrupt-names = "ms 1148 interrupt-names = "msi"; 1138 #interrupt-cells = <1 1149 #interrupt-cells = <1>; 1139 interrupt-map-mask = 1150 interrupt-map-mask = <0 0 0 0x7>; 1140 interrupt-map = <0 0 1151 interrupt-map = <0 0 0 1 &intc 0 58 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 1141 <0 0 1152 <0 0 0 2 &intc 0 59 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 1142 <0 0 1153 <0 0 0 3 &intc 0 60 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 1143 <0 0 1154 <0 0 0 4 &intc 0 61 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 1144 1155 1145 clocks = <&gcc PCIE_1 1156 clocks = <&gcc PCIE_1_A_CLK>, 1146 <&gcc PCIE_1 1157 <&gcc PCIE_1_H_CLK>, 1147 <&gcc PCIE_1 1158 <&gcc PCIE_1_PHY_CLK>, 1148 <&gcc PCIE_1 1159 <&gcc PCIE_1_AUX_CLK>, 1149 <&gcc PCIE_1 1160 <&gcc PCIE_1_ALT_REF_CLK>; 1150 clock-names = "core", 1161 clock-names = "core", "iface", "phy", "aux", "ref"; 1151 1162 1152 assigned-clocks = <&g 1163 assigned-clocks = <&gcc PCIE_1_ALT_REF_CLK>; 1153 assigned-clock-rates 1164 assigned-clock-rates = <100000000>; 1154 1165 1155 resets = <&gcc PCIE_1 1166 resets = <&gcc PCIE_1_ACLK_RESET>, 1156 <&gcc PCIE_1 1167 <&gcc PCIE_1_HCLK_RESET>, 1157 <&gcc PCIE_1 1168 <&gcc PCIE_1_POR_RESET>, 1158 <&gcc PCIE_1 1169 <&gcc PCIE_1_PCI_RESET>, 1159 <&gcc PCIE_1 1170 <&gcc PCIE_1_PHY_RESET>, 1160 <&gcc PCIE_1 1171 <&gcc PCIE_1_EXT_RESET>; 1161 reset-names = "axi", 1172 reset-names = "axi", "ahb", "por", "pci", "phy", "ext"; 1162 1173 1163 pinctrl-0 = <&pcie1_p 1174 pinctrl-0 = <&pcie1_pins>; 1164 pinctrl-names = "defa 1175 pinctrl-names = "default"; 1165 1176 1166 status = "disabled"; 1177 status = "disabled"; 1167 perst-gpios = <&qcom_ 1178 perst-gpios = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>; 1168 << 1169 pcie@0 { << 1170 device_type = << 1171 reg = <0x0 0x << 1172 bus-range = < << 1173 << 1174 #address-cell << 1175 #size-cells = << 1176 ranges; << 1177 }; << 1178 }; 1179 }; 1179 1180 1180 pcie2: pcie@1b900000 { !! 1181 pcie2: pci@1b900000 { 1181 compatible = "qcom,pc 1182 compatible = "qcom,pcie-ipq8064"; 1182 reg = <0x1b900000 0x1 1183 reg = <0x1b900000 0x1000 1183 0x1b902000 0x8 1184 0x1b902000 0x80 1184 0x1ba00000 0x1 1185 0x1ba00000 0x100 1185 0x35f00000 0x1 1186 0x35f00000 0x100000>; 1186 reg-names = "dbi", "e 1187 reg-names = "dbi", "elbi", "parf", "config"; 1187 device_type = "pci"; 1188 device_type = "pci"; 1188 linux,pci-domain = <2 1189 linux,pci-domain = <2>; 1189 bus-range = <0x00 0xf 1190 bus-range = <0x00 0xff>; 1190 num-lanes = <1>; 1191 num-lanes = <1>; 1191 #address-cells = <3>; 1192 #address-cells = <3>; 1192 #size-cells = <2>; 1193 #size-cells = <2>; 1193 1194 1194 ranges = <0x81000000 1195 ranges = <0x81000000 0x0 0x00000000 0x35e00000 0x0 0x00010000 /* I/O */ 1195 0x82000000 1196 0x82000000 0x0 0x32000000 0x32000000 0x0 0x03e00000>; /* MEM */ 1196 1197 1197 interrupts = <GIC_SPI 1198 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 1198 interrupt-names = "ms 1199 interrupt-names = "msi"; 1199 #interrupt-cells = <1 1200 #interrupt-cells = <1>; 1200 interrupt-map-mask = 1201 interrupt-map-mask = <0 0 0 0x7>; 1201 interrupt-map = <0 0 1202 interrupt-map = <0 0 0 1 &intc 0 72 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 1202 <0 0 1203 <0 0 0 2 &intc 0 73 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 1203 <0 0 1204 <0 0 0 3 &intc 0 74 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 1204 <0 0 1205 <0 0 0 4 &intc 0 75 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 1205 1206 1206 clocks = <&gcc PCIE_2 1207 clocks = <&gcc PCIE_2_A_CLK>, 1207 <&gcc PCIE_2 1208 <&gcc PCIE_2_H_CLK>, 1208 <&gcc PCIE_2 1209 <&gcc PCIE_2_PHY_CLK>, 1209 <&gcc PCIE_2 1210 <&gcc PCIE_2_AUX_CLK>, 1210 <&gcc PCIE_2 1211 <&gcc PCIE_2_ALT_REF_CLK>; 1211 clock-names = "core", 1212 clock-names = "core", "iface", "phy", "aux", "ref"; 1212 1213 1213 assigned-clocks = <&g 1214 assigned-clocks = <&gcc PCIE_2_ALT_REF_CLK>; 1214 assigned-clock-rates 1215 assigned-clock-rates = <100000000>; 1215 1216 1216 resets = <&gcc PCIE_2 1217 resets = <&gcc PCIE_2_ACLK_RESET>, 1217 <&gcc PCIE_2 1218 <&gcc PCIE_2_HCLK_RESET>, 1218 <&gcc PCIE_2 1219 <&gcc PCIE_2_POR_RESET>, 1219 <&gcc PCIE_2 1220 <&gcc PCIE_2_PCI_RESET>, 1220 <&gcc PCIE_2 1221 <&gcc PCIE_2_PHY_RESET>, 1221 <&gcc PCIE_2 1222 <&gcc PCIE_2_EXT_RESET>; 1222 reset-names = "axi", 1223 reset-names = "axi", "ahb", "por", "pci", "phy", "ext"; 1223 1224 1224 pinctrl-0 = <&pcie2_p 1225 pinctrl-0 = <&pcie2_pins>; 1225 pinctrl-names = "defa 1226 pinctrl-names = "default"; 1226 1227 1227 status = "disabled"; 1228 status = "disabled"; 1228 perst-gpios = <&qcom_ 1229 perst-gpios = <&qcom_pinmux 63 GPIO_ACTIVE_LOW>; 1229 << 1230 pcie@0 { << 1231 device_type = << 1232 reg = <0x0 0x << 1233 bus-range = < << 1234 << 1235 #address-cell << 1236 #size-cells = << 1237 ranges; << 1238 }; << 1239 }; 1230 }; 1240 1231 1241 qsgmii_csr: syscon@1bb00000 { 1232 qsgmii_csr: syscon@1bb00000 { 1242 compatible = "syscon" 1233 compatible = "syscon"; 1243 reg = <0x1bb00000 0x0 1234 reg = <0x1bb00000 0x000001FF>; 1244 }; 1235 }; 1245 1236 1246 lcc: clock-controller@2800000 1237 lcc: clock-controller@28000000 { 1247 compatible = "qcom,lc 1238 compatible = "qcom,lcc-ipq8064"; 1248 reg = <0x28000000 0x1 1239 reg = <0x28000000 0x1000>; 1249 #clock-cells = <1>; 1240 #clock-cells = <1>; 1250 #reset-cells = <1>; 1241 #reset-cells = <1>; 1251 }; 1242 }; 1252 1243 1253 lpass@28100000 { 1244 lpass@28100000 { 1254 compatible = "qcom,lp 1245 compatible = "qcom,lpass-cpu"; 1255 status = "disabled"; 1246 status = "disabled"; 1256 clocks = <&lcc AHBIX_ 1247 clocks = <&lcc AHBIX_CLK>, 1257 <&lcc 1248 <&lcc MI2S_OSR_CLK>, 1258 <&lcc 1249 <&lcc MI2S_BIT_CLK>; 1259 clock-names = "ahbix- 1250 clock-names = "ahbix-clk", 1260 "mi2s 1251 "mi2s-osr-clk", 1261 "mi2s 1252 "mi2s-bit-clk"; 1262 interrupts = <GIC_SPI 1253 interrupts = <GIC_SPI 85 IRQ_TYPE_EDGE_RISING>; 1263 interrupt-names = "lp 1254 interrupt-names = "lpass-irq-lpaif"; 1264 reg = <0x28100000 0x1 1255 reg = <0x28100000 0x10000>; 1265 reg-names = "lpass-lp 1256 reg-names = "lpass-lpaif"; 1266 }; 1257 }; 1267 1258 1268 sata: sata@29000000 { 1259 sata: sata@29000000 { 1269 compatible = "qcom,ip 1260 compatible = "qcom,ipq806x-ahci", "generic-ahci"; 1270 reg = <0x29000000 0x1 1261 reg = <0x29000000 0x180>; 1271 1262 1272 interrupts = <GIC_SPI 1263 interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>; 1273 1264 1274 clocks = <&gcc SFAB_S 1265 clocks = <&gcc SFAB_SATA_S_H_CLK>, 1275 <&gcc SATA_H 1266 <&gcc SATA_H_CLK>, 1276 <&gcc SATA_A 1267 <&gcc SATA_A_CLK>, 1277 <&gcc SATA_R 1268 <&gcc SATA_RXOOB_CLK>, 1278 <&gcc SATA_P 1269 <&gcc SATA_PMALIVE_CLK>; 1279 clock-names = "slave_ !! 1270 clock-names = "slave_face", "iface", "core", 1280 "rxoo 1271 "rxoob", "pmalive"; 1281 1272 1282 assigned-clocks = <&g 1273 assigned-clocks = <&gcc SATA_RXOOB_CLK>, <&gcc SATA_PMALIVE_CLK>; 1283 assigned-clock-rates 1274 assigned-clock-rates = <100000000>, <100000000>; 1284 1275 1285 phys = <&sata_phy>; 1276 phys = <&sata_phy>; 1286 phy-names = "sata-phy 1277 phy-names = "sata-phy"; 1287 status = "disabled"; 1278 status = "disabled"; 1288 }; 1279 }; 1289 1280 1290 gmac0: ethernet@37000000 { 1281 gmac0: ethernet@37000000 { 1291 device_type = "networ 1282 device_type = "network"; 1292 compatible = "qcom,ip 1283 compatible = "qcom,ipq806x-gmac", "snps,dwmac"; 1293 reg = <0x37000000 0x2 1284 reg = <0x37000000 0x200000>; 1294 interrupts = <GIC_SPI 1285 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>; 1295 interrupt-names = "ma 1286 interrupt-names = "macirq"; 1296 1287 1297 snps,axi-config = <&s 1288 snps,axi-config = <&stmmac_axi_setup>; 1298 snps,pbl = <32>; 1289 snps,pbl = <32>; 1299 snps,aal; 1290 snps,aal; 1300 1291 1301 qcom,nss-common = <&n 1292 qcom,nss-common = <&nss_common>; 1302 qcom,qsgmii-csr = <&q 1293 qcom,qsgmii-csr = <&qsgmii_csr>; 1303 1294 1304 clocks = <&gcc GMAC_C 1295 clocks = <&gcc GMAC_CORE1_CLK>; 1305 clock-names = "stmmac 1296 clock-names = "stmmaceth"; 1306 1297 1307 resets = <&gcc GMAC_C 1298 resets = <&gcc GMAC_CORE1_RESET>, 1308 <&gcc GMAC_A 1299 <&gcc GMAC_AHB_RESET>; 1309 reset-names = "stmmac 1300 reset-names = "stmmaceth", "ahb"; 1310 1301 1311 status = "disabled"; 1302 status = "disabled"; 1312 }; 1303 }; 1313 1304 1314 gmac1: ethernet@37200000 { 1305 gmac1: ethernet@37200000 { 1315 device_type = "networ 1306 device_type = "network"; 1316 compatible = "qcom,ip 1307 compatible = "qcom,ipq806x-gmac", "snps,dwmac"; 1317 reg = <0x37200000 0x2 1308 reg = <0x37200000 0x200000>; 1318 interrupts = <GIC_SPI 1309 interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>; 1319 interrupt-names = "ma 1310 interrupt-names = "macirq"; 1320 1311 1321 snps,axi-config = <&s 1312 snps,axi-config = <&stmmac_axi_setup>; 1322 snps,pbl = <32>; 1313 snps,pbl = <32>; 1323 snps,aal; 1314 snps,aal; 1324 1315 1325 qcom,nss-common = <&n 1316 qcom,nss-common = <&nss_common>; 1326 qcom,qsgmii-csr = <&q 1317 qcom,qsgmii-csr = <&qsgmii_csr>; 1327 1318 1328 clocks = <&gcc GMAC_C 1319 clocks = <&gcc GMAC_CORE2_CLK>; 1329 clock-names = "stmmac 1320 clock-names = "stmmaceth"; 1330 1321 1331 resets = <&gcc GMAC_C 1322 resets = <&gcc GMAC_CORE2_RESET>, 1332 <&gcc GMAC_A 1323 <&gcc GMAC_AHB_RESET>; 1333 reset-names = "stmmac 1324 reset-names = "stmmaceth", "ahb"; 1334 1325 1335 status = "disabled"; 1326 status = "disabled"; 1336 }; 1327 }; 1337 1328 1338 gmac2: ethernet@37400000 { 1329 gmac2: ethernet@37400000 { 1339 device_type = "networ 1330 device_type = "network"; 1340 compatible = "qcom,ip 1331 compatible = "qcom,ipq806x-gmac", "snps,dwmac"; 1341 reg = <0x37400000 0x2 1332 reg = <0x37400000 0x200000>; 1342 interrupts = <GIC_SPI 1333 interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>; 1343 interrupt-names = "ma 1334 interrupt-names = "macirq"; 1344 1335 1345 snps,axi-config = <&s 1336 snps,axi-config = <&stmmac_axi_setup>; 1346 snps,pbl = <32>; 1337 snps,pbl = <32>; 1347 snps,aal; 1338 snps,aal; 1348 1339 1349 qcom,nss-common = <&n 1340 qcom,nss-common = <&nss_common>; 1350 qcom,qsgmii-csr = <&q 1341 qcom,qsgmii-csr = <&qsgmii_csr>; 1351 1342 1352 clocks = <&gcc GMAC_C 1343 clocks = <&gcc GMAC_CORE3_CLK>; 1353 clock-names = "stmmac 1344 clock-names = "stmmaceth"; 1354 1345 1355 resets = <&gcc GMAC_C 1346 resets = <&gcc GMAC_CORE3_RESET>, 1356 <&gcc GMAC_A 1347 <&gcc GMAC_AHB_RESET>; 1357 reset-names = "stmmac 1348 reset-names = "stmmaceth", "ahb"; 1358 1349 1359 status = "disabled"; 1350 status = "disabled"; 1360 }; 1351 }; 1361 1352 1362 gmac3: ethernet@37600000 { 1353 gmac3: ethernet@37600000 { 1363 device_type = "networ 1354 device_type = "network"; 1364 compatible = "qcom,ip 1355 compatible = "qcom,ipq806x-gmac", "snps,dwmac"; 1365 reg = <0x37600000 0x2 1356 reg = <0x37600000 0x200000>; 1366 interrupts = <GIC_SPI 1357 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>; 1367 interrupt-names = "ma 1358 interrupt-names = "macirq"; 1368 1359 1369 snps,axi-config = <&s 1360 snps,axi-config = <&stmmac_axi_setup>; 1370 snps,pbl = <32>; 1361 snps,pbl = <32>; 1371 snps,aal; 1362 snps,aal; 1372 1363 1373 qcom,nss-common = <&n 1364 qcom,nss-common = <&nss_common>; 1374 qcom,qsgmii-csr = <&q 1365 qcom,qsgmii-csr = <&qsgmii_csr>; 1375 1366 1376 clocks = <&gcc GMAC_C 1367 clocks = <&gcc GMAC_CORE4_CLK>; 1377 clock-names = "stmmac 1368 clock-names = "stmmaceth"; 1378 1369 1379 resets = <&gcc GMAC_C 1370 resets = <&gcc GMAC_CORE4_RESET>, 1380 <&gcc GMAC_A 1371 <&gcc GMAC_AHB_RESET>; 1381 reset-names = "stmmac 1372 reset-names = "stmmaceth", "ahb"; 1382 1373 1383 status = "disabled"; 1374 status = "disabled"; 1384 }; 1375 }; 1385 }; 1376 }; 1386 }; 1377 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.