rockchip-radxa-dalang-carrier.dtsi 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
  4. * Copyright (c) 2019 Radxa Limited
  5. * Copyright (c) 2019 Amarula Solutions(India)
  6. */
  7. #include <dt-bindings/pwm/pwm.h>
  8. / {
  9. clkin_gmac: external-gmac-clock {
  10. compatible = "fixed-clock";
  11. clock-frequency = <125000000>;
  12. clock-output-names = "clkin_gmac";
  13. #clock-cells = <0>;
  14. };
  15. sdio_pwrseq: sdio-pwrseq {
  16. compatible = "mmc-pwrseq-simple";
  17. clocks = <&hym8563>;
  18. clock-names = "ext_clock";
  19. pinctrl-names = "default";
  20. pinctrl-0 = <&wifi_enable_h>;
  21. };
  22. vcc12v_dcin: vcc12v-dcin-regulator {
  23. compatible = "regulator-fixed";
  24. regulator-name = "vcc12v_dcin";
  25. regulator-always-on;
  26. regulator-boot-on;
  27. regulator-min-microvolt = <12000000>;
  28. regulator-max-microvolt = <12000000>;
  29. };
  30. vcc5v0_sys: vcc5v0-sys-regulator {
  31. compatible = "regulator-fixed";
  32. regulator-name = "vcc5v0_sys";
  33. regulator-always-on;
  34. regulator-boot-on;
  35. regulator-min-microvolt = <5000000>;
  36. regulator-max-microvolt = <5000000>;
  37. vin-supply = <&vcc12v_dcin>;
  38. };
  39. vbus_host: vbus-host {
  40. compatible = "regulator-fixed";
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&usb1_en_oc>;
  43. regulator-name = "vbus_host"; /* HOST-5V */
  44. regulator-always-on;
  45. vin-supply = <&vcc5v0_sys>;
  46. };
  47. vbus_typec: vbus-typec {
  48. compatible = "regulator-fixed";
  49. pinctrl-names = "default";
  50. pinctrl-0 = <&usb0_en_oc>;
  51. regulator-name = "vbus_typec";
  52. regulator-always-on;
  53. vin-supply = <&vcc5v0_sys>;
  54. };
  55. };
  56. &gmac {
  57. assigned-clock-parents = <&clkin_gmac>;
  58. clock_in_out = "input";
  59. phy-mode = "rgmii";
  60. pinctrl-names = "default";
  61. pinctrl-0 = <&rgmii_pins>;
  62. snps,reset-active-low;
  63. snps,reset-delays-us = <0 10000 50000>;
  64. tx_delay = <0x28>;
  65. rx_delay = <0x11>;
  66. status = "okay";
  67. };
  68. &hdmi {
  69. status = "okay";
  70. };
  71. &pwm0 {
  72. status = "okay";
  73. };
  74. &pwm2 {
  75. status = "okay";
  76. };
  77. &sdio0 {
  78. bus-width = <4>;
  79. cap-sd-highspeed;
  80. cap-sdio-irq;
  81. keep-power-in-suspend;
  82. mmc-pwrseq = <&sdio_pwrseq>;
  83. non-removable;
  84. pinctrl-names = "default";
  85. pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
  86. sd-uhs-sdr104;
  87. status = "okay";
  88. };
  89. &sdmmc {
  90. bus-width = <4>;
  91. cap-mmc-highspeed;
  92. cap-sd-highspeed;
  93. disable-wp;
  94. vqmmc-supply = <&vccio_sd>;
  95. pinctrl-names = "default";
  96. pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
  97. status = "okay";
  98. };
  99. &uart0 {
  100. pinctrl-names = "default";
  101. pinctrl-0 = <&uart0_xfer &uart0_cts>;
  102. status = "okay";
  103. };
  104. &uart2 {
  105. status = "okay";
  106. };
  107. &vopb {
  108. status = "okay";
  109. };
  110. &vopb_mmu {
  111. status = "okay";
  112. };
  113. &vopl {
  114. status = "okay";
  115. };
  116. &vopl_mmu {
  117. status = "okay";
  118. };