Advertisement
Guest User

0021-arm64-dts-allwinner-h6-OPi3-stability-LE10.patch

a guest
Sep 19th, 2021
158
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
  2. +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
  3. @@ -74,26 +74,6 @@
  4.         gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>; /* PD6 */
  5.     };
  6.  
  7. -   reg_vcc33_wifi: vcc33-wifi {
  8. -       /* Always on 3.3V regulator for WiFi and BT */
  9. -       compatible = "regulator-fixed";
  10. -       regulator-name = "vcc33-wifi";
  11. -       regulator-min-microvolt = <3300000>;
  12. -       regulator-max-microvolt = <3300000>;
  13. -       regulator-always-on;
  14. -       vin-supply = <&reg_vcc5v>;
  15. -   };
  16. -
  17. -   reg_vcc_wifi_io: vcc-wifi-io {
  18. -       /* Always on 1.8V/300mA regulator for WiFi and BT IO */
  19. -       compatible = "regulator-fixed";
  20. -       regulator-name = "vcc-wifi-io";
  21. -       regulator-min-microvolt = <1800000>;
  22. -       regulator-max-microvolt = <1800000>;
  23. -       regulator-always-on;
  24. -       vin-supply = <&reg_vcc33_wifi>;
  25. -   };
  26. -
  27.     wifi_pwrseq: wifi-pwrseq {
  28.         compatible = "mmc-pwrseq-simple";
  29.         clocks = <&rtc 1>;
  30. @@ -175,8 +155,8 @@
  31.  };
  32.  
  33.  &mmc1 {
  34. -   vmmc-supply = <&reg_vcc33_wifi>;
  35. -   vqmmc-supply = <&reg_vcc_wifi_io>;
  36. +   vmmc-supply = <&reg_cldo2>;
  37. +   vqmmc-supply = <&reg_bldo3>;
  38.     mmc-pwrseq = <&wifi_pwrseq>;
  39.     bus-width = <4>;
  40.     non-removable;
  41. @@ -211,7 +191,7 @@
  42.  &pio {
  43.     vcc-pc-supply = <&reg_bldo2>;
  44.     vcc-pd-supply = <&reg_cldo1>;
  45. -   vcc-pg-supply = <&reg_vcc_wifi_io>;
  46. +   vcc-pg-supply = <&reg_bldo3>;
  47.  };
  48.  
  49.  &r_i2c {
  50. @@ -271,8 +251,11 @@
  51.                 regulator-name = "vcc-efuse-pcie-hdmi-pc";
  52.             };
  53.  
  54. -           bldo3 {
  55. -               /* unused */
  56. +           reg_bldo3: bldo3 {
  57. +               regulator-always-on;
  58. +               regulator-min-microvolt = <1800000>;
  59. +               regulator-max-microvolt = <1800000>;
  60. +               regulator-name = "vcc-dcxoio";
  61.             };
  62.  
  63.             bldo4 {
  64. @@ -286,19 +269,22 @@
  65.                 regulator-name = "vcc33-io-pd-emmc-sd-usb-uart-2";
  66.             };
  67.  
  68. -           cldo2 {
  69. -               /* unused */
  70. +           reg_cldo2: cldo2 {
  71. +               regulator-min-microvolt = <3300000>;
  72. +               regulator-max-microvolt = <3300000>;
  73. +               regulator-name = "vcc-wifi-1";
  74.             };
  75.  
  76. -           cldo3 {
  77. -               /* unused */
  78. +           reg_cldo3: cldo3 {
  79. +               regulator-min-microvolt = <3300000>;
  80. +               regulator-max-microvolt = <3300000>;
  81. +               regulator-name = "vcc-wifi-2";
  82.             };
  83.  
  84.             reg_dcdca: dcdca {
  85.                 regulator-always-on;
  86. -               regulator-min-microvolt = <800000>;
  87. -               regulator-max-microvolt = <1160000>;
  88. -               regulator-ramp-delay = <2500>;
  89. +               regulator-min-microvolt = <810000>;
  90. +               regulator-max-microvolt = <1080000>;
  91.                 regulator-name = "vdd-cpu";
  92.             };
  93.  
  94. @@ -335,6 +321,10 @@
  95.     status = "okay";
  96.  };
  97.  
  98. +&r_pio {
  99. +   vcc-pm-supply = <&reg_bldo3>;
  100. +};
  101. +
  102.  &rtc {
  103.     clocks = <&ext_osc32k>;
  104.  };
  105.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement