bstc1200.dtsi 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <dt-bindings/interrupt-controller/arm-gic.h>
  3. #include <dt-bindings/interrupt-controller/irq.h>
  4. / {
  5. compatible = "bst,c1200";
  6. #address-cells = <2>;
  7. #size-cells = <2>;
  8. cpus {
  9. #address-cells = <1>;
  10. #size-cells = <0>;
  11. cpu@0 {
  12. device_type = "cpu";
  13. compatible = "arm,cortex-a78";
  14. reg = <0x0>;
  15. enable-method = "psci";
  16. next-level-cache = <&l2_cache>;
  17. };
  18. cpu@1 {
  19. device_type = "cpu";
  20. compatible = "arm,cortex-a78";
  21. reg = <0x100>;
  22. enable-method = "psci";
  23. next-level-cache = <&l2_cache>;
  24. };
  25. cpu@2 {
  26. device_type = "cpu";
  27. compatible = "arm,cortex-a78";
  28. reg = <0x200>;
  29. enable-method = "psci";
  30. next-level-cache = <&l2_cache>;
  31. };
  32. cpu@3 {
  33. device_type = "cpu";
  34. compatible = "arm,cortex-a78";
  35. reg = <0x300>;
  36. enable-method = "psci";
  37. next-level-cache = <&l2_cache>;
  38. };
  39. l2_cache: l2-cache {
  40. compatible = "cache";
  41. cache-level = <2>;
  42. cache-unified;
  43. };
  44. };
  45. psci {
  46. compatible = "arm,psci-1.0";
  47. method = "smc";
  48. };
  49. soc {
  50. compatible = "simple-bus";
  51. ranges;
  52. #address-cells = <2>;
  53. #size-cells = <2>;
  54. interrupt-parent = <&gic>;
  55. uart0: serial@20008000 {
  56. compatible = "snps,dw-apb-uart";
  57. reg = <0x0 0x20008000 0x0 0x1000>;
  58. clock-frequency = <25000000>;
  59. interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
  60. reg-shift = <2>;
  61. reg-io-width = <4>;
  62. status = "disabled";
  63. };
  64. gic: interrupt-controller@32800000 {
  65. compatible = "arm,gic-v3";
  66. reg = <0x0 0x32800000 0x0 0x10000>,
  67. <0x0 0x32880000 0x0 0x100000>;
  68. ranges;
  69. #address-cells = <2>;
  70. #size-cells = <2>;
  71. #interrupt-cells = <3>;
  72. interrupt-controller;
  73. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
  74. };
  75. };
  76. timer {
  77. compatible = "arm,armv8-timer";
  78. always-on;
  79. interrupt-parent = <&gic>;
  80. interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
  81. <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
  82. <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
  83. <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
  84. };
  85. };