mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
nv-platform: replace INA, hdr40_vdd_3v3, and CMA
The on-board INA sensors and hdr40_vdd_3v3 regulator should be defined in CVB-specific device tree instead of CVM-specific. CMA should be defined in CVM-specific instead of CVB-specific. Bug 4378720 Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com> Change-Id: I31ebb14ffacb6d1fb58ba3848f4ce1ac5322655f Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016311 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
e5ce927b18
commit
c194f14a21
@@ -59,14 +59,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
hdr40_vdd_3v3: regulator@3 {
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
reg = <3>;
|
|
||||||
regulator-name = "vdd-3v3-sys";
|
|
||||||
regulator-min-microvolt = <3300000>;
|
|
||||||
regulator-max-microvolt = <3300000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
bpmp {
|
bpmp {
|
||||||
i2c {
|
i2c {
|
||||||
vrs@3c {
|
vrs@3c {
|
||||||
|
|||||||
@@ -48,37 +48,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c@c250000 {
|
|
||||||
ina3221@41 {
|
|
||||||
compatible = "ti,ina3221";
|
|
||||||
reg = <0x41>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
channel@0 {
|
|
||||||
reg = <0x0>;
|
|
||||||
label = "CVB_ATX_12V";
|
|
||||||
shunt-resistor-micro-ohms = <2000>;
|
|
||||||
};
|
|
||||||
channel@1 {
|
|
||||||
reg = <0x1>;
|
|
||||||
label = "CVB_ATX_3V3";
|
|
||||||
shunt-resistor-micro-ohms = <2000>;
|
|
||||||
};
|
|
||||||
channel@2 {
|
|
||||||
reg = <0x2>;
|
|
||||||
label = "CVB_ATX_5V";
|
|
||||||
shunt-resistor-micro-ohms = <2000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
ina219@44 {
|
|
||||||
compatible = "ti,ina219";
|
|
||||||
reg = <0x44>;
|
|
||||||
shunt-resistor = <2000>;
|
|
||||||
label = "CVB_ATX_12V_8P";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
spi@3270000 {
|
spi@3270000 {
|
||||||
flash@0 {
|
flash@0 {
|
||||||
spi-max-frequency = <51000000>;
|
spi-max-frequency = <51000000>;
|
||||||
@@ -157,6 +126,21 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
reserved-memory {
|
||||||
|
#address-cells = <2>;
|
||||||
|
#size-cells = <2>;
|
||||||
|
ranges;
|
||||||
|
|
||||||
|
linux,cma { /* Needed for nvgpu comptags */
|
||||||
|
compatible = "shared-dma-pool";
|
||||||
|
reusable;
|
||||||
|
size = <0x0 0x20000000>; /* 512MB */
|
||||||
|
alignment = <0x0 0x10000>;
|
||||||
|
linux,cma-default;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
thermal-zones {
|
thermal-zones {
|
||||||
cpu-thermal {
|
cpu-thermal {
|
||||||
trips {
|
trips {
|
||||||
|
|||||||
@@ -84,6 +84,14 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hdr40_vdd_3v3: regulator@3 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
reg = <3>;
|
||||||
|
regulator-name = "vdd-3v3-sys";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
};
|
||||||
|
|
||||||
tegra_sound_graph: tegra_sound: sound {
|
tegra_sound_graph: tegra_sound: sound {
|
||||||
compatible = "nvidia,tegra186-audio-graph-card",
|
compatible = "nvidia,tegra186-audio-graph-card",
|
||||||
"nvidia,tegra186-ape";
|
"nvidia,tegra186-ape";
|
||||||
|
|||||||
@@ -31,6 +31,35 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
i2c@c250000 {
|
i2c@c250000 {
|
||||||
|
ina3221@41 {
|
||||||
|
compatible = "ti,ina3221";
|
||||||
|
reg = <0x41>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
channel@0 {
|
||||||
|
reg = <0x0>;
|
||||||
|
label = "CVB_ATX_12V";
|
||||||
|
shunt-resistor-micro-ohms = <2000>;
|
||||||
|
};
|
||||||
|
channel@1 {
|
||||||
|
reg = <0x1>;
|
||||||
|
label = "CVB_ATX_3V3";
|
||||||
|
shunt-resistor-micro-ohms = <2000>;
|
||||||
|
};
|
||||||
|
channel@2 {
|
||||||
|
reg = <0x2>;
|
||||||
|
label = "CVB_ATX_5V";
|
||||||
|
shunt-resistor-micro-ohms = <2000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
ina219@44 {
|
||||||
|
compatible = "ti,ina219";
|
||||||
|
reg = <0x44>;
|
||||||
|
shunt-resistor = <2000>;
|
||||||
|
label = "CVB_ATX_12V_8P";
|
||||||
|
};
|
||||||
|
|
||||||
f75308@4d {
|
f75308@4d {
|
||||||
compatible = "fintek,f75308";
|
compatible = "fintek,f75308";
|
||||||
reg = <0x4d>;
|
reg = <0x4d>;
|
||||||
@@ -141,21 +170,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
reserved-memory {
|
|
||||||
#address-cells = <2>;
|
|
||||||
#size-cells = <2>;
|
|
||||||
ranges;
|
|
||||||
|
|
||||||
linux,cma { /* Needed for nvgpu comptags */
|
|
||||||
compatible = "shared-dma-pool";
|
|
||||||
reusable;
|
|
||||||
size = <0x0 0x20000000>; /* 512MB */
|
|
||||||
alignment = <0x0 0x10000>;
|
|
||||||
linux,cma-default;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
p3740_vdd_0v95_AO: regulator-vdd-0v95-AO {
|
p3740_vdd_0v95_AO: regulator-vdd-0v95-AO {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "vdd-0v95-AO";
|
regulator-name = "vdd-0v95-AO";
|
||||||
|
|||||||
Reference in New Issue
Block a user