Guest User

beaglexm DT for dvfs -hack.

a guest
Mar 11th, 2013
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts
  2. index 3705a81..72d12af 100644
  3. --- a/arch/arm/boot/dts/omap3-beagle-xm.dts
  4. +++ b/arch/arm/boot/dts/omap3-beagle-xm.dts
  5. @@ -13,6 +13,11 @@
  6. model = "TI OMAP3 BeagleBoard xM";
  7. compatible = "ti,omap3-beagle-xm, ti,omap3-beagle", "ti,omap3";
  8.  
  9. + cpus {
  10. + cpu@0 {
  11. + cpu0-supply = <&vcc>;
  12. + };
  13. + };
  14. memory {
  15. device_type = "memory";
  16. reg = <0x80000000 0x20000000>; /* 512 MB */
  17. diff --git a/arch/arm/boot/dts/omap36xx.dtsi b/arch/arm/boot/dts/omap36xx.dtsi
  18. index 96bf028..bde27525 100644
  19. --- a/arch/arm/boot/dts/omap36xx.dtsi
  20. +++ b/arch/arm/boot/dts/omap36xx.dtsi
  21. @@ -22,4 +22,23 @@
  22. clock-frequency = <48000000>;
  23. };
  24. };
  25. + cpus {
  26. + compatible = "cpufreq,cpu0";
  27. + cpu@0 {
  28. + /*
  29. + * To consider voltage drop between PMIC and SoC,
  30. + * tolerance value is reduced to 2% from 4% and
  31. + * voltage value is increased as a precaution.
  32. + */
  33. + operating-points = <
  34. + /* kHz uV */
  35. + 800000 1325000
  36. + 600000 1200000
  37. + 300000 1012500
  38. + >;
  39. + voltage-tolerance = <2>; /* 2 percentage */
  40. + clock-latency = <300000>; /* From omap-cpufreq driver */
  41. + clock-name = "cpufreq_ck";
  42. + };
  43. + };
  44. };
  45. diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi
  46. index ed0bc95..024bfb1 100644
  47. --- a/arch/arm/boot/dts/twl4030.dtsi
  48. +++ b/arch/arm/boot/dts/twl4030.dtsi
  49. @@ -23,6 +23,11 @@
  50. compatible = "ti,twl4030-wdt";
  51. };
  52.  
  53. + vcc: regulator-vdd1 {
  54. + compatible = "ti,twl4030-vdd1";
  55. + regulator-min-microvolt = <800000>;
  56. + regulator-max-microvolt = <1800000>;
  57. + };
  58. vdac: regulator-vdac {
  59. compatible = "ti,twl4030-vdac";
  60. regulator-min-microvolt = <1800000>;
Add Comment
Please, Sign In to add comment