rk3399-evb.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. /*
  2. * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. /dts-v1/;
  7. #include <dt-bindings/pwm/pwm.h>
  8. #include "rk3399.dtsi"
  9. / {
  10. model = "Rockchip RK3399 Evaluation Board";
  11. compatible = "rockchip,rk3399-evb", "rockchip,rk3399",
  12. "google,rk3399evb-rev2";
  13. chosen {
  14. stdout-path = &uart2;
  15. };
  16. vdd_center: vdd-center {
  17. compatible = "pwm-regulator";
  18. pwms = <&pwm3 0 25000 0>;
  19. regulator-name = "vdd_center";
  20. regulator-min-microvolt = <800000>;
  21. regulator-max-microvolt = <1400000>;
  22. regulator-init-microvolt = <950000>;
  23. regulator-always-on;
  24. regulator-boot-on;
  25. status = "okay";
  26. };
  27. vcc3v3_sys: vcc3v3-sys {
  28. compatible = "regulator-fixed";
  29. regulator-name = "vcc3v3_sys";
  30. regulator-always-on;
  31. regulator-boot-on;
  32. regulator-min-microvolt = <3300000>;
  33. regulator-max-microvolt = <3300000>;
  34. };
  35. vcc_phy: vcc-phy-regulator {
  36. compatible = "regulator-fixed";
  37. regulator-name = "vcc_phy";
  38. regulator-always-on;
  39. regulator-boot-on;
  40. };
  41. vcc5v0_host: vcc5v0-host-en {
  42. compatible = "regulator-fixed";
  43. regulator-name = "vcc5v0_host";
  44. gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
  45. };
  46. };
  47. &emmc_phy {
  48. status = "okay";
  49. };
  50. &pwm0 {
  51. status = "okay";
  52. };
  53. &pwm2 {
  54. status = "okay";
  55. };
  56. &pwm3 {
  57. status = "okay";
  58. };
  59. &sdmmc {
  60. status = "okay";
  61. };
  62. &sdhci {
  63. bus-width = <8>;
  64. mmc-hs400-1_8v;
  65. mmc-hs400-enhanced-strobe;
  66. non-removable;
  67. status = "okay";
  68. };
  69. &uart2 {
  70. status = "okay";
  71. };
  72. &usb_host0_ehci {
  73. status = "okay";
  74. };
  75. &usb_host0_ohci {
  76. status = "okay";
  77. };
  78. &dwc3_typec0 {
  79. status = "okay";
  80. };
  81. &usb_host1_ehci {
  82. status = "okay";
  83. };
  84. &usb_host1_ohci {
  85. status = "okay";
  86. };
  87. &dwc3_typec1 {
  88. status = "okay";
  89. };
  90. &pinctrl {
  91. pmic {
  92. pmic_int_l: pmic-int-l {
  93. rockchip,pins =
  94. <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
  95. };
  96. pmic_dvs2: pmic-dvs2 {
  97. rockchip,pins =
  98. <1 18 RK_FUNC_GPIO &pcfg_pull_down>;
  99. };
  100. };
  101. };