103-dt-enable-regulator.patch 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. --- a/arch/arm/boot/dts/imx23.dtsi
  2. +++ b/arch/arm/boot/dts/imx23.dtsi
  3. @@ -404,8 +404,46 @@
  4. };
  5. power@80044000 {
  6. + compatible = "fsl,imx23-power", "syscon";
  7. reg = <0x80044000 0x2000>;
  8. - status = "disabled";
  9. + interrupts = <3>;
  10. +
  11. + dcdc: regulator@1 {
  12. + compatible = "fsl,imx23-dcdc";
  13. + regulator-name = "dcdc";
  14. + regulator-boot-on;
  15. + regulator-always-on;
  16. + };
  17. +
  18. + reg_vddd: regulator@2 {
  19. + compatible = "fsl,imx23-vddd";
  20. + regulator-name = "vddd";
  21. + regulator-min-microvolt = <1350000>;
  22. + regulator-max-microvolt = <1550000>;
  23. + vddd-supply = <&reg_vdda>;
  24. + regulator-boot-on;
  25. + regulator-always-on;
  26. + };
  27. +
  28. + reg_vdda: regulator@3 {
  29. + compatible = "fsl,imx23-vdda";
  30. + regulator-name = "vdda";
  31. + regulator-min-microvolt = <1725000>;
  32. + regulator-max-microvolt = <1950000>;
  33. + vdda-supply = <&reg_vddio>;
  34. + regulator-boot-on;
  35. + regulator-always-on;
  36. + };
  37. +
  38. + reg_vddio: regulator@4 {
  39. + compatible = "fsl,imx23-vddio";
  40. + regulator-name = "vddio";
  41. + regulator-min-microvolt = <3000000>;
  42. + regulator-max-microvolt = <3575000>;
  43. + regulator-microvolt-offset = <80000>;
  44. + regulator-boot-on;
  45. + regulator-always-on;
  46. + };
  47. };
  48. saif1: saif@80046000 {
  49. --- a/arch/arm/boot/dts/imx28.dtsi
  50. +++ b/arch/arm/boot/dts/imx28.dtsi
  51. @@ -1035,8 +1035,46 @@
  52. };
  53. power: power@80044000 {
  54. + compatible = "fsl,imx28-power", "syscon";
  55. reg = <0x80044000 0x2000>;
  56. - status = "disabled";
  57. + interrupts = <6>;
  58. +
  59. + dcdc: regulator@1 {
  60. + compatible = "fsl,imx28-dcdc";
  61. + regulator-name = "dcdc";
  62. + regulator-boot-on;
  63. + regulator-always-on;
  64. + };
  65. +
  66. + reg_vddd: regulator@2 {
  67. + compatible = "fsl,imx28-vddd";
  68. + regulator-name = "vddd";
  69. + regulator-min-microvolt = <1350000>;
  70. + regulator-max-microvolt = <1550000>;
  71. + vddd-supply = <&reg_vdda>;
  72. + regulator-boot-on;
  73. + regulator-always-on;
  74. + };
  75. +
  76. + reg_vdda: regulator@3 {
  77. + compatible = "fsl,imx28-vdda";
  78. + regulator-name = "vdda";
  79. + regulator-min-microvolt = <1725000>;
  80. + regulator-max-microvolt = <1950000>;
  81. + vdda-supply = <&reg_vddio>;
  82. + regulator-boot-on;
  83. + regulator-always-on;
  84. + };
  85. +
  86. + reg_vddio: regulator@4 {
  87. + compatible = "fsl,imx28-vddio";
  88. + regulator-name = "vddio";
  89. + regulator-min-microvolt = <3000000>;
  90. + regulator-max-microvolt = <3550000>;
  91. + regulator-microvolt-offset = <80000>;
  92. + regulator-boot-on;
  93. + regulator-always-on;
  94. + };
  95. };
  96. saif1: saif@80046000 {