History

ARM: tegra: apalis/colibri t30: fix on-module 5v0 supplies

Working on Gigabit/PCIe support in U-Boot for Apalis T30 I realised that the current device tree source includes for our modules only happen to work due to referencing the on-carrier 5v0 supply from USB which is not at all available on-module. The modules actually contain TPS60150 charge pumps to generate the PMIC required 5 volts from the one and only 3.3 volt module supply. This patch fixes this. (Note: When back-porting this to v3.16 stable releases, simply drop the change to tegra30-apalis.dtsi; that file was added in v3.17)

Marcel Ziswiler committed 12 years ago

Commit caa9eac1 parent 9d0b1f32 files · +20 −2Browse files

Unified · Split

2 files
  1. arch/arm/boot/dts/tegra30-apalis.dtsi +10 −1
  2. arch/arm/boot/dts/tegra30-colibri.dtsi +10 −1
arch/arm/boot/dts/tegra30-apalis.dtsi+10−1
@@ -423,7 +423,7 @@ · 422 unmodified lines
423423 vcc4-supply = <&sys_3v3_reg>;
424424 vcc5-supply = <&sys_3v3_reg>;
425425 vcc6-supply = <&vio_reg>;
426− vcc7-supply = <&sys_5v0_reg>;
426+ vcc7-supply = <&charge_pump_5v0_reg>;
427427 vccio-supply = <&sys_3v3_reg>;
428428
429429 regulators {
@@ -674,5 +674,14 @@ · 244 unmodified lines
674674 regulator-max-microvolt = <3300000>;
675675 regulator-always-on;
676676 };
677+
678+ charge_pump_5v0_reg: regulator@101 {
679+ compatible = "regulator-fixed";
680+ reg = <101>;
681+ regulator-name = "5v0";
682+ regulator-min-microvolt = <5000000>;
683+ regulator-max-microvolt = <5000000>;
684+ regulator-always-on;
685+ };
677686 };
678687 };
arch/arm/boot/dts/tegra30-colibri.dtsi+10−1
@@ -201,7 +201,7 @@ · 200 unmodified lines
201201 vcc4-supply = <&sys_3v3_reg>;
202202 vcc5-supply = <&sys_3v3_reg>;
203203 vcc6-supply = <&vio_reg>;
204− vcc7-supply = <&sys_5v0_reg>;
204+ vcc7-supply = <&charge_pump_5v0_reg>;
205205 vccio-supply = <&sys_3v3_reg>;
206206
207207 regulators {
@@ -373,5 +373,14 @@ · 165 unmodified lines
373373 regulator-max-microvolt = <3300000>;
374374 regulator-always-on;
375375 };
376+
377+ charge_pump_5v0_reg: regulator@101 {
378+ compatible = "regulator-fixed";
379+ reg = <101>;
380+ regulator-name = "5v0";
381+ regulator-min-microvolt = <5000000>;
382+ regulator-max-microvolt = <5000000>;
383+ regulator-always-on;
384+ };
376385 };
377386 };