arm64: dts: ti: k3-j721e-main: Fix "max-virtual-functions" in PCIe EP nodes
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 15 Sep 2021 05:53:53 +0000 (11:23 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Nov 2021 13:04:14 +0000 (14:04 +0100)
[ Upstream commit 9af3ef954975c383eeb667aee207d9ce6fbef8c4 ]

commit 4e5833884f66 ("arm64: dts: ti: k3-j721e-main: Add PCIe device
tree nodes") added "max-virtual-functions" to have 16 bit values.
Fix "max-virtual-functions" in PCIe endpoint (EP) nodes to have 8 bit
values instead of 16.

Fixes: 4e5833884f66 ("arm64: dts: ti: k3-j721e-main: Add PCIe device tree nodes")
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20210915055358.19997-2-kishon@ti.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi

index 6ffdebd..4e01025 100644 (file)
                clock-names = "fck";
                cdns,max-outbound-regions = <16>;
                max-functions = /bits/ 8 <6>;
-               max-virtual-functions = /bits/ 16 <4 4 4 4 0 0>;
+               max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>;
                dma-coherent;
        };
 
                clock-names = "fck";
                cdns,max-outbound-regions = <16>;
                max-functions = /bits/ 8 <6>;
-               max-virtual-functions = /bits/ 16 <4 4 4 4 0 0>;
+               max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>;
                dma-coherent;
        };
 
                clock-names = "fck";
                cdns,max-outbound-regions = <16>;
                max-functions = /bits/ 8 <6>;
-               max-virtual-functions = /bits/ 16 <4 4 4 4 0 0>;
+               max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>;
                dma-coherent;
        };
 
                clock-names = "fck";
                cdns,max-outbound-regions = <16>;
                max-functions = /bits/ 8 <6>;
-               max-virtual-functions = /bits/ 16 <4 4 4 4 0 0>;
+               max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>;
                dma-coherent;
                #address-cells = <2>;
                #size-cells = <2>;