Commit

4ee64cda9866f4ef19f2802443548e942ad24a23

arm64: tegra: Reorder reg and reg-names to match bindings

The ECAM region cannot be the first entry in the "reg" property, because
in that case the unit-address wouldn't match the first entry. The order
of the nodes can also not be changed to match the ECAM entry because the
ECAM region is global and outside of any of the control busses.

Acked-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Thierry Reding <treding@nvidia.com> · 2025-05-07 10:02 UTC

Browse files
1 file changed, +24 −24
modified arch/arm64/boot/dts/nvidia/tegra264.dtsi
@@ -3549,11 +3549,11 @@
3549 3549
3550 3550 pci@c000000 {
3551 3551 compatible = "nvidia,tegra264-pcie";
3552 - reg = <0xd0 0xb0000000 0x0 0x10000000>,
3553 - <0x00 0x0c000000 0x0 0x00004000>,
3552 + reg = <0x00 0x0c000000 0x0 0x00004000>,
3554 3553 <0x00 0x0c004000 0x0 0x00001000>,
3555 - <0x00 0x0c005000 0x0 0x00001000>;
3556 - reg-names = "ecam", "xal", "xtl", "xtl-pri";
3554 + <0x00 0x0c005000 0x0 0x00001000>,
3555 + <0xd0 0xb0000000 0x0 0x10000000>;
3556 + reg-names = "xal", "xtl", "xtl-pri", "ecam";
3557 3557 #address-cells = <3>;
3558 3558 #size-cells = <2>;
3559 3559 device_type = "pci";
@@ -4062,12 +4062,12 @@
4062 4062
4063 4063 pci@8400000 {
4064 4064 compatible = "nvidia,tegra264-pcie";
4065 - reg = <0xa8 0xb0000000 0x0 0x10000000>,
4066 - <0x00 0x08400000 0x0 0x00004000>,
4065 + reg = <0x00 0x08400000 0x0 0x00004000>,
4067 4066 <0x00 0x08404000 0x0 0x00001000>,
4068 4067 <0x00 0x08405000 0x0 0x00001000>,
4069 - <0x00 0x08410000 0x0 0x00010000>;
4070 - reg-names = "ecam", "xal", "xtl", "xtl-pri", "xpl";
4068 + <0x00 0x08410000 0x0 0x00010000>,
4069 + <0xa8 0xb0000000 0x0 0x10000000>;
4070 + reg-names = "xal", "xtl", "xtl-pri", "xpl", "ecam";
4071 4071 #address-cells = <3>;
4072 4072 #size-cells = <2>;
4073 4073 device_type = "pci";
@@ -4094,12 +4094,12 @@
4094 4094
4095 4095 pci@8420000 {
4096 4096 compatible = "nvidia,tegra264-pcie";
4097 - reg = <0xb0 0xb0000000 0x0 0x10000000>,
4098 - <0x00 0x08420000 0x0 0x00004000>,
4097 + reg = <0x00 0x08420000 0x0 0x00004000>,
4099 4098 <0x00 0x08424000 0x0 0x00001000>,
4100 4099 <0x00 0x08425000 0x0 0x00001000>,
4101 - <0x00 0x08430000 0x0 0x00010000>;
4102 - reg-names = "ecam", "xal", "xtl", "xtl-pri", "xpl";
4100 + <0x00 0x08430000 0x0 0x00010000>,
4101 + <0xb0 0xb0000000 0x0 0x10000000>;
4102 + reg-names = "xal", "xtl", "xtl-pri", "xpl", "ecam";
4103 4103 #address-cells = <3>;
4104 4104 #size-cells = <2>;
4105 4105 device_type = "pci";
@@ -4126,12 +4126,12 @@
4126 4126
4127 4127 pci@8440000 {
4128 4128 compatible = "nvidia,tegra264-pcie";
4129 - reg = <0xb8 0xb0000000 0x0 0x10000000>,
4130 - <0x00 0x08440000 0x0 0x00004000>,
4129 + reg = <0x00 0x08440000 0x0 0x00004000>,
4131 4130 <0x00 0x08444000 0x0 0x00001000>,
4132 4131 <0x00 0x08445000 0x0 0x00001000>,
4133 - <0x00 0x08450000 0x0 0x00010000>;
4134 - reg-names = "ecam", "xal", "xtl", "xtl-pri", "xpl";
4132 + <0x00 0x08450000 0x0 0x00010000>,
4133 + <0xb8 0xb0000000 0x0 0x10000000>;
4134 + reg-names = "xal", "xtl", "xtl-pri", "xpl", "ecam";
4135 4135 #address-cells = <3>;
4136 4136 #size-cells = <2>;
4137 4137 device_type = "pci";
@@ -4158,12 +4158,12 @@
4158 4158
4159 4159 pci@8460000 {
4160 4160 compatible = "nvidia,tegra264-pcie";
4161 - reg = <0xc0 0xb0000000 0x0 0x10000000>,
4162 - <0x00 0x08460000 0x0 0x00004000>,
4161 + reg = <0x00 0x08460000 0x0 0x00004000>,
4163 4162 <0x00 0x08464000 0x0 0x00001000>,
4164 4163 <0x00 0x08465000 0x0 0x00001000>,
4165 - <0x00 0x08470000 0x0 0x00010000>;
4166 - reg-names = "ecam", "xal", "xtl", "xtl-pri", "xpl";
4164 + <0x00 0x08470000 0x0 0x00010000>,
4165 + <0xc0 0xb0000000 0x0 0x10000000>;
4166 + reg-names = "xal", "xtl", "xtl-pri", "xpl", "ecam";
4167 4167 #address-cells = <3>;
4168 4168 #size-cells = <2>;
4169 4169 device_type = "pci";
@@ -4190,12 +4190,12 @@
4190 4190
4191 4191 pci@8480000 {
4192 4192 compatible = "nvidia,tegra264-pcie";
4193 - reg = <0xc8 0xb0000000 0x0 0x10000000>,
4194 - <0x00 0x08480000 0x0 0x00004000>,
4193 + reg = <0x00 0x08480000 0x0 0x00004000>,
4195 4194 <0x00 0x08484000 0x0 0x00001000>,
4196 4195 <0x00 0x08485000 0x0 0x00001000>,
4197 - <0x00 0x08490000 0x0 0x00010000>;
4198 - reg-names = "ecam", "xal", "xtl", "xtl-pri", "xpl";
4196 + <0x00 0x08490000 0x0 0x00010000>,
4197 + <0xc8 0xb0000000 0x0 0x10000000>;
4198 + reg-names = "xal", "xtl", "xtl-pri", "xpl", "ecam";
4199 4199 #address-cells = <3>;
4200 4200 #size-cells = <2>;
4201 4201 device_type = "pci";