hip01.dtsi 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * HiSilicon Ltd. HiP01 SoC
  4. *
  5. * Copyright (c) 2014 HiSilicon Ltd.
  6. * Copyright (c) 2014 Huawei Ltd.
  7. *
  8. * Author: Wang Long <[email protected]>
  9. */
  10. / {
  11. interrupt-parent = <&gic>;
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. gic: interrupt-controller@1e001000 {
  15. compatible = "arm,cortex-a9-gic";
  16. #interrupt-cells = <3>;
  17. #address-cells = <0>;
  18. interrupt-controller;
  19. reg = <0x1a001000 0x1000>, <0x1a000100 0x1000>;
  20. };
  21. hisi_refclk144mhz: refclk144mkhz {
  22. compatible = "fixed-clock";
  23. #clock-cells = <0>;
  24. clock-frequency = <144000000>;
  25. clock-output-names = "hisi:refclk144khz";
  26. };
  27. soc {
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. compatible = "simple-bus";
  31. interrupt-parent = <&gic>;
  32. ranges = <0 0x10000000 0x20000000>;
  33. amba-bus {
  34. #address-cells = <1>;
  35. #size-cells = <1>;
  36. compatible = "simple-bus";
  37. ranges;
  38. uart0: serial@10001000 {
  39. compatible = "snps,dw-apb-uart";
  40. reg = <0x10001000 0x1000>;
  41. clocks = <&hisi_refclk144mhz>, <&hisi_refclk144mhz>;
  42. clock-names = "baudclk", "apb_pclk";
  43. reg-shift = <2>;
  44. interrupts = <0 32 4>;
  45. status = "disabled";
  46. };
  47. uart1: serial@10002000 {
  48. compatible = "snps,dw-apb-uart";
  49. reg = <0x10002000 0x1000>;
  50. clocks = <&hisi_refclk144mhz>, <&hisi_refclk144mhz>;
  51. clock-names = "baudclk", "apb_pclk";
  52. reg-shift = <2>;
  53. interrupts = <0 33 4>;
  54. status = "disabled";
  55. };
  56. uart2: serial@10003000 {
  57. compatible = "snps,dw-apb-uart";
  58. reg = <0x10003000 0x1000>;
  59. clocks = <&hisi_refclk144mhz>, <&hisi_refclk144mhz>;
  60. clock-names = "baudclk", "apb_pclk";
  61. reg-shift = <2>;
  62. interrupts = <0 34 4>;
  63. status = "disabled";
  64. };
  65. uart3: serial@10006000 {
  66. compatible = "snps,dw-apb-uart";
  67. reg = <0x10006000 0x1000>;
  68. clocks = <&hisi_refclk144mhz>, <&hisi_refclk144mhz>;
  69. clock-names = "baudclk", "apb_pclk";
  70. reg-shift = <2>;
  71. interrupts = <0 4 4>;
  72. status = "disabled";
  73. };
  74. };
  75. system-controller@10000000 {
  76. compatible = "hisilicon,hip01-sysctrl", "hisilicon,sysctrl";
  77. reg = <0x10000000 0x1000>;
  78. reboot-offset = <0x4>;
  79. };
  80. global_timer@a000200 {
  81. compatible = "arm,cortex-a9-global-timer";
  82. reg = <0x0a000200 0x100>;
  83. interrupts = <1 11 0xf04>;
  84. clocks = <&hisi_refclk144mhz>;
  85. };
  86. local_timer@a000600 {
  87. compatible = "arm,cortex-a9-twd-timer";
  88. reg = <0x0a000600 0x100>;
  89. interrupts = <1 13 0xf04>;
  90. clocks = <&hisi_refclk144mhz>;
  91. };
  92. };
  93. };