arm64: tegra: Use proper tuple notation
authorThierry Reding <treding@nvidia.com>
Fri, 12 Jun 2020 07:13:52 +0000 (09:13 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 15 Jul 2020 09:05:45 +0000 (11:05 +0200)
Tuple boundaries should be marked by < and > to make it clear which
cells are part of the same tuple. This also helps the json-schema based
validation tooling to properly parse this data.

While at it, also remove the "immovable" bit from PCI addresses. All of
these addresses are in fact "movable".

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra132.dtsi
arch/arm64/boot/dts/nvidia/tegra186.dtsi
arch/arm64/boot/dts/nvidia/tegra194.dtsi
arch/arm64/boot/dts/nvidia/tegra210-p2894.dtsi
arch/arm64/boot/dts/nvidia/tegra210.dtsi

index 0cc6b4e..9d6a214 100644 (file)
@@ -17,9 +17,9 @@
        pcie@1003000 {
                compatible = "nvidia,tegra124-pcie";
                device_type = "pci";
-               reg = <0x0 0x01003000 0x0 0x00000800   /* PADS registers */
-                      0x0 0x01003800 0x0 0x00000800   /* AFI registers */
-                      0x0 0x02000000 0x0 0x10000000>; /* configuration space */
+               reg = <0x0 0x01003000 0x0 0x00000800>, /* PADS registers */
+                     <0x0 0x01003800 0x0 0x00000800>, /* AFI registers */
+                     <0x0 0x02000000 0x0 0x10000000>; /* configuration space */
                reg-names = "pads", "afi", "cs";
                interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
                             <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
                #address-cells = <3>;
                #size-cells = <2>;
 
-               ranges = <0x82000000 0 0x01000000 0x0 0x01000000 0 0x00001000   /* port 0 configuration space */
-                         0x82000000 0 0x01001000 0x0 0x01001000 0 0x00001000   /* port 1 configuration space */
-                         0x81000000 0 0x0        0x0 0x12000000 0 0x00010000   /* downstream I/O (64 KiB) */
-                         0x82000000 0 0x13000000 0x0 0x13000000 0 0x0d000000   /* non-prefetchable memory (208 MiB) */
-                         0xc2000000 0 0x20000000 0x0 0x20000000 0 0x20000000>; /* prefetchable memory (512 MiB) */
+               ranges = <0x02000000 0 0x01000000 0x0 0x01000000 0 0x00001000>, /* port 0 configuration space */
+                        <0x02000000 0 0x01001000 0x0 0x01001000 0 0x00001000>, /* port 1 configuration space */
+                        <0x01000000 0 0x0        0x0 0x12000000 0 0x00010000>, /* downstream I/O (64 KiB) */
+                        <0x02000000 0 0x13000000 0x0 0x13000000 0 0x0d000000>, /* non-prefetchable memory (208 MiB) */
+                        <0x42000000 0 0x20000000 0x0 0x20000000 0 0x20000000>; /* prefetchable memory (512 MiB) */
 
                clocks = <&tegra_car TEGRA124_CLK_PCIE>,
                         <&tegra_car TEGRA124_CLK_AFI>,
 
        soctherm: thermal-sensor@700e2000 {
                compatible = "nvidia,tegra132-soctherm";
-               reg = <0x0 0x700e2000 0x0 0x600 /* 0: SOC_THERM reg_base */
-                       0x0 0x70040000 0x0 0x200>; /* 2: CCROC reg_base */
+               reg = <0x0 0x700e2000 0x0 0x600>, /* 0: SOC_THERM reg_base */
+                     <0x0 0x70040000 0x0 0x200>; /* 2: CCROC reg_base */
                reg-names = "soctherm-reg", "ccroc-reg";
                interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&tegra_car TEGRA124_CLK_TSENSOR>,
index 03b24f8..726caa7 100644 (file)
                compatible = "nvidia,tegra186-pcie";
                power-domains = <&bpmp TEGRA186_POWER_DOMAIN_PCX>;
                device_type = "pci";
-               reg = <0x0 0x10003000 0x0 0x00000800   /* PADS registers */
-                      0x0 0x10003800 0x0 0x00000800   /* AFI registers */
-                      0x0 0x40000000 0x0 0x10000000>; /* configuration space */
+               reg = <0x0 0x10003000 0x0 0x00000800>, /* PADS registers */
+                     <0x0 0x10003800 0x0 0x00000800>, /* AFI registers */
+                     <0x0 0x40000000 0x0 0x10000000>; /* configuration space */
                reg-names = "pads", "afi", "cs";
 
                interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
                #address-cells = <3>;
                #size-cells = <2>;
 
-               ranges = <0x82000000 0 0x10000000 0x0 0x10000000 0 0x00001000   /* port 0 configuration space */
-                         0x82000000 0 0x10001000 0x0 0x10001000 0 0x00001000   /* port 1 configuration space */
-                         0x82000000 0 0x10004000 0x0 0x10004000 0 0x00001000   /* port 2 configuration space */
-                         0x81000000 0 0x0        0x0 0x50000000 0 0x00010000   /* downstream I/O (64 KiB) */
-                         0x82000000 0 0x50100000 0x0 0x50100000 0 0x07F00000   /* non-prefetchable memory (127 MiB) */
-                         0xc2000000 0 0x58000000 0x0 0x58000000 0 0x28000000>; /* prefetchable memory (640 MiB) */
+               ranges = <0x02000000 0 0x10000000 0x0 0x10000000 0 0x00001000>, /* port 0 configuration space */
+                        <0x02000000 0 0x10001000 0x0 0x10001000 0 0x00001000>,/* port 1 configuration space */
+                        <0x02000000 0 0x10004000 0x0 0x10004000 0 0x00001000>, /* port 2 configuration space */
+                        <0x01000000 0 0x0        0x0 0x50000000 0 0x00010000>, /* downstream I/O (64 KiB) */
+                        <0x02000000 0 0x50100000 0x0 0x50100000 0 0x07f00000>, /* non-prefetchable memory (127 MiB) */
+                        <0x42000000 0 0x58000000 0x0 0x58000000 0 0x28000000>; /* prefetchable memory (640 MiB) */
 
                clocks = <&bpmp TEGRA186_CLK_AFI>,
                         <&bpmp TEGRA186_CLK_PCIE>,
index d5246c7..72ba514 100644 (file)
 
                pinmux: pinmux@2430000 {
                        compatible = "nvidia,tegra194-pinmux";
-                       reg = <0x2430000 0x17000
-                              0xc300000 0x4000>;
+                       reg = <0x2430000 0x17000>,
+                             <0xc300000 0x4000>;
 
                        status = "okay";
 
        pcie@14100000 {
                compatible = "nvidia,tegra194-pcie";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX1A>;
-               reg = <0x00 0x14100000 0x0 0x00020000   /* appl registers (128K)      */
-                      0x00 0x30000000 0x0 0x00040000   /* configuration space (256K) */
-                      0x00 0x30040000 0x0 0x00040000   /* iATU_DMA reg space (256K)  */
-                      0x00 0x30080000 0x0 0x00040000>; /* DBI reg space (256K)       */
+               reg = <0x00 0x14100000 0x0 0x00020000>, /* appl registers (128K)      */
+                     <0x00 0x30000000 0x0 0x00040000>, /* configuration space (256K) */
+                     <0x00 0x30040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */
+                     <0x00 0x30080000 0x0 0x00040000>; /* DBI reg space (256K)       */
                reg-names = "appl", "config", "atu_dma", "dbi";
 
                status = "disabled";
 
                bus-range = <0x0 0xff>;
 
-               ranges = <0x81000000 0x0  0x30100000 0x0  0x30100000 0x0 0x00100000   /* downstream I/O (1MB) */
-                         0xc3000000 0x12 0x00000000 0x12 0x00000000 0x0 0x30000000   /* prefetchable memory (768MB) */
-                         0x82000000 0x0  0x40000000 0x12 0x30000000 0x0 0x10000000>; /* non-prefetchable memory (256MB) */
+               ranges = <0x01000000 0x0  0x30100000 0x0  0x30100000 0x0 0x00100000>, /* downstream I/O (1MB) */
+                        <0x43000000 0x12 0x00000000 0x12 0x00000000 0x0 0x30000000>, /* prefetchable memory (768MB) */
+                        <0x02000000 0x0  0x40000000 0x12 0x30000000 0x0 0x10000000>; /* non-prefetchable memory (256MB) */
 
                interconnects = <&mc TEGRA194_MEMORY_CLIENT_PCIE1R &emc>,
                                <&mc TEGRA194_MEMORY_CLIENT_PCIE1W &emc>;
        pcie@14120000 {
                compatible = "nvidia,tegra194-pcie";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX1A>;
-               reg = <0x00 0x14120000 0x0 0x00020000   /* appl registers (128K)      */
-                      0x00 0x32000000 0x0 0x00040000   /* configuration space (256K) */
-                      0x00 0x32040000 0x0 0x00040000   /* iATU_DMA reg space (256K)  */
-                      0x00 0x32080000 0x0 0x00040000>; /* DBI reg space (256K)       */
+               reg = <0x00 0x14120000 0x0 0x00020000>, /* appl registers (128K)      */
+                     <0x00 0x32000000 0x0 0x00040000>, /* configuration space (256K) */
+                     <0x00 0x32040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */
+                     <0x00 0x32080000 0x0 0x00040000>; /* DBI reg space (256K)       */
                reg-names = "appl", "config", "atu_dma", "dbi";
 
                status = "disabled";
 
                bus-range = <0x0 0xff>;
 
-               ranges = <0x81000000 0x0  0x32100000 0x0  0x32100000 0x0 0x00100000   /* downstream I/O (1MB) */
-                         0xc3000000 0x12 0x40000000 0x12 0x40000000 0x0 0x30000000   /* prefetchable memory (768MB) */
-                         0x82000000 0x0  0x40000000 0x12 0x70000000 0x0 0x10000000>; /* non-prefetchable memory (256MB) */
+               ranges = <0x01000000 0x0  0x32100000 0x0  0x32100000 0x0 0x00100000>, /* downstream I/O (1MB) */
+                        <0x43000000 0x12 0x40000000 0x12 0x40000000 0x0 0x30000000>, /* prefetchable memory (768MB) */
+                        <0x02000000 0x0  0x40000000 0x12 0x70000000 0x0 0x10000000>; /* non-prefetchable memory (256MB) */
 
                interconnects = <&mc TEGRA194_MEMORY_CLIENT_PCIE2AR &emc>,
                                <&mc TEGRA194_MEMORY_CLIENT_PCIE2AW &emc>;
        pcie@14140000 {
                compatible = "nvidia,tegra194-pcie";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX1A>;
-               reg = <0x00 0x14140000 0x0 0x00020000   /* appl registers (128K)      */
-                      0x00 0x34000000 0x0 0x00040000   /* configuration space (256K) */
-                      0x00 0x34040000 0x0 0x00040000   /* iATU_DMA reg space (256K)  */
-                      0x00 0x34080000 0x0 0x00040000>; /* DBI reg space (256K)       */
+               reg = <0x00 0x14140000 0x0 0x00020000>, /* appl registers (128K)      */
+                     <0x00 0x34000000 0x0 0x00040000>, /* configuration space (256K) */
+                     <0x00 0x34040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */
+                     <0x00 0x34080000 0x0 0x00040000>; /* DBI reg space (256K)       */
                reg-names = "appl", "config", "atu_dma", "dbi";
 
                status = "disabled";
 
                bus-range = <0x0 0xff>;
 
-               ranges = <0x81000000 0x0  0x34100000 0x0  0x34100000 0x0 0x00100000   /* downstream I/O (1MB) */
-                         0xc3000000 0x12 0x80000000 0x12 0x80000000 0x0 0x30000000   /* prefetchable memory (768MB) */
-                         0x82000000 0x0  0x40000000 0x12 0xb0000000 0x0 0x10000000>; /* non-prefetchable memory (256MB) */
+               ranges = <0x01000000 0x0  0x34100000 0x0  0x34100000 0x0 0x00100000>, /* downstream I/O (1MB) */
+                        <0x43000000 0x12 0x80000000 0x12 0x80000000 0x0 0x30000000>, /* prefetchable memory (768MB) */
+                        <0x02000000 0x0  0x40000000 0x12 0xb0000000 0x0 0x10000000>; /* non-prefetchable memory (256MB) */
 
                interconnects = <&mc TEGRA194_MEMORY_CLIENT_PCIE3R &emc>,
                                <&mc TEGRA194_MEMORY_CLIENT_PCIE3W &emc>;
        pcie@14160000 {
                compatible = "nvidia,tegra194-pcie";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX4A>;
-               reg = <0x00 0x14160000 0x0 0x00020000   /* appl registers (128K)      */
-                      0x00 0x36000000 0x0 0x00040000   /* configuration space (256K) */
-                      0x00 0x36040000 0x0 0x00040000   /* iATU_DMA reg space (256K)  */
-                      0x00 0x36080000 0x0 0x00040000>; /* DBI reg space (256K)       */
+               reg = <0x00 0x14160000 0x0 0x00020000>, /* appl registers (128K)      */
+                     <0x00 0x36000000 0x0 0x00040000>, /* configuration space (256K) */
+                     <0x00 0x36040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */
+                     <0x00 0x36080000 0x0 0x00040000>; /* DBI reg space (256K)       */
                reg-names = "appl", "config", "atu_dma", "dbi";
 
                status = "disabled";
 
                bus-range = <0x0 0xff>;
 
-               ranges = <0x81000000 0x0  0x36100000 0x0  0x36100000 0x0 0x00100000   /* downstream I/O (1MB) */
-                         0xc3000000 0x14 0x00000000 0x14 0x00000000 0x3 0x40000000   /* prefetchable memory (13GB) */
-                         0x82000000 0x0  0x40000000 0x17 0x40000000 0x0 0xc0000000>; /* non-prefetchable memory (3GB) */
+               ranges = <0x01000000 0x0  0x36100000 0x0  0x36100000 0x0 0x00100000>, /* downstream I/O (1MB) */
+                        <0x43000000 0x14 0x00000000 0x14 0x00000000 0x3 0x40000000>, /* prefetchable memory (13GB) */
+                        <0x02000000 0x0  0x40000000 0x17 0x40000000 0x0 0xc0000000>; /* non-prefetchable memory (3GB) */
 
                interconnects = <&mc TEGRA194_MEMORY_CLIENT_PCIE4R &emc>,
                                <&mc TEGRA194_MEMORY_CLIENT_PCIE4W &emc>;
        pcie@14180000 {
                compatible = "nvidia,tegra194-pcie";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX8B>;
-               reg = <0x00 0x14180000 0x0 0x00020000   /* appl registers (128K)      */
-                      0x00 0x38000000 0x0 0x00040000   /* configuration space (256K) */
-                      0x00 0x38040000 0x0 0x00040000   /* iATU_DMA reg space (256K)  */
-                      0x00 0x38080000 0x0 0x00040000>; /* DBI reg space (256K)       */
+               reg = <0x00 0x14180000 0x0 0x00020000>, /* appl registers (128K)      */
+                     <0x00 0x38000000 0x0 0x00040000>, /* configuration space (256K) */
+                     <0x00 0x38040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */
+                     <0x00 0x38080000 0x0 0x00040000>; /* DBI reg space (256K)       */
                reg-names = "appl", "config", "atu_dma", "dbi";
 
                status = "disabled";
 
                bus-range = <0x0 0xff>;
 
-               ranges = <0x81000000 0x0  0x38100000 0x0  0x38100000 0x0 0x00100000   /* downstream I/O (1MB) */
-                         0xc3000000 0x18 0x00000000 0x18 0x00000000 0x3 0x40000000   /* prefetchable memory (13GB) */
-                         0x82000000 0x0  0x40000000 0x1b 0x40000000 0x0 0xc0000000>; /* non-prefetchable memory (3GB) */
+               ranges = <0x01000000 0x0  0x38100000 0x0  0x38100000 0x0 0x00100000>, /* downstream I/O (1MB) */
+                        <0x43000000 0x18 0x00000000 0x18 0x00000000 0x3 0x40000000>, /* prefetchable memory (13GB) */
+                        <0x02000000 0x0  0x40000000 0x1b 0x40000000 0x0 0xc0000000>; /* non-prefetchable memory (3GB) */
 
                interconnects = <&mc TEGRA194_MEMORY_CLIENT_PCIE0R &emc>,
                                <&mc TEGRA194_MEMORY_CLIENT_PCIE0W &emc>;
        pcie@141a0000 {
                compatible = "nvidia,tegra194-pcie";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX8A>;
-               reg = <0x00 0x141a0000 0x0 0x00020000   /* appl registers (128K)      */
-                      0x00 0x3a000000 0x0 0x00040000   /* configuration space (256K) */
-                      0x00 0x3a040000 0x0 0x00040000   /* iATU_DMA reg space (256K)  */
-                      0x00 0x3a080000 0x0 0x00040000>; /* DBI reg space (256K)       */
+               reg = <0x00 0x141a0000 0x0 0x00020000>, /* appl registers (128K)      */
+                     <0x00 0x3a000000 0x0 0x00040000>, /* configuration space (256K) */
+                     <0x00 0x3a040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */
+                     <0x00 0x3a080000 0x0 0x00040000>; /* DBI reg space (256K)       */
                reg-names = "appl", "config", "atu_dma", "dbi";
 
                status = "disabled";
 
                bus-range = <0x0 0xff>;
 
-               ranges = <0x81000000 0x0  0x3a100000 0x0  0x3a100000 0x0 0x00100000   /* downstream I/O (1MB) */
-                         0xc3000000 0x1c 0x00000000 0x1c 0x00000000 0x3 0x40000000   /* prefetchable memory (13GB) */
-                         0x82000000 0x0  0x40000000 0x1f 0x40000000 0x0 0xc0000000>; /* non-prefetchable memory (3GB) */
+               ranges = <0x01000000 0x0  0x3a100000 0x0  0x3a100000 0x0 0x00100000>, /* downstream I/O (1MB) */
+                        <0x43000000 0x1c 0x00000000 0x1c 0x00000000 0x3 0x40000000>, /* prefetchable memory (13GB) */
+                        <0x02000000 0x0  0x40000000 0x1f 0x40000000 0x0 0xc0000000>; /* non-prefetchable memory (3GB) */
 
                interconnects = <&mc TEGRA194_MEMORY_CLIENT_PCIE5R &emc>,
                                <&mc TEGRA194_MEMORY_CLIENT_PCIE5W &emc>;
        pcie_ep@14160000 {
                compatible = "nvidia,tegra194-pcie-ep", "snps,dw-pcie-ep";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX4A>;
-               reg = <0x00 0x14160000 0x0 0x00020000   /* appl registers (128K)      */
-                      0x00 0x36040000 0x0 0x00040000   /* iATU_DMA reg space (256K)  */
-                      0x00 0x36080000 0x0 0x00040000   /* DBI reg space (256K)       */
-                      0x14 0x00000000 0x4 0x00000000>; /* Address Space (16G)        */
+               reg = <0x00 0x14160000 0x0 0x00020000>, /* appl registers (128K)      */
+                     <0x00 0x36040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */
+                     <0x00 0x36080000 0x0 0x00040000>, /* DBI reg space (256K)       */
+                     <0x14 0x00000000 0x4 0x00000000>; /* Address Space (16G)        */
                reg-names = "appl", "atu_dma", "dbi", "addr_space";
 
                status = "disabled";
        pcie_ep@14180000 {
                compatible = "nvidia,tegra194-pcie-ep", "snps,dw-pcie-ep";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX8B>;
-               reg = <0x00 0x14180000 0x0 0x00020000   /* appl registers (128K)      */
-                      0x00 0x38040000 0x0 0x00040000   /* iATU_DMA reg space (256K)  */
-                      0x00 0x38080000 0x0 0x00040000   /* DBI reg space (256K)       */
-                      0x18 0x00000000 0x4 0x00000000>; /* Address Space (16G)        */
+               reg = <0x00 0x14180000 0x0 0x00020000>, /* appl registers (128K)      */
+                     <0x00 0x38040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */
+                     <0x00 0x38080000 0x0 0x00040000>, /* DBI reg space (256K)       */
+                     <0x18 0x00000000 0x4 0x00000000>; /* Address Space (16G)        */
                reg-names = "appl", "atu_dma", "dbi", "addr_space";
 
                status = "disabled";
        pcie_ep@141a0000 {
                compatible = "nvidia,tegra194-pcie-ep", "snps,dw-pcie-ep";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX8A>;
-               reg = <0x00 0x141a0000 0x0 0x00020000   /* appl registers (128K)      */
-                      0x00 0x3a040000 0x0 0x00040000   /* iATU_DMA reg space (256K)  */
-                      0x00 0x3a080000 0x0 0x00040000   /* DBI reg space (256K)       */
-                      0x1c 0x00000000 0x4 0x00000000>; /* Address Space (16G)        */
+               reg = <0x00 0x141a0000 0x0 0x00020000>, /* appl registers (128K)      */
+                     <0x00 0x3a040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */
+                     <0x00 0x3a080000 0x0 0x00040000>, /* DBI reg space (256K)       */
+                     <0x1c 0x00000000 0x4 0x00000000>; /* Address Space (16G)        */
                reg-names = "appl", "atu_dma", "dbi", "addr_space";
 
                status = "disabled";
index 16a5960..0f4857c 100644 (file)
                        spmic-default-output-high {
                                gpio-hog;
                                output-high;
-                               gpios = <2 GPIO_ACTIVE_HIGH 7 GPIO_ACTIVE_HIGH>;
+                               gpios = <2 GPIO_ACTIVE_HIGH>,
+                                       <7 GPIO_ACTIVE_HIGH>;
                        };
 
                        fps {
index 1f7dc51..356fefd 100644 (file)
@@ -18,9 +18,9 @@
        pcie@1003000 {
                compatible = "nvidia,tegra210-pcie";
                device_type = "pci";
-               reg = <0x0 0x01003000 0x0 0x00000800   /* PADS registers */
-                      0x0 0x01003800 0x0 0x00000800   /* AFI registers */
-                      0x0 0x02000000 0x0 0x10000000>; /* configuration space */
+               reg = <0x0 0x01003000 0x0 0x00000800>, /* PADS registers */
+                     <0x0 0x01003800 0x0 0x00000800>, /* AFI registers */
+                     <0x0 0x02000000 0x0 0x10000000>; /* configuration space */
                reg-names = "pads", "afi", "cs";
                interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
                             <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
                #address-cells = <3>;
                #size-cells = <2>;
 
-               ranges = <0x82000000 0 0x01000000 0x0 0x01000000 0 0x00001000   /* port 0 configuration space */
-                         0x82000000 0 0x01001000 0x0 0x01001000 0 0x00001000   /* port 1 configuration space */
-                         0x81000000 0 0x0        0x0 0x12000000 0 0x00010000   /* downstream I/O (64 KiB) */
-                         0x82000000 0 0x13000000 0x0 0x13000000 0 0x0d000000   /* non-prefetchable memory (208 MiB) */
-                         0xc2000000 0 0x20000000 0x0 0x20000000 0 0x20000000>; /* prefetchable memory (512 MiB) */
+               ranges = <0x02000000 0 0x01000000 0x0 0x01000000 0 0x00001000>, /* port 0 configuration space */
+                        <0x02000000 0 0x01001000 0x0 0x01001000 0 0x00001000>, /* port 1 configuration space */
+                        <0x01000000 0 0x0        0x0 0x12000000 0 0x00010000>, /* downstream I/O (64 KiB) */
+                        <0x02000000 0 0x13000000 0x0 0x13000000 0 0x0d000000>, /* non-prefetchable memory (208 MiB) */
+                        <0x42000000 0 0x20000000 0x0 0x20000000 0 0x20000000>; /* prefetchable memory (512 MiB) */
 
                clocks = <&tegra_car TEGRA210_CLK_PCIE>,
                         <&tegra_car TEGRA210_CLK_AFI>,
 
        soctherm: thermal-sensor@700e2000 {
                compatible = "nvidia,tegra210-soctherm";
-               reg = <0x0 0x700e2000 0x0 0x600 /* SOC_THERM reg_base */
-                       0x0 0x60006000 0x0 0x400>; /* CAR reg_base */
+               reg = <0x0 0x700e2000 0x0 0x600>, /* SOC_THERM reg_base */
+                     <0x0 0x60006000 0x0 0x400>; /* CAR reg_base */
                reg-names = "soctherm-reg", "car-reg";
                interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
                             <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;