uniphier-pro4.dtsi 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728
  1. // SPDX-License-Identifier: GPL-2.0+ OR MIT
  2. //
  3. // Device Tree Source for UniPhier Pro4 SoC
  4. //
  5. // Copyright (C) 2015-2016 Socionext Inc.
  6. // Author: Masahiro Yamada <[email protected]>
  7. #include <dt-bindings/gpio/uniphier-gpio.h>
  8. #include <dt-bindings/interrupt-controller/arm-gic.h>
  9. / {
  10. compatible = "socionext,uniphier-pro4";
  11. #address-cells = <1>;
  12. #size-cells = <1>;
  13. cpus {
  14. #address-cells = <1>;
  15. #size-cells = <0>;
  16. cpu@0 {
  17. device_type = "cpu";
  18. compatible = "arm,cortex-a9";
  19. reg = <0>;
  20. enable-method = "psci";
  21. next-level-cache = <&l2>;
  22. };
  23. cpu@1 {
  24. device_type = "cpu";
  25. compatible = "arm,cortex-a9";
  26. reg = <1>;
  27. enable-method = "psci";
  28. next-level-cache = <&l2>;
  29. };
  30. };
  31. psci {
  32. compatible = "arm,psci-0.2";
  33. method = "smc";
  34. };
  35. clocks {
  36. refclk: ref {
  37. compatible = "fixed-clock";
  38. #clock-cells = <0>;
  39. clock-frequency = <25000000>;
  40. };
  41. arm_timer_clk: arm-timer {
  42. #clock-cells = <0>;
  43. compatible = "fixed-clock";
  44. clock-frequency = <50000000>;
  45. };
  46. };
  47. soc {
  48. compatible = "simple-bus";
  49. #address-cells = <1>;
  50. #size-cells = <1>;
  51. ranges;
  52. interrupt-parent = <&intc>;
  53. l2: cache-controller@500c0000 {
  54. compatible = "socionext,uniphier-system-cache";
  55. reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
  56. <0x506c0000 0x400>;
  57. interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
  58. <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
  59. cache-unified;
  60. cache-size = <(768 * 1024)>;
  61. cache-sets = <256>;
  62. cache-line-size = <128>;
  63. cache-level = <2>;
  64. };
  65. spi0: spi@54006000 {
  66. compatible = "socionext,uniphier-scssi";
  67. status = "disabled";
  68. reg = <0x54006000 0x100>;
  69. #address-cells = <1>;
  70. #size-cells = <0>;
  71. interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
  72. pinctrl-names = "default";
  73. pinctrl-0 = <&pinctrl_spi0>;
  74. clocks = <&peri_clk 11>;
  75. resets = <&peri_rst 11>;
  76. };
  77. serial0: serial@54006800 {
  78. compatible = "socionext,uniphier-uart";
  79. status = "disabled";
  80. reg = <0x54006800 0x40>;
  81. interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
  82. pinctrl-names = "default";
  83. pinctrl-0 = <&pinctrl_uart0>;
  84. clocks = <&peri_clk 0>;
  85. resets = <&peri_rst 0>;
  86. };
  87. serial1: serial@54006900 {
  88. compatible = "socionext,uniphier-uart";
  89. status = "disabled";
  90. reg = <0x54006900 0x40>;
  91. interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
  92. pinctrl-names = "default";
  93. pinctrl-0 = <&pinctrl_uart1>;
  94. clocks = <&peri_clk 1>;
  95. resets = <&peri_rst 1>;
  96. };
  97. serial2: serial@54006a00 {
  98. compatible = "socionext,uniphier-uart";
  99. status = "disabled";
  100. reg = <0x54006a00 0x40>;
  101. interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
  102. pinctrl-names = "default";
  103. pinctrl-0 = <&pinctrl_uart2>;
  104. clocks = <&peri_clk 2>;
  105. resets = <&peri_rst 2>;
  106. };
  107. serial3: serial@54006b00 {
  108. compatible = "socionext,uniphier-uart";
  109. status = "disabled";
  110. reg = <0x54006b00 0x40>;
  111. interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
  112. pinctrl-names = "default";
  113. pinctrl-0 = <&pinctrl_uart3>;
  114. clocks = <&peri_clk 3>;
  115. resets = <&peri_rst 3>;
  116. };
  117. gpio: gpio@55000000 {
  118. compatible = "socionext,uniphier-gpio";
  119. reg = <0x55000000 0x200>;
  120. interrupt-parent = <&aidet>;
  121. interrupt-controller;
  122. #interrupt-cells = <2>;
  123. gpio-controller;
  124. #gpio-cells = <2>;
  125. gpio-ranges = <&pinctrl 0 0 0>;
  126. gpio-ranges-group-names = "gpio_range";
  127. ngpios = <248>;
  128. socionext,interrupt-ranges = <0 48 16>, <16 154 5>;
  129. };
  130. i2c0: i2c@58780000 {
  131. compatible = "socionext,uniphier-fi2c";
  132. status = "disabled";
  133. reg = <0x58780000 0x80>;
  134. #address-cells = <1>;
  135. #size-cells = <0>;
  136. interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
  137. pinctrl-names = "default";
  138. pinctrl-0 = <&pinctrl_i2c0>;
  139. clocks = <&peri_clk 4>;
  140. resets = <&peri_rst 4>;
  141. clock-frequency = <100000>;
  142. };
  143. i2c1: i2c@58781000 {
  144. compatible = "socionext,uniphier-fi2c";
  145. status = "disabled";
  146. reg = <0x58781000 0x80>;
  147. #address-cells = <1>;
  148. #size-cells = <0>;
  149. interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
  150. pinctrl-names = "default";
  151. pinctrl-0 = <&pinctrl_i2c1>;
  152. clocks = <&peri_clk 5>;
  153. resets = <&peri_rst 5>;
  154. clock-frequency = <100000>;
  155. };
  156. i2c2: i2c@58782000 {
  157. compatible = "socionext,uniphier-fi2c";
  158. status = "disabled";
  159. reg = <0x58782000 0x80>;
  160. #address-cells = <1>;
  161. #size-cells = <0>;
  162. interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
  163. pinctrl-names = "default";
  164. pinctrl-0 = <&pinctrl_i2c2>;
  165. clocks = <&peri_clk 6>;
  166. resets = <&peri_rst 6>;
  167. clock-frequency = <100000>;
  168. };
  169. i2c3: i2c@58783000 {
  170. compatible = "socionext,uniphier-fi2c";
  171. status = "disabled";
  172. reg = <0x58783000 0x80>;
  173. #address-cells = <1>;
  174. #size-cells = <0>;
  175. interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
  176. pinctrl-names = "default";
  177. pinctrl-0 = <&pinctrl_i2c3>;
  178. clocks = <&peri_clk 7>;
  179. resets = <&peri_rst 7>;
  180. clock-frequency = <100000>;
  181. };
  182. /* i2c4 does not exist */
  183. /* chip-internal connection for DMD */
  184. i2c5: i2c@58785000 {
  185. compatible = "socionext,uniphier-fi2c";
  186. reg = <0x58785000 0x80>;
  187. #address-cells = <1>;
  188. #size-cells = <0>;
  189. interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
  190. clocks = <&peri_clk 9>;
  191. resets = <&peri_rst 9>;
  192. clock-frequency = <400000>;
  193. };
  194. /* chip-internal connection for HDMI */
  195. i2c6: i2c@58786000 {
  196. compatible = "socionext,uniphier-fi2c";
  197. reg = <0x58786000 0x80>;
  198. #address-cells = <1>;
  199. #size-cells = <0>;
  200. interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
  201. clocks = <&peri_clk 10>;
  202. resets = <&peri_rst 10>;
  203. clock-frequency = <400000>;
  204. };
  205. system_bus: system-bus@58c00000 {
  206. compatible = "socionext,uniphier-system-bus";
  207. status = "disabled";
  208. reg = <0x58c00000 0x400>;
  209. #address-cells = <2>;
  210. #size-cells = <1>;
  211. pinctrl-names = "default";
  212. pinctrl-0 = <&pinctrl_system_bus>;
  213. };
  214. smpctrl@59801000 {
  215. compatible = "socionext,uniphier-smpctrl";
  216. reg = <0x59801000 0x400>;
  217. };
  218. mioctrl@59810000 {
  219. compatible = "socionext,uniphier-pro4-mioctrl",
  220. "simple-mfd", "syscon";
  221. reg = <0x59810000 0x800>;
  222. mio_clk: clock {
  223. compatible = "socionext,uniphier-pro4-mio-clock";
  224. #clock-cells = <1>;
  225. };
  226. mio_rst: reset {
  227. compatible = "socionext,uniphier-pro4-mio-reset";
  228. #reset-cells = <1>;
  229. };
  230. };
  231. perictrl@59820000 {
  232. compatible = "socionext,uniphier-pro4-perictrl",
  233. "simple-mfd", "syscon";
  234. reg = <0x59820000 0x200>;
  235. peri_clk: clock {
  236. compatible = "socionext,uniphier-pro4-peri-clock";
  237. #clock-cells = <1>;
  238. };
  239. peri_rst: reset {
  240. compatible = "socionext,uniphier-pro4-peri-reset";
  241. #reset-cells = <1>;
  242. };
  243. };
  244. dmac: dma-controller@5a000000 {
  245. compatible = "socionext,uniphier-mio-dmac";
  246. reg = <0x5a000000 0x1000>;
  247. interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
  248. <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
  249. <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
  250. <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
  251. <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
  252. <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
  253. <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
  254. <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
  255. clocks = <&mio_clk 7>;
  256. resets = <&mio_rst 7>;
  257. #dma-cells = <1>;
  258. };
  259. sd: mmc@5a400000 {
  260. compatible = "socionext,uniphier-sd-v2.91";
  261. status = "disabled";
  262. reg = <0x5a400000 0x200>;
  263. interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
  264. pinctrl-names = "default", "uhs";
  265. pinctrl-0 = <&pinctrl_sd>;
  266. pinctrl-1 = <&pinctrl_sd_uhs>;
  267. clocks = <&mio_clk 0>;
  268. reset-names = "host", "bridge";
  269. resets = <&mio_rst 0>, <&mio_rst 3>;
  270. dma-names = "rx-tx";
  271. dmas = <&dmac 4>;
  272. bus-width = <4>;
  273. cap-sd-highspeed;
  274. sd-uhs-sdr12;
  275. sd-uhs-sdr25;
  276. sd-uhs-sdr50;
  277. };
  278. emmc: mmc@5a500000 {
  279. compatible = "socionext,uniphier-sd-v2.91";
  280. status = "disabled";
  281. reg = <0x5a500000 0x200>;
  282. interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
  283. pinctrl-names = "default";
  284. pinctrl-0 = <&pinctrl_emmc>;
  285. clocks = <&mio_clk 1>;
  286. reset-names = "host", "bridge", "hw";
  287. resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
  288. dma-names = "rx-tx";
  289. dmas = <&dmac 5>;
  290. bus-width = <8>;
  291. cap-mmc-highspeed;
  292. cap-mmc-hw-reset;
  293. non-removable;
  294. };
  295. sd1: mmc@5a600000 {
  296. compatible = "socionext,uniphier-sd-v2.91";
  297. status = "disabled";
  298. reg = <0x5a600000 0x200>;
  299. interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
  300. pinctrl-names = "default";
  301. pinctrl-0 = <&pinctrl_sd1>;
  302. clocks = <&mio_clk 2>;
  303. reset-names = "host", "bridge";
  304. resets = <&mio_rst 2>, <&mio_rst 5>;
  305. dma-names = "rx-tx";
  306. dmas = <&dmac 6>;
  307. bus-width = <4>;
  308. cap-sd-highspeed;
  309. };
  310. usb2: usb@5a800100 {
  311. compatible = "socionext,uniphier-ehci", "generic-ehci";
  312. status = "disabled";
  313. reg = <0x5a800100 0x100>;
  314. interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
  315. pinctrl-names = "default";
  316. pinctrl-0 = <&pinctrl_usb2>;
  317. clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
  318. <&mio_clk 12>;
  319. resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
  320. <&mio_rst 12>;
  321. phy-names = "usb";
  322. phys = <&usb_phy0>;
  323. has-transaction-translator;
  324. };
  325. usb3: usb@5a810100 {
  326. compatible = "socionext,uniphier-ehci", "generic-ehci";
  327. status = "disabled";
  328. reg = <0x5a810100 0x100>;
  329. interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
  330. pinctrl-names = "default";
  331. pinctrl-0 = <&pinctrl_usb3>;
  332. clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
  333. <&mio_clk 13>;
  334. resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
  335. <&mio_rst 13>;
  336. phy-names = "usb";
  337. phys = <&usb_phy1>;
  338. has-transaction-translator;
  339. };
  340. soc_glue: soc-glue@5f800000 {
  341. compatible = "socionext,uniphier-pro4-soc-glue",
  342. "simple-mfd", "syscon";
  343. reg = <0x5f800000 0x2000>;
  344. pinctrl: pinctrl {
  345. compatible = "socionext,uniphier-pro4-pinctrl";
  346. };
  347. usb-controller {
  348. compatible = "socionext,uniphier-pro4-usb2-phy";
  349. #address-cells = <1>;
  350. #size-cells = <0>;
  351. usb_phy0: phy@0 {
  352. reg = <0>;
  353. #phy-cells = <0>;
  354. };
  355. usb_phy1: phy@1 {
  356. reg = <1>;
  357. #phy-cells = <0>;
  358. };
  359. usb_phy2: phy@2 {
  360. reg = <2>;
  361. #phy-cells = <0>;
  362. vbus-supply = <&usb0_vbus>;
  363. };
  364. usb_phy3: phy@3 {
  365. reg = <3>;
  366. #phy-cells = <0>;
  367. vbus-supply = <&usb1_vbus>;
  368. };
  369. };
  370. sg_clk: clock {
  371. compatible = "socionext,uniphier-pro4-sg-clock";
  372. #clock-cells = <1>;
  373. };
  374. };
  375. soc-glue@5f900000 {
  376. compatible = "socionext,uniphier-pro4-soc-glue-debug",
  377. "simple-mfd";
  378. #address-cells = <1>;
  379. #size-cells = <1>;
  380. ranges = <0 0x5f900000 0x2000>;
  381. efuse@100 {
  382. compatible = "socionext,uniphier-efuse";
  383. reg = <0x100 0x28>;
  384. };
  385. efuse@130 {
  386. compatible = "socionext,uniphier-efuse";
  387. reg = <0x130 0x8>;
  388. };
  389. efuse@200 {
  390. compatible = "socionext,uniphier-efuse";
  391. reg = <0x200 0x14>;
  392. };
  393. };
  394. xdmac: dma-controller@5fc10000 {
  395. compatible = "socionext,uniphier-xdmac";
  396. reg = <0x5fc10000 0x5300>;
  397. interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
  398. dma-channels = <16>;
  399. #dma-cells = <2>;
  400. };
  401. aidet: interrupt-controller@5fc20000 {
  402. compatible = "socionext,uniphier-pro4-aidet";
  403. reg = <0x5fc20000 0x200>;
  404. interrupt-controller;
  405. #interrupt-cells = <2>;
  406. };
  407. timer@60000200 {
  408. compatible = "arm,cortex-a9-global-timer";
  409. reg = <0x60000200 0x20>;
  410. interrupts = <GIC_PPI 11
  411. (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_HIGH)>;
  412. clocks = <&arm_timer_clk>;
  413. };
  414. timer@60000600 {
  415. compatible = "arm,cortex-a9-twd-timer";
  416. reg = <0x60000600 0x20>;
  417. interrupts = <GIC_PPI 13
  418. (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_HIGH)>;
  419. clocks = <&arm_timer_clk>;
  420. };
  421. intc: interrupt-controller@60001000 {
  422. compatible = "arm,cortex-a9-gic";
  423. reg = <0x60001000 0x1000>,
  424. <0x60000100 0x100>;
  425. #interrupt-cells = <3>;
  426. interrupt-controller;
  427. };
  428. sysctrl@61840000 {
  429. compatible = "socionext,uniphier-pro4-sysctrl",
  430. "simple-mfd", "syscon";
  431. reg = <0x61840000 0x10000>;
  432. sys_clk: clock {
  433. compatible = "socionext,uniphier-pro4-clock";
  434. #clock-cells = <1>;
  435. };
  436. sys_rst: reset {
  437. compatible = "socionext,uniphier-pro4-reset";
  438. #reset-cells = <1>;
  439. };
  440. };
  441. eth: ethernet@65000000 {
  442. compatible = "socionext,uniphier-pro4-ave4";
  443. status = "disabled";
  444. reg = <0x65000000 0x8500>;
  445. interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
  446. pinctrl-names = "default";
  447. pinctrl-0 = <&pinctrl_ether_rgmii>;
  448. clock-names = "gio", "ether", "ether-gb", "ether-phy";
  449. clocks = <&sys_clk 12>, <&sys_clk 6>, <&sys_clk 7>,
  450. <&sys_clk 10>;
  451. reset-names = "gio", "ether";
  452. resets = <&sys_rst 12>, <&sys_rst 6>;
  453. phy-mode = "rgmii";
  454. local-mac-address = [00 00 00 00 00 00];
  455. socionext,syscon-phy-mode = <&soc_glue 0>;
  456. mdio: mdio {
  457. #address-cells = <1>;
  458. #size-cells = <0>;
  459. };
  460. };
  461. ahci0: sata@65600000 {
  462. compatible = "socionext,uniphier-pro4-ahci",
  463. "generic-ahci";
  464. status = "disabled";
  465. reg = <0x65600000 0x10000>;
  466. interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
  467. clocks = <&sys_clk 12>, <&sys_clk 28>;
  468. resets = <&sys_rst 12>, <&sys_rst 28>, <&ahci0_rst 3>;
  469. ports-implemented = <1>;
  470. phys = <&ahci0_phy>;
  471. assigned-clocks = <&sg_clk 0>;
  472. assigned-clock-rates = <25000000>;
  473. };
  474. sata-controller@65700000 {
  475. compatible = "socionext,uniphier-pxs2-ahci-glue",
  476. "simple-mfd";
  477. #address-cells = <1>;
  478. #size-cells = <1>;
  479. ranges = <0 0x65700000 0x100>;
  480. ahci0_rst: reset-controller@0 {
  481. compatible = "socionext,uniphier-pro4-ahci-reset";
  482. reg = <0x0 0x4>;
  483. clock-names = "gio", "link";
  484. clocks = <&sys_clk 12>, <&sys_clk 28>;
  485. reset-names = "gio", "link";
  486. resets = <&sys_rst 12>, <&sys_rst 28>;
  487. #reset-cells = <1>;
  488. };
  489. ahci0_phy: sata-phy@10 {
  490. compatible = "socionext,uniphier-pro4-ahci-phy";
  491. reg = <0x10 0x40>;
  492. clock-names = "link", "gio";
  493. clocks = <&sys_clk 28>, <&sys_clk 12>;
  494. reset-names = "link", "gio", "phy",
  495. "pm", "tx", "rx";
  496. resets = <&sys_rst 28>, <&sys_rst 12>,
  497. <&sys_rst 30>,
  498. <&ahci0_rst 0>, <&ahci0_rst 1>,
  499. <&ahci0_rst 2>;
  500. #phy-cells = <0>;
  501. };
  502. };
  503. ahci1: sata@65800000 {
  504. compatible = "socionext,uniphier-pro4-ahci",
  505. "generic-ahci";
  506. status = "disabled";
  507. reg = <0x65800000 0x10000>;
  508. interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
  509. clocks = <&sys_clk 12>, <&sys_clk 29>;
  510. resets = <&sys_rst 12>, <&sys_rst 29>, <&ahci1_rst 3>;
  511. ports-implemented = <1>;
  512. phys = <&ahci1_phy>;
  513. assigned-clocks = <&sg_clk 0>;
  514. assigned-clock-rates = <25000000>;
  515. };
  516. sata-controller@65900000 {
  517. compatible = "socionext,uniphier-pro4-ahci-glue",
  518. "simple-mfd";
  519. #address-cells = <1>;
  520. #size-cells = <1>;
  521. ranges = <0 0x65900000 0x100>;
  522. ahci1_rst: reset-controller@0 {
  523. compatible = "socionext,uniphier-pro4-ahci-reset";
  524. reg = <0x0 0x4>;
  525. clock-names = "gio", "link";
  526. clocks = <&sys_clk 12>, <&sys_clk 29>;
  527. reset-names = "gio", "link";
  528. resets = <&sys_rst 12>, <&sys_rst 29>;
  529. #reset-cells = <1>;
  530. };
  531. ahci1_phy: sata-phy@10 {
  532. compatible = "socionext,uniphier-pro4-ahci-phy";
  533. reg = <0x10 0x40>;
  534. clock-names = "link", "gio";
  535. clocks = <&sys_clk 29>, <&sys_clk 12>;
  536. reset-names = "link", "gio", "phy",
  537. "pm", "tx", "rx";
  538. resets = <&sys_rst 29>, <&sys_rst 12>,
  539. <&sys_rst 30>,
  540. <&ahci1_rst 0>, <&ahci1_rst 1>,
  541. <&ahci1_rst 2>;
  542. #phy-cells = <0>;
  543. };
  544. };
  545. usb0: usb@65a00000 {
  546. compatible = "socionext,uniphier-dwc3", "snps,dwc3";
  547. status = "disabled";
  548. reg = <0x65a00000 0xcd00>;
  549. interrupt-names = "host", "peripheral";
  550. interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
  551. <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
  552. pinctrl-names = "default";
  553. pinctrl-0 = <&pinctrl_usb0>;
  554. clock-names = "ref", "bus_early", "suspend";
  555. clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
  556. resets = <&usb0_rst 4>;
  557. phys = <&usb_phy2>, <&usb0_ssphy>;
  558. dr_mode = "host";
  559. };
  560. usb-controller@65b00000 {
  561. compatible = "socionext,uniphier-pro4-dwc3-glue",
  562. "simple-mfd";
  563. #address-cells = <1>;
  564. #size-cells = <1>;
  565. ranges = <0 0x65b00000 0x100>;
  566. usb0_vbus: regulator@0 {
  567. compatible = "socionext,uniphier-pro4-usb3-regulator";
  568. reg = <0 0x10>;
  569. clock-names = "gio", "link";
  570. clocks = <&sys_clk 12>, <&sys_clk 14>;
  571. reset-names = "gio", "link";
  572. resets = <&sys_rst 12>, <&sys_rst 14>;
  573. };
  574. usb0_ssphy: ss-phy@10 {
  575. compatible = "socionext,uniphier-pro4-usb3-ssphy";
  576. reg = <0x10 0x10>;
  577. #phy-cells = <0>;
  578. clock-names = "gio", "link";
  579. clocks = <&sys_clk 12>, <&sys_clk 14>;
  580. reset-names = "gio", "link";
  581. resets = <&sys_rst 12>, <&sys_rst 14>;
  582. vbus-supply = <&usb0_vbus>;
  583. };
  584. usb0_rst: reset@40 {
  585. compatible = "socionext,uniphier-pro4-usb3-reset";
  586. reg = <0x40 0x4>;
  587. #reset-cells = <1>;
  588. clock-names = "gio", "link";
  589. clocks = <&sys_clk 12>, <&sys_clk 14>;
  590. reset-names = "gio", "link";
  591. resets = <&sys_rst 12>, <&sys_rst 14>;
  592. };
  593. };
  594. usb1: usb@65c00000 {
  595. compatible = "socionext,uniphier-dwc3", "snps,dwc3";
  596. status = "disabled";
  597. reg = <0x65c00000 0xcd00>;
  598. interrupt-names = "host", "peripheral";
  599. interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
  600. <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
  601. pinctrl-names = "default";
  602. pinctrl-0 = <&pinctrl_usb1>;
  603. clock-names = "ref", "bus_early", "suspend";
  604. clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
  605. resets = <&usb1_rst 4>;
  606. phys = <&usb_phy3>;
  607. dr_mode = "host";
  608. };
  609. usb-controller@65d00000 {
  610. compatible = "socionext,uniphier-pro4-dwc3-glue",
  611. "simple-mfd";
  612. #address-cells = <1>;
  613. #size-cells = <1>;
  614. ranges = <0 0x65d00000 0x100>;
  615. usb1_vbus: regulator@0 {
  616. compatible = "socionext,uniphier-pro4-usb3-regulator";
  617. reg = <0 0x10>;
  618. clock-names = "gio", "link";
  619. clocks = <&sys_clk 12>, <&sys_clk 15>;
  620. reset-names = "gio", "link";
  621. resets = <&sys_rst 12>, <&sys_rst 15>;
  622. };
  623. usb1_rst: reset@40 {
  624. compatible = "socionext,uniphier-pro4-usb3-reset";
  625. reg = <0x40 0x4>;
  626. #reset-cells = <1>;
  627. clock-names = "gio", "link";
  628. clocks = <&sys_clk 12>, <&sys_clk 15>;
  629. reset-names = "gio", "link";
  630. resets = <&sys_rst 12>, <&sys_rst 15>;
  631. };
  632. };
  633. nand: nand-controller@68000000 {
  634. compatible = "socionext,uniphier-denali-nand-v5a";
  635. status = "disabled";
  636. reg-names = "nand_data", "denali_reg";
  637. reg = <0x68000000 0x20>, <0x68100000 0x1000>;
  638. #address-cells = <1>;
  639. #size-cells = <0>;
  640. interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
  641. pinctrl-names = "default";
  642. pinctrl-0 = <&pinctrl_nand>;
  643. clock-names = "nand", "nand_x", "ecc";
  644. clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
  645. reset-names = "nand", "reg";
  646. resets = <&sys_rst 2>, <&sys_rst 2>;
  647. };
  648. };
  649. };
  650. #include "uniphier-pinctrl.dtsi"