diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2014-02-23 12:16:48 +0530 |
---|---|---|
committer | Laxman Dewangan <ldewangan@nvidia.com> | 2014-02-26 09:31:45 -0800 |
commit | 1701f90cbf6085b67e4f3235951ecba5676227ae (patch) | |
tree | ec906f7f934db8efafdc4752d1169da50fd365d0 /arch/arm/boot/dts/tegra124-platforms/tegra124-ardbeg-powermon-e1780-1000-a01.dtsi | |
parent | 4f0ffbe3673f03b5fa585ceec343ade3b37b132f (diff) |
ARM: tegra: move powermon to DT for Ardbeg
Move all power monitor device registration for Ardbeg to
DT. Following are change:
- Add dtsi file for Ardbeg power mon.
- Add the dtsi file from the Ardbeg top level dtsi file.
- Delete the board powermon dts file.
bug 1369958
Change-Id: Idadf3a2247c479b0d4024548d274cc8efa18c79e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/374139
Diffstat (limited to 'arch/arm/boot/dts/tegra124-platforms/tegra124-ardbeg-powermon-e1780-1000-a01.dtsi')
-rw-r--r-- | arch/arm/boot/dts/tegra124-platforms/tegra124-ardbeg-powermon-e1780-1000-a01.dtsi | 273 |
1 files changed, 266 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/tegra124-platforms/tegra124-ardbeg-powermon-e1780-1000-a01.dtsi b/arch/arm/boot/dts/tegra124-platforms/tegra124-ardbeg-powermon-e1780-1000-a01.dtsi index 995e1c2bcbb5..bd301a03b0f8 100644 --- a/arch/arm/boot/dts/tegra124-platforms/tegra124-ardbeg-powermon-e1780-1000-a01.dtsi +++ b/arch/arm/boot/dts/tegra124-platforms/tegra124-ardbeg-powermon-e1780-1000-a01.dtsi @@ -16,13 +16,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ / { - aliases { - i2c6 = &pca9546_i2c0; - i2c7 = &pca9546_i2c1; - i2c8 = &pca9546_i2c2; - i2c9 = &pca9546_i2c3; - }; - i2c@7000c400 { pca9546@71 { compatible = "nxp,pca9546"; @@ -32,21 +25,287 @@ pca9546_i2c0: i2c@0 { reg = <0>; i2c-mux,deselect-on-exit; + #address-cells = <1>; + #size-cells = <0>; + + ina230@40{ + compatible = "ti,ina230x"; + reg = <0x40>; + ti,rail-name = "__VDD_BAT"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <10>; + ti,calibration-data = <0x1366>; + ti,power-lsb = <2577>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@41{ + compatible = "ti,ina230x"; + reg = <0x41>; + ti,rail-name = "__VDD_SYS_BUCKCPU"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <10>; + ti,calibration-data = <0x1AC5>; + ti,power-lsb = <1867>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@42{ + compatible = "ti,ina230x"; + reg = <0x42>; + ti,rail-name = "__VDD_SYS_BUCKSOC"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <20>; + ti,calibration-data = <0x2802>; + ti,power-lsb = <624>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@43{ + compatible = "ti,ina230x"; + reg = <0x43>; + ti,rail-name = "__VDD_SYS_BUCKGPU"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <10>; + ti,calibration-data = <0x1F38>; + ti,power-lsb = <1601>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; }; pca9546_i2c1: i2c@1 { reg = <1>; i2c-mux,deselect-on-exit; + #address-cells = <1>; + #size-cells = <0>; + ina230@40{ + compatible = "ti,ina230x"; + reg = <0x40>; + ti,rail-name = "VDD_SYS_BAT"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <10>; + ti,calibration-data = <0x1366>; + ti,power-lsb = <2577>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@41{ + compatible = "ti,ina230x"; + reg = <0x41>; + ti,rail-name = "VDD_RTC_LDO3"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <50>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <78>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@42{ + compatible = "ti,ina230x"; + reg = <0x42>; + ti,rail-name = "VDD_SYS_BUCKSOC"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <30>; + ti,calibration-data = <0x1AAC>; + ti,power-lsb = <624>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@43{ + compatible = "ti,ina230x"; + reg = <0x43>; + ti,rail-name = "VDD_SOC_SD1"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <1>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <3906>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@44{ + compatible = "ti,ina230x"; + reg = <0x44>; + ti,rail-name = "VDD_SYS_BUCKCPU"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <10>; + ti,calibration-data = <0x1AC5>; + ti,power-lsb = <1867>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@45{ + compatible = "ti,ina230x"; + reg = <0x45>; + ti,rail-name = "VDD_CPU_BUCKCPU"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <1>; + ti,calibration-data = <0x2ECF>; + ti,power-lsb = <10681>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@46{ + compatible = "ti,ina230x"; + reg = <0x46>; + ti,rail-name = "VDD_1V8_SD5"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <10>; + ti,calibration-data = <0x45F0>; + ti,power-lsb = <714>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@47{ + compatible = "ti,ina230x"; + reg = <0x47>; + ti,rail-name = "VDD_3V3A_LDO1_6"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <200>; + ti,calibration-data = <0x3A83>; + ti,power-lsb = <42>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@48{ + compatible = "ti,ina230x"; + reg = <0x48>; + ti,rail-name = "VDD_DIS_3V3_LCD"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <10>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <390>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@49{ + compatible = "ti,ina230x"; + reg = <0x49>; + ti,rail-name = "VDD_1V35_SD2"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <1>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <3906>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@4b{ + compatible = "ti,ina230x"; + reg = <0x4b>; + ti,rail-name = "VDD_SYS_BUCKGPU"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <10>; + ti,calibration-data = <0x1F38>; + ti,power-lsb = <1601>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@4e{ + compatible = "ti,ina230x"; + reg = <0x4e>; + ti,rail-name = "VDD_LCD_1V8B_DIS"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <100>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <39>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@4f{ + compatible = "ti,ina230x"; + reg = <0x4f>; + ti,rail-name = "VDD_1V05_LDO0"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <30>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <130>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; }; pca9546_i2c2: i2c@2 { reg = <2>; i2c-mux,deselect-on-exit; + #address-cells = <1>; + #size-cells = <0>; + ina230@40{ + compatible = "ti,ina230x"; + reg = <0x40>; + ti,rail-name = "VDD_1V05_SD4"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <10>; + ti,calibration-data = <0x7FFF>; + ti,power-lsb = <390>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@41{ + compatible = "ti,ina230x"; + reg = <0x41>; + ti,rail-name = "VDD_1V8A_LDO2_5_7"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <20>; + ti,calibration-data = <0x5A04>; + ti,power-lsb = <277>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; + + ina230@49{ + compatible = "ti,ina230x"; + reg = <0x49>; + ti,rail-name = "VDD_SYS_BL"; + ti,continuous-config = <0x0407>; + ti,trigger-config = <0x0403>; + ti,resistor = <50>; + ti,calibration-data = <0x2468>; + ti,power-lsb = <274>; + ti,divisor = <25>; + ti,precision-multiplier = <1000>; + }; }; pca9546_i2c3: i2c@3 { reg = <3>; i2c-mux,deselect-on-exit; + #address-cells = <1>; + #size-cells = <0>; }; }; }; |