meson-gxm.dtsi 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (c) 2016 Endless Computers, Inc.
  4. * Author: Carlo Caione <carlo@endlessm.com>
  5. */
  6. #include "meson-gxl.dtsi"
  7. / {
  8. compatible = "amlogic,meson-gxm";
  9. cpus {
  10. cpu-map {
  11. cluster0 {
  12. core0 {
  13. cpu = <&cpu0>;
  14. };
  15. core1 {
  16. cpu = <&cpu1>;
  17. };
  18. core2 {
  19. cpu = <&cpu2>;
  20. };
  21. core3 {
  22. cpu = <&cpu3>;
  23. };
  24. };
  25. cluster1 {
  26. core0 {
  27. cpu = <&cpu4>;
  28. };
  29. core1 {
  30. cpu = <&cpu5>;
  31. };
  32. core2 {
  33. cpu = <&cpu6>;
  34. };
  35. core3 {
  36. cpu = <&cpu7>;
  37. };
  38. };
  39. };
  40. cpu4: cpu@100 {
  41. device_type = "cpu";
  42. compatible = "arm,cortex-a53", "arm,armv8";
  43. reg = <0x0 0x100>;
  44. enable-method = "psci";
  45. next-level-cache = <&l2>;
  46. clocks = <&scpi_dvfs 1>;
  47. };
  48. cpu5: cpu@101 {
  49. device_type = "cpu";
  50. compatible = "arm,cortex-a53", "arm,armv8";
  51. reg = <0x0 0x101>;
  52. enable-method = "psci";
  53. next-level-cache = <&l2>;
  54. clocks = <&scpi_dvfs 1>;
  55. };
  56. cpu6: cpu@102 {
  57. device_type = "cpu";
  58. compatible = "arm,cortex-a53", "arm,armv8";
  59. reg = <0x0 0x102>;
  60. enable-method = "psci";
  61. next-level-cache = <&l2>;
  62. clocks = <&scpi_dvfs 1>;
  63. };
  64. cpu7: cpu@103 {
  65. device_type = "cpu";
  66. compatible = "arm,cortex-a53", "arm,armv8";
  67. reg = <0x0 0x103>;
  68. enable-method = "psci";
  69. next-level-cache = <&l2>;
  70. clocks = <&scpi_dvfs 1>;
  71. };
  72. };
  73. };
  74. &apb {
  75. usb2_phy2: phy@78040 {
  76. compatible = "amlogic,meson-gxl-usb2-phy";
  77. #phy-cells = <0>;
  78. reg = <0x0 0x78040 0x0 0x20>;
  79. clocks = <&clkc CLKID_USB>;
  80. clock-names = "phy";
  81. resets = <&reset RESET_USB_OTG>;
  82. reset-names = "phy";
  83. status = "okay";
  84. };
  85. };
  86. &clkc_AO {
  87. compatible = "amlogic,meson-gxm-aoclkc", "amlogic,meson-gx-aoclkc";
  88. };
  89. &saradc {
  90. compatible = "amlogic,meson-gxm-saradc", "amlogic,meson-saradc";
  91. };
  92. &scpi_dvfs {
  93. clock-indices = <0 1>;
  94. clock-output-names = "vbig", "vlittle";
  95. };
  96. &vpu {
  97. compatible = "amlogic,meson-gxm-vpu", "amlogic,meson-gx-vpu";
  98. };
  99. &hdmi_tx {
  100. compatible = "amlogic,meson-gxm-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
  101. };
  102. &dwc3 {
  103. phys = <&usb3_phy>, <&usb2_phy0>, <&usb2_phy1>, <&usb2_phy2>;
  104. };