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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. @@ -340,6 +340,113 @@
  13. status = "disabled";
  14. };
  15. + qfprom: efuse@a4000 {
  16. + compatible = "qcom,ipq8074-qfprom", "qcom,qfprom";
  17. + reg = <0x000a4000 0x1000>;
  18. + #address-cells = <1>;
  19. + #size-cells = <1>;
  20. +
  21. + cpr_efuse_speedbin: speedbin@125 {
  22. + reg = <0x125 0x1>;
  23. + bits = <0 3>;
  24. + };
  25. +
  26. + cpr_efuse_boost_cfg: boost_cfg@125 {
  27. + reg = <0x125 0x1>;
  28. + bits = <3 3>;
  29. + };
  30. +
  31. + cpr_efuse_misc_volt_adj: misc_volt_adj@125 {
  32. + reg = <0x125 0x1>;
  33. + bits = <3 3>;
  34. + };
  35. +
  36. + cpr_efuse_boost_volt: boost_volt@126 {
  37. + reg = <0x126 0x1>;
  38. + bits = <6 1>;
  39. + };
  40. +
  41. + cpr_efuse_revision: revision@23e {
  42. + reg = <0x23e 0x1>;
  43. + bits = <5 3>;
  44. + };
  45. +
  46. + cpr_efuse_ro_sel0: rosel0@249 {
  47. + reg = <0x249 0x1>;
  48. + bits = <0 4>;
  49. + };
  50. +
  51. + cpr_efuse_ro_sel1: rosel1@248 {
  52. + reg = <0x248 0x1>;
  53. + bits = <4 4>;
  54. + };
  55. +
  56. + cpr_efuse_ro_sel2: rosel2@248 {
  57. + reg = <0x248 0x2>;
  58. + bits = <0 4>;
  59. + };
  60. +
  61. + cpr_efuse_ro_sel3: rosel3@249 {
  62. + reg = <0x249 0x1>;
  63. + bits = <4 4>;
  64. + };
  65. +
  66. + cpr_efuse_init_voltage0: ivoltage0@23a {
  67. + reg = <0x23a 0x1>;
  68. + bits = <2 6>;
  69. + };
  70. +
  71. + cpr_efuse_init_voltage1: ivoltage1@239 {
  72. + reg = <0x239 0x2>;
  73. + bits = <4 6>;
  74. + };
  75. +
  76. + cpr_efuse_init_voltage2: ivoltage2@238 {
  77. + reg = <0x238 0x2>;
  78. + bits = <6 6>;
  79. + };
  80. +
  81. + cpr_efuse_init_voltage3: ivoltage3@238 {
  82. + reg = <0x238 0x1>;
  83. + bits = <0 6>;
  84. + };
  85. +
  86. + cpr_efuse_quot0: quot0@244 {
  87. + reg = <0x244 0x2>;
  88. + bits = <0 12>;
  89. + };
  90. +
  91. + cpr_efuse_quot1: quot1@242 {
  92. + reg = <0x242 0x2>;
  93. + bits = <4 12>;
  94. + };
  95. +
  96. + cpr_efuse_quot2: quot2@241 {
  97. + reg = <0x241 0x2>;
  98. + bits = <0 12>;
  99. + };
  100. +
  101. + cpr_efuse_quot3: quot3@245 {
  102. + reg = <0x245 0x2>;
  103. + bits = <4 12>;
  104. + };
  105. +
  106. + cpr_efuse_quot0_offset: quot0_offset@23d {
  107. + reg = <0x23d 0x2>;
  108. + bits = <6 7>;
  109. + };
  110. +
  111. + cpr_efuse_quot1_offset: quot1_offset@23c {
  112. + reg = <0x23c 0x2>;
  113. + bits = <7 7>;
  114. + };
  115. +
  116. + cpr_efuse_quot2_offset: quot2_offset@23c {
  117. + reg = <0x23c 0x1>;
  118. + bits = <0 7>;
  119. + };
  120. + };
  121. +
  122. prng: rng@e3000 {
  123. compatible = "qcom,prng-ee";
  124. reg = <0x000e3000 0x1000>;