diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2014-02-23 12:16:48 +0530 |
---|---|---|
committer | Laxman Dewangan <ldewangan@nvidia.com> | 2014-02-25 22:35:55 -0800 |
commit | 2a8dc4c4b32990127824c0bd493fba8cbcc28434 (patch) | |
tree | 26253acd4c63d7df211c8cec3ec68194b2f80b64 /arch/arm/boot/dts/tegra124-platforms/tegra124-laguna-powermon-pm358.dtsi | |
parent | feae7b0e8b57e62cec881e0fa1b9448e57a5372a (diff) |
ARM: tegra: move powermon to DT for Laguna
Move all power monitor device registration for Laguna to
DT. Following are change:
- Add dtsi file for Laguna power mon.
- Add the dtsi file from the Laguna top level dtsi file.
- Delete the board powermon dts file.
bug 1369958
Change-Id: I61472a03b993cc8bba4c7aa4d76b0fbe15b359c5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/374018
Diffstat (limited to 'arch/arm/boot/dts/tegra124-platforms/tegra124-laguna-powermon-pm358.dtsi')
-rw-r--r-- | arch/arm/boot/dts/tegra124-platforms/tegra124-laguna-powermon-pm358.dtsi | 183 |
1 files changed, 183 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124-platforms/tegra124-laguna-powermon-pm358.dtsi b/arch/arm/boot/dts/tegra124-platforms/tegra124-laguna-powermon-pm358.dtsi new file mode 100644 index 000000000000..9b72d75a05c8 --- /dev/null +++ b/arch/arm/boot/dts/tegra124-platforms/tegra124-laguna-powermon-pm358.dtsi @@ -0,0 +1,183 @@ +/ { + i2c@7000c400 { + ina230@40{ + compatible = "ina230x"; + reg = <0x40>; + ti,rail-name = "VDD_MUX"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <3633>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@41{ + compatible = "ina230x"; + reg = <0x41>; + ti,rail-name = "VDD_CPU"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x3E6A>; + ti,power-lsb = <16021>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@42{ + compatible = "ina230x"; + reg = <0x42>; + ti,rail-name = "VDDIO_DDR_AP_1V35"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <550>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@43{ + compatible = "ina230x"; + reg = <0x43>; + ti,rail-name = "VDD_CORE"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x369D>; + ti,power-lsb = <4577>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@44{ + compatible = "ina230x"; + reg = <0x44>; + ti,rail-name = "COM_1V8"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <53>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@45{ + compatible = "ina230x"; + reg = <0x45>; + ti,rail-name = "VDDIO_DDR_1V35"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <762>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@46{ + compatible = "ina230x"; + reg = <0x46>; + ti,rail-name = "AVDDIO_PEX_AP_1V05"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <356>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@47{ + compatible = "ina230x"; + reg = <0x47>; + ti,rail-name = "PEX_PLL_AP_3V3"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <27>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@48{ + compatible = "ina230x"; + reg = <0x48>; + ti,rail-name = "VDD_USB_AP_3V3"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <23>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@49{ + compatible = "ina230x"; + reg = <0x49>; + ti,rail-name = "VDD_GPU"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x4EF5>; + ti,power-lsb = <6332>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@4a{ + compatible = "ina230x"; + reg = <0x4a>; + ti,rail-name = "HVDD_SATA_AP_3V3"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <3>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@4b{ + compatible = "ina230x"; + reg = <0x4b>; + ti,rail-name = "VDDIO_SYS_AP_1V8"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <23>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@4d{ + compatible = "ina230x"; + reg = <0x4d>; + ti,rail-name = "VDDIO_BB_AP"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <2>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@4e{ + compatible = "ina230x"; + reg = <0x4e>; + ti,rail-name = "AVDD_LVDS_AP_1V05"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <7>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@4f{ + compatible = "ina230x"; + reg = <0x4f>; + ti,rail-name = "AVDD_HDMI_AP_3V3"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <70>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + }; +}; |