qcom-ipq8064.dtsi 31 KB

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