starfive_visionfive.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. // SPDX-License-Identifier: GPL-2.0 OR MIT
  2. /*
  3. * Copyright (C) 2022 StarFive Technology Co., Ltd.
  4. */
  5. /dts-v1/;
  6. #include "jh7110.dtsi"
  7. / {
  8. #address-cells = <2>;
  9. #size-cells = <2>;
  10. model = "StarFive VisionFive V2";
  11. compatible = "starfive,jh7110";
  12. aliases {
  13. spi0="/soc/spi@13010000";
  14. gpio0="/soc/gpio@13040000";
  15. ethernet0="/soc/ethernet@16030000";
  16. mmc0="/soc/sdio0@16010000";
  17. mmc1="/soc/sdio1@16020000";
  18. };
  19. chosen {
  20. stdout-path = "/soc/serial@10000000:115200";
  21. };
  22. memory@80000000 {
  23. device_type = "memory";
  24. reg = <0x0 0x40000000 0x1 0x0>;
  25. };
  26. soc {
  27. };
  28. };
  29. &cpu0 {
  30. status = "okay";
  31. };
  32. &clkgen {
  33. clocks = <&osc>, <&gmac1_rmii_refin>,
  34. <&stg_apb>, <&gmac0_rmii_refin>;
  35. clock-names = "osc", "gmac1_rmii_refin",
  36. "stg_apb", "gmac0_rmii_refin";
  37. };
  38. &sdio0 {
  39. clock-frequency = <4000000>;
  40. max-frequency = <1000000>;
  41. bus-width = <8>;
  42. status = "okay";
  43. };
  44. &sdio1 {
  45. clock-frequency = <4000000>;
  46. max-frequency = <1000000>;
  47. bus-width = <4>;
  48. status = "okay";
  49. };
  50. &gmac0 {
  51. phy-reset-gpios = <&gpio 63 0>;
  52. status = "okay";
  53. };
  54. &gpio {
  55. compatible = "starfive,jh7110-gpio";
  56. gpio-controller;
  57. };
  58. &uart0 {
  59. reg-offset = <0>;
  60. current-speed = <115200>;
  61. status = "okay";
  62. };
  63. &gpioa {
  64. status = "disabled";
  65. };
  66. &usbdrd30 {
  67. status = "okay";
  68. };
  69. &usbdrd_cdns3 {
  70. dr_mode = "host";
  71. };
  72. &timer {
  73. status = "disabled";
  74. };
  75. &wdog {
  76. status = "disabled";
  77. };
  78. &clkvout {
  79. status = "disabled";
  80. };
  81. &pdm {
  82. status = "disabled";
  83. };