ae3xx.dts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /dts-v1/;
  2. / {
  3. compatible = "andestech,ae3xx";
  4. #address-cells = <1>;
  5. #size-cells = <1>;
  6. interrupt-parent = <&intc>;
  7. chosen {
  8. stdout-path = &serial0;
  9. };
  10. memory@0 {
  11. device_type = "memory";
  12. reg = <0x00000000 0x40000000>;
  13. };
  14. cpus {
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. cpu@0 {
  18. device_type = "cpu";
  19. compatible = "andestech,n13", "andestech,nds32v3";
  20. reg = <0>;
  21. clock-frequency = <60000000>;
  22. next-level-cache = <&L2>;
  23. };
  24. };
  25. intc: interrupt-controller {
  26. compatible = "andestech,ativic32";
  27. #interrupt-cells = <1>;
  28. interrupt-controller;
  29. };
  30. clock: clk {
  31. #clock-cells = <0>;
  32. compatible = "fixed-clock";
  33. clock-frequency = <30000000>;
  34. };
  35. apb {
  36. compatible = "simple-bus";
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. ranges;
  40. serial0: serial@f0300000 {
  41. compatible = "andestech,uart16550", "ns16550a";
  42. reg = <0xf0300000 0x1000>;
  43. interrupts = <8>;
  44. clock-frequency = <14745600>;
  45. reg-shift = <2>;
  46. reg-offset = <32>;
  47. no-loopback-test = <1>;
  48. };
  49. timer0: timer@f0400000 {
  50. compatible = "andestech,atcpit100";
  51. reg = <0xf0400000 0x1000>;
  52. interrupts = <2>;
  53. clocks = <&clock>;
  54. clock-names = "PCLK";
  55. };
  56. };
  57. ahb {
  58. compatible = "simple-bus";
  59. #address-cells = <1>;
  60. #size-cells = <1>;
  61. ranges;
  62. L2: cache-controller@e0500000 {
  63. compatible = "andestech,atl2c";
  64. reg = <0xe0500000 0x1000>;
  65. cache-unified;
  66. cache-level = <2>;
  67. };
  68. mac0: ethernet@e0100000 {
  69. compatible = "andestech,atmac100";
  70. reg = <0xe0100000 0x1000>;
  71. interrupts = <18>;
  72. };
  73. };
  74. };