ae3xx.dts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /dts-v1/;
  2. / {
  3. compatible = "nds32 ae3xx";
  4. #address-cells = <1>;
  5. #size-cells = <1>;
  6. interrupt-parent = <&intc>;
  7. aliases {
  8. uart0 = &serial0;
  9. } ;
  10. chosen {
  11. /* bootargs = "console=ttyS0,38400n8 earlyprintk=uart8250-32bit,0xf0300000 debug bootmem_debug memblock=debug loglevel=7"; */
  12. bootargs = "console=ttyS0,38400n8 earlyprintk=uart8250-32bit,0xf0300000 debug loglevel=7";
  13. stdout-path = "uart0:38400n8";
  14. tick-timer = &timer0;
  15. };
  16. memory@0 {
  17. device_type = "memory";
  18. reg = <0x00000000 0x40000000>;
  19. };
  20. cpus {
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23. cpu@0 {
  24. compatible = "andestech,n13";
  25. reg = <0>;
  26. /* FIXME: to fill correct frqeuency */
  27. clock-frequency = <60000000>;
  28. };
  29. };
  30. intc: interrupt-controller {
  31. compatible = "andestech,atnointc010";
  32. #interrupt-cells = <1>;
  33. interrupt-controller;
  34. };
  35. serial0: serial@f0300000 {
  36. compatible = "andestech,uart16550", "ns16550a";
  37. reg = <0xf0300000 0x1000>;
  38. interrupts = <7 4>;
  39. clock-frequency = <14745600>;
  40. reg-shift = <2>;
  41. reg-offset = <32>;
  42. no-loopback-test = <1>;
  43. };
  44. timer0: timer@f0400000 {
  45. compatible = "andestech,atcpit100";
  46. reg = <0xf0400000 0x1000>;
  47. interrupts = <2 4>;
  48. clock-frequency = <30000000>;
  49. };
  50. nor@0,0 {
  51. compatible = "cfi-flash";
  52. reg = <0x88000000 0x1000>;
  53. bank-width = <2>;
  54. device-width = <1>;
  55. };
  56. };