rk3399-hugsun-x99.dts 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /dts-v1/;
  3. #include <dt-bindings/pwm/pwm.h>
  4. #include <dt-bindings/input/input.h>
  5. #include <dt-bindings/interrupt-controller/irq.h>
  6. #include "rk3399.dtsi"
  7. #include "rk3399-opp.dtsi"
  8. / {
  9. model = "Hugsun X99 TV BOX";
  10. compatible = "hugsun,x99", "rockchip,rk3399";
  11. aliases {
  12. mmc0 = &sdio0;
  13. mmc1 = &sdmmc;
  14. mmc2 = &sdhci;
  15. };
  16. chosen {
  17. stdout-path = "serial2:1500000n8";
  18. };
  19. clkin_gmac: external-gmac-clock {
  20. compatible = "fixed-clock";
  21. clock-frequency = <125000000>;
  22. clock-output-names = "clkin_gmac";
  23. #clock-cells = <0>;
  24. };
  25. dc_5v: dc-5v {
  26. compatible = "regulator-fixed";
  27. regulator-name = "dc_5v";
  28. regulator-always-on;
  29. regulator-boot-on;
  30. regulator-min-microvolt = <5000000>;
  31. regulator-max-microvolt = <5000000>;
  32. };
  33. ir-receiver {
  34. compatible = "gpio-ir-receiver";
  35. gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
  36. pinctrl-names = "default";
  37. pinctrl-0 = <&ir_rx>;
  38. };
  39. leds {
  40. compatible = "gpio-leds";
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&power_led_pin>;
  43. power_led: led-0 {
  44. label = "blue:power";
  45. gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
  46. default-state = "on";
  47. linux,default-trigger = "default-on";
  48. };
  49. };
  50. vcc_sys: vcc-sys {
  51. compatible = "regulator-fixed";
  52. regulator-name = "vcc_sys";
  53. regulator-min-microvolt = <5000000>;
  54. regulator-max-microvolt = <5000000>;
  55. regulator-always-on;
  56. vin-supply = <&dc_5v>;
  57. };
  58. vcc_phy: vcc-phy-regulator {
  59. compatible = "regulator-fixed";
  60. regulator-name = "vcc_phy";
  61. regulator-always-on;
  62. regulator-boot-on;
  63. };
  64. vcc1v8_s0: vcc1v8-s0 {
  65. compatible = "regulator-fixed";
  66. regulator-name = "vcc1v8_s0";
  67. regulator-min-microvolt = <1800000>;
  68. regulator-max-microvolt = <1800000>;
  69. regulator-always-on;
  70. };
  71. vcc3v3_sys: vcc3v3-sys {
  72. compatible = "regulator-fixed";
  73. regulator-name = "vcc3v3_sys";
  74. regulator-min-microvolt = <3300000>;
  75. regulator-max-microvolt = <3300000>;
  76. regulator-always-on;
  77. vin-supply = <&vcc_sys>;
  78. };
  79. vcc5v0_host: vcc5v0-host-regulator {
  80. compatible = "regulator-fixed";
  81. enable-active-high;
  82. gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
  83. pinctrl-names = "default";
  84. pinctrl-0 = <&host_vbus_drv>;
  85. regulator-name = "vcc5v0_host";
  86. regulator-always-on;
  87. };
  88. vcc5v0_typec: vcc5v0-typec-regulator {
  89. compatible = "regulator-fixed";
  90. enable-active-high;
  91. gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>;
  92. pinctrl-names = "default";
  93. pinctrl-0 = <&vcc5v0_typec_en>;
  94. regulator-name = "vcc5v0_typec";
  95. regulator-always-on;
  96. vin-supply = <&vcc5v0_usb>;
  97. };
  98. vcc5v0_usb: vcc5v0-usb {
  99. compatible = "regulator-fixed";
  100. regulator-name = "vcc5v0_usb";
  101. regulator-always-on;
  102. regulator-boot-on;
  103. regulator-min-microvolt = <5000000>;
  104. regulator-max-microvolt = <5000000>;
  105. vin-supply = <&dc_5v>;
  106. };
  107. vdd_log: vdd-log {
  108. compatible = "pwm-regulator";
  109. pwms = <&pwm2 0 25000 1>;
  110. pwm-supply = <&vcc_sys>;
  111. regulator-name = "vdd_log";
  112. regulator-min-microvolt = <800000>;
  113. regulator-max-microvolt = <1400000>;
  114. regulator-always-on;
  115. regulator-boot-on;
  116. };
  117. sdio_pwrseq: sdio-pwrseq {
  118. compatible = "mmc-pwrseq-simple";
  119. clocks = <&rk808 1>;
  120. clock-names = "ext_clock";
  121. pinctrl-names = "default";
  122. pinctrl-0 = <&wifi_reg_on_h>;
  123. reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
  124. };
  125. };
  126. &cpu_l0 {
  127. cpu-supply = <&vdd_cpu_l>;
  128. };
  129. &cpu_l1 {
  130. cpu-supply = <&vdd_cpu_l>;
  131. };
  132. &cpu_l2 {
  133. cpu-supply = <&vdd_cpu_l>;
  134. };
  135. &cpu_l3 {
  136. cpu-supply = <&vdd_cpu_l>;
  137. };
  138. &cpu_b0 {
  139. cpu-supply = <&vdd_cpu_b>;
  140. };
  141. &cpu_b1 {
  142. cpu-supply = <&vdd_cpu_b>;
  143. };
  144. &emmc_phy {
  145. status = "okay";
  146. };
  147. &gmac {
  148. assigned-clocks = <&cru SCLK_RMII_SRC>;
  149. assigned-clock-parents = <&clkin_gmac>;
  150. clock_in_out = "input";
  151. phy-supply = <&vcc_phy>;
  152. phy-mode = "rgmii";
  153. pinctrl-names = "default";
  154. pinctrl-0 = <&rgmii_pins>;
  155. snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
  156. snps,reset-active-low;
  157. snps,reset-delays-us = <0 10000 50000>;
  158. tx_delay = <0x28>;
  159. rx_delay = <0x11>;
  160. status = "okay";
  161. };
  162. &gpu {
  163. status = "okay";
  164. mali-supply = <&vdd_gpu>;
  165. };
  166. &hdmi {
  167. ddc-i2c-bus = <&i2c3>;
  168. pinctrl-names = "default";
  169. pinctrl-0 = <&hdmi_cec>;
  170. status = "okay";
  171. };
  172. &hdmi_sound {
  173. status = "okay";
  174. };
  175. &i2c0 {
  176. status = "okay";
  177. i2c-scl-rising-time-ns = <180>;
  178. i2c-scl-falling-time-ns = <30>;
  179. clock-frequency = <400000>;
  180. vdd_cpu_b: syr827@40 {
  181. compatible = "silergy,syr827";
  182. reg = <0x40>;
  183. regulator-compatible = "fan53555-reg";
  184. pinctrl-0 = <&vsel1_pin>;
  185. regulator-name = "vdd_cpu_b";
  186. regulator-min-microvolt = <712500>;
  187. regulator-max-microvolt = <1500000>;
  188. regulator-ramp-delay = <1000>;
  189. fcs,suspend-voltage-selector = <1>;
  190. regulator-always-on;
  191. regulator-boot-on;
  192. vin-supply = <&vcc_sys>;
  193. regulator-state-mem {
  194. regulator-off-in-suspend;
  195. };
  196. };
  197. vdd_gpu: syr828@41 {
  198. compatible = "silergy,syr828";
  199. reg = <0x41>;
  200. regulator-compatible = "fan53555-reg";
  201. pinctrl-0 = <&vsel2_pin>;
  202. regulator-name = "vdd_gpu";
  203. regulator-min-microvolt = <712500>;
  204. regulator-max-microvolt = <1500000>;
  205. regulator-ramp-delay = <1000>;
  206. fcs,suspend-voltage-selector = <1>;
  207. regulator-always-on;
  208. regulator-boot-on;
  209. vin-supply = <&vcc_sys>;
  210. regulator-initial-mode = <1>;
  211. regulator-state-mem {
  212. regulator-off-in-suspend;
  213. };
  214. };
  215. rk808: pmic@1b {
  216. compatible = "rockchip,rk808";
  217. reg = <0x1b>;
  218. interrupt-parent = <&gpio1>;
  219. interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
  220. pinctrl-names = "default";
  221. pinctrl-0 = <&pmic_int_l>;
  222. rockchip,system-power-controller;
  223. wakeup-source;
  224. #clock-cells = <1>;
  225. clock-output-names = "xin32k", "rtc_clko_wifi";
  226. vcc1-supply = <&vcc_sys>;
  227. vcc2-supply = <&vcc_sys>;
  228. vcc3-supply = <&vcc_sys>;
  229. vcc4-supply = <&vcc_sys>;
  230. vcc6-supply = <&vcc_sys>;
  231. vcc7-supply = <&vcc_sys>;
  232. vcc8-supply = <&vcc3v3_sys>;
  233. vcc9-supply = <&vcc_sys>;
  234. vcc10-supply = <&vcc_sys>;
  235. vcc11-supply = <&vcc_sys>;
  236. vcc12-supply = <&vcc3v3_sys>;
  237. vddio-supply = <&vcc_1v8>;
  238. regulators {
  239. vdd_center: DCDC_REG1 {
  240. regulator-name = "vdd_center";
  241. regulator-min-microvolt = <900000>;
  242. regulator-max-microvolt = <900000>;
  243. regulator-ramp-delay = <6001>;
  244. regulator-always-on;
  245. regulator-boot-on;
  246. regulator-state-mem {
  247. regulator-off-in-suspend;
  248. };
  249. };
  250. vdd_cpu_l: DCDC_REG2 {
  251. regulator-name = "vdd_cpu_l";
  252. regulator-min-microvolt = <750000>;
  253. regulator-max-microvolt = <1350000>;
  254. regulator-ramp-delay = <6001>;
  255. regulator-always-on;
  256. regulator-boot-on;
  257. regulator-state-mem {
  258. regulator-off-in-suspend;
  259. };
  260. };
  261. vcc_ddr: DCDC_REG3 {
  262. regulator-name = "vcc_ddr";
  263. regulator-always-on;
  264. regulator-boot-on;
  265. regulator-state-mem {
  266. regulator-on-in-suspend;
  267. };
  268. };
  269. vcc_1v8: DCDC_REG4 {
  270. regulator-name = "vcc_1v8";
  271. regulator-min-microvolt = <1800000>;
  272. regulator-max-microvolt = <1800000>;
  273. regulator-always-on;
  274. regulator-boot-on;
  275. regulator-state-mem {
  276. regulator-on-in-suspend;
  277. regulator-suspend-microvolt = <1800000>;
  278. };
  279. };
  280. vcc1v8_dvp: LDO_REG1 {
  281. regulator-name = "vcc1v8_dvp";
  282. regulator-min-microvolt = <1800000>;
  283. regulator-max-microvolt = <1800000>;
  284. regulator-always-on;
  285. regulator-boot-on;
  286. regulator-state-mem {
  287. regulator-on-in-suspend;
  288. regulator-suspend-microvolt = <1800000>;
  289. };
  290. };
  291. vcca1v8_hdmi: LDO_REG2 {
  292. regulator-name = "vcca1v8_hdmi";
  293. regulator-min-microvolt = <1800000>;
  294. regulator-max-microvolt = <1800000>;
  295. regulator-always-on;
  296. regulator-boot-on;
  297. regulator-state-mem {
  298. regulator-on-in-suspend;
  299. regulator-suspend-microvolt = <1800000>;
  300. };
  301. };
  302. vcca_1v8: LDO_REG3 {
  303. regulator-name = "vcca_1v8";
  304. regulator-min-microvolt = <1800000>;
  305. regulator-max-microvolt = <1800000>;
  306. regulator-always-on;
  307. regulator-boot-on;
  308. regulator-state-mem {
  309. regulator-on-in-suspend;
  310. regulator-suspend-microvolt = <1800000>;
  311. };
  312. };
  313. vcc_sd: LDO_REG4 {
  314. regulator-name = "vcc_sd";
  315. regulator-min-microvolt = <1800000>;
  316. regulator-max-microvolt = <3300000>;
  317. regulator-always-on;
  318. regulator-boot-on;
  319. regulator-state-mem {
  320. regulator-on-in-suspend;
  321. regulator-suspend-microvolt = <3300000>;
  322. };
  323. };
  324. vcc3v0_sd: LDO_REG5 {
  325. regulator-name = "vcc3v0_sd";
  326. regulator-min-microvolt = <3000000>;
  327. regulator-max-microvolt = <3000000>;
  328. regulator-always-on;
  329. regulator-boot-on;
  330. regulator-state-mem {
  331. regulator-on-in-suspend;
  332. regulator-suspend-microvolt = <3000000>;
  333. };
  334. };
  335. vcc_1v5: LDO_REG6 {
  336. regulator-name = "vcc_1v5";
  337. regulator-min-microvolt = <1500000>;
  338. regulator-max-microvolt = <1500000>;
  339. regulator-always-on;
  340. regulator-boot-on;
  341. regulator-state-mem {
  342. regulator-on-in-suspend;
  343. regulator-suspend-microvolt = <1500000>;
  344. };
  345. };
  346. vcca0v9_hdmi: LDO_REG7 {
  347. regulator-name = "vcca0v9_hdmi";
  348. regulator-min-microvolt = <900000>;
  349. regulator-max-microvolt = <900000>;
  350. regulator-always-on;
  351. regulator-boot-on;
  352. regulator-state-mem {
  353. regulator-on-in-suspend;
  354. regulator-suspend-microvolt = <900000>;
  355. };
  356. };
  357. vcc_3v0: LDO_REG8 {
  358. regulator-name = "vcc_3v0";
  359. regulator-min-microvolt = <3000000>;
  360. regulator-max-microvolt = <3000000>;
  361. regulator-always-on;
  362. regulator-boot-on;
  363. regulator-state-mem {
  364. regulator-on-in-suspend;
  365. regulator-suspend-microvolt = <3000000>;
  366. };
  367. };
  368. vcc3v3_s3: SWITCH_REG1 {
  369. regulator-name = "vcc3v3_s3";
  370. regulator-always-on;
  371. regulator-boot-on;
  372. regulator-state-mem {
  373. regulator-on-in-suspend;
  374. };
  375. };
  376. vcc3v3_s0: SWITCH_REG2 {
  377. regulator-name = "vcc3v3_s0";
  378. regulator-always-on;
  379. regulator-boot-on;
  380. regulator-state-mem {
  381. regulator-on-in-suspend;
  382. };
  383. };
  384. };
  385. };
  386. };
  387. &i2c1 {
  388. i2c-scl-rising-time-ns = <300>;
  389. i2c-scl-falling-time-ns = <15>;
  390. status = "okay";
  391. };
  392. &i2c3 {
  393. i2c-scl-rising-time-ns = <450>;
  394. i2c-scl-falling-time-ns = <15>;
  395. status = "okay";
  396. };
  397. &i2c4 {
  398. i2c-scl-rising-time-ns = <600>;
  399. i2c-scl-falling-time-ns = <40>;
  400. status = "okay";
  401. fusb0: typec-portc@22 {
  402. compatible = "fcs,fusb302";
  403. reg = <0x22>;
  404. interrupt-parent = <&gpio1>;
  405. interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
  406. pinctrl-names = "default";
  407. pinctrl-0 = <&fusb0_int>;
  408. vbus-supply = <&vcc5v0_typec>;
  409. status = "okay";
  410. };
  411. };
  412. &i2c7 {
  413. status = "okay";
  414. };
  415. &i2s0 {
  416. rockchip,playback-channels = <8>;
  417. rockchip,capture-channels = <8>;
  418. status = "okay";
  419. };
  420. &i2s1 {
  421. rockchip,playback-channels = <2>;
  422. rockchip,capture-channels = <2>;
  423. status = "okay";
  424. };
  425. &i2s2 {
  426. status = "okay";
  427. };
  428. &io_domains {
  429. status = "okay";
  430. audio-supply = <&vcc1v8_s0>;
  431. bt656-supply = <&vcc1v8_s0>;
  432. gpio1830-supply = <&vcc_3v0>;
  433. sdmmc-supply = <&vcc_sd>;
  434. };
  435. &pmu_io_domains {
  436. status = "okay";
  437. pmu1830-supply = <&vcc_1v8>;
  438. };
  439. &pinctrl {
  440. fusb30x {
  441. fusb0_int: fusb0-int {
  442. rockchip,pins =
  443. <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;
  444. };
  445. };
  446. gmac {
  447. rgmii_sleep_pins: rgmii-sleep-pins {
  448. rockchip,pins =
  449. <3 RK_PB7 RK_FUNC_GPIO &pcfg_output_low>;
  450. };
  451. };
  452. ir {
  453. ir_rx: ir-rx {
  454. rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>;
  455. };
  456. };
  457. leds {
  458. power_led_pin: power-led-pin {
  459. rockchip,pins = <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
  460. };
  461. };
  462. pmic {
  463. pmic_int_l: pmic-int-l {
  464. rockchip,pins =
  465. <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
  466. };
  467. vsel1_pin: vsel1-pin {
  468. rockchip,pins =
  469. <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
  470. };
  471. vsel2_pin: vsel2-pin {
  472. rockchip,pins =
  473. <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
  474. };
  475. };
  476. sdio {
  477. bt_host_wake_l: bt-host-wake-l {
  478. rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
  479. };
  480. bt_reg_on_h: bt-reg-on-h {
  481. /* external pullup to VCC1V8_PMUPLL */
  482. rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
  483. };
  484. bt_wake_l: bt-wake-l {
  485. rockchip,pins = <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
  486. };
  487. wifi_reg_on_h: wifi-reg_on-h {
  488. rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
  489. };
  490. };
  491. wifi {
  492. wifi_host_wake_l: wifi-host-wake-l {
  493. rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
  494. };
  495. };
  496. usb-typec {
  497. vcc5v0_typec_en: vcc5v0_typec_en {
  498. rockchip,pins = <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
  499. };
  500. };
  501. usb2 {
  502. host_vbus_drv: host-vbus-drv {
  503. rockchip,pins =
  504. <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
  505. };
  506. };
  507. };
  508. &pwm2 {
  509. status = "okay";
  510. pinctrl-0 = <&pwm2_pin_pull_down>;
  511. };
  512. &saradc {
  513. vref-supply = <&vcc1v8_s0>;
  514. status = "okay";
  515. };
  516. &sdmmc {
  517. clock-frequency = <150000000>;
  518. max-frequency = <150000000>;
  519. bus-width = <4>;
  520. cap-mmc-highspeed;
  521. cap-sd-highspeed;
  522. disable-wp;
  523. vqmmc-supply = <&vcc_sd>;
  524. pinctrl-names = "default";
  525. pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
  526. card-detect-delay = <800>;
  527. status = "okay";
  528. };
  529. &sdhci {
  530. bus-width = <8>;
  531. mmc-hs400-1_8v;
  532. mmc-hs400-enhanced-strobe;
  533. non-removable;
  534. keep-power-in-suspend;
  535. status = "okay";
  536. };
  537. &sdio0 {
  538. bus-width = <4>;
  539. clock-frequency = <50000000>;
  540. cap-sdio-irq;
  541. cap-sd-highspeed;
  542. keep-power-in-suspend;
  543. mmc-pwrseq = <&sdio_pwrseq>;
  544. non-removable;
  545. pinctrl-names = "default";
  546. pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
  547. sd-uhs-sdr104;
  548. #address-cells = <1>;
  549. #size-cells = <0>;
  550. status = "okay";
  551. brcmf: wifi@1 {
  552. compatible = "brcm,bcm4329-fmac";
  553. reg = <1>;
  554. interrupt-parent = <&gpio0>;
  555. interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>;
  556. interrupt-names = "host-wake";
  557. pinctrl-names = "default";
  558. pinctrl-0 = <&wifi_host_wake_l>;
  559. };
  560. };
  561. &spdif {
  562. status = "okay";
  563. pinctrl-0 = <&spdif_bus_1>;
  564. };
  565. &spi1 {
  566. status = "okay";
  567. flash@0 {
  568. compatible = "jedec,spi-nor";
  569. #address-cells = <1>;
  570. #size-cells = <1>;
  571. reg = <0>;
  572. spi-max-frequency = <10000000>;
  573. };
  574. };
  575. &tcphy0 {
  576. status = "okay";
  577. };
  578. &tcphy1 {
  579. status = "okay";
  580. };
  581. &tsadc {
  582. /* tshut mode 0:CRU 1:GPIO */
  583. rockchip,hw-tshut-mode = <1>;
  584. /* tshut polarity 0:LOW 1:HIGH */
  585. rockchip,hw-tshut-polarity = <1>;
  586. rockchip,hw-tshut-temp = <110000>;
  587. status = "okay";
  588. };
  589. &u2phy0 {
  590. status = "okay";
  591. u2phy0_host: host-port {
  592. phy-supply = <&vcc5v0_typec>;
  593. status = "okay";
  594. };
  595. u2phy0_otg: otg-port {
  596. status = "okay";
  597. };
  598. };
  599. &u2phy1 {
  600. status = "okay";
  601. u2phy1_host: host-port {
  602. phy-supply = <&vcc5v0_host>;
  603. status = "okay";
  604. };
  605. u2phy1_otg: otg-port {
  606. status = "okay";
  607. };
  608. };
  609. &uart0 {
  610. pinctrl-names = "default";
  611. pinctrl-0 = <&uart0_xfer &uart0_rts &uart0_cts>;
  612. status = "okay";
  613. bluetooth {
  614. compatible = "brcm,bcm43438-bt";
  615. clocks = <&rk808 1>;
  616. clock-names = "ext_clock";
  617. device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
  618. host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
  619. shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
  620. max-speed = <4000000>;
  621. pinctrl-names = "default";
  622. pinctrl-0 = <&bt_reg_on_h &bt_host_wake_l &bt_wake_l>;
  623. vbat-supply = <&vcc3v3_sys>;
  624. vddio-supply = <&vcc_1v8>;
  625. };
  626. };
  627. &uart2 {
  628. status = "okay";
  629. };
  630. &usb_host0_ehci {
  631. status = "okay";
  632. };
  633. &usb_host0_ohci {
  634. status = "okay";
  635. };
  636. &usb_host1_ehci {
  637. status = "okay";
  638. };
  639. &usb_host1_ohci {
  640. status = "okay";
  641. };
  642. &usbdrd3_0 {
  643. status = "okay";
  644. };
  645. &usbdrd_dwc3_0 {
  646. status = "okay";
  647. dr_mode = "host";
  648. };
  649. &usbdrd3_1 {
  650. status = "okay";
  651. };
  652. &usbdrd_dwc3_1 {
  653. status = "okay";
  654. dr_mode = "host";
  655. };
  656. &vopb {
  657. status = "okay";
  658. };
  659. &vopb_mmu {
  660. status = "okay";
  661. };