uniphier-pro5.dtsi 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671
  1. /*
  2. * Device Tree Source for UniPhier Pro5 SoC
  3. *
  4. * Copyright (C) 2015-2016 Socionext Inc.
  5. * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  6. *
  7. * SPDX-License-Identifier: GPL-2.0+ X11
  8. */
  9. /include/ "skeleton.dtsi"
  10. / {
  11. compatible = "socionext,uniphier-pro5";
  12. cpus {
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. cpu@0 {
  16. device_type = "cpu";
  17. compatible = "arm,cortex-a9";
  18. reg = <0>;
  19. clocks = <&sys_clk 32>;
  20. enable-method = "psci";
  21. next-level-cache = <&l2>;
  22. operating-points-v2 = <&cpu_opp>;
  23. };
  24. cpu@1 {
  25. device_type = "cpu";
  26. compatible = "arm,cortex-a9";
  27. reg = <1>;
  28. clocks = <&sys_clk 32>;
  29. enable-method = "psci";
  30. next-level-cache = <&l2>;
  31. operating-points-v2 = <&cpu_opp>;
  32. };
  33. };
  34. cpu_opp: opp_table {
  35. compatible = "operating-points-v2";
  36. opp-shared;
  37. opp@100000000 {
  38. opp-hz = /bits/ 64 <100000000>;
  39. clock-latency-ns = <300>;
  40. };
  41. opp@116667000 {
  42. opp-hz = /bits/ 64 <116667000>;
  43. clock-latency-ns = <300>;
  44. };
  45. opp@150000000 {
  46. opp-hz = /bits/ 64 <150000000>;
  47. clock-latency-ns = <300>;
  48. };
  49. opp@175000000 {
  50. opp-hz = /bits/ 64 <175000000>;
  51. clock-latency-ns = <300>;
  52. };
  53. opp@200000000 {
  54. opp-hz = /bits/ 64 <200000000>;
  55. clock-latency-ns = <300>;
  56. };
  57. opp@233334000 {
  58. opp-hz = /bits/ 64 <233334000>;
  59. clock-latency-ns = <300>;
  60. };
  61. opp@300000000 {
  62. opp-hz = /bits/ 64 <300000000>;
  63. clock-latency-ns = <300>;
  64. };
  65. opp@350000000 {
  66. opp-hz = /bits/ 64 <350000000>;
  67. clock-latency-ns = <300>;
  68. };
  69. opp@400000000 {
  70. opp-hz = /bits/ 64 <400000000>;
  71. clock-latency-ns = <300>;
  72. };
  73. opp@466667000 {
  74. opp-hz = /bits/ 64 <466667000>;
  75. clock-latency-ns = <300>;
  76. };
  77. opp@600000000 {
  78. opp-hz = /bits/ 64 <600000000>;
  79. clock-latency-ns = <300>;
  80. };
  81. opp@700000000 {
  82. opp-hz = /bits/ 64 <700000000>;
  83. clock-latency-ns = <300>;
  84. };
  85. opp@800000000 {
  86. opp-hz = /bits/ 64 <800000000>;
  87. clock-latency-ns = <300>;
  88. };
  89. opp@933334000 {
  90. opp-hz = /bits/ 64 <933334000>;
  91. clock-latency-ns = <300>;
  92. };
  93. opp@1200000000 {
  94. opp-hz = /bits/ 64 <1200000000>;
  95. clock-latency-ns = <300>;
  96. };
  97. opp@1400000000 {
  98. opp-hz = /bits/ 64 <1400000000>;
  99. clock-latency-ns = <300>;
  100. };
  101. };
  102. psci {
  103. compatible = "arm,psci-0.2";
  104. method = "smc";
  105. };
  106. clocks {
  107. refclk: ref {
  108. compatible = "fixed-clock";
  109. #clock-cells = <0>;
  110. clock-frequency = <20000000>;
  111. };
  112. arm_timer_clk: arm_timer_clk {
  113. #clock-cells = <0>;
  114. compatible = "fixed-clock";
  115. clock-frequency = <50000000>;
  116. };
  117. };
  118. soc {
  119. compatible = "simple-bus";
  120. #address-cells = <1>;
  121. #size-cells = <1>;
  122. ranges;
  123. interrupt-parent = <&intc>;
  124. u-boot,dm-pre-reloc;
  125. l2: l2-cache@500c0000 {
  126. compatible = "socionext,uniphier-system-cache";
  127. reg = <0x500c0000 0x2000>, <0x503c0100 0x8>,
  128. <0x506c0000 0x400>;
  129. interrupts = <0 190 4>, <0 191 4>;
  130. cache-unified;
  131. cache-size = <(2 * 1024 * 1024)>;
  132. cache-sets = <512>;
  133. cache-line-size = <128>;
  134. cache-level = <2>;
  135. next-level-cache = <&l3>;
  136. };
  137. l3: l3-cache@500c8000 {
  138. compatible = "socionext,uniphier-system-cache";
  139. reg = <0x500c8000 0x2000>, <0x503c8100 0x8>,
  140. <0x506c8000 0x400>;
  141. interrupts = <0 174 4>, <0 175 4>;
  142. cache-unified;
  143. cache-size = <(2 * 1024 * 1024)>;
  144. cache-sets = <512>;
  145. cache-line-size = <256>;
  146. cache-level = <3>;
  147. };
  148. serial0: serial@54006800 {
  149. compatible = "socionext,uniphier-uart";
  150. status = "disabled";
  151. reg = <0x54006800 0x40>;
  152. interrupts = <0 33 4>;
  153. pinctrl-names = "default";
  154. pinctrl-0 = <&pinctrl_uart0>;
  155. clocks = <&peri_clk 0>;
  156. clock-frequency = <73728000>;
  157. };
  158. serial1: serial@54006900 {
  159. compatible = "socionext,uniphier-uart";
  160. status = "disabled";
  161. reg = <0x54006900 0x40>;
  162. interrupts = <0 35 4>;
  163. pinctrl-names = "default";
  164. pinctrl-0 = <&pinctrl_uart1>;
  165. clocks = <&peri_clk 1>;
  166. clock-frequency = <73728000>;
  167. };
  168. serial2: serial@54006a00 {
  169. compatible = "socionext,uniphier-uart";
  170. status = "disabled";
  171. reg = <0x54006a00 0x40>;
  172. interrupts = <0 37 4>;
  173. pinctrl-names = "default";
  174. pinctrl-0 = <&pinctrl_uart2>;
  175. clocks = <&peri_clk 2>;
  176. clock-frequency = <73728000>;
  177. };
  178. serial3: serial@54006b00 {
  179. compatible = "socionext,uniphier-uart";
  180. status = "disabled";
  181. reg = <0x54006b00 0x40>;
  182. interrupts = <0 177 4>;
  183. pinctrl-names = "default";
  184. pinctrl-0 = <&pinctrl_uart3>;
  185. clocks = <&peri_clk 3>;
  186. clock-frequency = <73728000>;
  187. };
  188. port0x: gpio@55000008 {
  189. compatible = "socionext,uniphier-gpio";
  190. reg = <0x55000008 0x8>;
  191. gpio-controller;
  192. #gpio-cells = <2>;
  193. };
  194. port1x: gpio@55000010 {
  195. compatible = "socionext,uniphier-gpio";
  196. reg = <0x55000010 0x8>;
  197. gpio-controller;
  198. #gpio-cells = <2>;
  199. };
  200. port2x: gpio@55000018 {
  201. compatible = "socionext,uniphier-gpio";
  202. reg = <0x55000018 0x8>;
  203. gpio-controller;
  204. #gpio-cells = <2>;
  205. };
  206. port3x: gpio@55000020 {
  207. compatible = "socionext,uniphier-gpio";
  208. reg = <0x55000020 0x8>;
  209. gpio-controller;
  210. #gpio-cells = <2>;
  211. };
  212. port4: gpio@55000028 {
  213. compatible = "socionext,uniphier-gpio";
  214. reg = <0x55000028 0x8>;
  215. gpio-controller;
  216. #gpio-cells = <2>;
  217. };
  218. port5x: gpio@55000030 {
  219. compatible = "socionext,uniphier-gpio";
  220. reg = <0x55000030 0x8>;
  221. gpio-controller;
  222. #gpio-cells = <2>;
  223. };
  224. port6x: gpio@55000038 {
  225. compatible = "socionext,uniphier-gpio";
  226. reg = <0x55000038 0x8>;
  227. gpio-controller;
  228. #gpio-cells = <2>;
  229. };
  230. port7x: gpio@55000040 {
  231. compatible = "socionext,uniphier-gpio";
  232. reg = <0x55000040 0x8>;
  233. gpio-controller;
  234. #gpio-cells = <2>;
  235. };
  236. port8x: gpio@55000048 {
  237. compatible = "socionext,uniphier-gpio";
  238. reg = <0x55000048 0x8>;
  239. gpio-controller;
  240. #gpio-cells = <2>;
  241. };
  242. port9x: gpio@55000050 {
  243. compatible = "socionext,uniphier-gpio";
  244. reg = <0x55000050 0x8>;
  245. gpio-controller;
  246. #gpio-cells = <2>;
  247. };
  248. port10x: gpio@55000058 {
  249. compatible = "socionext,uniphier-gpio";
  250. reg = <0x55000058 0x8>;
  251. gpio-controller;
  252. #gpio-cells = <2>;
  253. };
  254. port11x: gpio@55000060 {
  255. compatible = "socionext,uniphier-gpio";
  256. reg = <0x55000060 0x8>;
  257. gpio-controller;
  258. #gpio-cells = <2>;
  259. };
  260. port12x: gpio@55000068 {
  261. compatible = "socionext,uniphier-gpio";
  262. reg = <0x55000068 0x8>;
  263. gpio-controller;
  264. #gpio-cells = <2>;
  265. };
  266. port13x: gpio@55000070 {
  267. compatible = "socionext,uniphier-gpio";
  268. reg = <0x55000070 0x8>;
  269. gpio-controller;
  270. #gpio-cells = <2>;
  271. };
  272. port14x: gpio@55000078 {
  273. compatible = "socionext,uniphier-gpio";
  274. reg = <0x55000078 0x8>;
  275. gpio-controller;
  276. #gpio-cells = <2>;
  277. };
  278. port17x: gpio@550000a0 {
  279. compatible = "socionext,uniphier-gpio";
  280. reg = <0x550000a0 0x8>;
  281. gpio-controller;
  282. #gpio-cells = <2>;
  283. };
  284. port18x: gpio@550000a8 {
  285. compatible = "socionext,uniphier-gpio";
  286. reg = <0x550000a8 0x8>;
  287. gpio-controller;
  288. #gpio-cells = <2>;
  289. };
  290. port19x: gpio@550000b0 {
  291. compatible = "socionext,uniphier-gpio";
  292. reg = <0x550000b0 0x8>;
  293. gpio-controller;
  294. #gpio-cells = <2>;
  295. };
  296. port20x: gpio@550000b8 {
  297. compatible = "socionext,uniphier-gpio";
  298. reg = <0x550000b8 0x8>;
  299. gpio-controller;
  300. #gpio-cells = <2>;
  301. };
  302. port21x: gpio@550000c0 {
  303. compatible = "socionext,uniphier-gpio";
  304. reg = <0x550000c0 0x8>;
  305. gpio-controller;
  306. #gpio-cells = <2>;
  307. };
  308. port22x: gpio@550000c8 {
  309. compatible = "socionext,uniphier-gpio";
  310. reg = <0x550000c8 0x8>;
  311. gpio-controller;
  312. #gpio-cells = <2>;
  313. };
  314. port23x: gpio@550000d0 {
  315. compatible = "socionext,uniphier-gpio";
  316. reg = <0x550000d0 0x8>;
  317. gpio-controller;
  318. #gpio-cells = <2>;
  319. };
  320. port24x: gpio@550000d8 {
  321. compatible = "socionext,uniphier-gpio";
  322. reg = <0x550000d8 0x8>;
  323. gpio-controller;
  324. #gpio-cells = <2>;
  325. };
  326. port25x: gpio@550000e0 {
  327. compatible = "socionext,uniphier-gpio";
  328. reg = <0x550000e0 0x8>;
  329. gpio-controller;
  330. #gpio-cells = <2>;
  331. };
  332. port26x: gpio@550000e8 {
  333. compatible = "socionext,uniphier-gpio";
  334. reg = <0x550000e8 0x8>;
  335. gpio-controller;
  336. #gpio-cells = <2>;
  337. };
  338. port27x: gpio@550000f0 {
  339. compatible = "socionext,uniphier-gpio";
  340. reg = <0x550000f0 0x8>;
  341. gpio-controller;
  342. #gpio-cells = <2>;
  343. };
  344. port28x: gpio@550000f8 {
  345. compatible = "socionext,uniphier-gpio";
  346. reg = <0x550000f8 0x8>;
  347. gpio-controller;
  348. #gpio-cells = <2>;
  349. };
  350. port29x: gpio@55000100 {
  351. compatible = "socionext,uniphier-gpio";
  352. reg = <0x55000100 0x8>;
  353. gpio-controller;
  354. #gpio-cells = <2>;
  355. };
  356. port30x: gpio@55000108 {
  357. compatible = "socionext,uniphier-gpio";
  358. reg = <0x55000108 0x8>;
  359. gpio-controller;
  360. #gpio-cells = <2>;
  361. };
  362. i2c0: i2c@58780000 {
  363. compatible = "socionext,uniphier-fi2c";
  364. status = "disabled";
  365. reg = <0x58780000 0x80>;
  366. #address-cells = <1>;
  367. #size-cells = <0>;
  368. interrupts = <0 41 4>;
  369. pinctrl-names = "default";
  370. pinctrl-0 = <&pinctrl_i2c0>;
  371. clocks = <&peri_clk 4>;
  372. clock-frequency = <100000>;
  373. };
  374. i2c1: i2c@58781000 {
  375. compatible = "socionext,uniphier-fi2c";
  376. status = "disabled";
  377. reg = <0x58781000 0x80>;
  378. #address-cells = <1>;
  379. #size-cells = <0>;
  380. interrupts = <0 42 4>;
  381. pinctrl-names = "default";
  382. pinctrl-0 = <&pinctrl_i2c1>;
  383. clocks = <&peri_clk 5>;
  384. clock-frequency = <100000>;
  385. };
  386. i2c2: i2c@58782000 {
  387. compatible = "socionext,uniphier-fi2c";
  388. status = "disabled";
  389. reg = <0x58782000 0x80>;
  390. #address-cells = <1>;
  391. #size-cells = <0>;
  392. interrupts = <0 43 4>;
  393. pinctrl-names = "default";
  394. pinctrl-0 = <&pinctrl_i2c2>;
  395. clocks = <&peri_clk 6>;
  396. clock-frequency = <100000>;
  397. };
  398. i2c3: i2c@58783000 {
  399. compatible = "socionext,uniphier-fi2c";
  400. status = "disabled";
  401. reg = <0x58783000 0x80>;
  402. #address-cells = <1>;
  403. #size-cells = <0>;
  404. interrupts = <0 44 4>;
  405. pinctrl-names = "default";
  406. pinctrl-0 = <&pinctrl_i2c3>;
  407. clocks = <&peri_clk 7>;
  408. clock-frequency = <100000>;
  409. };
  410. /* i2c4 does not exist */
  411. /* chip-internal connection for DMD */
  412. i2c5: i2c@58785000 {
  413. compatible = "socionext,uniphier-fi2c";
  414. reg = <0x58785000 0x80>;
  415. #address-cells = <1>;
  416. #size-cells = <0>;
  417. interrupts = <0 25 4>;
  418. clocks = <&peri_clk 9>;
  419. clock-frequency = <400000>;
  420. };
  421. /* chip-internal connection for HDMI */
  422. i2c6: i2c@58786000 {
  423. compatible = "socionext,uniphier-fi2c";
  424. reg = <0x58786000 0x80>;
  425. #address-cells = <1>;
  426. #size-cells = <0>;
  427. interrupts = <0 26 4>;
  428. clocks = <&peri_clk 10>;
  429. clock-frequency = <400000>;
  430. };
  431. system_bus: system-bus@58c00000 {
  432. compatible = "socionext,uniphier-system-bus";
  433. status = "disabled";
  434. reg = <0x58c00000 0x400>;
  435. #address-cells = <2>;
  436. #size-cells = <1>;
  437. pinctrl-names = "default";
  438. pinctrl-0 = <&pinctrl_system_bus>;
  439. };
  440. smpctrl@59800000 {
  441. compatible = "socionext,uniphier-smpctrl";
  442. reg = <0x59801000 0x400>;
  443. };
  444. sdctrl@59810000 {
  445. compatible = "socionext,uniphier-pro5-sdctrl",
  446. "simple-mfd", "syscon";
  447. reg = <0x59810000 0x800>;
  448. u-boot,dm-pre-reloc;
  449. sd_clk: clock {
  450. compatible = "socionext,uniphier-pro5-sd-clock";
  451. #clock-cells = <1>;
  452. };
  453. sd_rst: reset {
  454. compatible = "socionext,uniphier-pro5-sd-reset";
  455. #reset-cells = <1>;
  456. };
  457. };
  458. perictrl@59820000 {
  459. compatible = "socionext,uniphier-pro5-perictrl",
  460. "simple-mfd", "syscon";
  461. reg = <0x59820000 0x200>;
  462. peri_clk: clock {
  463. compatible = "socionext,uniphier-pro5-peri-clock";
  464. #clock-cells = <1>;
  465. };
  466. peri_rst: reset {
  467. compatible = "socionext,uniphier-pro5-peri-reset";
  468. #reset-cells = <1>;
  469. };
  470. };
  471. soc-glue@5f800000 {
  472. compatible = "socionext,uniphier-pro5-soc-glue",
  473. "simple-mfd", "syscon";
  474. reg = <0x5f800000 0x2000>;
  475. u-boot,dm-pre-reloc;
  476. pinctrl: pinctrl {
  477. compatible = "socionext,uniphier-pro5-pinctrl";
  478. u-boot,dm-pre-reloc;
  479. };
  480. };
  481. aidet@5fc20000 {
  482. compatible = "simple-mfd", "syscon";
  483. reg = <0x5fc20000 0x200>;
  484. };
  485. timer@60000200 {
  486. compatible = "arm,cortex-a9-global-timer";
  487. reg = <0x60000200 0x20>;
  488. interrupts = <1 11 0x304>;
  489. clocks = <&arm_timer_clk>;
  490. };
  491. timer@60000600 {
  492. compatible = "arm,cortex-a9-twd-timer";
  493. reg = <0x60000600 0x20>;
  494. interrupts = <1 13 0x304>;
  495. clocks = <&arm_timer_clk>;
  496. };
  497. intc: interrupt-controller@60001000 {
  498. compatible = "arm,cortex-a9-gic";
  499. reg = <0x60001000 0x1000>,
  500. <0x60000100 0x100>;
  501. #interrupt-cells = <3>;
  502. interrupt-controller;
  503. };
  504. sysctrl@61840000 {
  505. compatible = "socionext,uniphier-pro5-sysctrl",
  506. "simple-mfd", "syscon";
  507. reg = <0x61840000 0x10000>;
  508. sys_clk: clock {
  509. compatible = "socionext,uniphier-pro5-clock";
  510. #clock-cells = <1>;
  511. };
  512. sys_rst: reset {
  513. compatible = "socionext,uniphier-pro5-reset";
  514. #reset-cells = <1>;
  515. };
  516. };
  517. usb0: usb@65b00000 {
  518. compatible = "socionext,uniphier-pro5-dwc3";
  519. status = "disabled";
  520. reg = <0x65b00000 0x1000>;
  521. #address-cells = <1>;
  522. #size-cells = <1>;
  523. ranges;
  524. pinctrl-names = "default";
  525. pinctrl-0 = <&pinctrl_usb0>;
  526. dwc3@65a00000 {
  527. compatible = "snps,dwc3";
  528. reg = <0x65a00000 0x10000>;
  529. interrupts = <0 134 4>;
  530. tx-fifo-resize;
  531. };
  532. };
  533. usb1: usb@65d00000 {
  534. compatible = "socionext,uniphier-pro5-dwc3";
  535. status = "disabled";
  536. reg = <0x65d00000 0x1000>;
  537. #address-cells = <1>;
  538. #size-cells = <1>;
  539. ranges;
  540. pinctrl-names = "default";
  541. pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb2>;
  542. dwc3@65c00000 {
  543. compatible = "snps,dwc3";
  544. reg = <0x65c00000 0x10000>;
  545. interrupts = <0 137 4>;
  546. tx-fifo-resize;
  547. };
  548. };
  549. nand: nand@68000000 {
  550. compatible = "socionext,denali-nand-v5b";
  551. status = "disabled";
  552. reg-names = "nand_data", "denali_reg";
  553. reg = <0x68000000 0x20>, <0x68100000 0x1000>;
  554. interrupts = <0 65 4>;
  555. pinctrl-names = "default";
  556. pinctrl-0 = <&pinctrl_nand>;
  557. clocks = <&sys_clk 2>;
  558. nand-ecc-strength = <8>;
  559. };
  560. emmc: sdhc@68400000 {
  561. compatible = "socionext,uniphier-sdhc";
  562. status = "disabled";
  563. reg = <0x68400000 0x800>;
  564. interrupts = <0 78 4>;
  565. pinctrl-names = "default";
  566. pinctrl-0 = <&pinctrl_emmc>;
  567. clocks = <&sd_clk 1>;
  568. reset-names = "host";
  569. resets = <&sd_rst 1>;
  570. bus-width = <8>;
  571. non-removable;
  572. cap-mmc-highspeed;
  573. cap-mmc-hw-reset;
  574. no-3-3-v;
  575. };
  576. sd: sdhc@68800000 {
  577. compatible = "socionext,uniphier-sdhc";
  578. status = "disabled";
  579. reg = <0x68800000 0x800>;
  580. interrupts = <0 76 4>;
  581. pinctrl-names = "default", "1.8v";
  582. pinctrl-0 = <&pinctrl_sd>;
  583. pinctrl-1 = <&pinctrl_sd_1v8>;
  584. clocks = <&sd_clk 0>;
  585. reset-names = "host";
  586. resets = <&sd_rst 0>;
  587. bus-width = <4>;
  588. cap-sd-highspeed;
  589. sd-uhs-sdr12;
  590. sd-uhs-sdr25;
  591. sd-uhs-sdr50;
  592. };
  593. };
  594. };
  595. /include/ "uniphier-pinctrl.dtsi"