qcom-ipq8065.dtsi 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185
  1. /dts-v1/;
  2. #include "skeleton.dtsi"
  3. #include <dt-bindings/clock/qcom,gcc-ipq806x.h>
  4. #include <dt-bindings/mfd/qcom-rpm.h>
  5. #include <dt-bindings/soc/qcom,gsbi.h>
  6. #include <dt-bindings/reset/qcom,gcc-ipq806x.h>
  7. #include <dt-bindings/interrupt-controller/arm-gic.h>
  8. #include <dt-bindings/gpio/gpio.h>
  9. / {
  10. model = "Qualcomm IPQ8065";
  11. compatible = "qcom,ipq8065";
  12. interrupt-parent = <&intc>;
  13. cpus {
  14. #address-cells = <1>;
  15. #size-cells = <0>;
  16. cpu@0 {
  17. compatible = "qcom,krait";
  18. enable-method = "qcom,kpss-acc-v1";
  19. device_type = "cpu";
  20. reg = <0>;
  21. next-level-cache = <&L2>;
  22. qcom,acc = <&acc0>;
  23. qcom,saw = <&saw0>;
  24. clocks = <&kraitcc 0>;
  25. clock-names = "cpu";
  26. clock-latency = <100000>;
  27. core-supply = <&smb208_s2a>;
  28. voltage-tolerance = <5>;
  29. cooling-min-state = <0>;
  30. cooling-max-state = <10>;
  31. #cooling-cells = <2>;
  32. operating-points-0-0 = <
  33. /* kHz uV */
  34. 1725000 1262500
  35. 1400000 1175000
  36. 1000000 1100000
  37. 800000 1050000
  38. 600000 1000000
  39. 384000 975000
  40. >;
  41. operating-points-0-1 = <
  42. /* kHz uV */
  43. 1725000 1262500
  44. 1400000 1175000
  45. 1000000 1100000
  46. 800000 1050000
  47. 600000 1000000
  48. 384000 950000
  49. >;
  50. operating-points-0-2 = <
  51. /* kHz uV */
  52. 1725000 1200000
  53. 1400000 1125000
  54. 1000000 1050000
  55. 800000 1000000
  56. 600000 950000
  57. 384000 925000
  58. >;
  59. operating-points-0-3 = <
  60. /* kHz uV */
  61. 1725000 1175000
  62. 1400000 1100000
  63. 1000000 1025000
  64. 800000 975000
  65. 600000 925000
  66. 384000 900000
  67. >;
  68. operating-points-0-4 = <
  69. /* kHz uV */
  70. 1725000 1150000
  71. 1400000 1075000
  72. 1000000 1000000
  73. 800000 950000
  74. 600000 900000
  75. 384000 875000
  76. >;
  77. operating-points-0-5 = <
  78. /* kHz uV */
  79. 1725000 1100000
  80. 1400000 1025000
  81. 1000000 950000
  82. 800000 900000
  83. 600000 850000
  84. 384000 825000
  85. >;
  86. operating-points-0-6 = <
  87. /* kHz uV */
  88. 1725000 1050000
  89. 1400000 975000
  90. 1000000 900000
  91. 800000 850000
  92. 600000 800000
  93. 384000 775000
  94. >;
  95. };
  96. cpu@1 {
  97. compatible = "qcom,krait";
  98. enable-method = "qcom,kpss-acc-v1";
  99. device_type = "cpu";
  100. reg = <1>;
  101. next-level-cache = <&L2>;
  102. qcom,acc = <&acc1>;
  103. qcom,saw = <&saw1>;
  104. clocks = <&kraitcc 1>;
  105. clock-names = "cpu";
  106. clock-latency = <100000>;
  107. core-supply = <&smb208_s2b>;
  108. operating-points-0-0 = <
  109. /* kHz uV */
  110. 1725000 1262500
  111. 1400000 1175000
  112. 1000000 1100000
  113. 800000 1050000
  114. 600000 1000000
  115. 384000 975000
  116. >;
  117. operating-points-0-1 = <
  118. /* kHz uV */
  119. 1725000 1262500
  120. 1400000 1175000
  121. 1000000 1100000
  122. 800000 1050000
  123. 600000 1000000
  124. 384000 950000
  125. >;
  126. operating-points-0-2 = <
  127. /* kHz uV */
  128. 1725000 1200000
  129. 1400000 1125000
  130. 1000000 1050000
  131. 800000 1000000
  132. 600000 950000
  133. 384000 925000
  134. >;
  135. operating-points-0-3 = <
  136. /* kHz uV */
  137. 1725000 1175000
  138. 1400000 1100000
  139. 1000000 1025000
  140. 800000 975000
  141. 600000 925000
  142. 384000 900000
  143. >;
  144. operating-points-0-4 = <
  145. /* kHz uV */
  146. 1725000 1150000
  147. 1400000 1075000
  148. 1000000 1000000
  149. 800000 950000
  150. 600000 900000
  151. 384000 875000
  152. >;
  153. operating-points-0-5 = <
  154. /* kHz uV */
  155. 1725000 1100000
  156. 1400000 1025000
  157. 1000000 950000
  158. 800000 900000
  159. 600000 850000
  160. 384000 825000
  161. >;
  162. operating-points-0-6 = <
  163. /* kHz uV */
  164. 1725000 1050000
  165. 1400000 975000
  166. 1000000 900000
  167. 800000 850000
  168. 600000 800000
  169. 384000 775000
  170. >;
  171. cooling-min-state = <0>;
  172. cooling-max-state = <10>;
  173. #cooling-cells = <2>;
  174. };
  175. L2: l2-cache {
  176. compatible = "cache";
  177. cache-level = <2>;
  178. clocks = <&kraitcc 4>;
  179. clock-names = "cache";
  180. cache-points-kHz = <
  181. /* kHz uV CPU kHz */
  182. 1200000 1150000 1200000
  183. 1000000 1100000 600000
  184. 384000 1100000 384000
  185. >;
  186. vdd_dig-supply = <&smb208_s1a>;
  187. };
  188. };
  189. cpu-pmu {
  190. compatible = "qcom,krait-pmu";
  191. interrupts = <1 10 0x304>;
  192. };
  193. reserved-memory {
  194. #address-cells = <1>;
  195. #size-cells = <1>;
  196. ranges;
  197. nss@40000000 {
  198. reg = <0x40000000 0x1000000>;
  199. no-map;
  200. };
  201. smem: smem@41000000 {
  202. reg = <0x41000000 0x200000>;
  203. no-map;
  204. };
  205. };
  206. clocks {
  207. sleep_clk: sleep_clk {
  208. compatible = "fixed-clock";
  209. clock-frequency = <32768>;
  210. #clock-cells = <0>;
  211. };
  212. };
  213. kraitcc: clock-controller {
  214. compatible = "qcom,krait-cc-v1";
  215. #clock-cells = <1>;
  216. };
  217. qcom,pvs {
  218. qcom,pvs-format-a;
  219. qcom,speed0-pvs0-bin-v0 =
  220. < 1725000000 1262500 >,
  221. < 1400000000 1175000 >,
  222. < 1000000000 1100000 >,
  223. < 800000000 1050000 >,
  224. < 600000000 1000000 >,
  225. < 384000000 975000 >;
  226. qcom,speed0-pvs1-bin-v0 =
  227. < 1725000000 1262500 >,
  228. < 1400000000 1175000 >,
  229. < 1000000000 1100000 >,
  230. < 800000000 1050000 >,
  231. < 600000000 1000000 >,
  232. < 384000000 950000 >;
  233. qcom,speed0-pvs2-bin-v0 =
  234. < 1725000000 1200000 >,
  235. < 1400000000 1125000 >,
  236. < 1000000000 1050000 >,
  237. < 800000000 1000000 >,
  238. < 600000000 950000 >,
  239. < 384000000 925000 >;
  240. qcom,speed0-pvs3-bin-v0 =
  241. < 1725000000 1175000 >,
  242. < 1400000000 1100000 >,
  243. < 1000000000 1025000 >,
  244. < 800000000 975000 >,
  245. < 600000000 925000 >,
  246. < 384000000 900000 >;
  247. qcom,speed0-pvs4-bin-v0 =
  248. < 1725000000 1150000 >,
  249. < 1400000000 1075000 >,
  250. < 1000000000 1000000 >,
  251. < 800000000 950000 >,
  252. < 600000000 900000 >,
  253. < 384000000 875000 >;
  254. qcom,speed0-pvs5-bin-v0 =
  255. < 1725000000 1100000 >,
  256. < 1400000000 1025000 >,
  257. < 1000000000 950000 >,
  258. < 800000000 900000 >,
  259. < 600000000 850000 >,
  260. < 384000000 825000 >;
  261. qcom,speed0-pvs6-bin-v0 =
  262. < 1725000000 1050000 >,
  263. < 1400000000 975000 >,
  264. < 1000000000 900000 >,
  265. < 800000000 850000 >,
  266. < 600000000 800000 >,
  267. < 384000000 775000 >;
  268. };
  269. soc: soc {
  270. #address-cells = <1>;
  271. #size-cells = <1>;
  272. ranges;
  273. compatible = "simple-bus";
  274. imem: memory@700000 {
  275. compatible = "qcom,imem-ipq8064", "syscon";
  276. reg = <0x00700000 0x1000>;
  277. #address-cells = <1>;
  278. #size-cells = <1>;
  279. ranges = <0x0 0x00700000 0x1000>;
  280. };
  281. rpm@108000 {
  282. compatible = "qcom,rpm-ipq8064";
  283. reg = <0x108000 0x1000>;
  284. qcom,ipc = <&l2cc 0x8 2>;
  285. interrupts = <0 19 0>,
  286. <0 21 0>,
  287. <0 22 0>;
  288. interrupt-names = "ack",
  289. "err",
  290. "wakeup";
  291. #address-cells = <1>;
  292. #size-cells = <0>;
  293. smb208_s1a: smb208-s1a {
  294. compatible = "qcom,rpm-smb208";
  295. reg = <QCOM_RPM_SMB208_S1a>;
  296. regulator-min-microvolt = <1050000>;
  297. regulator-max-microvolt = <1150000>;
  298. qcom,switch-mode-frequency = <1200000>;
  299. };
  300. smb208_s1b: smb208-s1b {
  301. compatible = "qcom,rpm-smb208";
  302. reg = <QCOM_RPM_SMB208_S1b>;
  303. regulator-min-microvolt = <1050000>;
  304. regulator-max-microvolt = <1150000>;
  305. qcom,switch-mode-frequency = <1200000>;
  306. };
  307. smb208_s2a: smb208-s2a {
  308. compatible = "qcom,rpm-smb208";
  309. reg = <QCOM_RPM_SMB208_S2a>;
  310. regulator-min-microvolt = < 800000>;
  311. regulator-max-microvolt = <1275000>;
  312. qcom,switch-mode-frequency = <1400000>;
  313. };
  314. smb208_s2b: smb208-s2b {
  315. compatible = "qcom,rpm-smb208";
  316. reg = <QCOM_RPM_SMB208_S2b>;
  317. regulator-min-microvolt = < 800000>;
  318. regulator-max-microvolt = <1275000>;
  319. qcom,switch-mode-frequency = <1400000>;
  320. };
  321. cxo_clk: cxo-clk {
  322. #clock-cells = <0>;
  323. compatible = "qcom,rpm-clk";
  324. reg = <QCOM_RPM_CXO_CLK>;
  325. qcom,rpm-clk-name = "cxo";
  326. qcom,rpm-clk-freq = <25000000>;
  327. qcom,rpm-clk-active-only;
  328. };
  329. pxo_clk: pxo-clk {
  330. #clock-cells = <0>;
  331. compatible = "qcom,rpm-clk";
  332. reg = <QCOM_RPM_PXO_CLK>;
  333. qcom,rpm-clk-name = "pxo";
  334. qcom,rpm-clk-freq = <25000000>;
  335. qcom,rpm-clk-active-only;
  336. };
  337. ebi1_clk: ebi1-clk {
  338. #clock-cells = <0>;
  339. compatible = "qcom,rpm-clk";
  340. reg = <QCOM_RPM_EBI1_CLK>;
  341. qcom,rpm-clk-name = "ebi1";
  342. qcom,rpm-clk-freq = <533000000>;
  343. qcom,rpm-clk-active-only;
  344. };
  345. apps_fabric_clk: apps-fabric-clk {
  346. #clock-cells = <0>;
  347. compatible = "qcom,rpm-clk";
  348. reg = <QCOM_RPM_APPS_FABRIC_CLK>;
  349. qcom,rpm-clk-name = "apps-fabric";
  350. qcom,rpm-clk-freq = <533000000>;
  351. qcom,rpm-clk-active-only;
  352. };
  353. nss_fabric0_clk: nss-fabric0-clk {
  354. #clock-cells = <0>;
  355. compatible = "qcom,rpm-clk";
  356. reg = <QCOM_RPM_NSS_FABRIC_0_CLK>;
  357. qcom,rpm-clk-name = "nss-fabric0";
  358. qcom,rpm-clk-freq = <533000000>;
  359. qcom,rpm-clk-active-only;
  360. };
  361. nss_fabric1_clk: nss-fabric1-clk {
  362. #clock-cells = <0>;
  363. compatible = "qcom,rpm-clk";
  364. reg = <QCOM_RPM_NSS_FABRIC_1_CLK>;
  365. qcom,rpm-clk-name = "nss-fabric1";
  366. qcom,rpm-clk-freq = <266000000>;
  367. qcom,rpm-clk-active-only;
  368. };
  369. };
  370. rng@1a500000 {
  371. compatible = "qcom,prng";
  372. reg = <0x1a500000 0x200>;
  373. clocks = <&gcc PRNG_CLK>;
  374. clock-names = "core";
  375. };
  376. qcom,msm-imem@2A03F000 {
  377. compatible = "qcom,msm-imem";
  378. reg = <0x2A03F000 0x1000>; /* Address and size of IMEM */
  379. ranges = <0x0 0x2A03F000 0x1000>;
  380. #address-cells = <1>;
  381. #size-cells = <1>;
  382. download_mode@0 {
  383. compatible = "qcom,msm-imem-download_mode";
  384. reg = <0x0 8>;
  385. };
  386. restart_reason@65c {
  387. compatible = "qcom,msm-imem-restart_reason";
  388. reg = <0x65c 4>;
  389. };
  390. l2_dump_offset@14 {
  391. compatible = "qcom,msm-imem-l2_dump_offset";
  392. reg = <0x14 8>;
  393. };
  394. };
  395. qcom_pinmux: pinmux@800000 {
  396. compatible = "qcom,ipq8064-pinctrl";
  397. reg = <0x800000 0x4000>;
  398. gpio-controller;
  399. #gpio-cells = <2>;
  400. interrupt-controller;
  401. #interrupt-cells = <2>;
  402. interrupts = <0 32 0x4>;
  403. pcie0_pins: pcie0_pinmux {
  404. mux {
  405. pins = "gpio3";
  406. function = "pcie1_rst";
  407. drive-strength = <12>;
  408. bias-disable;
  409. };
  410. };
  411. pcie1_pins: pcie1_pinmux {
  412. mux {
  413. pins = "gpio48";
  414. function = "pcie2_rst";
  415. drive-strength = <12>;
  416. bias-disable;
  417. };
  418. };
  419. pcie2_pins: pcie2_pinmux {
  420. mux {
  421. pins = "gpio63";
  422. function = "pcie3_rst";
  423. drive-strength = <12>;
  424. bias-disable;
  425. };
  426. };
  427. };
  428. intc: interrupt-controller@2000000 {
  429. compatible = "qcom,msm-qgic2";
  430. interrupt-controller;
  431. #interrupt-cells = <3>;
  432. reg = <0x02000000 0x1000>,
  433. <0x02002000 0x1000>;
  434. };
  435. timer@200a000 {
  436. compatible = "qcom,kpss-timer", "qcom,msm-timer";
  437. interrupts = <1 1 0x301>,
  438. <1 2 0x301>,
  439. <1 3 0x301>,
  440. <1 4 0x301>,
  441. <1 5 0x301>;
  442. reg = <0x0200a000 0x100>;
  443. clock-frequency = <25000000>,
  444. <32768>;
  445. clocks = <&sleep_clk>;
  446. clock-names = "sleep";
  447. cpu-offset = <0x80000>;
  448. };
  449. acc0: clock-controller@2088000 {
  450. compatible = "qcom,kpss-acc-v1";
  451. reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
  452. clock-output-names = "acpu0_aux";
  453. };
  454. acc1: clock-controller@2098000 {
  455. compatible = "qcom,kpss-acc-v1";
  456. reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
  457. clock-output-names = "acpu1_aux";
  458. };
  459. l2cc: clock-controller@2011000 {
  460. compatible = "qcom,kpss-gcc", "syscon";
  461. reg = <0x2011000 0x1000>;
  462. clock-output-names = "acpu_l2_aux";
  463. };
  464. saw0: regulator@2089000 {
  465. compatible = "qcom,saw2";
  466. reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
  467. regulator;
  468. };
  469. saw1: regulator@2099000 {
  470. compatible = "qcom,saw2";
  471. reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
  472. regulator;
  473. };
  474. gsbi2: gsbi@12480000 {
  475. compatible = "qcom,gsbi-v1.0.0";
  476. cell-index = <2>;
  477. reg = <0x12480000 0x100>;
  478. clocks = <&gcc GSBI2_H_CLK>;
  479. clock-names = "iface";
  480. #address-cells = <1>;
  481. #size-cells = <1>;
  482. ranges;
  483. status = "disabled";
  484. syscon-tcsr = <&tcsr>;
  485. uart2: serial@12490000 {
  486. compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
  487. reg = <0x12490000 0x1000>,
  488. <0x12480000 0x1000>;
  489. interrupts = <0 195 0x0>;
  490. clocks = <&gcc GSBI2_UART_CLK>, <&gcc GSBI2_H_CLK>;
  491. clock-names = "core", "iface";
  492. status = "disabled";
  493. };
  494. i2c@124a0000 {
  495. compatible = "qcom,i2c-qup-v1.1.1";
  496. reg = <0x124a0000 0x1000>;
  497. interrupts = <0 196 0>;
  498. clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
  499. clock-names = "core", "iface";
  500. status = "disabled";
  501. #address-cells = <1>;
  502. #size-cells = <0>;
  503. };
  504. };
  505. gsbi4: gsbi@16300000 {
  506. compatible = "qcom,gsbi-v1.0.0";
  507. cell-index = <4>;
  508. reg = <0x16300000 0x100>;
  509. clocks = <&gcc GSBI4_H_CLK>;
  510. clock-names = "iface";
  511. #address-cells = <1>;
  512. #size-cells = <1>;
  513. ranges;
  514. status = "disabled";
  515. syscon-tcsr = <&tcsr>;
  516. uart4: serial@16340000 {
  517. compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
  518. reg = <0x16340000 0x1000>,
  519. <0x16300000 0x1000>;
  520. interrupts = <0 152 0x0>;
  521. clocks = <&gcc GSBI4_UART_CLK>, <&gcc GSBI4_H_CLK>;
  522. clock-names = "core", "iface";
  523. status = "disabled";
  524. };
  525. i2c@16380000 {
  526. compatible = "qcom,i2c-qup-v1.1.1";
  527. reg = <0x16380000 0x1000>;
  528. interrupts = <0 153 0>;
  529. clocks = <&gcc GSBI4_QUP_CLK>, <&gcc GSBI4_H_CLK>;
  530. clock-names = "core", "iface";
  531. status = "disabled";
  532. #address-cells = <1>;
  533. #size-cells = <0>;
  534. };
  535. };
  536. gsbi5: gsbi@1a200000 {
  537. compatible = "qcom,gsbi-v1.0.0";
  538. cell-index = <5>;
  539. reg = <0x1a200000 0x100>;
  540. clocks = <&gcc GSBI5_H_CLK>;
  541. clock-names = "iface";
  542. #address-cells = <1>;
  543. #size-cells = <1>;
  544. ranges;
  545. status = "disabled";
  546. syscon-tcsr = <&tcsr>;
  547. uart5: serial@1a240000 {
  548. compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
  549. reg = <0x1a240000 0x1000>,
  550. <0x1a200000 0x1000>;
  551. interrupts = <0 154 0x0>;
  552. clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
  553. clock-names = "core", "iface";
  554. status = "disabled";
  555. };
  556. i2c@1a280000 {
  557. compatible = "qcom,i2c-qup-v1.1.1";
  558. reg = <0x1a280000 0x1000>;
  559. interrupts = <0 155 0>;
  560. clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
  561. clock-names = "core", "iface";
  562. status = "disabled";
  563. #address-cells = <1>;
  564. #size-cells = <0>;
  565. };
  566. spi@1a280000 {
  567. compatible = "qcom,spi-qup-v1.1.1";
  568. reg = <0x1a280000 0x1000>;
  569. interrupts = <0 155 0>;
  570. clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
  571. clock-names = "core", "iface";
  572. status = "disabled";
  573. #address-cells = <1>;
  574. #size-cells = <0>;
  575. };
  576. };
  577. sata_phy: sata-phy@1b400000 {
  578. compatible = "qcom,ipq806x-sata-phy";
  579. reg = <0x1b400000 0x200>;
  580. clocks = <&gcc SATA_PHY_CFG_CLK>;
  581. clock-names = "cfg";
  582. #phy-cells = <0>;
  583. status = "disabled";
  584. };
  585. sata@29000000 {
  586. compatible = "qcom,ipq806x-ahci", "generic-ahci";
  587. reg = <0x29000000 0x180>;
  588. interrupts = <0 209 0x0>;
  589. clocks = <&gcc SFAB_SATA_S_H_CLK>,
  590. <&gcc SATA_H_CLK>,
  591. <&gcc SATA_A_CLK>,
  592. <&gcc SATA_RXOOB_CLK>,
  593. <&gcc SATA_PMALIVE_CLK>;
  594. clock-names = "slave_face", "iface", "core",
  595. "rxoob", "pmalive";
  596. assigned-clocks = <&gcc SATA_RXOOB_CLK>, <&gcc SATA_PMALIVE_CLK>;
  597. assigned-clock-rates = <100000000>, <100000000>;
  598. phys = <&sata_phy>;
  599. phy-names = "sata-phy";
  600. status = "disabled";
  601. };
  602. qcom,ssbi@500000 {
  603. compatible = "qcom,ssbi";
  604. reg = <0x00500000 0x1000>;
  605. qcom,controller-type = "pmic-arbiter";
  606. };
  607. gcc: clock-controller@900000 {
  608. compatible = "qcom,gcc-ipq8064";
  609. reg = <0x00900000 0x4000>;
  610. #clock-cells = <1>;
  611. #reset-cells = <1>;
  612. };
  613. tcsr: syscon@1a400000 {
  614. compatible = "qcom,tcsr-ipq8064", "syscon";
  615. reg = <0x1a400000 0x100>;
  616. };
  617. tsens: tsens-ipq806x {
  618. compatible = "qcom,ipq806x-tsens";
  619. reg = <0x900000 0x3678>, <0x700000 0x420>;
  620. reg-names = "tsens_physical", "tsens_eeprom_physical";
  621. interrupts = <0 178 0>;
  622. qcom,sensors = <11>;
  623. qcom,tsens_factor = <1000>;
  624. qcom,slope = <1176 1176 1154 1176 1111 1132 1132 1199 1132 1199 1132>;
  625. };
  626. qcom,msm-thermal {
  627. compatible = "qcom,msm-thermal";
  628. qcom,sensor-id = <0>;
  629. qcom,poll-ms = <250>;
  630. qcom,limit-temp = <105>;
  631. qcom,temp-hysteresis = <10>;
  632. qcom,freq-step = <2>;
  633. qcom,core-limit-temp = <115>;
  634. qcom,core-temp-hysteresis = <10>;
  635. qcom,core-control-mask = <0xe>;
  636. };
  637. sfpb_mutex_block: syscon@1200600 {
  638. compatible = "syscon";
  639. reg = <0x01200600 0x100>;
  640. };
  641. hs_phy_1: phy@100f8800 {
  642. compatible = "qcom,dwc3-hs-usb-phy";
  643. reg = <0x100f8800 0x30>;
  644. clocks = <&gcc USB30_1_UTMI_CLK>;
  645. clock-names = "ref";
  646. #phy-cells = <0>;
  647. status = "disabled";
  648. };
  649. ss_phy_1: phy@100f8830 {
  650. compatible = "qcom,dwc3-ss-usb-phy";
  651. reg = <0x100f8830 0x30>;
  652. clocks = <&gcc USB30_1_MASTER_CLK>;
  653. clock-names = "ref";
  654. #phy-cells = <0>;
  655. status = "disabled";
  656. };
  657. hs_phy_0: phy@110f8800 {
  658. compatible = "qcom,dwc3-hs-usb-phy";
  659. reg = <0x110f8800 0x30>;
  660. clocks = <&gcc USB30_0_UTMI_CLK>;
  661. clock-names = "ref";
  662. #phy-cells = <0>;
  663. status = "disabled";
  664. };
  665. ss_phy_0: phy@110f8830 {
  666. compatible = "qcom,dwc3-ss-usb-phy";
  667. reg = <0x110f8830 0x30>;
  668. clocks = <&gcc USB30_0_MASTER_CLK>;
  669. clock-names = "ref";
  670. #phy-cells = <0>;
  671. status = "disabled";
  672. };
  673. usb3_0: usb30@0 {
  674. compatible = "qcom,dwc3";
  675. #address-cells = <1>;
  676. #size-cells = <1>;
  677. clocks = <&gcc USB30_0_MASTER_CLK>;
  678. clock-names = "core";
  679. ranges;
  680. status = "disabled";
  681. resets = <&gcc USB30_0_MASTER_RESET>;
  682. reset-names = "usb30_mstr_rst";
  683. dwc3@11000000 {
  684. compatible = "snps,dwc3";
  685. reg = <0x11000000 0xcd00>;
  686. interrupts = <0 110 0x4>;
  687. phys = <&hs_phy_0>, <&ss_phy_0>;
  688. phy-names = "usb2-phy", "usb3-phy";
  689. tx-fifo-resize;
  690. dr_mode = "host";
  691. };
  692. };
  693. usb3_1: usb30@1 {
  694. compatible = "qcom,dwc3";
  695. #address-cells = <1>;
  696. #size-cells = <1>;
  697. clocks = <&gcc USB30_1_MASTER_CLK>;
  698. clock-names = "core";
  699. ranges;
  700. status = "disabled";
  701. dwc3@10000000 {
  702. compatible = "snps,dwc3";
  703. reg = <0x10000000 0xcd00>;
  704. interrupts = <0 205 0x4>;
  705. phys = <&hs_phy_1>, <&ss_phy_1>;
  706. phy-names = "usb2-phy", "usb3-phy";
  707. tx-fifo-resize;
  708. dr_mode = "host";
  709. };
  710. };
  711. pcie0: pci@1b500000 {
  712. compatible = "qcom,pcie-v0";
  713. reg = <0x1b500000 0x1000
  714. 0x1b502000 0x80
  715. 0x1b600000 0x100
  716. 0x0ff00000 0x100000>;
  717. reg-names = "dbi", "elbi", "parf", "config";
  718. device_type = "pci";
  719. linux,pci-domain = <0>;
  720. bus-range = <0x00 0xff>;
  721. num-lanes = <1>;
  722. #address-cells = <3>;
  723. #size-cells = <2>;
  724. ranges = <0x81000000 0 0x0fe00000 0x0fe00000 0 0x00100000 /* downstream I/O */
  725. 0x82000000 0 0x08000000 0x08000000 0 0x07e00000>; /* non-prefetchable memory */
  726. interrupts = <GIC_SPI 35 IRQ_TYPE_NONE>;
  727. interrupt-names = "msi";
  728. #interrupt-cells = <1>;
  729. interrupt-map-mask = <0 0 0 0x7>;
  730. interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  731. <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  732. <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  733. <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  734. clocks = <&gcc PCIE_A_CLK>,
  735. <&gcc PCIE_H_CLK>,
  736. <&gcc PCIE_PHY_CLK>,
  737. <&gcc PCIE_AUX_CLK>,
  738. <&gcc PCIE_ALT_REF_CLK>;
  739. clock-names = "core", "iface", "phy", "aux", "ref";
  740. assigned-clocks = <&gcc PCIE_ALT_REF_CLK>;
  741. assigned-clock-rates = <100000000>;
  742. resets = <&gcc PCIE_ACLK_RESET>,
  743. <&gcc PCIE_HCLK_RESET>,
  744. <&gcc PCIE_POR_RESET>,
  745. <&gcc PCIE_PCI_RESET>,
  746. <&gcc PCIE_PHY_RESET>,
  747. <&gcc PCIE_EXT_RESET>;
  748. reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
  749. pinctrl-0 = <&pcie0_pins>;
  750. pinctrl-names = "default";
  751. perst-gpio = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>;
  752. status = "disabled";
  753. };
  754. pcie1: pci@1b700000 {
  755. compatible = "qcom,pcie-v0";
  756. reg = <0x1b700000 0x1000
  757. 0x1b702000 0x80
  758. 0x1b800000 0x100
  759. 0x31f00000 0x100000>;
  760. reg-names = "dbi", "elbi", "parf", "config";
  761. device_type = "pci";
  762. linux,pci-domain = <1>;
  763. bus-range = <0x00 0xff>;
  764. num-lanes = <1>;
  765. #address-cells = <3>;
  766. #size-cells = <2>;
  767. ranges = <0x81000000 0 0x31e00000 0x31e00000 0 0x00100000 /* downstream I/O */
  768. 0x82000000 0 0x2e000000 0x2e000000 0 0x03e00000>; /* non-prefetchable memory */
  769. interrupts = <GIC_SPI 57 IRQ_TYPE_NONE>;
  770. interrupt-names = "msi";
  771. #interrupt-cells = <1>;
  772. interrupt-map-mask = <0 0 0 0x7>;
  773. interrupt-map = <0 0 0 1 &intc 0 58 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  774. <0 0 0 2 &intc 0 59 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  775. <0 0 0 3 &intc 0 60 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  776. <0 0 0 4 &intc 0 61 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  777. clocks = <&gcc PCIE_1_A_CLK>,
  778. <&gcc PCIE_1_H_CLK>,
  779. <&gcc PCIE_1_PHY_CLK>,
  780. <&gcc PCIE_1_AUX_CLK>,
  781. <&gcc PCIE_1_ALT_REF_CLK>;
  782. clock-names = "core", "iface", "phy", "aux", "ref";
  783. assigned-clocks = <&gcc PCIE_1_ALT_REF_CLK>;
  784. assigned-clock-rates = <100000000>;
  785. resets = <&gcc PCIE_1_ACLK_RESET>,
  786. <&gcc PCIE_1_HCLK_RESET>,
  787. <&gcc PCIE_1_POR_RESET>,
  788. <&gcc PCIE_1_PCI_RESET>,
  789. <&gcc PCIE_1_PHY_RESET>,
  790. <&gcc PCIE_1_EXT_RESET>;
  791. reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
  792. pinctrl-0 = <&pcie1_pins>;
  793. pinctrl-names = "default";
  794. perst-gpio = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>;
  795. status = "disabled";
  796. };
  797. pcie2: pci@1b900000 {
  798. compatible = "qcom,pcie-v0";
  799. reg = <0x1b900000 0x1000
  800. 0x1b902000 0x80
  801. 0x1ba00000 0x100
  802. 0x35f00000 0x100000>;
  803. reg-names = "dbi", "elbi", "parf", "config";
  804. device_type = "pci";
  805. linux,pci-domain = <2>;
  806. bus-range = <0x00 0xff>;
  807. num-lanes = <1>;
  808. #address-cells = <3>;
  809. #size-cells = <2>;
  810. ranges = <0x81000000 0 0x35e00000 0x35e00000 0 0x00100000 /* downstream I/O */
  811. 0x82000000 0 0x32000000 0x32000000 0 0x03e00000>; /* non-prefetchable memory */
  812. interrupts = <GIC_SPI 71 IRQ_TYPE_NONE>;
  813. interrupt-names = "msi";
  814. #interrupt-cells = <1>;
  815. interrupt-map-mask = <0 0 0 0x7>;
  816. interrupt-map = <0 0 0 1 &intc 0 72 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  817. <0 0 0 2 &intc 0 73 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  818. <0 0 0 3 &intc 0 74 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  819. <0 0 0 4 &intc 0 75 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  820. clocks = <&gcc PCIE_2_A_CLK>,
  821. <&gcc PCIE_2_H_CLK>,
  822. <&gcc PCIE_2_PHY_CLK>,
  823. <&gcc PCIE_2_AUX_CLK>,
  824. <&gcc PCIE_2_ALT_REF_CLK>;
  825. clock-names = "core", "iface", "phy", "aux", "ref";
  826. assigned-clocks = <&gcc PCIE_2_ALT_REF_CLK>;
  827. assigned-clock-rates = <100000000>;
  828. resets = <&gcc PCIE_2_ACLK_RESET>,
  829. <&gcc PCIE_2_HCLK_RESET>,
  830. <&gcc PCIE_2_POR_RESET>,
  831. <&gcc PCIE_2_PCI_RESET>,
  832. <&gcc PCIE_2_PHY_RESET>,
  833. <&gcc PCIE_2_EXT_RESET>;
  834. reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
  835. pinctrl-0 = <&pcie2_pins>;
  836. pinctrl-names = "default";
  837. perst-gpio = <&qcom_pinmux 63 GPIO_ACTIVE_LOW>;
  838. status = "disabled";
  839. };
  840. adm_dma: dma@18300000 {
  841. compatible = "qcom,adm";
  842. reg = <0x18300000 0x100000>;
  843. interrupts = <0 170 0>;
  844. #dma-cells = <1>;
  845. clocks = <&gcc ADM0_CLK>, <&gcc ADM0_PBUS_CLK>;
  846. clock-names = "core", "iface";
  847. resets = <&gcc ADM0_RESET>,
  848. <&gcc ADM0_PBUS_RESET>,
  849. <&gcc ADM0_C0_RESET>,
  850. <&gcc ADM0_C1_RESET>,
  851. <&gcc ADM0_C2_RESET>;
  852. reset-names = "clk", "pbus", "c0", "c1", "c2";
  853. qcom,ee = <0>;
  854. status = "disabled";
  855. };
  856. nand@1ac00000 {
  857. compatible = "qcom,ebi2-nandc";
  858. reg = <0x1ac00000 0x800>;
  859. clocks = <&gcc EBI2_CLK>,
  860. <&gcc EBI2_AON_CLK>;
  861. clock-names = "core", "aon";
  862. dmas = <&adm_dma 3>;
  863. dma-names = "rxtx";
  864. qcom,cmd-crci = <15>;
  865. qcom,data-crci = <3>;
  866. status = "disabled";
  867. };
  868. nss_common: syscon@03000000 {
  869. compatible = "syscon";
  870. reg = <0x03000000 0x0000FFFF>;
  871. };
  872. qsgmii_csr: syscon@1bb00000 {
  873. compatible = "syscon";
  874. reg = <0x1bb00000 0x000001FF>;
  875. };
  876. gmac0: ethernet@37000000 {
  877. device_type = "network";
  878. compatible = "qcom,ipq806x-gmac";
  879. reg = <0x37000000 0x200000>;
  880. interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
  881. interrupt-names = "macirq";
  882. qcom,nss-common = <&nss_common>;
  883. qcom,qsgmii-csr = <&qsgmii_csr>;
  884. clocks = <&gcc GMAC_CORE1_CLK>;
  885. clock-names = "stmmaceth";
  886. resets = <&gcc GMAC_CORE1_RESET>;
  887. reset-names = "stmmaceth";
  888. status = "disabled";
  889. };
  890. gmac1: ethernet@37200000 {
  891. device_type = "network";
  892. compatible = "qcom,ipq806x-gmac";
  893. reg = <0x37200000 0x200000>;
  894. interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
  895. interrupt-names = "macirq";
  896. qcom,nss-common = <&nss_common>;
  897. qcom,qsgmii-csr = <&qsgmii_csr>;
  898. clocks = <&gcc GMAC_CORE2_CLK>;
  899. clock-names = "stmmaceth";
  900. resets = <&gcc GMAC_CORE2_RESET>;
  901. reset-names = "stmmaceth";
  902. status = "disabled";
  903. };
  904. gmac2: ethernet@37400000 {
  905. device_type = "network";
  906. compatible = "qcom,ipq806x-gmac";
  907. reg = <0x37400000 0x200000>;
  908. interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
  909. interrupt-names = "macirq";
  910. qcom,nss-common = <&nss_common>;
  911. qcom,qsgmii-csr = <&qsgmii_csr>;
  912. clocks = <&gcc GMAC_CORE3_CLK>;
  913. clock-names = "stmmaceth";
  914. resets = <&gcc GMAC_CORE3_RESET>;
  915. reset-names = "stmmaceth";
  916. status = "disabled";
  917. };
  918. gmac3: ethernet@37600000 {
  919. device_type = "network";
  920. compatible = "qcom,ipq806x-gmac";
  921. reg = <0x37600000 0x200000>;
  922. interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
  923. interrupt-names = "macirq";
  924. qcom,nss-common = <&nss_common>;
  925. qcom,qsgmii-csr = <&qsgmii_csr>;
  926. clocks = <&gcc GMAC_CORE4_CLK>;
  927. clock-names = "stmmaceth";
  928. resets = <&gcc GMAC_CORE4_RESET>;
  929. reset-names = "stmmaceth";
  930. status = "disabled";
  931. };
  932. /* Temporary fixed regulator */
  933. vsdcc_fixed: vsdcc-regulator {
  934. compatible = "regulator-fixed";
  935. regulator-name = "SDCC Power";
  936. regulator-min-microvolt = <3300000>;
  937. regulator-max-microvolt = <3300000>;
  938. regulator-always-on;
  939. };
  940. sdcc1bam:dma@12402000 {
  941. compatible = "qcom,bam-v1.3.0";
  942. reg = <0x12402000 0x8000>;
  943. interrupts = <0 98 0>;
  944. clocks = <&gcc SDC1_H_CLK>;
  945. clock-names = "bam_clk";
  946. #dma-cells = <1>;
  947. qcom,ee = <0>;
  948. };
  949. sdcc3bam:dma@12182000 {
  950. compatible = "qcom,bam-v1.3.0";
  951. reg = <0x12182000 0x8000>;
  952. interrupts = <0 96 0>;
  953. clocks = <&gcc SDC3_H_CLK>;
  954. clock-names = "bam_clk";
  955. #dma-cells = <1>;
  956. qcom,ee = <0>;
  957. };
  958. amba {
  959. compatible = "arm,amba-bus";
  960. #address-cells = <1>;
  961. #size-cells = <1>;
  962. ranges;
  963. sdcc1: sdcc@12400000 {
  964. status = "disabled";
  965. compatible = "arm,pl18x", "arm,primecell";
  966. arm,primecell-periphid = <0x00051180>;
  967. reg = <0x12400000 0x2000>;
  968. interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
  969. interrupt-names = "cmd_irq";
  970. clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
  971. clock-names = "mclk", "apb_pclk";
  972. bus-width = <8>;
  973. max-frequency = <48000000>;
  974. non-removable;
  975. cap-sd-highspeed;
  976. cap-mmc-highspeed;
  977. vmmc-supply = <&vsdcc_fixed>;
  978. #dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
  979. #dma-names = "tx", "rx";
  980. };
  981. sdcc3: sdcc@12180000 {
  982. compatible = "arm,pl18x", "arm,primecell";
  983. arm,primecell-periphid = <0x00051180>;
  984. status = "disabled";
  985. reg = <0x12180000 0x2000>;
  986. interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
  987. interrupt-names = "cmd_irq";
  988. clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
  989. clock-names = "mclk", "apb_pclk";
  990. bus-width = <8>;
  991. cap-sd-highspeed;
  992. cap-mmc-highspeed;
  993. max-frequency = <192000000>;
  994. #mmc-ddr-1_8v;
  995. sd-uhs-sdr50;
  996. vmmc-supply = <&vsdcc_fixed>;
  997. #dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
  998. #dma-names = "tx", "rx";
  999. };
  1000. };
  1001. };
  1002. sfpb_mutex: sfpb-mutex {
  1003. compatible = "qcom,sfpb-mutex";
  1004. syscon = <&sfpb_mutex_block 4 4>;
  1005. #hwlock-cells = <1>;
  1006. };
  1007. smem {
  1008. compatible = "qcom,smem";
  1009. memory-region = <&smem>;
  1010. hwlocks = <&sfpb_mutex 3>;
  1011. };
  1012. };