stm32mp15xx-dkx.dtsi 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736
  1. // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
  2. /*
  3. * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
  4. * Author: Alexandre Torgue <[email protected]> for STMicroelectronics.
  5. */
  6. #include <dt-bindings/gpio/gpio.h>
  7. #include <dt-bindings/mfd/st,stpmic1.h>
  8. / {
  9. memory@c0000000 {
  10. device_type = "memory";
  11. reg = <0xc0000000 0x20000000>;
  12. };
  13. reserved-memory {
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. ranges;
  17. mcuram2: mcuram2@10000000 {
  18. compatible = "shared-dma-pool";
  19. reg = <0x10000000 0x40000>;
  20. no-map;
  21. };
  22. vdev0vring0: vdev0vring0@10040000 {
  23. compatible = "shared-dma-pool";
  24. reg = <0x10040000 0x1000>;
  25. no-map;
  26. };
  27. vdev0vring1: vdev0vring1@10041000 {
  28. compatible = "shared-dma-pool";
  29. reg = <0x10041000 0x1000>;
  30. no-map;
  31. };
  32. vdev0buffer: vdev0buffer@10042000 {
  33. compatible = "shared-dma-pool";
  34. reg = <0x10042000 0x4000>;
  35. no-map;
  36. };
  37. mcuram: mcuram@30000000 {
  38. compatible = "shared-dma-pool";
  39. reg = <0x30000000 0x40000>;
  40. no-map;
  41. };
  42. retram: retram@38000000 {
  43. compatible = "shared-dma-pool";
  44. reg = <0x38000000 0x10000>;
  45. no-map;
  46. };
  47. gpu_reserved: gpu@d4000000 {
  48. reg = <0xd4000000 0x4000000>;
  49. no-map;
  50. };
  51. };
  52. led {
  53. compatible = "gpio-leds";
  54. led-blue {
  55. label = "heartbeat";
  56. gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>;
  57. linux,default-trigger = "heartbeat";
  58. default-state = "off";
  59. };
  60. };
  61. sound {
  62. compatible = "audio-graph-card";
  63. label = "STM32MP1-DK";
  64. routing =
  65. "Playback" , "MCLK",
  66. "Capture" , "MCLK",
  67. "MICL" , "Mic Bias";
  68. dais = <&sai2a_port &sai2b_port &i2s2_port>;
  69. status = "okay";
  70. };
  71. vin: vin {
  72. compatible = "regulator-fixed";
  73. regulator-name = "vin";
  74. regulator-min-microvolt = <5000000>;
  75. regulator-max-microvolt = <5000000>;
  76. regulator-always-on;
  77. };
  78. };
  79. &adc {
  80. pinctrl-names = "default";
  81. pinctrl-0 = <&adc12_ain_pins_a>, <&adc12_usb_cc_pins_a>;
  82. vdd-supply = <&vdd>;
  83. vdda-supply = <&vdd>;
  84. vref-supply = <&vrefbuf>;
  85. status = "disabled";
  86. adc1: adc@0 {
  87. /*
  88. * Type-C USB_PWR_CC1 & USB_PWR_CC2 on in18 & in19.
  89. * Use at least 5 * RC time, e.g. 5 * (Rp + Rd) * C:
  90. * 5 * (56 + 47kOhms) * 5pF => 2.5us.
  91. * Use arbitrary margin here (e.g. 5us).
  92. */
  93. st,min-sample-time-nsecs = <5000>;
  94. /* AIN connector, USB Type-C CC1 & CC2 */
  95. st,adc-channels = <0 1 6 13 18 19>;
  96. status = "okay";
  97. };
  98. adc2: adc@100 {
  99. /* AIN connector, USB Type-C CC1 & CC2 */
  100. st,adc-channels = <0 1 2 6 18 19>;
  101. st,min-sample-time-nsecs = <5000>;
  102. status = "okay";
  103. };
  104. };
  105. &cec {
  106. pinctrl-names = "default", "sleep";
  107. pinctrl-0 = <&cec_pins_b>;
  108. pinctrl-1 = <&cec_sleep_pins_b>;
  109. status = "okay";
  110. };
  111. &crc1 {
  112. status = "okay";
  113. };
  114. &dts {
  115. status = "okay";
  116. };
  117. &ethernet0 {
  118. status = "okay";
  119. pinctrl-0 = <&ethernet0_rgmii_pins_a>;
  120. pinctrl-1 = <&ethernet0_rgmii_sleep_pins_a>;
  121. pinctrl-names = "default", "sleep";
  122. phy-mode = "rgmii-id";
  123. max-speed = <1000>;
  124. phy-handle = <&phy0>;
  125. mdio {
  126. #address-cells = <1>;
  127. #size-cells = <0>;
  128. compatible = "snps,dwmac-mdio";
  129. phy0: ethernet-phy@0 {
  130. reg = <0>;
  131. };
  132. };
  133. };
  134. &gpu {
  135. contiguous-area = <&gpu_reserved>;
  136. };
  137. &hash1 {
  138. status = "okay";
  139. };
  140. &i2c1 {
  141. pinctrl-names = "default", "sleep";
  142. pinctrl-0 = <&i2c1_pins_a>;
  143. pinctrl-1 = <&i2c1_sleep_pins_a>;
  144. i2c-scl-rising-time-ns = <100>;
  145. i2c-scl-falling-time-ns = <7>;
  146. status = "okay";
  147. /delete-property/dmas;
  148. /delete-property/dma-names;
  149. hdmi-transmitter@39 {
  150. compatible = "sil,sii9022";
  151. reg = <0x39>;
  152. iovcc-supply = <&v3v3_hdmi>;
  153. cvcc12-supply = <&v1v2_hdmi>;
  154. reset-gpios = <&gpioa 10 GPIO_ACTIVE_LOW>;
  155. interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
  156. interrupt-parent = <&gpiog>;
  157. #sound-dai-cells = <0>;
  158. status = "okay";
  159. ports {
  160. #address-cells = <1>;
  161. #size-cells = <0>;
  162. port@0 {
  163. reg = <0>;
  164. sii9022_in: endpoint {
  165. remote-endpoint = <&ltdc_ep0_out>;
  166. };
  167. };
  168. port@3 {
  169. reg = <3>;
  170. sii9022_tx_endpoint: endpoint {
  171. remote-endpoint = <&i2s2_endpoint>;
  172. };
  173. };
  174. };
  175. };
  176. cs42l51: cs42l51@4a {
  177. compatible = "cirrus,cs42l51";
  178. reg = <0x4a>;
  179. #sound-dai-cells = <0>;
  180. VL-supply = <&v3v3>;
  181. VD-supply = <&v1v8_audio>;
  182. VA-supply = <&v1v8_audio>;
  183. VAHP-supply = <&v1v8_audio>;
  184. reset-gpios = <&gpiog 9 GPIO_ACTIVE_LOW>;
  185. clocks = <&sai2a>;
  186. clock-names = "MCLK";
  187. status = "okay";
  188. cs42l51_port: port {
  189. #address-cells = <1>;
  190. #size-cells = <0>;
  191. cs42l51_tx_endpoint: endpoint@0 {
  192. reg = <0>;
  193. remote-endpoint = <&sai2a_endpoint>;
  194. frame-master = <&cs42l51_tx_endpoint>;
  195. bitclock-master = <&cs42l51_tx_endpoint>;
  196. };
  197. cs42l51_rx_endpoint: endpoint@1 {
  198. reg = <1>;
  199. remote-endpoint = <&sai2b_endpoint>;
  200. frame-master = <&cs42l51_rx_endpoint>;
  201. bitclock-master = <&cs42l51_rx_endpoint>;
  202. };
  203. };
  204. };
  205. };
  206. &i2c4 {
  207. pinctrl-names = "default", "sleep";
  208. pinctrl-0 = <&i2c4_pins_a>;
  209. pinctrl-1 = <&i2c4_sleep_pins_a>;
  210. i2c-scl-rising-time-ns = <185>;
  211. i2c-scl-falling-time-ns = <20>;
  212. clock-frequency = <400000>;
  213. status = "okay";
  214. /* spare dmas for other usage */
  215. /delete-property/dmas;
  216. /delete-property/dma-names;
  217. stusb1600@28 {
  218. compatible = "st,stusb1600";
  219. reg = <0x28>;
  220. interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
  221. interrupt-parent = <&gpioi>;
  222. pinctrl-names = "default";
  223. pinctrl-0 = <&stusb1600_pins_a>;
  224. status = "okay";
  225. vdd-supply = <&vin>;
  226. connector {
  227. compatible = "usb-c-connector";
  228. label = "USB-C";
  229. power-role = "dual";
  230. typec-power-opmode = "default";
  231. port {
  232. con_usbotg_hs_ep: endpoint {
  233. remote-endpoint = <&usbotg_hs_ep>;
  234. };
  235. };
  236. };
  237. };
  238. pmic: stpmic@33 {
  239. compatible = "st,stpmic1";
  240. reg = <0x33>;
  241. interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
  242. interrupt-controller;
  243. #interrupt-cells = <2>;
  244. status = "okay";
  245. regulators {
  246. compatible = "st,stpmic1-regulators";
  247. buck1-supply = <&vin>;
  248. buck2-supply = <&vin>;
  249. buck3-supply = <&vin>;
  250. buck4-supply = <&vin>;
  251. ldo1-supply = <&v3v3>;
  252. ldo2-supply = <&vin>;
  253. ldo3-supply = <&vdd_ddr>;
  254. ldo4-supply = <&vin>;
  255. ldo5-supply = <&vin>;
  256. ldo6-supply = <&v3v3>;
  257. vref_ddr-supply = <&vin>;
  258. boost-supply = <&vin>;
  259. pwr_sw1-supply = <&bst_out>;
  260. pwr_sw2-supply = <&bst_out>;
  261. vddcore: buck1 {
  262. regulator-name = "vddcore";
  263. regulator-min-microvolt = <1200000>;
  264. regulator-max-microvolt = <1350000>;
  265. regulator-always-on;
  266. regulator-initial-mode = <0>;
  267. regulator-over-current-protection;
  268. };
  269. vdd_ddr: buck2 {
  270. regulator-name = "vdd_ddr";
  271. regulator-min-microvolt = <1350000>;
  272. regulator-max-microvolt = <1350000>;
  273. regulator-always-on;
  274. regulator-initial-mode = <0>;
  275. regulator-over-current-protection;
  276. };
  277. vdd: buck3 {
  278. regulator-name = "vdd";
  279. regulator-min-microvolt = <3300000>;
  280. regulator-max-microvolt = <3300000>;
  281. regulator-always-on;
  282. st,mask-reset;
  283. regulator-initial-mode = <0>;
  284. regulator-over-current-protection;
  285. };
  286. v3v3: buck4 {
  287. regulator-name = "v3v3";
  288. regulator-min-microvolt = <3300000>;
  289. regulator-max-microvolt = <3300000>;
  290. regulator-always-on;
  291. regulator-over-current-protection;
  292. regulator-initial-mode = <0>;
  293. };
  294. v1v8_audio: ldo1 {
  295. regulator-name = "v1v8_audio";
  296. regulator-min-microvolt = <1800000>;
  297. regulator-max-microvolt = <1800000>;
  298. regulator-always-on;
  299. interrupts = <IT_CURLIM_LDO1 0>;
  300. };
  301. v3v3_hdmi: ldo2 {
  302. regulator-name = "v3v3_hdmi";
  303. regulator-min-microvolt = <3300000>;
  304. regulator-max-microvolt = <3300000>;
  305. regulator-always-on;
  306. interrupts = <IT_CURLIM_LDO2 0>;
  307. };
  308. vtt_ddr: ldo3 {
  309. regulator-name = "vtt_ddr";
  310. regulator-min-microvolt = <500000>;
  311. regulator-max-microvolt = <750000>;
  312. regulator-always-on;
  313. regulator-over-current-protection;
  314. };
  315. vdd_usb: ldo4 {
  316. regulator-name = "vdd_usb";
  317. interrupts = <IT_CURLIM_LDO4 0>;
  318. };
  319. vdda: ldo5 {
  320. regulator-name = "vdda";
  321. regulator-min-microvolt = <2900000>;
  322. regulator-max-microvolt = <2900000>;
  323. interrupts = <IT_CURLIM_LDO5 0>;
  324. regulator-boot-on;
  325. };
  326. v1v2_hdmi: ldo6 {
  327. regulator-name = "v1v2_hdmi";
  328. regulator-min-microvolt = <1200000>;
  329. regulator-max-microvolt = <1200000>;
  330. regulator-always-on;
  331. interrupts = <IT_CURLIM_LDO6 0>;
  332. };
  333. vref_ddr: vref_ddr {
  334. regulator-name = "vref_ddr";
  335. regulator-always-on;
  336. };
  337. bst_out: boost {
  338. regulator-name = "bst_out";
  339. interrupts = <IT_OCP_BOOST 0>;
  340. };
  341. vbus_otg: pwr_sw1 {
  342. regulator-name = "vbus_otg";
  343. interrupts = <IT_OCP_OTG 0>;
  344. };
  345. vbus_sw: pwr_sw2 {
  346. regulator-name = "vbus_sw";
  347. interrupts = <IT_OCP_SWOUT 0>;
  348. regulator-active-discharge = <1>;
  349. };
  350. };
  351. onkey {
  352. compatible = "st,stpmic1-onkey";
  353. interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>;
  354. interrupt-names = "onkey-falling", "onkey-rising";
  355. power-off-time-sec = <10>;
  356. status = "okay";
  357. };
  358. watchdog {
  359. compatible = "st,stpmic1-wdt";
  360. status = "disabled";
  361. };
  362. };
  363. };
  364. &i2c5 {
  365. pinctrl-names = "default", "sleep";
  366. pinctrl-0 = <&i2c5_pins_a>;
  367. pinctrl-1 = <&i2c5_sleep_pins_a>;
  368. i2c-scl-rising-time-ns = <185>;
  369. i2c-scl-falling-time-ns = <20>;
  370. clock-frequency = <400000>;
  371. /* spare dmas for other usage */
  372. /delete-property/dmas;
  373. /delete-property/dma-names;
  374. status = "disabled";
  375. };
  376. &i2s2 {
  377. clocks = <&rcc SPI2>, <&rcc SPI2_K>, <&rcc PLL3_Q>, <&rcc PLL3_R>;
  378. clock-names = "pclk", "i2sclk", "x8k", "x11k";
  379. pinctrl-names = "default", "sleep";
  380. pinctrl-0 = <&i2s2_pins_a>;
  381. pinctrl-1 = <&i2s2_sleep_pins_a>;
  382. status = "okay";
  383. i2s2_port: port {
  384. i2s2_endpoint: endpoint {
  385. remote-endpoint = <&sii9022_tx_endpoint>;
  386. dai-format = "i2s";
  387. mclk-fs = <256>;
  388. };
  389. };
  390. };
  391. &ipcc {
  392. status = "okay";
  393. };
  394. &iwdg2 {
  395. timeout-sec = <32>;
  396. status = "okay";
  397. };
  398. &ltdc {
  399. pinctrl-names = "default", "sleep";
  400. pinctrl-0 = <&ltdc_pins_a>;
  401. pinctrl-1 = <&ltdc_sleep_pins_a>;
  402. status = "okay";
  403. port {
  404. ltdc_ep0_out: endpoint@0 {
  405. reg = <0>;
  406. remote-endpoint = <&sii9022_in>;
  407. };
  408. };
  409. };
  410. &m4_rproc {
  411. memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
  412. <&vdev0vring1>, <&vdev0buffer>;
  413. mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>, <&ipcc 3>;
  414. mbox-names = "vq0", "vq1", "shutdown", "detach";
  415. interrupt-parent = <&exti>;
  416. interrupts = <68 1>;
  417. status = "okay";
  418. };
  419. &pwr_regulators {
  420. vdd-supply = <&vdd>;
  421. vdd_3v3_usbfs-supply = <&vdd_usb>;
  422. };
  423. &rng1 {
  424. status = "okay";
  425. };
  426. &rtc {
  427. status = "okay";
  428. };
  429. &sai2 {
  430. clocks = <&rcc SAI2>, <&rcc PLL3_Q>, <&rcc PLL3_R>;
  431. clock-names = "pclk", "x8k", "x11k";
  432. pinctrl-names = "default", "sleep";
  433. pinctrl-0 = <&sai2a_pins_a>, <&sai2b_pins_b>;
  434. pinctrl-1 = <&sai2a_sleep_pins_a>, <&sai2b_sleep_pins_b>;
  435. status = "okay";
  436. sai2a: audio-controller@4400b004 {
  437. #clock-cells = <0>;
  438. dma-names = "tx";
  439. clocks = <&rcc SAI2_K>;
  440. clock-names = "sai_ck";
  441. status = "okay";
  442. sai2a_port: port {
  443. sai2a_endpoint: endpoint {
  444. remote-endpoint = <&cs42l51_tx_endpoint>;
  445. format = "i2s";
  446. mclk-fs = <256>;
  447. dai-tdm-slot-num = <2>;
  448. dai-tdm-slot-width = <32>;
  449. };
  450. };
  451. };
  452. sai2b: audio-controller@4400b024 {
  453. dma-names = "rx";
  454. st,sync = <&sai2a 2>;
  455. clocks = <&rcc SAI2_K>, <&sai2a>;
  456. clock-names = "sai_ck", "MCLK";
  457. status = "okay";
  458. sai2b_port: port {
  459. sai2b_endpoint: endpoint {
  460. remote-endpoint = <&cs42l51_rx_endpoint>;
  461. format = "i2s";
  462. mclk-fs = <256>;
  463. dai-tdm-slot-num = <2>;
  464. dai-tdm-slot-width = <32>;
  465. };
  466. };
  467. };
  468. };
  469. &sdmmc1 {
  470. pinctrl-names = "default", "opendrain", "sleep";
  471. pinctrl-0 = <&sdmmc1_b4_pins_a>;
  472. pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
  473. pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
  474. cd-gpios = <&gpiob 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
  475. disable-wp;
  476. st,neg-edge;
  477. bus-width = <4>;
  478. vmmc-supply = <&v3v3>;
  479. status = "okay";
  480. };
  481. &sdmmc3 {
  482. pinctrl-names = "default", "opendrain", "sleep";
  483. pinctrl-0 = <&sdmmc3_b4_pins_a>;
  484. pinctrl-1 = <&sdmmc3_b4_od_pins_a>;
  485. pinctrl-2 = <&sdmmc3_b4_sleep_pins_a>;
  486. broken-cd;
  487. st,neg-edge;
  488. bus-width = <4>;
  489. vmmc-supply = <&v3v3>;
  490. status = "disabled";
  491. };
  492. &timers1 {
  493. /* spare dmas for other usage */
  494. /delete-property/dmas;
  495. /delete-property/dma-names;
  496. status = "disabled";
  497. pwm {
  498. pinctrl-0 = <&pwm1_pins_a>;
  499. pinctrl-1 = <&pwm1_sleep_pins_a>;
  500. pinctrl-names = "default", "sleep";
  501. status = "okay";
  502. };
  503. timer@0 {
  504. status = "okay";
  505. };
  506. };
  507. &timers3 {
  508. /delete-property/dmas;
  509. /delete-property/dma-names;
  510. status = "disabled";
  511. pwm {
  512. pinctrl-0 = <&pwm3_pins_a>;
  513. pinctrl-1 = <&pwm3_sleep_pins_a>;
  514. pinctrl-names = "default", "sleep";
  515. status = "okay";
  516. };
  517. timer@2 {
  518. status = "okay";
  519. };
  520. };
  521. &timers4 {
  522. /delete-property/dmas;
  523. /delete-property/dma-names;
  524. status = "disabled";
  525. pwm {
  526. pinctrl-0 = <&pwm4_pins_a &pwm4_pins_b>;
  527. pinctrl-1 = <&pwm4_sleep_pins_a &pwm4_sleep_pins_b>;
  528. pinctrl-names = "default", "sleep";
  529. status = "okay";
  530. };
  531. timer@3 {
  532. status = "okay";
  533. };
  534. };
  535. &timers5 {
  536. /delete-property/dmas;
  537. /delete-property/dma-names;
  538. status = "disabled";
  539. pwm {
  540. pinctrl-0 = <&pwm5_pins_a>;
  541. pinctrl-1 = <&pwm5_sleep_pins_a>;
  542. pinctrl-names = "default", "sleep";
  543. status = "okay";
  544. };
  545. timer@4 {
  546. status = "okay";
  547. };
  548. };
  549. &timers6 {
  550. /delete-property/dmas;
  551. /delete-property/dma-names;
  552. status = "disabled";
  553. timer@5 {
  554. status = "okay";
  555. };
  556. };
  557. &timers12 {
  558. /delete-property/dmas;
  559. /delete-property/dma-names;
  560. status = "disabled";
  561. pwm {
  562. pinctrl-0 = <&pwm12_pins_a>;
  563. pinctrl-1 = <&pwm12_sleep_pins_a>;
  564. pinctrl-names = "default", "sleep";
  565. status = "okay";
  566. };
  567. timer@11 {
  568. status = "okay";
  569. };
  570. };
  571. &uart4 {
  572. pinctrl-names = "default", "sleep", "idle";
  573. pinctrl-0 = <&uart4_pins_a>;
  574. pinctrl-1 = <&uart4_sleep_pins_a>;
  575. pinctrl-2 = <&uart4_idle_pins_a>;
  576. /delete-property/dmas;
  577. /delete-property/dma-names;
  578. status = "okay";
  579. };
  580. &uart7 {
  581. pinctrl-names = "default", "sleep", "idle";
  582. pinctrl-0 = <&uart7_pins_c>;
  583. pinctrl-1 = <&uart7_sleep_pins_c>;
  584. pinctrl-2 = <&uart7_idle_pins_c>;
  585. /delete-property/dmas;
  586. /delete-property/dma-names;
  587. status = "disabled";
  588. };
  589. &usart3 {
  590. pinctrl-names = "default", "sleep", "idle";
  591. pinctrl-0 = <&usart3_pins_c>;
  592. pinctrl-1 = <&usart3_sleep_pins_c>;
  593. pinctrl-2 = <&usart3_idle_pins_c>;
  594. uart-has-rtscts;
  595. status = "disabled";
  596. };
  597. &usbh_ehci {
  598. phys = <&usbphyc_port0>;
  599. status = "okay";
  600. #address-cells = <1>;
  601. #size-cells = <0>;
  602. /* onboard HUB */
  603. hub@1 {
  604. compatible = "usb424,2514";
  605. reg = <1>;
  606. vdd-supply = <&v3v3>;
  607. };
  608. };
  609. &usbotg_hs {
  610. phys = <&usbphyc_port1 0>;
  611. phy-names = "usb2-phy";
  612. usb-role-switch;
  613. status = "okay";
  614. port {
  615. usbotg_hs_ep: endpoint {
  616. remote-endpoint = <&con_usbotg_hs_ep>;
  617. };
  618. };
  619. };
  620. &usbphyc {
  621. status = "okay";
  622. };
  623. &usbphyc_port0 {
  624. phy-supply = <&vdd_usb>;
  625. st,tune-hs-dc-level = <2>;
  626. st,enable-fs-rftime-tuning;
  627. st,enable-hs-rftime-reduction;
  628. st,trim-hs-current = <15>;
  629. st,trim-hs-impedance = <1>;
  630. st,tune-squelch-level = <3>;
  631. st,tune-hs-rx-offset = <2>;
  632. st,no-lsfs-sc;
  633. };
  634. &usbphyc_port1 {
  635. phy-supply = <&vdd_usb>;
  636. st,tune-hs-dc-level = <2>;
  637. st,enable-fs-rftime-tuning;
  638. st,enable-hs-rftime-reduction;
  639. st,trim-hs-current = <15>;
  640. st,trim-hs-impedance = <1>;
  641. st,tune-squelch-level = <3>;
  642. st,tune-hs-rx-offset = <2>;
  643. st,no-lsfs-sc;
  644. };
  645. &vrefbuf {
  646. regulator-min-microvolt = <2500000>;
  647. regulator-max-microvolt = <2500000>;
  648. vdda-supply = <&vdd>;
  649. status = "okay";
  650. };