| 1 |
// SPDX-License-Identifier: GPL-2.0 |
| 2 |
|
| 3 |
#include "tegra234.dtsi" |
| 4 |
|
| 5 |
/ { |
| 6 |
compatible = "nvidia,p3701", "nvidia,tegra234"; |
| 7 |
|
| 8 |
aliases { |
| 9 |
mmc0 = "/bus@0/mmc@3460000"; |
| 10 |
mmc1 = "/bus@0/mmc@3400000"; |
| 11 |
rtc0 = "/bpmp/i2c/pmic@3c"; |
| 12 |
}; |
| 13 |
|
| 14 |
bus@0 { |
| 15 |
aconnect@2900000 { |
| 16 |
status = "okay"; |
| 17 |
|
| 18 |
ahub@2900800 { |
| 19 |
status = "okay"; |
| 20 |
|
| 21 |
i2s@2901000 { |
| 22 |
status = "okay"; |
| 23 |
}; |
| 24 |
|
| 25 |
i2s@2901100 { |
| 26 |
status = "okay"; |
| 27 |
}; |
| 28 |
|
| 29 |
i2s@2901300 { |
| 30 |
status = "okay"; |
| 31 |
}; |
| 32 |
|
| 33 |
i2s@2901500 { |
| 34 |
status = "okay"; |
| 35 |
}; |
| 36 |
|
| 37 |
dmic@2904200 { |
| 38 |
status = "okay"; |
| 39 |
}; |
| 40 |
}; |
| 41 |
|
| 42 |
dma-controller@2930000 { |
| 43 |
status = "okay"; |
| 44 |
}; |
| 45 |
|
| 46 |
interrupt-controller@2a40000 { |
| 47 |
status = "okay"; |
| 48 |
}; |
| 49 |
}; |
| 50 |
|
| 51 |
i2c@3160000 { |
| 52 |
status = "okay"; |
| 53 |
|
| 54 |
eeprom@50 { |
| 55 |
compatible = "atmel,24c02"; |
| 56 |
reg = <0x50>; |
| 57 |
|
| 58 |
label = "module"; |
| 59 |
vcc-supply = <&vdd_1v8_hs>; |
| 60 |
address-width = <8>; |
| 61 |
pagesize = <8>; |
| 62 |
size = <256>; |
| 63 |
read-only; |
| 64 |
}; |
| 65 |
}; |
| 66 |
|
| 67 |
spi@3270000 { |
| 68 |
status = "okay"; |
| 69 |
|
| 70 |
flash@0 { |
| 71 |
compatible = "jedec,spi-nor"; |
| 72 |
reg = <0>; |
| 73 |
spi-max-frequency = <102000000>; |
| 74 |
spi-tx-bus-width = <4>; |
| 75 |
spi-rx-bus-width = <4>; |
| 76 |
}; |
| 77 |
}; |
| 78 |
|
| 79 |
mmc@3460000 { |
| 80 |
status = "okay"; |
| 81 |
bus-width = <8>; |
| 82 |
non-removable; |
| 83 |
}; |
| 84 |
|
| 85 |
padctl@3520000 { |
| 86 |
vclamp-usb-supply = <&vdd_1v8_ao>; |
| 87 |
avdd-usb-supply = <&vdd_3v3_ao>; |
| 88 |
|
| 89 |
ports { |
| 90 |
usb2-0 { |
| 91 |
vbus-supply = <&vdd_5v0_sys>; |
| 92 |
}; |
| 93 |
|
| 94 |
usb2-1 { |
| 95 |
vbus-supply = <&vdd_5v0_sys>; |
| 96 |
}; |
| 97 |
|
| 98 |
usb2-2 { |
| 99 |
vbus-supply = <&vdd_5v0_sys>; |
| 100 |
}; |
| 101 |
|
| 102 |
usb2-3 { |
| 103 |
vbus-supply = <&vdd_5v0_sys>; |
| 104 |
}; |
| 105 |
}; |
| 106 |
}; |
| 107 |
|
| 108 |
i2c@c240000 { |
| 109 |
status = "okay"; |
| 110 |
|
| 111 |
power-sensor@40 { |
| 112 |
compatible = "ti,ina3221"; |
| 113 |
reg = <0x40>; |
| 114 |
#address-cells = <1>; |
| 115 |
#size-cells = <0>; |
| 116 |
|
| 117 |
input@0 { |
| 118 |
reg = <0x0>; |
| 119 |
label = "VDD_GPU_SOC"; |
| 120 |
shunt-resistor-micro-ohms = <2000>; |
| 121 |
}; |
| 122 |
|
| 123 |
input@1 { |
| 124 |
reg = <0x1>; |
| 125 |
label = "VDD_CPU_CV"; |
| 126 |
shunt-resistor-micro-ohms = <2000>; |
| 127 |
}; |
| 128 |
|
| 129 |
input@2 { |
| 130 |
reg = <0x2>; |
| 131 |
label = "VIN_SYS_5V0"; |
| 132 |
shunt-resistor-micro-ohms = <2000>; |
| 133 |
ti,summation-disable; |
| 134 |
}; |
| 135 |
}; |
| 136 |
|
| 137 |
power-sensor@41 { |
| 138 |
compatible = "ti,ina3221"; |
| 139 |
reg = <0x41>; |
| 140 |
#address-cells = <1>; |
| 141 |
#size-cells = <0>; |
| 142 |
|
| 143 |
input@0 { |
| 144 |
reg = <0x0>; |
| 145 |
status = "disabled"; |
| 146 |
}; |
| 147 |
|
| 148 |
input@1 { |
| 149 |
reg = <0x1>; |
| 150 |
label = "VDDQ_VDD2_1V8AO"; |
| 151 |
shunt-resistor-micro-ohms = <2000>; |
| 152 |
}; |
| 153 |
|
| 154 |
input@2 { |
| 155 |
reg = <0x2>; |
| 156 |
status = "disabled"; |
| 157 |
}; |
| 158 |
}; |
| 159 |
}; |
| 160 |
|
| 161 |
rtc@c2a0000 { |
| 162 |
status = "okay"; |
| 163 |
}; |
| 164 |
|
| 165 |
pmc@c360000 { |
| 166 |
nvidia,invert-interrupt; |
| 167 |
}; |
| 168 |
}; |
| 169 |
|
| 170 |
bpmp { |
| 171 |
i2c { |
| 172 |
status = "okay"; |
| 173 |
|
| 174 |
pmic@3c { |
| 175 |
compatible = "nvidia,vrs-10"; |
| 176 |
reg = <0x3c>; |
| 177 |
interrupt-parent = <&pmc>; |
| 178 |
/* VRS Wake ID is 24 */ |
| 179 |
interrupts = <24 IRQ_TYPE_LEVEL_LOW>; |
| 180 |
interrupt-controller; |
| 181 |
#interrupt-cells = <2>; |
| 182 |
}; |
| 183 |
|
| 184 |
thermal-sensor@4c { |
| 185 |
compatible = "ti,tmp451"; |
| 186 |
status = "okay"; |
| 187 |
reg = <0x4c>; |
| 188 |
vcc-supply = <&vdd_1v8_ao>; |
| 189 |
}; |
| 190 |
}; |
| 191 |
|
| 192 |
thermal { |
| 193 |
status = "okay"; |
| 194 |
}; |
| 195 |
}; |
| 196 |
|
| 197 |
vdd_1v8_ao: regulator-vdd-1v8-ao { |
| 198 |
compatible = "regulator-fixed"; |
| 199 |
regulator-name = "VDD_1V8_AO"; |
| 200 |
regulator-min-microvolt = <1800000>; |
| 201 |
regulator-max-microvolt = <1800000>; |
| 202 |
regulator-always-on; |
| 203 |
}; |
| 204 |
|
| 205 |
vdd_1v8_hs: regulator-vdd-1v8-hs { |
| 206 |
compatible = "regulator-fixed"; |
| 207 |
regulator-name = "VDD_1V8_HS"; |
| 208 |
regulator-min-microvolt = <1800000>; |
| 209 |
regulator-max-microvolt = <1800000>; |
| 210 |
regulator-always-on; |
| 211 |
}; |
| 212 |
|
| 213 |
vdd_1v8_ls: regulator-vdd-1v8-ls { |
| 214 |
compatible = "regulator-fixed"; |
| 215 |
regulator-name = "VDD_1V8_LS"; |
| 216 |
regulator-min-microvolt = <1800000>; |
| 217 |
regulator-max-microvolt = <1800000>; |
| 218 |
regulator-always-on; |
| 219 |
}; |
| 220 |
|
| 221 |
vdd_3v3_ao: regulator-vdd-3v3-ao { |
| 222 |
compatible = "regulator-fixed"; |
| 223 |
regulator-name = "VDD_3V3_AO"; |
| 224 |
regulator-min-microvolt = <3300000>; |
| 225 |
regulator-max-microvolt = <3300000>; |
| 226 |
regulator-always-on; |
| 227 |
}; |
| 228 |
|
| 229 |
vdd_5v0_sys: regulator-vdd-5v0-sys { |
| 230 |
compatible = "regulator-fixed"; |
| 231 |
regulator-name = "VIN_SYS_5V0"; |
| 232 |
regulator-min-microvolt = <5000000>; |
| 233 |
regulator-max-microvolt = <5000000>; |
| 234 |
regulator-always-on; |
| 235 |
regulator-boot-on; |
| 236 |
}; |
| 237 |
}; |