Commit 2838cfd
committed
arm64: tegra: Bump #address-cells and #size-cells
The #address-cells and #size-cells properties for the top-level bus were
set to 1 because that was enough to represent the register ranges of all
the IP blocks on that bus. However, most of these devices can do DMA to
a larger address space, so translation of DMA addresses needs to happen
in a 64-bit address space.
Partially this was already done by the memory controller increasing that
address space by setting #address-cells and #size-cells to 2, but a full
DMA address translation would still cause truncation when traversing to
the top-level bus.
Fix this by setting #address-cells = <2> and #size-cells = <2> on the
top-level bus and adjusting all "reg" and "ranges" properties of its
children.
While at it, also move the PCI and GPU nodes back under the top-level
bus where they belong. The were put outside of it to work around this
same problem.
Signed-off-by: Thierry Reding <treding@nvidia.com>1 parent c71e189 commit 2838cfd
5 files changed
Lines changed: 1453 additions & 1445 deletions
File tree
- arch/arm64/boot/dts/nvidia
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2184 | 2184 | | |
2185 | 2185 | | |
2186 | 2186 | | |
2187 | | - | |
2188 | 2187 | | |
2189 | | - | |
2190 | | - | |
| 2188 | + | |
| 2189 | + | |
2191 | 2190 | | |
2192 | | - | |
| 2191 | + | |
2193 | 2192 | | |
2194 | | - | |
2195 | | - | |
2196 | | - | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
2197 | 2196 | | |
2198 | | - | |
2199 | | - | |
| 2197 | + | |
| 2198 | + | |
2200 | 2199 | | |
2201 | | - | |
| 2200 | + | |
2202 | 2201 | | |
2203 | | - | |
2204 | | - | |
2205 | | - | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
2206 | 2205 | | |
2207 | | - | |
2208 | | - | |
| 2206 | + | |
| 2207 | + | |
2209 | 2208 | | |
2210 | | - | |
| 2209 | + | |
2211 | 2210 | | |
2212 | | - | |
2213 | | - | |
2214 | | - | |
2215 | | - | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
2216 | 2215 | | |
2217 | | - | |
2218 | | - | |
| 2216 | + | |
| 2217 | + | |
2219 | 2218 | | |
2220 | | - | |
2221 | | - | |
2222 | | - | |
| 2219 | + | |
| 2220 | + | |
| 2221 | + | |
2223 | 2222 | | |
2224 | | - | |
2225 | | - | |
2226 | | - | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
2227 | 2226 | | |
2228 | | - | |
2229 | | - | |
2230 | | - | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
2231 | 2230 | | |
2232 | | - | |
2233 | | - | |
| 2231 | + | |
| 2232 | + | |
2234 | 2233 | | |
2235 | | - | |
| 2234 | + | |
2236 | 2235 | | |
2237 | | - | |
| 2236 | + | |
2238 | 2237 | | |
2239 | | - | |
2240 | | - | |
| 2238 | + | |
| 2239 | + | |
2241 | 2240 | | |
2242 | | - | |
2243 | | - | |
2244 | | - | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
2245 | 2244 | | |
2246 | | - | |
2247 | | - | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
2248 | 2248 | | |
2249 | 2249 | | |
2250 | 2250 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2209 | 2209 | | |
2210 | 2210 | | |
2211 | 2211 | | |
2212 | | - | |
2213 | 2212 | | |
2214 | | - | |
2215 | | - | |
| 2213 | + | |
| 2214 | + | |
2216 | 2215 | | |
2217 | | - | |
| 2216 | + | |
2218 | 2217 | | |
2219 | | - | |
2220 | | - | |
2221 | | - | |
| 2218 | + | |
| 2219 | + | |
| 2220 | + | |
2222 | 2221 | | |
2223 | | - | |
2224 | | - | |
| 2222 | + | |
| 2223 | + | |
2225 | 2224 | | |
2226 | | - | |
| 2225 | + | |
2227 | 2226 | | |
2228 | | - | |
2229 | | - | |
2230 | | - | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
2231 | 2230 | | |
2232 | | - | |
2233 | | - | |
2234 | | - | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
2235 | 2234 | | |
2236 | | - | |
2237 | | - | |
| 2235 | + | |
| 2236 | + | |
2238 | 2237 | | |
2239 | | - | |
| 2238 | + | |
2240 | 2239 | | |
2241 | | - | |
| 2240 | + | |
2242 | 2241 | | |
2243 | | - | |
2244 | | - | |
| 2242 | + | |
| 2243 | + | |
2245 | 2244 | | |
2246 | | - | |
2247 | | - | |
2248 | | - | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
2249 | 2248 | | |
2250 | | - | |
2251 | | - | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
2252 | 2252 | | |
2253 | 2253 | | |
2254 | 2254 | | |
| |||
0 commit comments