hi3798cv200.dtsi 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * DTS File for HiSilicon Hi3798cv200 SoC.
  4. *
  5. * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd.
  6. */
  7. #include <dt-bindings/clock/histb-clock.h>
  8. #include <dt-bindings/gpio/gpio.h>
  9. #include <dt-bindings/interrupt-controller/arm-gic.h>
  10. #include <dt-bindings/phy/phy.h>
  11. #include <dt-bindings/reset/ti-syscon.h>
  12. / {
  13. compatible = "hisilicon,hi3798cv200";
  14. interrupt-parent = <&gic>;
  15. #address-cells = <2>;
  16. #size-cells = <2>;
  17. psci {
  18. compatible = "arm,psci-0.2";
  19. method = "smc";
  20. };
  21. cpus {
  22. #address-cells = <2>;
  23. #size-cells = <0>;
  24. cpu@0 {
  25. compatible = "arm,cortex-a53";
  26. device_type = "cpu";
  27. reg = <0x0 0x0>;
  28. enable-method = "psci";
  29. };
  30. cpu@1 {
  31. compatible = "arm,cortex-a53";
  32. device_type = "cpu";
  33. reg = <0x0 0x1>;
  34. enable-method = "psci";
  35. };
  36. cpu@2 {
  37. compatible = "arm,cortex-a53";
  38. device_type = "cpu";
  39. reg = <0x0 0x2>;
  40. enable-method = "psci";
  41. };
  42. cpu@3 {
  43. compatible = "arm,cortex-a53";
  44. device_type = "cpu";
  45. reg = <0x0 0x3>;
  46. enable-method = "psci";
  47. };
  48. };
  49. gic: interrupt-controller@f1001000 {
  50. compatible = "arm,gic-400";
  51. reg = <0x0 0xf1001000 0x0 0x1000>, /* GICD */
  52. <0x0 0xf1002000 0x0 0x100>; /* GICC */
  53. #address-cells = <0>;
  54. #interrupt-cells = <3>;
  55. interrupt-controller;
  56. };
  57. timer {
  58. compatible = "arm,armv8-timer";
  59. interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
  60. IRQ_TYPE_LEVEL_LOW)>,
  61. <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) |
  62. IRQ_TYPE_LEVEL_LOW)>,
  63. <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) |
  64. IRQ_TYPE_LEVEL_LOW)>,
  65. <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
  66. IRQ_TYPE_LEVEL_LOW)>;
  67. };
  68. soc: soc@f0000000 {
  69. compatible = "simple-bus";
  70. #address-cells = <1>;
  71. #size-cells = <1>;
  72. ranges = <0x0 0x0 0xf0000000 0x10000000>;
  73. crg: clock-reset-controller@8a22000 {
  74. compatible = "hisilicon,hi3798cv200-crg", "syscon", "simple-mfd";
  75. reg = <0x8a22000 0x1000>;
  76. #clock-cells = <1>;
  77. #reset-cells = <2>;
  78. gmacphyrst: reset-controller {
  79. compatible = "ti,syscon-reset";
  80. #reset-cells = <1>;
  81. ti,reset-bits = <
  82. 0xcc 12 0xcc 12 0 0 (ASSERT_CLEAR | DEASSERT_SET | STATUS_NONE)
  83. 0xcc 13 0xcc 13 0 0 (ASSERT_CLEAR | DEASSERT_SET | STATUS_NONE)
  84. >;
  85. };
  86. };
  87. sysctrl: system-controller@8000000 {
  88. compatible = "hisilicon,hi3798cv200-sysctrl", "syscon";
  89. reg = <0x8000000 0x1000>;
  90. #clock-cells = <1>;
  91. #reset-cells = <2>;
  92. };
  93. perictrl: peripheral-controller@8a20000 {
  94. compatible = "hisilicon,hi3798cv200-perictrl", "syscon",
  95. "simple-mfd";
  96. reg = <0x8a20000 0x1000>;
  97. #address-cells = <1>;
  98. #size-cells = <1>;
  99. ranges = <0x0 0x8a20000 0x1000>;
  100. usb2_phy1: usb2_phy@120 {
  101. compatible = "hisilicon,hi3798cv200-usb2-phy";
  102. reg = <0x120 0x4>;
  103. clocks = <&crg HISTB_USB2_PHY1_REF_CLK>;
  104. resets = <&crg 0xbc 4>;
  105. #address-cells = <1>;
  106. #size-cells = <0>;
  107. usb2_phy1_port0: phy@0 {
  108. reg = <0>;
  109. #phy-cells = <0>;
  110. resets = <&crg 0xbc 8>;
  111. };
  112. usb2_phy1_port1: phy@1 {
  113. reg = <1>;
  114. #phy-cells = <0>;
  115. resets = <&crg 0xbc 9>;
  116. };
  117. };
  118. usb2_phy2: usb2_phy@124 {
  119. compatible = "hisilicon,hi3798cv200-usb2-phy";
  120. reg = <0x124 0x4>;
  121. clocks = <&crg HISTB_USB2_PHY2_REF_CLK>;
  122. resets = <&crg 0xbc 6>;
  123. #address-cells = <1>;
  124. #size-cells = <0>;
  125. usb2_phy2_port0: phy@0 {
  126. reg = <0>;
  127. #phy-cells = <0>;
  128. resets = <&crg 0xbc 10>;
  129. };
  130. };
  131. combphy0: phy@850 {
  132. compatible = "hisilicon,hi3798cv200-combphy";
  133. reg = <0x850 0x8>;
  134. #phy-cells = <1>;
  135. clocks = <&crg HISTB_COMBPHY0_CLK>;
  136. resets = <&crg 0x188 4>;
  137. assigned-clocks = <&crg HISTB_COMBPHY0_CLK>;
  138. assigned-clock-rates = <100000000>;
  139. hisilicon,fixed-mode = <PHY_TYPE_USB3>;
  140. };
  141. combphy1: phy@858 {
  142. compatible = "hisilicon,hi3798cv200-combphy";
  143. reg = <0x858 0x8>;
  144. #phy-cells = <1>;
  145. clocks = <&crg HISTB_COMBPHY1_CLK>;
  146. resets = <&crg 0x188 12>;
  147. assigned-clocks = <&crg HISTB_COMBPHY1_CLK>;
  148. assigned-clock-rates = <100000000>;
  149. hisilicon,mode-select-bits = <0x0008 11 (0x3 << 11)>;
  150. };
  151. };
  152. pmx0: pinconf@8a21000 {
  153. compatible = "pinconf-single";
  154. reg = <0x8a21000 0x180>;
  155. pinctrl-single,register-width = <32>;
  156. pinctrl-single,function-mask = <7>;
  157. pinctrl-single,gpio-range = <
  158. &range 0 8 2 /* GPIO 0 */
  159. &range 8 1 0 /* GPIO 1 */
  160. &range 9 4 2
  161. &range 13 1 0
  162. &range 14 1 1
  163. &range 15 1 0
  164. &range 16 5 0 /* GPIO 2 */
  165. &range 21 3 1
  166. &range 24 4 1 /* GPIO 3 */
  167. &range 28 2 2
  168. &range 86 1 1
  169. &range 87 1 0
  170. &range 30 4 2 /* GPIO 4 */
  171. &range 34 3 0
  172. &range 37 1 2
  173. &range 38 3 2 /* GPIO 6 */
  174. &range 41 5 0
  175. &range 46 8 1 /* GPIO 7 */
  176. &range 54 8 1 /* GPIO 8 */
  177. &range 64 7 1 /* GPIO 9 */
  178. &range 71 1 0
  179. &range 72 6 1 /* GPIO 10 */
  180. &range 78 1 0
  181. &range 79 1 1
  182. &range 80 6 1 /* GPIO 11 */
  183. &range 70 2 1
  184. &range 88 8 0 /* GPIO 12 */
  185. >;
  186. range: gpio-range {
  187. #pinctrl-single,gpio-range-cells = <3>;
  188. };
  189. };
  190. uart0: serial@8b00000 {
  191. compatible = "arm,pl011", "arm,primecell";
  192. reg = <0x8b00000 0x1000>;
  193. interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
  194. clocks = <&sysctrl HISTB_UART0_CLK>, <&sysctrl HISTB_UART0_CLK>;
  195. clock-names = "uartclk", "apb_pclk";
  196. status = "disabled";
  197. };
  198. uart2: serial@8b02000 {
  199. compatible = "arm,pl011", "arm,primecell";
  200. reg = <0x8b02000 0x1000>;
  201. interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
  202. clocks = <&crg HISTB_UART2_CLK>, <&crg HISTB_UART2_CLK>;
  203. clock-names = "uartclk", "apb_pclk";
  204. status = "disabled";
  205. };
  206. i2c0: i2c@8b10000 {
  207. compatible = "hisilicon,hix5hd2-i2c";
  208. reg = <0x8b10000 0x1000>;
  209. #address-cells = <1>;
  210. #size-cells = <0>;
  211. interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
  212. clock-frequency = <400000>;
  213. clocks = <&crg HISTB_I2C0_CLK>;
  214. status = "disabled";
  215. };
  216. i2c1: i2c@8b11000 {
  217. compatible = "hisilicon,hix5hd2-i2c";
  218. reg = <0x8b11000 0x1000>;
  219. #address-cells = <1>;
  220. #size-cells = <0>;
  221. interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
  222. clock-frequency = <400000>;
  223. clocks = <&crg HISTB_I2C1_CLK>;
  224. status = "disabled";
  225. };
  226. i2c2: i2c@8b12000 {
  227. compatible = "hisilicon,hix5hd2-i2c";
  228. reg = <0x8b12000 0x1000>;
  229. #address-cells = <1>;
  230. #size-cells = <0>;
  231. interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
  232. clock-frequency = <400000>;
  233. clocks = <&crg HISTB_I2C2_CLK>;
  234. status = "disabled";
  235. };
  236. i2c3: i2c@8b13000 {
  237. compatible = "hisilicon,hix5hd2-i2c";
  238. reg = <0x8b13000 0x1000>;
  239. #address-cells = <1>;
  240. #size-cells = <0>;
  241. interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
  242. clock-frequency = <400000>;
  243. clocks = <&crg HISTB_I2C3_CLK>;
  244. status = "disabled";
  245. };
  246. i2c4: i2c@8b14000 {
  247. compatible = "hisilicon,hix5hd2-i2c";
  248. reg = <0x8b14000 0x1000>;
  249. #address-cells = <1>;
  250. #size-cells = <0>;
  251. interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
  252. clock-frequency = <400000>;
  253. clocks = <&crg HISTB_I2C4_CLK>;
  254. status = "disabled";
  255. };
  256. spi0: spi@8b1a000 {
  257. compatible = "arm,pl022", "arm,primecell";
  258. reg = <0x8b1a000 0x1000>;
  259. interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
  260. num-cs = <1>;
  261. cs-gpios = <&gpio7 1 0>;
  262. clocks = <&crg HISTB_SPI0_CLK>, <&crg HISTB_SPI0_CLK>;
  263. clock-names = "sspclk", "apb_pclk";
  264. #address-cells = <1>;
  265. #size-cells = <0>;
  266. status = "disabled";
  267. };
  268. sd0: mmc@9820000 {
  269. compatible = "snps,dw-mshc";
  270. reg = <0x9820000 0x10000>;
  271. interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
  272. clocks = <&crg HISTB_SDIO0_CIU_CLK>,
  273. <&crg HISTB_SDIO0_BIU_CLK>;
  274. clock-names = "biu", "ciu";
  275. resets = <&crg 0x9c 4>;
  276. reset-names = "reset";
  277. status = "disabled";
  278. };
  279. emmc: mmc@9830000 {
  280. compatible = "hisilicon,hi3798cv200-dw-mshc";
  281. reg = <0x9830000 0x10000>;
  282. interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
  283. clocks = <&crg HISTB_MMC_CIU_CLK>,
  284. <&crg HISTB_MMC_BIU_CLK>,
  285. <&crg HISTB_MMC_SAMPLE_CLK>,
  286. <&crg HISTB_MMC_DRV_CLK>;
  287. clock-names = "ciu", "biu", "ciu-sample", "ciu-drive";
  288. resets = <&crg 0xa0 4>;
  289. reset-names = "reset";
  290. status = "disabled";
  291. };
  292. gpio0: gpio@8b20000 {
  293. compatible = "arm,pl061", "arm,primecell";
  294. reg = <0x8b20000 0x1000>;
  295. interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
  296. gpio-controller;
  297. #gpio-cells = <2>;
  298. interrupt-controller;
  299. #interrupt-cells = <2>;
  300. gpio-ranges = <&pmx0 0 0 8>;
  301. clocks = <&crg HISTB_APB_CLK>;
  302. clock-names = "apb_pclk";
  303. status = "disabled";
  304. };
  305. gpio1: gpio@8b21000 {
  306. compatible = "arm,pl061", "arm,primecell";
  307. reg = <0x8b21000 0x1000>;
  308. interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
  309. gpio-controller;
  310. #gpio-cells = <2>;
  311. interrupt-controller;
  312. #interrupt-cells = <2>;
  313. gpio-ranges = <
  314. &pmx0 0 8 1
  315. &pmx0 1 9 4
  316. &pmx0 5 13 1
  317. &pmx0 6 14 1
  318. &pmx0 7 15 1
  319. >;
  320. clocks = <&crg HISTB_APB_CLK>;
  321. clock-names = "apb_pclk";
  322. status = "disabled";
  323. };
  324. gpio2: gpio@8b22000 {
  325. compatible = "arm,pl061", "arm,primecell";
  326. reg = <0x8b22000 0x1000>;
  327. interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
  328. gpio-controller;
  329. #gpio-cells = <2>;
  330. interrupt-controller;
  331. #interrupt-cells = <2>;
  332. gpio-ranges = <&pmx0 0 16 5 &pmx0 5 21 3>;
  333. clocks = <&crg HISTB_APB_CLK>;
  334. clock-names = "apb_pclk";
  335. status = "disabled";
  336. };
  337. gpio3: gpio@8b23000 {
  338. compatible = "arm,pl061", "arm,primecell";
  339. reg = <0x8b23000 0x1000>;
  340. interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
  341. gpio-controller;
  342. #gpio-cells = <2>;
  343. interrupt-controller;
  344. #interrupt-cells = <2>;
  345. gpio-ranges = <
  346. &pmx0 0 24 4
  347. &pmx0 4 28 2
  348. &pmx0 6 86 1
  349. &pmx0 7 87 1
  350. >;
  351. clocks = <&crg HISTB_APB_CLK>;
  352. clock-names = "apb_pclk";
  353. status = "disabled";
  354. };
  355. gpio4: gpio@8b24000 {
  356. compatible = "arm,pl061", "arm,primecell";
  357. reg = <0x8b24000 0x1000>;
  358. interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
  359. gpio-controller;
  360. #gpio-cells = <2>;
  361. interrupt-controller;
  362. #interrupt-cells = <2>;
  363. gpio-ranges = <&pmx0 0 30 4 &pmx0 4 34 3 &pmx0 7 37 1>;
  364. clocks = <&crg HISTB_APB_CLK>;
  365. clock-names = "apb_pclk";
  366. status = "disabled";
  367. };
  368. gpio5: gpio@8004000 {
  369. compatible = "arm,pl061", "arm,primecell";
  370. reg = <0x8004000 0x1000>;
  371. interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
  372. gpio-controller;
  373. #gpio-cells = <2>;
  374. interrupt-controller;
  375. #interrupt-cells = <2>;
  376. clocks = <&crg HISTB_APB_CLK>;
  377. clock-names = "apb_pclk";
  378. status = "disabled";
  379. };
  380. gpio6: gpio@8b26000 {
  381. compatible = "arm,pl061", "arm,primecell";
  382. reg = <0x8b26000 0x1000>;
  383. interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
  384. gpio-controller;
  385. #gpio-cells = <2>;
  386. interrupt-controller;
  387. #interrupt-cells = <2>;
  388. gpio-ranges = <&pmx0 0 38 3 &pmx0 0 41 5>;
  389. clocks = <&crg HISTB_APB_CLK>;
  390. clock-names = "apb_pclk";
  391. status = "disabled";
  392. };
  393. gpio7: gpio@8b27000 {
  394. compatible = "arm,pl061", "arm,primecell";
  395. reg = <0x8b27000 0x1000>;
  396. interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
  397. gpio-controller;
  398. #gpio-cells = <2>;
  399. interrupt-controller;
  400. #interrupt-cells = <2>;
  401. gpio-ranges = <&pmx0 0 46 8>;
  402. clocks = <&crg HISTB_APB_CLK>;
  403. clock-names = "apb_pclk";
  404. status = "disabled";
  405. };
  406. gpio8: gpio@8b28000 {
  407. compatible = "arm,pl061", "arm,primecell";
  408. reg = <0x8b28000 0x1000>;
  409. interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
  410. gpio-controller;
  411. #gpio-cells = <2>;
  412. interrupt-controller;
  413. #interrupt-cells = <2>;
  414. gpio-ranges = <&pmx0 0 54 8>;
  415. clocks = <&crg HISTB_APB_CLK>;
  416. clock-names = "apb_pclk";
  417. status = "disabled";
  418. };
  419. gpio9: gpio@8b29000 {
  420. compatible = "arm,pl061", "arm,primecell";
  421. reg = <0x8b29000 0x1000>;
  422. interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
  423. gpio-controller;
  424. #gpio-cells = <2>;
  425. interrupt-controller;
  426. #interrupt-cells = <2>;
  427. gpio-ranges = <&pmx0 0 64 7 &pmx0 71 1>;
  428. clocks = <&crg HISTB_APB_CLK>;
  429. clock-names = "apb_pclk";
  430. status = "disabled";
  431. };
  432. gpio10: gpio@8b2a000 {
  433. compatible = "arm,pl061", "arm,primecell";
  434. reg = <0x8b2a000 0x1000>;
  435. interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
  436. gpio-controller;
  437. #gpio-cells = <2>;
  438. interrupt-controller;
  439. #interrupt-cells = <2>;
  440. gpio-ranges = <&pmx0 0 72 6 &pmx0 6 78 1 &pmx0 7 79 1>;
  441. clocks = <&crg HISTB_APB_CLK>;
  442. clock-names = "apb_pclk";
  443. status = "disabled";
  444. };
  445. gpio11: gpio@8b2b000 {
  446. compatible = "arm,pl061", "arm,primecell";
  447. reg = <0x8b2b000 0x1000>;
  448. interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
  449. gpio-controller;
  450. #gpio-cells = <2>;
  451. interrupt-controller;
  452. #interrupt-cells = <2>;
  453. gpio-ranges = <&pmx0 0 80 6 &pmx0 6 70 2>;
  454. clocks = <&crg HISTB_APB_CLK>;
  455. clock-names = "apb_pclk";
  456. status = "disabled";
  457. };
  458. gpio12: gpio@8b2c000 {
  459. compatible = "arm,pl061", "arm,primecell";
  460. reg = <0x8b2c000 0x1000>;
  461. interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
  462. gpio-controller;
  463. #gpio-cells = <2>;
  464. interrupt-controller;
  465. #interrupt-cells = <2>;
  466. gpio-ranges = <&pmx0 0 88 8>;
  467. clocks = <&crg HISTB_APB_CLK>;
  468. clock-names = "apb_pclk";
  469. status = "disabled";
  470. };
  471. gmac0: ethernet@9840000 {
  472. compatible = "hisilicon,hi3798cv200-gmac", "hisilicon,hisi-gmac-v2";
  473. reg = <0x9840000 0x1000>,
  474. <0x984300c 0x4>;
  475. interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
  476. clocks = <&crg HISTB_ETH0_MAC_CLK>,
  477. <&crg HISTB_ETH0_MACIF_CLK>;
  478. clock-names = "mac_core", "mac_ifc";
  479. resets = <&crg 0xcc 8>,
  480. <&crg 0xcc 10>,
  481. <&gmacphyrst 0>;
  482. reset-names = "mac_core", "mac_ifc", "phy";
  483. status = "disabled";
  484. };
  485. gmac1: ethernet@9841000 {
  486. compatible = "hisilicon,hi3798cv200-gmac", "hisilicon,hisi-gmac-v2";
  487. reg = <0x9841000 0x1000>,
  488. <0x9843010 0x4>;
  489. interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
  490. clocks = <&crg HISTB_ETH1_MAC_CLK>,
  491. <&crg HISTB_ETH1_MACIF_CLK>;
  492. clock-names = "mac_core", "mac_ifc";
  493. resets = <&crg 0xcc 9>,
  494. <&crg 0xcc 11>,
  495. <&gmacphyrst 1>;
  496. reset-names = "mac_core", "mac_ifc", "phy";
  497. status = "disabled";
  498. };
  499. ir: ir@8001000 {
  500. compatible = "hisilicon,hix5hd2-ir";
  501. reg = <0x8001000 0x1000>;
  502. interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
  503. clocks = <&sysctrl HISTB_IR_CLK>;
  504. status = "disabled";
  505. };
  506. pcie: pcie@9860000 {
  507. compatible = "hisilicon,hi3798cv200-pcie";
  508. reg = <0x9860000 0x1000>,
  509. <0x0 0x2000>,
  510. <0x2000000 0x01000000>;
  511. reg-names = "control", "rc-dbi", "config";
  512. #address-cells = <3>;
  513. #size-cells = <2>;
  514. device_type = "pci";
  515. bus-range = <0x00 0xff>;
  516. num-lanes = <1>;
  517. ranges = <0x81000000 0x0 0x00000000 0x4f00000 0x0 0x100000>,
  518. <0x82000000 0x0 0x3000000 0x3000000 0x0 0x01f00000>;
  519. interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
  520. interrupt-names = "msi";
  521. #interrupt-cells = <1>;
  522. interrupt-map-mask = <0 0 0 0>;
  523. interrupt-map = <0 0 0 0 &gic 0 131 IRQ_TYPE_LEVEL_HIGH>;
  524. clocks = <&crg HISTB_PCIE_AUX_CLK>,
  525. <&crg HISTB_PCIE_PIPE_CLK>,
  526. <&crg HISTB_PCIE_SYS_CLK>,
  527. <&crg HISTB_PCIE_BUS_CLK>;
  528. clock-names = "aux", "pipe", "sys", "bus";
  529. resets = <&crg 0x18c 6>, <&crg 0x18c 5>, <&crg 0x18c 4>;
  530. reset-names = "soft", "sys", "bus";
  531. phys = <&combphy1 PHY_TYPE_PCIE>;
  532. phy-names = "phy";
  533. status = "disabled";
  534. };
  535. ohci: usb@9880000 {
  536. compatible = "generic-ohci";
  537. reg = <0x9880000 0x10000>;
  538. interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
  539. clocks = <&crg HISTB_USB2_BUS_CLK>,
  540. <&crg HISTB_USB2_12M_CLK>,
  541. <&crg HISTB_USB2_48M_CLK>;
  542. clock-names = "bus", "clk12", "clk48";
  543. resets = <&crg 0xb8 12>;
  544. reset-names = "bus";
  545. phys = <&usb2_phy1_port0>;
  546. phy-names = "usb";
  547. status = "disabled";
  548. };
  549. ehci: usb@9890000 {
  550. compatible = "generic-ehci";
  551. reg = <0x9890000 0x10000>;
  552. interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
  553. clocks = <&crg HISTB_USB2_BUS_CLK>,
  554. <&crg HISTB_USB2_PHY_CLK>,
  555. <&crg HISTB_USB2_UTMI_CLK>;
  556. clock-names = "bus", "phy", "utmi";
  557. resets = <&crg 0xb8 12>,
  558. <&crg 0xb8 16>,
  559. <&crg 0xb8 13>;
  560. reset-names = "bus", "phy", "utmi";
  561. phys = <&usb2_phy1_port0>;
  562. phy-names = "usb";
  563. status = "disabled";
  564. };
  565. };
  566. };