hip01.dtsi 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /*
  2. * Hisilicon Ltd. HiP01 SoC
  3. *
  4. * Copyright (c) 2014 Hisilicon Ltd.
  5. * Copyright (c) 2014 Huawei Ltd.
  6. *
  7. * Author: Wang Long <long.wanglong@huawei.com>
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2 as
  11. * published by the Free Software Foundation.
  12. */
  13. #include "skeleton.dtsi"
  14. / {
  15. interrupt-parent = <&gic>;
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. gic: interrupt-controller@1e001000 {
  19. compatible = "arm,cortex-a9-gic";
  20. #interrupt-cells = <3>;
  21. #address-cells = <0>;
  22. interrupt-controller;
  23. reg = <0x1a001000 0x1000>, <0x1a000100 0x1000>;
  24. };
  25. hisi_refclk144mhz: refclk144mkhz {
  26. compatible = "fixed-clock";
  27. #clock-cells = <0>;
  28. clock-frequency = <144000000>;
  29. clock-output-names = "hisi:refclk144khz";
  30. };
  31. soc {
  32. #address-cells = <1>;
  33. #size-cells = <1>;
  34. compatible = "simple-bus";
  35. interrupt-parent = <&gic>;
  36. ranges = <0 0x10000000 0x20000000>;
  37. amba {
  38. #address-cells = <1>;
  39. #size-cells = <1>;
  40. compatible = "simple-bus";
  41. ranges;
  42. uart0: uart@10001000 {
  43. compatible = "snps,dw-apb-uart";
  44. reg = <0x10001000 0x1000>;
  45. clocks = <&hisi_refclk144mhz>;
  46. clock-names = "apb_pclk";
  47. reg-shift = <2>;
  48. interrupts = <0 32 4>;
  49. status = "disabled";
  50. };
  51. uart1: uart@10002000 {
  52. compatible = "snps,dw-apb-uart";
  53. reg = <0x10002000 0x1000>;
  54. clocks = <&hisi_refclk144mhz>;
  55. clock-names = "apb_pclk";
  56. reg-shift = <2>;
  57. interrupts = <0 33 4>;
  58. status = "disabled";
  59. };
  60. uart2: uart@10003000 {
  61. compatible = "snps,dw-apb-uart";
  62. reg = <0x10003000 0x1000>;
  63. clocks = <&hisi_refclk144mhz>;
  64. clock-names = "apb_pclk";
  65. reg-shift = <2>;
  66. interrupts = <0 34 4>;
  67. status = "disabled";
  68. };
  69. uart3: uart@10006000 {
  70. compatible = "snps,dw-apb-uart";
  71. reg = <0x10006000 0x1000>;
  72. clocks = <&hisi_refclk144mhz>;
  73. clock-names = "apb_pclk";
  74. reg-shift = <2>;
  75. interrupts = <0 4 4>;
  76. status = "disabled";
  77. };
  78. };
  79. system-controller@10000000 {
  80. compatible = "hisilicon,hip01-sysctrl", "hisilicon,sysctrl";
  81. reg = <0x10000000 0x1000>;
  82. reboot-offset = <0x4>;
  83. };
  84. global_timer@0a000200 {
  85. compatible = "arm,cortex-a9-global-timer";
  86. reg = <0x0a000200 0x100>;
  87. interrupts = <1 11 0xf04>;
  88. clocks = <&hisi_refclk144mhz>;
  89. };
  90. local_timer@0a000600 {
  91. compatible = "arm,cortex-a9-twd-timer";
  92. reg = <0x0a000600 0x100>;
  93. interrupts = <1 13 0xf04>;
  94. clocks = <&hisi_refclk144mhz>;
  95. };
  96. };
  97. };