nuvoton-npcm845.dtsi 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. // SPDX-License-Identifier: GPL-2.0
  2. // Copyright (c) 2021 Nuvoton Technology [email protected]
  3. #include "nuvoton-common-npcm8xx.dtsi"
  4. / {
  5. #address-cells = <2>;
  6. #size-cells = <2>;
  7. cpus {
  8. #address-cells = <2>;
  9. #size-cells = <0>;
  10. cpu0: cpu@0 {
  11. device_type = "cpu";
  12. compatible = "arm,cortex-a35";
  13. clocks = <&clk NPCM8XX_CLK_CPU>;
  14. reg = <0x0 0x0>;
  15. next-level-cache = <&l2>;
  16. enable-method = "psci";
  17. };
  18. cpu1: cpu@1 {
  19. device_type = "cpu";
  20. compatible = "arm,cortex-a35";
  21. clocks = <&clk NPCM8XX_CLK_CPU>;
  22. reg = <0x0 0x1>;
  23. next-level-cache = <&l2>;
  24. enable-method = "psci";
  25. };
  26. cpu2: cpu@2 {
  27. device_type = "cpu";
  28. compatible = "arm,cortex-a35";
  29. clocks = <&clk NPCM8XX_CLK_CPU>;
  30. reg = <0x0 0x2>;
  31. next-level-cache = <&l2>;
  32. enable-method = "psci";
  33. };
  34. cpu3: cpu@3 {
  35. device_type = "cpu";
  36. compatible = "arm,cortex-a35";
  37. clocks = <&clk NPCM8XX_CLK_CPU>;
  38. reg = <0x0 0x3>;
  39. next-level-cache = <&l2>;
  40. enable-method = "psci";
  41. };
  42. l2: l2-cache {
  43. compatible = "cache";
  44. };
  45. };
  46. arm-pmu {
  47. compatible = "arm,cortex-a35-pmu";
  48. interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>,
  49. <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>,
  50. <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
  51. <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>;
  52. interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
  53. };
  54. psci {
  55. compatible = "arm,psci-1.0";
  56. method = "smc";
  57. };
  58. timer {
  59. compatible = "arm,armv8-timer";
  60. interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  61. <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  62. <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  63. <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
  64. };
  65. };