anole-mii-c860.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /dts-v1/;
  2. / {
  3. model = "csky anole_c860smp";
  4. compatible = "csky,anole_c860smp";
  5. #address-cells = <1>;
  6. #size-cells = <1>;
  7. memory {
  8. device_type = "memory";
  9. reg = <0x00000000 0x40000000>;
  10. };
  11. cpus {
  12. #address-cells = <1>;
  13. #size-cells = <0>;
  14. timebase-frequency = <50000000>;
  15. cpu@0 {
  16. device_type = "cpu";
  17. reg = <0>;
  18. status = "okay";
  19. compatible = "csky";
  20. csky,isa = "Unknown";
  21. };
  22. };
  23. soc {
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. compatible = "simple-bus";
  27. ranges;
  28. intc: interrupt-controller {
  29. compatible = "csky,mpintc";
  30. interrupt-controller;
  31. #interrupt-cells = <1>;
  32. };
  33. dummy_clk_ahb: dummy-clk-ahb {
  34. compatible = "fixed-clock";
  35. clock-frequency = <250000000>;
  36. clock-output-names = "dummy_clk_ahb";
  37. #clock-cells = <0>;
  38. };
  39. /* Actually is 100M, before turning, set as 150M to get div=2*2 */
  40. dummy_clk_sdio: dummy-clk-sdio {
  41. compatible = "fixed-clock";
  42. clock-frequency = <100000000>;
  43. clock-output-names = "dummy_clk_sdio";
  44. #clock-cells = <0>;
  45. };
  46. serial@bff73000 {
  47. compatible = "snps,dw-apb-uart";
  48. reg = <0xbff73000 0x400>;
  49. interrupt-parent = <&intc>;
  50. interrupts = <39>;
  51. clock-frequency = <62500000>;
  52. clock-names = "baudclk";
  53. reg-shift = <2>;
  54. reg-io-width = <4>;
  55. };
  56. mmc: mmc0@bffb0000 {
  57. compatible = "snps,dw-mshc";
  58. reg = <0xbffb0000 0x400>;
  59. bus-width = <8>;
  60. clocks = <&dummy_clk_sdio>, <&dummy_clk_sdio>;
  61. clock-names = "biu", "ciu";
  62. max-frequency = <25000000>;
  63. };
  64. gmac: ethernet@bffc0000 {
  65. compatible = "snps,arc-dwmac-3.70a";
  66. reg = <0xbffc0000 0x2000>;
  67. interrupt-parent = <&intc>;
  68. interrupts = <56>;
  69. interrupt-names = "macirq";
  70. clocks = <&dummy_clk_ahb>;
  71. clock-names = "stmmaceth";
  72. snps,pbl = <32>;
  73. snps,fixed-burst;
  74. phy-mode = "mii";
  75. phy-handle = <&eth_phy_0>;
  76. max-speed = <100>;
  77. mdio0 {
  78. #address-cells = <1>;
  79. #size-cells = <0>;
  80. compatible = "snps,dwmac-mdio";
  81. eth_phy_0: ethernet-phy@0 {
  82. reg = <0>;
  83. };
  84. };
  85. };
  86. };
  87. chosen {
  88. bootargs = "console=ttyS0,115200";
  89. stdout-path = "/soc/serial@bff73000:115200";
  90. };
  91. };