1
0

ck810.dts 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /dts-v1/;
  2. / {
  3. model = "qemu.csky.ck810";
  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 = <0x417d>;
  17. hint = <0xe>;
  18. };
  19. };
  20. soc {
  21. #address-cells = <1>;
  22. #size-cells = <1>;
  23. compatible = "simple-bus";
  24. ranges;
  25. intc: interrupt-controller {
  26. compatible = "csky,intc-v1";
  27. reg = <0x1ffff000 0x1000>;
  28. interrupt-controller;
  29. #interrupt-cells = <1>;
  30. };
  31. /* clockevent */
  32. timer0 {
  33. compatible = "snps,dw-apb-timer";
  34. reg = <0x1fffd000 0x1000>;
  35. clocks = <&dummy_apb>;
  36. clock-names = "timer";
  37. interrupts = <1>;
  38. interrupt-parent = <&intc>;
  39. };
  40. /* clocksource */
  41. timer1 {
  42. compatible = "snps,dw-apb-timer";
  43. reg = <0x1fffd014 0x800>;
  44. clocks = <&dummy_apb>;
  45. clock-names = "timer";
  46. interrupts = <2>;
  47. interrupt-parent = <&intc>;
  48. };
  49. serial0 {
  50. compatible = "ns16550a";
  51. reg = <0x1fffe000 0x1000>;
  52. interrupt-parent = <&intc>;
  53. interrupts = <3>;
  54. clocks = <&dummy_apb>;
  55. baud = <115200>;
  56. reg-shift = <2>;
  57. reg-io-width = <1>;
  58. };
  59. dummy_apb: apb-clock {
  60. compatible = "fixed-clock";
  61. clock-frequency = <40000000>;
  62. clock-output-names = "dummy_apb";
  63. #clock-cells = <0>;
  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 rdinit=/sbin/init root=/dev/ram0";
  84. };
  85. };