0034-v6.3-arm64-dts-qcom-ipq6018-Sort-nodes-properly.patch 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605
  1. From 2c6e322a41c5e1ca45be50b9d5fbcda62dc23a0d Mon Sep 17 00:00:00 2001
  2. From: Konrad Dybcio <[email protected]>
  3. Date: Mon, 2 Jan 2023 10:46:28 +0100
  4. Subject: [PATCH] arm64: dts: qcom: ipq6018: Sort nodes properly
  5. Order nodes by unit address if one exists and alphabetically otherwise.
  6. Signed-off-by: Konrad Dybcio <[email protected]>
  7. Signed-off-by: Bjorn Andersson <[email protected]>
  8. Link: https://lore.kernel.org/r/[email protected]
  9. ---
  10. arch/arm64/boot/dts/qcom/ipq6018.dtsi | 562 +++++++++++++-------------
  11. 1 file changed, 281 insertions(+), 281 deletions(-)
  12. --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi
  13. +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
  14. @@ -87,6 +87,12 @@
  15. };
  16. };
  17. + firmware {
  18. + scm {
  19. + compatible = "qcom,scm-ipq6018", "qcom,scm";
  20. + };
  21. + };
  22. +
  23. cpu_opp_table: opp-table-cpu {
  24. compatible = "operating-points-v2";
  25. opp-shared;
  26. @@ -123,12 +129,6 @@
  27. };
  28. };
  29. - firmware {
  30. - scm {
  31. - compatible = "qcom,scm-ipq6018", "qcom,scm";
  32. - };
  33. - };
  34. -
  35. pmuv8: pmu {
  36. compatible = "arm,cortex-a53-pmu";
  37. interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) |
  38. @@ -166,6 +166,28 @@
  39. };
  40. };
  41. + rpm-glink {
  42. + compatible = "qcom,glink-rpm";
  43. + interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
  44. + qcom,rpm-msg-ram = <&rpm_msg_ram>;
  45. + mboxes = <&apcs_glb 0>;
  46. +
  47. + rpm_requests: glink-channel {
  48. + compatible = "qcom,rpm-ipq6018";
  49. + qcom,glink-channels = "rpm_requests";
  50. +
  51. + regulators {
  52. + compatible = "qcom,rpm-mp5496-regulators";
  53. +
  54. + ipq6018_s2: s2 {
  55. + regulator-min-microvolt = <725000>;
  56. + regulator-max-microvolt = <1062500>;
  57. + regulator-always-on;
  58. + };
  59. + };
  60. + };
  61. + };
  62. +
  63. smem {
  64. compatible = "qcom,smem";
  65. memory-region = <&smem_region>;
  66. @@ -179,6 +201,102 @@
  67. dma-ranges;
  68. compatible = "simple-bus";
  69. + qusb_phy_1: qusb@59000 {
  70. + compatible = "qcom,ipq6018-qusb2-phy";
  71. + reg = <0x0 0x00059000 0x0 0x180>;
  72. + #phy-cells = <0>;
  73. +
  74. + clocks = <&gcc GCC_USB1_PHY_CFG_AHB_CLK>,
  75. + <&xo>;
  76. + clock-names = "cfg_ahb", "ref";
  77. +
  78. + resets = <&gcc GCC_QUSB2_1_PHY_BCR>;
  79. + status = "disabled";
  80. + };
  81. +
  82. + ssphy_0: ssphy@78000 {
  83. + compatible = "qcom,ipq6018-qmp-usb3-phy";
  84. + reg = <0x0 0x00078000 0x0 0x1c4>;
  85. + #address-cells = <2>;
  86. + #size-cells = <2>;
  87. + ranges;
  88. +
  89. + clocks = <&gcc GCC_USB0_AUX_CLK>,
  90. + <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, <&xo>;
  91. + clock-names = "aux", "cfg_ahb", "ref";
  92. +
  93. + resets = <&gcc GCC_USB0_PHY_BCR>,
  94. + <&gcc GCC_USB3PHY_0_PHY_BCR>;
  95. + reset-names = "phy","common";
  96. + status = "disabled";
  97. +
  98. + usb0_ssphy: phy@78200 {
  99. + reg = <0x0 0x00078200 0x0 0x130>, /* Tx */
  100. + <0x0 0x00078400 0x0 0x200>, /* Rx */
  101. + <0x0 0x00078800 0x0 0x1f8>, /* PCS */
  102. + <0x0 0x00078600 0x0 0x044>; /* PCS misc */
  103. + #phy-cells = <0>;
  104. + #clock-cells = <0>;
  105. + clocks = <&gcc GCC_USB0_PIPE_CLK>;
  106. + clock-names = "pipe0";
  107. + clock-output-names = "gcc_usb0_pipe_clk_src";
  108. + };
  109. + };
  110. +
  111. + qusb_phy_0: qusb@79000 {
  112. + compatible = "qcom,ipq6018-qusb2-phy";
  113. + reg = <0x0 0x00079000 0x0 0x180>;
  114. + #phy-cells = <0>;
  115. +
  116. + clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>,
  117. + <&xo>;
  118. + clock-names = "cfg_ahb", "ref";
  119. +
  120. + resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
  121. + status = "disabled";
  122. + };
  123. +
  124. + pcie_phy: phy@84000 {
  125. + compatible = "qcom,ipq6018-qmp-pcie-phy";
  126. + reg = <0x0 0x00084000 0x0 0x1bc>; /* Serdes PLL */
  127. + status = "disabled";
  128. + #address-cells = <2>;
  129. + #size-cells = <2>;
  130. + ranges;
  131. +
  132. + clocks = <&gcc GCC_PCIE0_AUX_CLK>,
  133. + <&gcc GCC_PCIE0_AHB_CLK>;
  134. + clock-names = "aux", "cfg_ahb";
  135. +
  136. + resets = <&gcc GCC_PCIE0_PHY_BCR>,
  137. + <&gcc GCC_PCIE0PHY_PHY_BCR>;
  138. + reset-names = "phy",
  139. + "common";
  140. +
  141. + pcie_phy0: phy@84200 {
  142. + reg = <0x0 0x00084200 0x0 0x16c>, /* Serdes Tx */
  143. + <0x0 0x00084400 0x0 0x200>, /* Serdes Rx */
  144. + <0x0 0x00084800 0x0 0x1f0>, /* PCS: Lane0, COM, PCIE */
  145. + <0x0 0x00084c00 0x0 0xf4>; /* pcs_misc */
  146. + #phy-cells = <0>;
  147. +
  148. + clocks = <&gcc GCC_PCIE0_PIPE_CLK>;
  149. + clock-names = "pipe0";
  150. + clock-output-names = "gcc_pcie0_pipe_clk_src";
  151. + #clock-cells = <0>;
  152. + };
  153. + };
  154. +
  155. + mdio: mdio@90000 {
  156. + #address-cells = <1>;
  157. + #size-cells = <0>;
  158. + compatible = "qcom,ipq6018-mdio", "qcom,ipq4019-mdio";
  159. + reg = <0x0 0x00090000 0x0 0x64>;
  160. + clocks = <&gcc GCC_MDIO_AHB_CLK>;
  161. + clock-names = "gcc_mdio_ahb_clk";
  162. + status = "disabled";
  163. + };
  164. +
  165. prng: qrng@e1000 {
  166. compatible = "qcom,prng-ee";
  167. reg = <0x0 0x000e3000 0x0 0x1000>;
  168. @@ -257,6 +375,41 @@
  169. reg = <0x0 0x01937000 0x0 0x21000>;
  170. };
  171. + usb2: usb@70f8800 {
  172. + compatible = "qcom,ipq6018-dwc3", "qcom,dwc3";
  173. + reg = <0x0 0x070F8800 0x0 0x400>;
  174. + #address-cells = <2>;
  175. + #size-cells = <2>;
  176. + ranges;
  177. + clocks = <&gcc GCC_USB1_MASTER_CLK>,
  178. + <&gcc GCC_USB1_SLEEP_CLK>,
  179. + <&gcc GCC_USB1_MOCK_UTMI_CLK>;
  180. + clock-names = "core",
  181. + "sleep",
  182. + "mock_utmi";
  183. +
  184. + assigned-clocks = <&gcc GCC_USB1_MASTER_CLK>,
  185. + <&gcc GCC_USB1_MOCK_UTMI_CLK>;
  186. + assigned-clock-rates = <133330000>,
  187. + <24000000>;
  188. + resets = <&gcc GCC_USB1_BCR>;
  189. + status = "disabled";
  190. +
  191. + dwc_1: usb@7000000 {
  192. + compatible = "snps,dwc3";
  193. + reg = <0x0 0x07000000 0x0 0xcd00>;
  194. + interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
  195. + phys = <&qusb_phy_1>;
  196. + phy-names = "usb2-phy";
  197. + tx-fifo-resize;
  198. + snps,is-utmi-l1-suspend;
  199. + snps,hird-threshold = /bits/ 8 <0x0>;
  200. + snps,dis_u2_susphy_quirk;
  201. + snps,dis_u3_susphy_quirk;
  202. + dr_mode = "host";
  203. + };
  204. + };
  205. +
  206. blsp_dma: dma-controller@7884000 {
  207. compatible = "qcom,bam-v1.7.0";
  208. reg = <0x0 0x07884000 0x0 0x2b000>;
  209. @@ -366,6 +519,49 @@
  210. status = "disabled";
  211. };
  212. + usb3: usb@8af8800 {
  213. + compatible = "qcom,ipq6018-dwc3", "qcom,dwc3";
  214. + reg = <0x0 0x08af8800 0x0 0x400>;
  215. + #address-cells = <2>;
  216. + #size-cells = <2>;
  217. + ranges;
  218. +
  219. + clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
  220. + <&gcc GCC_USB0_MASTER_CLK>,
  221. + <&gcc GCC_USB0_SLEEP_CLK>,
  222. + <&gcc GCC_USB0_MOCK_UTMI_CLK>;
  223. + clock-names = "cfg_noc",
  224. + "core",
  225. + "sleep",
  226. + "mock_utmi";
  227. +
  228. + assigned-clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
  229. + <&gcc GCC_USB0_MASTER_CLK>,
  230. + <&gcc GCC_USB0_MOCK_UTMI_CLK>;
  231. + assigned-clock-rates = <133330000>,
  232. + <133330000>,
  233. + <24000000>;
  234. +
  235. + resets = <&gcc GCC_USB0_BCR>;
  236. + status = "disabled";
  237. +
  238. + dwc_0: usb@8a00000 {
  239. + compatible = "snps,dwc3";
  240. + reg = <0x0 0x08a00000 0x0 0xcd00>;
  241. + interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
  242. + phys = <&qusb_phy_0>, <&usb0_ssphy>;
  243. + phy-names = "usb2-phy", "usb3-phy";
  244. + clocks = <&xo>;
  245. + clock-names = "ref";
  246. + tx-fifo-resize;
  247. + snps,is-utmi-l1-suspend;
  248. + snps,hird-threshold = /bits/ 8 <0x0>;
  249. + snps,dis_u2_susphy_quirk;
  250. + snps,dis_u3_susphy_quirk;
  251. + dr_mode = "host";
  252. + };
  253. + };
  254. +
  255. intc: interrupt-controller@b000000 {
  256. compatible = "qcom,msm-qgic2";
  257. #address-cells = <2>;
  258. @@ -386,105 +582,6 @@
  259. };
  260. };
  261. - pcie_phy: phy@84000 {
  262. - compatible = "qcom,ipq6018-qmp-pcie-phy";
  263. - reg = <0x0 0x00084000 0x0 0x1bc>; /* Serdes PLL */
  264. - status = "disabled";
  265. - #address-cells = <2>;
  266. - #size-cells = <2>;
  267. - ranges;
  268. -
  269. - clocks = <&gcc GCC_PCIE0_AUX_CLK>,
  270. - <&gcc GCC_PCIE0_AHB_CLK>;
  271. - clock-names = "aux", "cfg_ahb";
  272. -
  273. - resets = <&gcc GCC_PCIE0_PHY_BCR>,
  274. - <&gcc GCC_PCIE0PHY_PHY_BCR>;
  275. - reset-names = "phy",
  276. - "common";
  277. -
  278. - pcie_phy0: phy@84200 {
  279. - reg = <0x0 0x00084200 0x0 0x16c>, /* Serdes Tx */
  280. - <0x0 0x00084400 0x0 0x200>, /* Serdes Rx */
  281. - <0x0 0x00084800 0x0 0x1f0>, /* PCS: Lane0, COM, PCIE */
  282. - <0x0 0x00084c00 0x0 0xf4>; /* pcs_misc */
  283. - #phy-cells = <0>;
  284. -
  285. - clocks = <&gcc GCC_PCIE0_PIPE_CLK>;
  286. - clock-names = "pipe0";
  287. - clock-output-names = "gcc_pcie0_pipe_clk_src";
  288. - #clock-cells = <0>;
  289. - };
  290. - };
  291. -
  292. - pcie0: pci@20000000 {
  293. - compatible = "qcom,pcie-ipq6018";
  294. - reg = <0x0 0x20000000 0x0 0xf1d>,
  295. - <0x0 0x20000f20 0x0 0xa8>,
  296. - <0x0 0x20001000 0x0 0x1000>,
  297. - <0x0 0x80000 0x0 0x4000>,
  298. - <0x0 0x20100000 0x0 0x1000>;
  299. - reg-names = "dbi", "elbi", "atu", "parf", "config";
  300. -
  301. - device_type = "pci";
  302. - linux,pci-domain = <0>;
  303. - bus-range = <0x00 0xff>;
  304. - num-lanes = <1>;
  305. - max-link-speed = <3>;
  306. - #address-cells = <3>;
  307. - #size-cells = <2>;
  308. -
  309. - phys = <&pcie_phy0>;
  310. - phy-names = "pciephy";
  311. -
  312. - ranges = <0x81000000 0x0 0x00000000 0x0 0x20200000 0x0 0x10000>,
  313. - <0x82000000 0x0 0x20220000 0x0 0x20220000 0x0 0xfde0000>;
  314. -
  315. - interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
  316. - interrupt-names = "msi";
  317. -
  318. - #interrupt-cells = <1>;
  319. - interrupt-map-mask = <0 0 0 0x7>;
  320. - interrupt-map = <0 0 0 1 &intc 0 75
  321. - IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  322. - <0 0 0 2 &intc 0 78
  323. - IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  324. - <0 0 0 3 &intc 0 79
  325. - IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  326. - <0 0 0 4 &intc 0 83
  327. - IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  328. -
  329. - clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>,
  330. - <&gcc GCC_PCIE0_AXI_M_CLK>,
  331. - <&gcc GCC_PCIE0_AXI_S_CLK>,
  332. - <&gcc GCC_PCIE0_AXI_S_BRIDGE_CLK>,
  333. - <&gcc PCIE0_RCHNG_CLK>;
  334. - clock-names = "iface",
  335. - "axi_m",
  336. - "axi_s",
  337. - "axi_bridge",
  338. - "rchng";
  339. -
  340. - resets = <&gcc GCC_PCIE0_PIPE_ARES>,
  341. - <&gcc GCC_PCIE0_SLEEP_ARES>,
  342. - <&gcc GCC_PCIE0_CORE_STICKY_ARES>,
  343. - <&gcc GCC_PCIE0_AXI_MASTER_ARES>,
  344. - <&gcc GCC_PCIE0_AXI_SLAVE_ARES>,
  345. - <&gcc GCC_PCIE0_AHB_ARES>,
  346. - <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>,
  347. - <&gcc GCC_PCIE0_AXI_SLAVE_STICKY_ARES>;
  348. - reset-names = "pipe",
  349. - "sleep",
  350. - "sticky",
  351. - "axi_m",
  352. - "axi_s",
  353. - "ahb",
  354. - "axi_m_sticky",
  355. - "axi_s_sticky";
  356. -
  357. - status = "disabled";
  358. - };
  359. -
  360. watchdog@b017000 {
  361. compatible = "qcom,kpss-wdt";
  362. interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
  363. @@ -617,147 +714,74 @@
  364. };
  365. };
  366. - mdio: mdio@90000 {
  367. - #address-cells = <1>;
  368. - #size-cells = <0>;
  369. - compatible = "qcom,ipq6018-mdio", "qcom,ipq4019-mdio";
  370. - reg = <0x0 0x00090000 0x0 0x64>;
  371. - clocks = <&gcc GCC_MDIO_AHB_CLK>;
  372. - clock-names = "gcc_mdio_ahb_clk";
  373. - status = "disabled";
  374. - };
  375. -
  376. - qusb_phy_1: qusb@59000 {
  377. - compatible = "qcom,ipq6018-qusb2-phy";
  378. - reg = <0x0 0x00059000 0x0 0x180>;
  379. - #phy-cells = <0>;
  380. -
  381. - clocks = <&gcc GCC_USB1_PHY_CFG_AHB_CLK>,
  382. - <&xo>;
  383. - clock-names = "cfg_ahb", "ref";
  384. -
  385. - resets = <&gcc GCC_QUSB2_1_PHY_BCR>;
  386. - status = "disabled";
  387. - };
  388. -
  389. - usb2: usb@70f8800 {
  390. - compatible = "qcom,ipq6018-dwc3", "qcom,dwc3";
  391. - reg = <0x0 0x070F8800 0x0 0x400>;
  392. - #address-cells = <2>;
  393. - #size-cells = <2>;
  394. - ranges;
  395. - clocks = <&gcc GCC_USB1_MASTER_CLK>,
  396. - <&gcc GCC_USB1_SLEEP_CLK>,
  397. - <&gcc GCC_USB1_MOCK_UTMI_CLK>;
  398. - clock-names = "core",
  399. - "sleep",
  400. - "mock_utmi";
  401. -
  402. - assigned-clocks = <&gcc GCC_USB1_MASTER_CLK>,
  403. - <&gcc GCC_USB1_MOCK_UTMI_CLK>;
  404. - assigned-clock-rates = <133330000>,
  405. - <24000000>;
  406. - resets = <&gcc GCC_USB1_BCR>;
  407. - status = "disabled";
  408. -
  409. - dwc_1: usb@7000000 {
  410. - compatible = "snps,dwc3";
  411. - reg = <0x0 0x07000000 0x0 0xcd00>;
  412. - interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
  413. - phys = <&qusb_phy_1>;
  414. - phy-names = "usb2-phy";
  415. - tx-fifo-resize;
  416. - snps,is-utmi-l1-suspend;
  417. - snps,hird-threshold = /bits/ 8 <0x0>;
  418. - snps,dis_u2_susphy_quirk;
  419. - snps,dis_u3_susphy_quirk;
  420. - dr_mode = "host";
  421. - };
  422. - };
  423. + pcie0: pci@20000000 {
  424. + compatible = "qcom,pcie-ipq6018";
  425. + reg = <0x0 0x20000000 0x0 0xf1d>,
  426. + <0x0 0x20000f20 0x0 0xa8>,
  427. + <0x0 0x20001000 0x0 0x1000>,
  428. + <0x0 0x80000 0x0 0x4000>,
  429. + <0x0 0x20100000 0x0 0x1000>;
  430. + reg-names = "dbi", "elbi", "atu", "parf", "config";
  431. - ssphy_0: ssphy@78000 {
  432. - compatible = "qcom,ipq6018-qmp-usb3-phy";
  433. - reg = <0x0 0x00078000 0x0 0x1c4>;
  434. - #address-cells = <2>;
  435. + device_type = "pci";
  436. + linux,pci-domain = <0>;
  437. + bus-range = <0x00 0xff>;
  438. + num-lanes = <1>;
  439. + max-link-speed = <3>;
  440. + #address-cells = <3>;
  441. #size-cells = <2>;
  442. - ranges;
  443. -
  444. - clocks = <&gcc GCC_USB0_AUX_CLK>,
  445. - <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, <&xo>;
  446. - clock-names = "aux", "cfg_ahb", "ref";
  447. -
  448. - resets = <&gcc GCC_USB0_PHY_BCR>,
  449. - <&gcc GCC_USB3PHY_0_PHY_BCR>;
  450. - reset-names = "phy","common";
  451. - status = "disabled";
  452. -
  453. - usb0_ssphy: phy@78200 {
  454. - reg = <0x0 0x00078200 0x0 0x130>, /* Tx */
  455. - <0x0 0x00078400 0x0 0x200>, /* Rx */
  456. - <0x0 0x00078800 0x0 0x1f8>, /* PCS */
  457. - <0x0 0x00078600 0x0 0x044>; /* PCS misc */
  458. - #phy-cells = <0>;
  459. - #clock-cells = <0>;
  460. - clocks = <&gcc GCC_USB0_PIPE_CLK>;
  461. - clock-names = "pipe0";
  462. - clock-output-names = "gcc_usb0_pipe_clk_src";
  463. - };
  464. - };
  465. - qusb_phy_0: qusb@79000 {
  466. - compatible = "qcom,ipq6018-qusb2-phy";
  467. - reg = <0x0 0x00079000 0x0 0x180>;
  468. - #phy-cells = <0>;
  469. + phys = <&pcie_phy0>;
  470. + phy-names = "pciephy";
  471. - clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>,
  472. - <&xo>;
  473. - clock-names = "cfg_ahb", "ref";
  474. + ranges = <0x81000000 0 0x20200000 0 0x20200000
  475. + 0 0x10000>, /* downstream I/O */
  476. + <0x82000000 0 0x20220000 0 0x20220000
  477. + 0 0xfde0000>; /* non-prefetchable memory */
  478. - resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
  479. - status = "disabled";
  480. - };
  481. + interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
  482. + interrupt-names = "msi";
  483. - usb3: usb@8af8800 {
  484. - compatible = "qcom,ipq6018-dwc3", "qcom,dwc3";
  485. - reg = <0x0 0x8af8800 0x0 0x400>;
  486. - #address-cells = <2>;
  487. - #size-cells = <2>;
  488. - ranges;
  489. + #interrupt-cells = <1>;
  490. + interrupt-map-mask = <0 0 0 0x7>;
  491. + interrupt-map = <0 0 0 1 &intc 0 75
  492. + IRQ_TYPE_LEVEL_HIGH>, /* int_a */
  493. + <0 0 0 2 &intc 0 78
  494. + IRQ_TYPE_LEVEL_HIGH>, /* int_b */
  495. + <0 0 0 3 &intc 0 79
  496. + IRQ_TYPE_LEVEL_HIGH>, /* int_c */
  497. + <0 0 0 4 &intc 0 83
  498. + IRQ_TYPE_LEVEL_HIGH>; /* int_d */
  499. - clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
  500. - <&gcc GCC_USB0_MASTER_CLK>,
  501. - <&gcc GCC_USB0_SLEEP_CLK>,
  502. - <&gcc GCC_USB0_MOCK_UTMI_CLK>;
  503. - clock-names = "cfg_noc",
  504. - "core",
  505. - "sleep",
  506. - "mock_utmi";
  507. + clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>,
  508. + <&gcc GCC_PCIE0_AXI_M_CLK>,
  509. + <&gcc GCC_PCIE0_AXI_S_CLK>,
  510. + <&gcc GCC_PCIE0_AXI_S_BRIDGE_CLK>,
  511. + <&gcc PCIE0_RCHNG_CLK>;
  512. + clock-names = "iface",
  513. + "axi_m",
  514. + "axi_s",
  515. + "axi_bridge",
  516. + "rchng";
  517. - assigned-clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
  518. - <&gcc GCC_USB0_MASTER_CLK>,
  519. - <&gcc GCC_USB0_MOCK_UTMI_CLK>;
  520. - assigned-clock-rates = <133330000>,
  521. - <133330000>,
  522. - <24000000>;
  523. + resets = <&gcc GCC_PCIE0_PIPE_ARES>,
  524. + <&gcc GCC_PCIE0_SLEEP_ARES>,
  525. + <&gcc GCC_PCIE0_CORE_STICKY_ARES>,
  526. + <&gcc GCC_PCIE0_AXI_MASTER_ARES>,
  527. + <&gcc GCC_PCIE0_AXI_SLAVE_ARES>,
  528. + <&gcc GCC_PCIE0_AHB_ARES>,
  529. + <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>,
  530. + <&gcc GCC_PCIE0_AXI_SLAVE_STICKY_ARES>;
  531. + reset-names = "pipe",
  532. + "sleep",
  533. + "sticky",
  534. + "axi_m",
  535. + "axi_s",
  536. + "ahb",
  537. + "axi_m_sticky",
  538. + "axi_s_sticky";
  539. - resets = <&gcc GCC_USB0_BCR>;
  540. status = "disabled";
  541. -
  542. - dwc_0: usb@8a00000 {
  543. - compatible = "snps,dwc3";
  544. - reg = <0x0 0x8a00000 0x0 0xcd00>;
  545. - interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
  546. - phys = <&qusb_phy_0>, <&usb0_ssphy>;
  547. - phy-names = "usb2-phy", "usb3-phy";
  548. - clocks = <&xo>;
  549. - clock-names = "ref";
  550. - tx-fifo-resize;
  551. - snps,is-utmi-l1-suspend;
  552. - snps,hird-threshold = /bits/ 8 <0x0>;
  553. - snps,dis_u2_susphy_quirk;
  554. - snps,dis_u3_susphy_quirk;
  555. - dr_mode = "host";
  556. - };
  557. };
  558. };
  559. @@ -792,26 +816,4 @@
  560. #interrupt-cells = <2>;
  561. };
  562. };
  563. -
  564. - rpm-glink {
  565. - compatible = "qcom,glink-rpm";
  566. - interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
  567. - qcom,rpm-msg-ram = <&rpm_msg_ram>;
  568. - mboxes = <&apcs_glb 0>;
  569. -
  570. - rpm_requests: glink-channel {
  571. - compatible = "qcom,rpm-ipq6018";
  572. - qcom,glink-channels = "rpm_requests";
  573. -
  574. - regulators {
  575. - compatible = "qcom,rpm-mp5496-regulators";
  576. -
  577. - ipq6018_s2: s2 {
  578. - regulator-min-microvolt = <725000>;
  579. - regulator-max-microvolt = <1062500>;
  580. - regulator-always-on;
  581. - };
  582. - };
  583. - };
  584. - };
  585. };