summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm64/boot/dts/tegra186-platforms/tegra186-quill-common-p3310-1000-a00.dtsi1
-rw-r--r--arch/arm64/boot/dts/tegra186-platforms/tegra186-quill-p3310-powermon.dtsi65
2 files changed, 66 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/tegra186-platforms/tegra186-quill-common-p3310-1000-a00.dtsi b/arch/arm64/boot/dts/tegra186-platforms/tegra186-quill-common-p3310-1000-a00.dtsi
index 5b0fa3f7e..330613f58 100644
--- a/arch/arm64/boot/dts/tegra186-platforms/tegra186-quill-common-p3310-1000-a00.dtsi
+++ b/arch/arm64/boot/dts/tegra186-platforms/tegra186-quill-common-p3310-1000-a00.dtsi
@@ -14,6 +14,7 @@
14 */ 14 */
15 15
16#include "tegra186-quill-common.dtsi" 16#include "tegra186-quill-common.dtsi"
17#include "tegra186-quill-p3310-powermon.dtsi"
17 18
18/ { 19/ {
19 model = "quill-3310"; 20 model = "quill-3310";
diff --git a/arch/arm64/boot/dts/tegra186-platforms/tegra186-quill-p3310-powermon.dtsi b/arch/arm64/boot/dts/tegra186-platforms/tegra186-quill-p3310-powermon.dtsi
new file mode 100644
index 000000000..578085990
--- /dev/null
+++ b/arch/arm64/boot/dts/tegra186-platforms/tegra186-quill-p3310-powermon.dtsi
@@ -0,0 +1,65 @@
1/*
2 * tegra186-quill-p3310-powermon.dtsi: Tegra186 power monitor dtsi file on Quill P3310
3 *
4 * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 */
15
16/ {
17 i2c@3160000 {
18 ina3221x@40 {
19 compatible = "ti,ina3221x";
20 reg = <0x40>;
21 ti,trigger-config = <0x7003>;
22 ti,continuous-config = <0x7c07>;
23 #address-cells = <1>;
24 #size-cells = <0>;
25 channel@0 {
26 reg = <0x0>;
27 ti,rail-name = "VDD_SYS_GPU";
28 ti,shunt-resistor-mohm = <5>;
29 };
30 channel@1 {
31 reg = <0x1>;
32 ti,rail-name = "VDD_SYS_SOC";
33 ti,shunt-resistor-mohm = <5>;
34 };
35 channel@2 {
36 reg = <0x2>;
37 ti,rail-name = "VDD_4V0_WIFI";
38 ti,shunt-resistor-mohm = <10>;
39 };
40 };
41 ina3221x@41 {
42 compatible = "ti,ina3221x";
43 reg = <0x41>;
44 ti,trigger-config = <0x7003>;
45 ti,continuous-config = <0x7c07>;
46 #address-cells = <1>;
47 #size-cells = <0>;
48 channel@0 {
49 reg = <0x0>;
50 ti,rail-name = "VDD_IN";
51 ti,shunt-resistor-mohm = <1>;
52 };
53 channel@1 {
54 reg = <0x1>;
55 ti,rail-name = "VDD_SYS_CPU";
56 ti,shunt-resistor-mohm = <5>;
57 };
58 channel@2 {
59 reg = <0x2>;
60 ti,rail-name = "VDD_SYS_SRAM";
61 ti,shunt-resistor-mohm = <5>;
62 };
63 };
64 };
65};