ice-c910.dts 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /dts-v1/;
  2. / {
  3. model = "T-HEAD c910 ice";
  4. compatible = "thead,c910_ice";
  5. #address-cells = <2>;
  6. #size-cells = <2>;
  7. memory@0 {
  8. device_type = "memory";
  9. reg = <0x0 0x0 0x1 0x0>;
  10. };
  11. cpus {
  12. #address-cells = <1>;
  13. #size-cells = <0>;
  14. timebase-frequency = <3000000>;
  15. u-boot,dm-pre-reloc;
  16. cpu@0 {
  17. device_type = "cpu";
  18. reg = <0>;
  19. status = "okay";
  20. compatible = "riscv";
  21. riscv,isa = "rv64imafdcvsu";
  22. mmu-type = "riscv,sv39";
  23. u-boot,dm-pre-reloc;
  24. };
  25. };
  26. soc {
  27. #address-cells = <2>;
  28. #size-cells = <2>;
  29. compatible = "simple-bus";
  30. ranges;
  31. u-boot,dm-pre-reloc;
  32. dummy_apb: apb-clock {
  33. compatible = "fixed-clock";
  34. clock-frequency = <62500000>;
  35. clock-output-names = "dummy_apb";
  36. #clock-cells = <0>;
  37. u-boot,dm-pre-reloc;
  38. };
  39. serial@3fff73000 {
  40. compatible = "snps,dw-apb-uart";
  41. reg = <0x3 0xfff73000 0x0 0x400>;
  42. clock-frequency = <62500000>;
  43. clock-names = "baudclk";
  44. reg-shift = <2>;
  45. reg-io-width = <4>;
  46. u-boot,dm-pre-reloc;
  47. };
  48. mmc: mmc0@3fffb0000 {
  49. compatible = "snps,dw-mshc";
  50. reg = <0x3 0xfffb0000 0x0 0x400>;
  51. bus-width = <8>;
  52. clocks = <&dummy_apb>, <&dummy_apb>;
  53. clock-names = "biu", "ciu";
  54. max-frequency = <20000000>;
  55. fifo-mode;
  56. u-boot,dm-pre-reloc;
  57. };
  58. gmac: ethernet@3fffc0000 {
  59. compatible = "snps,dwmac";
  60. reg = <0x3 0xfffc0000 0x0 0x2000>;
  61. clocks = <&dummy_apb>;
  62. clock-names = "stmmaceth";
  63. snps,pbl = <32>;
  64. snps,fixed-burst;
  65. max-speed = <100>;
  66. phy-mode = "mii";
  67. phy-handle = <&phy_88E1111>;
  68. mdio0 {
  69. #address-cells = <1>;
  70. #size-cells = <0>;
  71. compatible = "snps,dwmac-mdio";
  72. phy_88E1111: ethernet-phy@0 {
  73. reg = <0x0 0x0>;
  74. };
  75. };
  76. };
  77. };
  78. chosen {
  79. bootargs = "console=ttyS0,115200 crashkernel=256M-:128M";
  80. linux,initrd-start = <0x0 0x2000000>;
  81. linux,initrd-end = <0x0 0x0>;
  82. stdout-path = "/soc/serial@3fff73000:115200";
  83. };
  84. };