uniphier-pxs2.dtsi 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
  1. // SPDX-License-Identifier: GPL-2.0+ OR MIT
  2. //
  3. // Device Tree Source for UniPhier PXs2 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. #include <dt-bindings/thermal/thermal.h>
  10. / {
  11. compatible = "socionext,uniphier-pxs2";
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. cpus {
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. cpu0: cpu@0 {
  18. device_type = "cpu";
  19. compatible = "arm,cortex-a9";
  20. reg = <0>;
  21. clocks = <&sys_clk 32>;
  22. enable-method = "psci";
  23. next-level-cache = <&l2>;
  24. operating-points-v2 = <&cpu_opp>;
  25. #cooling-cells = <2>;
  26. };
  27. cpu1: cpu@1 {
  28. device_type = "cpu";
  29. compatible = "arm,cortex-a9";
  30. reg = <1>;
  31. clocks = <&sys_clk 32>;
  32. enable-method = "psci";
  33. next-level-cache = <&l2>;
  34. operating-points-v2 = <&cpu_opp>;
  35. #cooling-cells = <2>;
  36. };
  37. cpu2: cpu@2 {
  38. device_type = "cpu";
  39. compatible = "arm,cortex-a9";
  40. reg = <2>;
  41. clocks = <&sys_clk 32>;
  42. enable-method = "psci";
  43. next-level-cache = <&l2>;
  44. operating-points-v2 = <&cpu_opp>;
  45. #cooling-cells = <2>;
  46. };
  47. cpu3: cpu@3 {
  48. device_type = "cpu";
  49. compatible = "arm,cortex-a9";
  50. reg = <3>;
  51. clocks = <&sys_clk 32>;
  52. enable-method = "psci";
  53. next-level-cache = <&l2>;
  54. operating-points-v2 = <&cpu_opp>;
  55. #cooling-cells = <2>;
  56. };
  57. };
  58. cpu_opp: opp-table {
  59. compatible = "operating-points-v2";
  60. opp-shared;
  61. opp-100000000 {
  62. opp-hz = /bits/ 64 <100000000>;
  63. clock-latency-ns = <300>;
  64. };
  65. opp-150000000 {
  66. opp-hz = /bits/ 64 <150000000>;
  67. clock-latency-ns = <300>;
  68. };
  69. opp-200000000 {
  70. opp-hz = /bits/ 64 <200000000>;
  71. clock-latency-ns = <300>;
  72. };
  73. opp-300000000 {
  74. opp-hz = /bits/ 64 <300000000>;
  75. clock-latency-ns = <300>;
  76. };
  77. opp-400000000 {
  78. opp-hz = /bits/ 64 <400000000>;
  79. clock-latency-ns = <300>;
  80. };
  81. opp-600000000 {
  82. opp-hz = /bits/ 64 <600000000>;
  83. clock-latency-ns = <300>;
  84. };
  85. opp-800000000 {
  86. opp-hz = /bits/ 64 <800000000>;
  87. clock-latency-ns = <300>;
  88. };
  89. opp-1200000000 {
  90. opp-hz = /bits/ 64 <1200000000>;
  91. clock-latency-ns = <300>;
  92. };
  93. };
  94. psci {
  95. compatible = "arm,psci-0.2";
  96. method = "smc";
  97. };
  98. clocks {
  99. refclk: ref {
  100. compatible = "fixed-clock";
  101. #clock-cells = <0>;
  102. clock-frequency = <25000000>;
  103. };
  104. arm_timer_clk: arm-timer {
  105. #clock-cells = <0>;
  106. compatible = "fixed-clock";
  107. clock-frequency = <50000000>;
  108. };
  109. };
  110. thermal-zones {
  111. cpu-thermal {
  112. polling-delay-passive = <250>; /* 250ms */
  113. polling-delay = <1000>; /* 1000ms */
  114. thermal-sensors = <&pvtctl>;
  115. trips {
  116. cpu_crit: cpu-crit {
  117. temperature = <95000>; /* 95C */
  118. hysteresis = <2000>;
  119. type = "critical";
  120. };
  121. cpu_alert: cpu-alert {
  122. temperature = <85000>; /* 85C */
  123. hysteresis = <2000>;
  124. type = "passive";
  125. };
  126. };
  127. cooling-maps {
  128. map {
  129. trip = <&cpu_alert>;
  130. cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  131. <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  132. <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
  133. <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  134. };
  135. };
  136. };
  137. };
  138. soc {
  139. compatible = "simple-bus";
  140. #address-cells = <1>;
  141. #size-cells = <1>;
  142. ranges;
  143. interrupt-parent = <&intc>;
  144. l2: cache-controller@500c0000 {
  145. compatible = "socionext,uniphier-system-cache";
  146. reg = <0x500c0000 0x2000>, <0x503c0100 0x8>,
  147. <0x506c0000 0x400>;
  148. interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
  149. <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>,
  150. <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
  151. <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
  152. cache-unified;
  153. cache-size = <(1280 * 1024)>;
  154. cache-sets = <512>;
  155. cache-line-size = <128>;
  156. cache-level = <2>;
  157. };
  158. spi0: spi@54006000 {
  159. compatible = "socionext,uniphier-scssi";
  160. status = "disabled";
  161. reg = <0x54006000 0x100>;
  162. #address-cells = <1>;
  163. #size-cells = <0>;
  164. interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
  165. pinctrl-names = "default";
  166. pinctrl-0 = <&pinctrl_spi0>;
  167. clocks = <&peri_clk 11>;
  168. resets = <&peri_rst 11>;
  169. };
  170. spi1: spi@54006100 {
  171. compatible = "socionext,uniphier-scssi";
  172. status = "disabled";
  173. reg = <0x54006100 0x100>;
  174. #address-cells = <1>;
  175. #size-cells = <0>;
  176. interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>;
  177. pinctrl-names = "default";
  178. pinctrl-0 = <&pinctrl_spi1>;
  179. clocks = <&peri_clk 12>;
  180. resets = <&peri_rst 12>;
  181. };
  182. serial0: serial@54006800 {
  183. compatible = "socionext,uniphier-uart";
  184. status = "disabled";
  185. reg = <0x54006800 0x40>;
  186. interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
  187. pinctrl-names = "default";
  188. pinctrl-0 = <&pinctrl_uart0>;
  189. clocks = <&peri_clk 0>;
  190. resets = <&peri_rst 0>;
  191. };
  192. serial1: serial@54006900 {
  193. compatible = "socionext,uniphier-uart";
  194. status = "disabled";
  195. reg = <0x54006900 0x40>;
  196. interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
  197. pinctrl-names = "default";
  198. pinctrl-0 = <&pinctrl_uart1>;
  199. clocks = <&peri_clk 1>;
  200. resets = <&peri_rst 1>;
  201. };
  202. serial2: serial@54006a00 {
  203. compatible = "socionext,uniphier-uart";
  204. status = "disabled";
  205. reg = <0x54006a00 0x40>;
  206. interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
  207. pinctrl-names = "default";
  208. pinctrl-0 = <&pinctrl_uart2>;
  209. clocks = <&peri_clk 2>;
  210. resets = <&peri_rst 2>;
  211. };
  212. serial3: serial@54006b00 {
  213. compatible = "socionext,uniphier-uart";
  214. status = "disabled";
  215. reg = <0x54006b00 0x40>;
  216. interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
  217. pinctrl-names = "default";
  218. pinctrl-0 = <&pinctrl_uart3>;
  219. clocks = <&peri_clk 3>;
  220. resets = <&peri_rst 3>;
  221. };
  222. gpio: gpio@55000000 {
  223. compatible = "socionext,uniphier-gpio";
  224. reg = <0x55000000 0x200>;
  225. interrupt-parent = <&aidet>;
  226. interrupt-controller;
  227. #interrupt-cells = <2>;
  228. gpio-controller;
  229. #gpio-cells = <2>;
  230. gpio-ranges = <&pinctrl 0 0 0>,
  231. <&pinctrl 96 0 0>;
  232. gpio-ranges-group-names = "gpio_range0",
  233. "gpio_range1";
  234. ngpios = <232>;
  235. socionext,interrupt-ranges = <0 48 16>, <16 154 5>,
  236. <21 217 3>;
  237. };
  238. audio@56000000 {
  239. compatible = "socionext,uniphier-pxs2-aio";
  240. reg = <0x56000000 0x80000>;
  241. interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
  242. pinctrl-names = "default";
  243. pinctrl-0 = <&pinctrl_ain1>,
  244. <&pinctrl_ain2>,
  245. <&pinctrl_ainiec1>,
  246. <&pinctrl_aout2>,
  247. <&pinctrl_aout3>,
  248. <&pinctrl_aoutiec1>,
  249. <&pinctrl_aoutiec2>;
  250. clock-names = "aio";
  251. clocks = <&sys_clk 40>;
  252. reset-names = "aio";
  253. resets = <&sys_rst 40>;
  254. #sound-dai-cells = <1>;
  255. socionext,syscon = <&soc_glue>;
  256. i2s_port0: port@0 {
  257. i2s_hdmi: endpoint {
  258. };
  259. };
  260. i2s_port1: port@1 {
  261. i2s_line: endpoint {
  262. };
  263. };
  264. i2s_port2: port@2 {
  265. i2s_aux: endpoint {
  266. };
  267. };
  268. spdif_port0: port@3 {
  269. spdif_hiecout1: endpoint {
  270. };
  271. };
  272. spdif_port1: port@4 {
  273. spdif_iecout1: endpoint {
  274. };
  275. };
  276. comp_spdif_port0: port@5 {
  277. comp_spdif_hiecout1: endpoint {
  278. };
  279. };
  280. comp_spdif_port1: port@6 {
  281. comp_spdif_iecout1: endpoint {
  282. };
  283. };
  284. };
  285. i2c0: i2c@58780000 {
  286. compatible = "socionext,uniphier-fi2c";
  287. status = "disabled";
  288. reg = <0x58780000 0x80>;
  289. #address-cells = <1>;
  290. #size-cells = <0>;
  291. interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
  292. pinctrl-names = "default";
  293. pinctrl-0 = <&pinctrl_i2c0>;
  294. clocks = <&peri_clk 4>;
  295. resets = <&peri_rst 4>;
  296. clock-frequency = <100000>;
  297. };
  298. i2c1: i2c@58781000 {
  299. compatible = "socionext,uniphier-fi2c";
  300. status = "disabled";
  301. reg = <0x58781000 0x80>;
  302. #address-cells = <1>;
  303. #size-cells = <0>;
  304. interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
  305. pinctrl-names = "default";
  306. pinctrl-0 = <&pinctrl_i2c1>;
  307. clocks = <&peri_clk 5>;
  308. resets = <&peri_rst 5>;
  309. clock-frequency = <100000>;
  310. };
  311. i2c2: i2c@58782000 {
  312. compatible = "socionext,uniphier-fi2c";
  313. status = "disabled";
  314. reg = <0x58782000 0x80>;
  315. #address-cells = <1>;
  316. #size-cells = <0>;
  317. interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
  318. pinctrl-names = "default";
  319. pinctrl-0 = <&pinctrl_i2c2>;
  320. clocks = <&peri_clk 6>;
  321. resets = <&peri_rst 6>;
  322. clock-frequency = <100000>;
  323. };
  324. i2c3: i2c@58783000 {
  325. compatible = "socionext,uniphier-fi2c";
  326. status = "disabled";
  327. reg = <0x58783000 0x80>;
  328. #address-cells = <1>;
  329. #size-cells = <0>;
  330. interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
  331. pinctrl-names = "default";
  332. pinctrl-0 = <&pinctrl_i2c3>;
  333. clocks = <&peri_clk 7>;
  334. resets = <&peri_rst 7>;
  335. clock-frequency = <100000>;
  336. };
  337. /* chip-internal connection for DMD */
  338. i2c4: i2c@58784000 {
  339. compatible = "socionext,uniphier-fi2c";
  340. reg = <0x58784000 0x80>;
  341. #address-cells = <1>;
  342. #size-cells = <0>;
  343. interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
  344. clocks = <&peri_clk 8>;
  345. resets = <&peri_rst 8>;
  346. clock-frequency = <400000>;
  347. };
  348. /* chip-internal connection for STM */
  349. i2c5: i2c@58785000 {
  350. compatible = "socionext,uniphier-fi2c";
  351. reg = <0x58785000 0x80>;
  352. #address-cells = <1>;
  353. #size-cells = <0>;
  354. interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
  355. clocks = <&peri_clk 9>;
  356. resets = <&peri_rst 9>;
  357. clock-frequency = <400000>;
  358. };
  359. /* chip-internal connection for HDMI */
  360. i2c6: i2c@58786000 {
  361. compatible = "socionext,uniphier-fi2c";
  362. reg = <0x58786000 0x80>;
  363. #address-cells = <1>;
  364. #size-cells = <0>;
  365. interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
  366. clocks = <&peri_clk 10>;
  367. resets = <&peri_rst 10>;
  368. clock-frequency = <400000>;
  369. };
  370. system_bus: system-bus@58c00000 {
  371. compatible = "socionext,uniphier-system-bus";
  372. status = "disabled";
  373. reg = <0x58c00000 0x400>;
  374. #address-cells = <2>;
  375. #size-cells = <1>;
  376. pinctrl-names = "default";
  377. pinctrl-0 = <&pinctrl_system_bus>;
  378. };
  379. smpctrl@59801000 {
  380. compatible = "socionext,uniphier-smpctrl";
  381. reg = <0x59801000 0x400>;
  382. };
  383. sdctrl@59810000 {
  384. compatible = "socionext,uniphier-pxs2-sdctrl",
  385. "simple-mfd", "syscon";
  386. reg = <0x59810000 0x400>;
  387. sd_clk: clock {
  388. compatible = "socionext,uniphier-pxs2-sd-clock";
  389. #clock-cells = <1>;
  390. };
  391. sd_rst: reset {
  392. compatible = "socionext,uniphier-pxs2-sd-reset";
  393. #reset-cells = <1>;
  394. };
  395. };
  396. perictrl@59820000 {
  397. compatible = "socionext,uniphier-pxs2-perictrl",
  398. "simple-mfd", "syscon";
  399. reg = <0x59820000 0x200>;
  400. peri_clk: clock {
  401. compatible = "socionext,uniphier-pxs2-peri-clock";
  402. #clock-cells = <1>;
  403. };
  404. peri_rst: reset {
  405. compatible = "socionext,uniphier-pxs2-peri-reset";
  406. #reset-cells = <1>;
  407. };
  408. };
  409. emmc: mmc@5a000000 {
  410. compatible = "socionext,uniphier-sd-v3.1.1";
  411. status = "disabled";
  412. reg = <0x5a000000 0x800>;
  413. interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
  414. pinctrl-names = "default";
  415. pinctrl-0 = <&pinctrl_emmc>;
  416. clocks = <&sd_clk 1>;
  417. reset-names = "host", "hw";
  418. resets = <&sd_rst 1>, <&sd_rst 6>;
  419. bus-width = <8>;
  420. cap-mmc-highspeed;
  421. cap-mmc-hw-reset;
  422. non-removable;
  423. };
  424. sd: mmc@5a400000 {
  425. compatible = "socionext,uniphier-sd-v3.1.1";
  426. status = "disabled";
  427. reg = <0x5a400000 0x800>;
  428. interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
  429. pinctrl-names = "default", "uhs";
  430. pinctrl-0 = <&pinctrl_sd>;
  431. pinctrl-1 = <&pinctrl_sd_uhs>;
  432. clocks = <&sd_clk 0>;
  433. reset-names = "host";
  434. resets = <&sd_rst 0>;
  435. bus-width = <4>;
  436. cap-sd-highspeed;
  437. sd-uhs-sdr12;
  438. sd-uhs-sdr25;
  439. sd-uhs-sdr50;
  440. };
  441. soc_glue: soc-glue@5f800000 {
  442. compatible = "socionext,uniphier-pxs2-soc-glue",
  443. "simple-mfd", "syscon";
  444. reg = <0x5f800000 0x2000>;
  445. pinctrl: pinctrl {
  446. compatible = "socionext,uniphier-pxs2-pinctrl";
  447. };
  448. };
  449. soc-glue@5f900000 {
  450. compatible = "socionext,uniphier-pxs2-soc-glue-debug",
  451. "simple-mfd";
  452. #address-cells = <1>;
  453. #size-cells = <1>;
  454. ranges = <0 0x5f900000 0x2000>;
  455. efuse@100 {
  456. compatible = "socionext,uniphier-efuse";
  457. reg = <0x100 0x28>;
  458. };
  459. efuse@200 {
  460. compatible = "socionext,uniphier-efuse";
  461. reg = <0x200 0x58>;
  462. };
  463. };
  464. xdmac: dma-controller@5fc10000 {
  465. compatible = "socionext,uniphier-xdmac";
  466. reg = <0x5fc10000 0x5300>;
  467. interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
  468. dma-channels = <16>;
  469. #dma-cells = <2>;
  470. };
  471. aidet: interrupt-controller@5fc20000 {
  472. compatible = "socionext,uniphier-pxs2-aidet";
  473. reg = <0x5fc20000 0x200>;
  474. interrupt-controller;
  475. #interrupt-cells = <2>;
  476. };
  477. timer@60000200 {
  478. compatible = "arm,cortex-a9-global-timer";
  479. reg = <0x60000200 0x20>;
  480. interrupts = <GIC_PPI 11
  481. (GIC_CPU_MASK_RAW(0xf) | IRQ_TYPE_LEVEL_HIGH)>;
  482. clocks = <&arm_timer_clk>;
  483. };
  484. timer@60000600 {
  485. compatible = "arm,cortex-a9-twd-timer";
  486. reg = <0x60000600 0x20>;
  487. interrupts = <GIC_PPI 13
  488. (GIC_CPU_MASK_RAW(0xf) | IRQ_TYPE_LEVEL_HIGH)>;
  489. clocks = <&arm_timer_clk>;
  490. };
  491. intc: interrupt-controller@60001000 {
  492. compatible = "arm,cortex-a9-gic";
  493. reg = <0x60001000 0x1000>,
  494. <0x60000100 0x100>;
  495. #interrupt-cells = <3>;
  496. interrupt-controller;
  497. };
  498. sysctrl@61840000 {
  499. compatible = "socionext,uniphier-pxs2-sysctrl",
  500. "simple-mfd", "syscon";
  501. reg = <0x61840000 0x10000>;
  502. sys_clk: clock {
  503. compatible = "socionext,uniphier-pxs2-clock";
  504. #clock-cells = <1>;
  505. };
  506. sys_rst: reset {
  507. compatible = "socionext,uniphier-pxs2-reset";
  508. #reset-cells = <1>;
  509. };
  510. pvtctl: thermal-sensor {
  511. compatible = "socionext,uniphier-pxs2-thermal";
  512. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
  513. #thermal-sensor-cells = <0>;
  514. socionext,tmod-calibration = <0x0f86 0x6844>;
  515. };
  516. };
  517. eth: ethernet@65000000 {
  518. compatible = "socionext,uniphier-pxs2-ave4";
  519. status = "disabled";
  520. reg = <0x65000000 0x8500>;
  521. interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
  522. pinctrl-names = "default";
  523. pinctrl-0 = <&pinctrl_ether_rgmii>;
  524. clock-names = "ether";
  525. clocks = <&sys_clk 6>;
  526. reset-names = "ether";
  527. resets = <&sys_rst 6>;
  528. phy-mode = "rgmii-id";
  529. local-mac-address = [00 00 00 00 00 00];
  530. socionext,syscon-phy-mode = <&soc_glue 0>;
  531. mdio: mdio {
  532. #address-cells = <1>;
  533. #size-cells = <0>;
  534. };
  535. };
  536. ahci: sata@65600000 {
  537. compatible = "socionext,uniphier-pxs2-ahci",
  538. "generic-ahci";
  539. status = "disabled";
  540. reg = <0x65600000 0x10000>;
  541. interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
  542. clocks = <&sys_clk 28>;
  543. resets = <&sys_rst 28>, <&ahci_rst 0>;
  544. ports-implemented = <1>;
  545. phys = <&ahci_phy>;
  546. };
  547. sata-controller@65700000 {
  548. compatible = "socionext,uniphier-pxs2-ahci-glue",
  549. "simple-mfd";
  550. #address-cells = <1>;
  551. #size-cells = <1>;
  552. ranges = <0 0x65700000 0x100>;
  553. ahci_rst: reset-controller@0 {
  554. compatible = "socionext,uniphier-pxs2-ahci-reset";
  555. reg = <0x0 0x4>;
  556. clock-names = "link";
  557. clocks = <&sys_clk 28>;
  558. reset-names = "link";
  559. resets = <&sys_rst 28>;
  560. #reset-cells = <1>;
  561. };
  562. ahci_phy: sata-phy@10 {
  563. compatible = "socionext,uniphier-pxs2-ahci-phy";
  564. reg = <0x10 0x10>;
  565. clock-names = "link";
  566. clocks = <&sys_clk 28>;
  567. reset-names = "link", "phy";
  568. resets = <&sys_rst 28>, <&sys_rst 30>;
  569. #phy-cells = <0>;
  570. };
  571. };
  572. usb0: usb@65a00000 {
  573. compatible = "socionext,uniphier-dwc3", "snps,dwc3";
  574. status = "disabled";
  575. reg = <0x65a00000 0xcd00>;
  576. interrupt-names = "dwc_usb3";
  577. interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
  578. pinctrl-names = "default";
  579. pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
  580. clock-names = "ref", "bus_early", "suspend";
  581. clocks = <&sys_clk 14>, <&sys_clk 14>, <&sys_clk 14>;
  582. resets = <&usb0_rst 15>;
  583. phys = <&usb0_hsphy0>, <&usb0_hsphy1>,
  584. <&usb0_ssphy0>, <&usb0_ssphy1>;
  585. dr_mode = "host";
  586. };
  587. usb-controller@65b00000 {
  588. compatible = "socionext,uniphier-pxs2-dwc3-glue",
  589. "simple-mfd";
  590. #address-cells = <1>;
  591. #size-cells = <1>;
  592. ranges = <0 0x65b00000 0x400>;
  593. usb0_rst: reset@0 {
  594. compatible = "socionext,uniphier-pxs2-usb3-reset";
  595. reg = <0x0 0x4>;
  596. #reset-cells = <1>;
  597. clock-names = "link";
  598. clocks = <&sys_clk 14>;
  599. reset-names = "link";
  600. resets = <&sys_rst 14>;
  601. };
  602. usb0_vbus0: regulator@100 {
  603. compatible = "socionext,uniphier-pxs2-usb3-regulator";
  604. reg = <0x100 0x10>;
  605. clock-names = "link";
  606. clocks = <&sys_clk 14>;
  607. reset-names = "link";
  608. resets = <&sys_rst 14>;
  609. };
  610. usb0_vbus1: regulator@110 {
  611. compatible = "socionext,uniphier-pxs2-usb3-regulator";
  612. reg = <0x110 0x10>;
  613. clock-names = "link";
  614. clocks = <&sys_clk 14>;
  615. reset-names = "link";
  616. resets = <&sys_rst 14>;
  617. };
  618. usb0_hsphy0: hs-phy@200 {
  619. compatible = "socionext,uniphier-pxs2-usb3-hsphy";
  620. reg = <0x200 0x10>;
  621. #phy-cells = <0>;
  622. clock-names = "link", "phy";
  623. clocks = <&sys_clk 14>, <&sys_clk 16>;
  624. reset-names = "link", "phy";
  625. resets = <&sys_rst 14>, <&sys_rst 16>;
  626. vbus-supply = <&usb0_vbus0>;
  627. };
  628. usb0_hsphy1: hs-phy@210 {
  629. compatible = "socionext,uniphier-pxs2-usb3-hsphy";
  630. reg = <0x210 0x10>;
  631. #phy-cells = <0>;
  632. clock-names = "link", "phy";
  633. clocks = <&sys_clk 14>, <&sys_clk 16>;
  634. reset-names = "link", "phy";
  635. resets = <&sys_rst 14>, <&sys_rst 16>;
  636. vbus-supply = <&usb0_vbus1>;
  637. };
  638. usb0_ssphy0: ss-phy@300 {
  639. compatible = "socionext,uniphier-pxs2-usb3-ssphy";
  640. reg = <0x300 0x10>;
  641. #phy-cells = <0>;
  642. clock-names = "link", "phy";
  643. clocks = <&sys_clk 14>, <&sys_clk 17>;
  644. reset-names = "link", "phy";
  645. resets = <&sys_rst 14>, <&sys_rst 17>;
  646. vbus-supply = <&usb0_vbus0>;
  647. };
  648. usb0_ssphy1: ss-phy@310 {
  649. compatible = "socionext,uniphier-pxs2-usb3-ssphy";
  650. reg = <0x310 0x10>;
  651. #phy-cells = <0>;
  652. clock-names = "link", "phy";
  653. clocks = <&sys_clk 14>, <&sys_clk 18>;
  654. reset-names = "link", "phy";
  655. resets = <&sys_rst 14>, <&sys_rst 18>;
  656. vbus-supply = <&usb0_vbus1>;
  657. };
  658. };
  659. usb1: usb@65c00000 {
  660. compatible = "socionext,uniphier-dwc3", "snps,dwc3";
  661. status = "disabled";
  662. reg = <0x65c00000 0xcd00>;
  663. interrupt-names = "dwc_usb3";
  664. interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
  665. pinctrl-names = "default";
  666. pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
  667. clock-names = "ref", "bus_early", "suspend";
  668. clocks = <&sys_clk 15>, <&sys_clk 15>, <&sys_clk 15>;
  669. resets = <&usb1_rst 15>;
  670. phys = <&usb1_hsphy0>, <&usb1_hsphy1>, <&usb1_ssphy0>;
  671. dr_mode = "host";
  672. };
  673. usb-controller@65d00000 {
  674. compatible = "socionext,uniphier-pxs2-dwc3-glue",
  675. "simple-mfd";
  676. #address-cells = <1>;
  677. #size-cells = <1>;
  678. ranges = <0 0x65d00000 0x400>;
  679. usb1_rst: reset@0 {
  680. compatible = "socionext,uniphier-pxs2-usb3-reset";
  681. reg = <0x0 0x4>;
  682. #reset-cells = <1>;
  683. clock-names = "link";
  684. clocks = <&sys_clk 15>;
  685. reset-names = "link";
  686. resets = <&sys_rst 15>;
  687. };
  688. usb1_vbus0: regulator@100 {
  689. compatible = "socionext,uniphier-pxs2-usb3-regulator";
  690. reg = <0x100 0x10>;
  691. clock-names = "link";
  692. clocks = <&sys_clk 15>;
  693. reset-names = "link";
  694. resets = <&sys_rst 15>;
  695. };
  696. usb1_vbus1: regulator@110 {
  697. compatible = "socionext,uniphier-pxs2-usb3-regulator";
  698. reg = <0x110 0x10>;
  699. clock-names = "link";
  700. clocks = <&sys_clk 15>;
  701. reset-names = "link";
  702. resets = <&sys_rst 15>;
  703. };
  704. usb1_hsphy0: hs-phy@200 {
  705. compatible = "socionext,uniphier-pxs2-usb3-hsphy";
  706. reg = <0x200 0x10>;
  707. #phy-cells = <0>;
  708. clock-names = "link", "phy";
  709. clocks = <&sys_clk 15>, <&sys_clk 20>;
  710. reset-names = "link", "phy";
  711. resets = <&sys_rst 15>, <&sys_rst 20>;
  712. vbus-supply = <&usb1_vbus0>;
  713. };
  714. usb1_hsphy1: hs-phy@210 {
  715. compatible = "socionext,uniphier-pxs2-usb3-hsphy";
  716. reg = <0x210 0x10>;
  717. #phy-cells = <0>;
  718. clock-names = "link", "phy";
  719. clocks = <&sys_clk 15>, <&sys_clk 20>;
  720. reset-names = "link", "phy";
  721. resets = <&sys_rst 15>, <&sys_rst 20>;
  722. vbus-supply = <&usb1_vbus1>;
  723. };
  724. usb1_ssphy0: ss-phy@300 {
  725. compatible = "socionext,uniphier-pxs2-usb3-ssphy";
  726. reg = <0x300 0x10>;
  727. #phy-cells = <0>;
  728. clock-names = "link", "phy";
  729. clocks = <&sys_clk 15>, <&sys_clk 21>;
  730. reset-names = "link", "phy";
  731. resets = <&sys_rst 15>, <&sys_rst 21>;
  732. vbus-supply = <&usb1_vbus0>;
  733. };
  734. };
  735. nand: nand-controller@68000000 {
  736. compatible = "socionext,uniphier-denali-nand-v5b";
  737. status = "disabled";
  738. reg-names = "nand_data", "denali_reg";
  739. reg = <0x68000000 0x20>, <0x68100000 0x1000>;
  740. #address-cells = <1>;
  741. #size-cells = <0>;
  742. interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
  743. pinctrl-names = "default";
  744. pinctrl-0 = <&pinctrl_nand>;
  745. clock-names = "nand", "nand_x", "ecc";
  746. clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
  747. reset-names = "nand", "reg";
  748. resets = <&sys_rst 2>, <&sys_rst 2>;
  749. };
  750. };
  751. };
  752. #include "uniphier-pinctrl.dtsi"