2
0

0129-arm64-dts-qcom-ipq8074-add-QFPROM-fuses.patch 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. From 04d2fc6a551bbd972a6428059b45ce79cb9de9d7 Mon Sep 17 00:00:00 2001
  2. From: Robert Marko <[email protected]>
  3. Date: Fri, 6 May 2022 22:38:24 +0200
  4. Subject: [PATCH] arm64: dts: qcom: ipq8074: add QFPROM fuses
  5. Add the QFPROM node and CPR fuses.
  6. Signed-off-by: Robert Marko <[email protected]>
  7. ---
  8. arch/arm64/boot/dts/qcom/ipq8074.dtsi | 107 ++++++++++++++++++++++++++
  9. 1 file changed, 107 insertions(+)
  10. --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
  11. +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
  12. @@ -349,6 +349,106 @@
  13. reg = <0x000a4000 0x2000>;
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. +
  17. + cpr_efuse_speedbin: speedbin@125 {
  18. + reg = <0x125 0x1>;
  19. + bits = <0 3>;
  20. + };
  21. +
  22. + cpr_efuse_boost_cfg: boost_cfg@125 {
  23. + reg = <0x125 0x1>;
  24. + bits = <3 3>;
  25. + };
  26. +
  27. + cpr_efuse_misc_volt_adj: misc_volt_adj@125 {
  28. + reg = <0x125 0x1>;
  29. + bits = <3 3>;
  30. + };
  31. +
  32. + cpr_efuse_boost_volt: boost_volt@126 {
  33. + reg = <0x126 0x1>;
  34. + bits = <6 1>;
  35. + };
  36. +
  37. + cpr_efuse_revision: revision@23e {
  38. + reg = <0x23e 0x1>;
  39. + bits = <5 3>;
  40. + };
  41. +
  42. + cpr_efuse_ro_sel0: rosel0@249 {
  43. + reg = <0x249 0x1>;
  44. + bits = <0 4>;
  45. + };
  46. +
  47. + cpr_efuse_ro_sel1: rosel1@248 {
  48. + reg = <0x248 0x1>;
  49. + bits = <4 4>;
  50. + };
  51. +
  52. + cpr_efuse_ro_sel2: rosel2@248 {
  53. + reg = <0x248 0x2>;
  54. + bits = <0 4>;
  55. + };
  56. +
  57. + cpr_efuse_ro_sel3: rosel3@249 {
  58. + reg = <0x249 0x1>;
  59. + bits = <4 4>;
  60. + };
  61. +
  62. + cpr_efuse_init_voltage0: ivoltage0@23a {
  63. + reg = <0x23a 0x1>;
  64. + bits = <2 6>;
  65. + };
  66. +
  67. + cpr_efuse_init_voltage1: ivoltage1@239 {
  68. + reg = <0x239 0x2>;
  69. + bits = <4 6>;
  70. + };
  71. +
  72. + cpr_efuse_init_voltage2: ivoltage2@238 {
  73. + reg = <0x238 0x2>;
  74. + bits = <6 6>;
  75. + };
  76. +
  77. + cpr_efuse_init_voltage3: ivoltage3@238 {
  78. + reg = <0x238 0x1>;
  79. + bits = <0 6>;
  80. + };
  81. +
  82. + cpr_efuse_quot0: quot0@244 {
  83. + reg = <0x244 0x2>;
  84. + bits = <0 12>;
  85. + };
  86. +
  87. + cpr_efuse_quot1: quot1@242 {
  88. + reg = <0x242 0x2>;
  89. + bits = <4 12>;
  90. + };
  91. +
  92. + cpr_efuse_quot2: quot2@241 {
  93. + reg = <0x241 0x2>;
  94. + bits = <0 12>;
  95. + };
  96. +
  97. + cpr_efuse_quot3: quot3@245 {
  98. + reg = <0x245 0x2>;
  99. + bits = <4 12>;
  100. + };
  101. +
  102. + cpr_efuse_quot0_offset: quot0_offset@23d {
  103. + reg = <0x23d 0x2>;
  104. + bits = <6 7>;
  105. + };
  106. +
  107. + cpr_efuse_quot1_offset: quot1_offset@23c {
  108. + reg = <0x23c 0x2>;
  109. + bits = <7 7>;
  110. + };
  111. +
  112. + cpr_efuse_quot2_offset: quot2_offset@23c {
  113. + reg = <0x23c 0x1>;
  114. + bits = <0 7>;
  115. + };
  116. };
  117. prng: rng@e3000 {