1
0

ck610.dts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /dts-v1/;
  2. / {
  3. model = "qemu.csky.ck610";
  4. compatible = "csky";
  5. #address-cells = <1>;
  6. #size-cells = <1>;
  7. memory {
  8. device_type = "memory";
  9. reg = <0x0 0x1f400000>;
  10. };
  11. cpus {
  12. #address-cells = <0>;
  13. #size-cells = <0>;
  14. cpu {
  15. device_type = "cpu";
  16. ccr = <0x7d>;
  17. hint = <0x1c>;
  18. };
  19. };
  20. soc {
  21. #address-cells = <1>;
  22. #size-cells = <1>;
  23. compatible = "simple-bus";
  24. ranges;
  25. dummy_apb: apb-clock {
  26. compatible = "fixed-clock";
  27. clock-frequency = <40000000>;
  28. clock-output-names = "dummy_apb";
  29. #clock-cells = <0>;
  30. };
  31. intc: interrupt-controller {
  32. compatible = "csky,intc-v1";
  33. reg = <0x1ffff000 0x1000>;
  34. interrupt-controller;
  35. #interrupt-cells = <1>;
  36. };
  37. /* clockevent */
  38. timer0 {
  39. compatible = "snps,dw-apb-timer";
  40. reg = <0x1fffd000 0x1000>;
  41. clocks = <&dummy_apb>;
  42. clock-names = "timer";
  43. interrupts = <1>;
  44. interrupt-parent = <&intc>;
  45. };
  46. /* clocksource */
  47. timer1 {
  48. compatible = "snps,dw-apb-timer";
  49. reg = <0x1fffd014 0x800>;
  50. clocks = <&dummy_apb>;
  51. clock-names = "timer";
  52. interrupts = <2>;
  53. interrupt-parent = <&intc>;
  54. };
  55. serial0 {
  56. compatible = "ns16550a";
  57. reg = <0x1fffe000 0x1000>;
  58. interrupt-parent = <&intc>;
  59. interrupts = <3>;
  60. clocks = <&dummy_apb>;
  61. baud = <115200>;
  62. reg-shift = <2>;
  63. reg-io-width = <1>;
  64. };
  65. gmac: ethernet {
  66. compatible = "snps,dwmac";
  67. reg = <0x1fffa000 0x2000>;
  68. interrupt-parent = <&intc>;
  69. interrupts = <4>;
  70. interrupt-names = "macirq";
  71. clocks = <&dummy_apb>;
  72. clock-names = "stmmaceth";
  73. phy-mode = "mii";
  74. snps,pbl = <32>;
  75. snps,fixed-burst;
  76. };
  77. qemu-exit {
  78. compatible = "csky,qemu-exit";
  79. reg = <0x1fffc000 0x1000>;
  80. };
  81. };
  82. chosen {
  83. bootargs = "console=ttyS0,115200";
  84. };
  85. };