jz4780.dtsi 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. #include <dt-bindings/clock/jz4780-cgu.h>
  2. / {
  3. #address-cells = <1>;
  4. #size-cells = <1>;
  5. compatible = "ingenic,jz4780";
  6. cpuintc: interrupt-controller {
  7. #address-cells = <0>;
  8. #interrupt-cells = <1>;
  9. interrupt-controller;
  10. compatible = "mti,cpu-interrupt-controller";
  11. };
  12. intc: interrupt-controller@10001000 {
  13. compatible = "ingenic,jz4780-intc";
  14. reg = <0x10001000 0x50>;
  15. interrupt-controller;
  16. #interrupt-cells = <1>;
  17. interrupt-parent = <&cpuintc>;
  18. interrupts = <2>;
  19. };
  20. ext: ext {
  21. compatible = "fixed-clock";
  22. #clock-cells = <0>;
  23. };
  24. rtc: rtc {
  25. compatible = "fixed-clock";
  26. #clock-cells = <0>;
  27. clock-frequency = <32768>;
  28. };
  29. cgu: jz4780-cgu@10000000 {
  30. compatible = "ingenic,jz4780-cgu";
  31. reg = <0x10000000 0x100>;
  32. clocks = <&ext>, <&rtc>;
  33. clock-names = "ext", "rtc";
  34. #clock-cells = <1>;
  35. };
  36. uart0: serial@10030000 {
  37. compatible = "ingenic,jz4780-uart";
  38. reg = <0x10030000 0x100>;
  39. interrupt-parent = <&intc>;
  40. interrupts = <51>;
  41. clocks = <&ext>, <&cgu JZ4780_CLK_UART0>;
  42. clock-names = "baud", "module";
  43. status = "disabled";
  44. };
  45. uart1: serial@10031000 {
  46. compatible = "ingenic,jz4780-uart";
  47. reg = <0x10031000 0x100>;
  48. interrupt-parent = <&intc>;
  49. interrupts = <50>;
  50. clocks = <&ext>, <&cgu JZ4780_CLK_UART1>;
  51. clock-names = "baud", "module";
  52. status = "disabled";
  53. };
  54. uart2: serial@10032000 {
  55. compatible = "ingenic,jz4780-uart";
  56. reg = <0x10032000 0x100>;
  57. interrupt-parent = <&intc>;
  58. interrupts = <49>;
  59. clocks = <&ext>, <&cgu JZ4780_CLK_UART2>;
  60. clock-names = "baud", "module";
  61. status = "disabled";
  62. };
  63. uart3: serial@10033000 {
  64. compatible = "ingenic,jz4780-uart";
  65. reg = <0x10033000 0x100>;
  66. interrupt-parent = <&intc>;
  67. interrupts = <48>;
  68. clocks = <&ext>, <&cgu JZ4780_CLK_UART3>;
  69. clock-names = "baud", "module";
  70. status = "disabled";
  71. };
  72. uart4: serial@10034000 {
  73. compatible = "ingenic,jz4780-uart";
  74. reg = <0x10034000 0x100>;
  75. interrupt-parent = <&intc>;
  76. interrupts = <34>;
  77. clocks = <&ext>, <&cgu JZ4780_CLK_UART4>;
  78. clock-names = "baud", "module";
  79. status = "disabled";
  80. };
  81. };