ARM: dts: armada-38x: Fix assigned-addresses for every PCIe Root Port
authorPali Rohár <pali@kernel.org>
Wed, 17 Aug 2022 22:30:52 +0000 (00:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jan 2023 11:07:12 +0000 (12:07 +0100)
[ Upstream commit 44f47b7a8fa4678ce4c38ea74837e4996b9df6d6 ]

BDF of resource in DT assigned-addresses property of Marvell PCIe Root Port
(PCI-to-PCI bridge) should match BDF in address part in that DT node name
as specified resource belongs to Marvell PCIe Root Port itself.

Fixes: 0d3d96ab0059 ("ARM: mvebu: add Device Tree description of the Armada 380/385 SoCs")
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/armada-380.dtsi
arch/arm/boot/dts/armada-385.dtsi

index 5102d19cc8f47cac1b304fde8db531f2f6272764..43477ca6eaa3522b2fff2021a62222ba4debfe85 100644 (file)
                        /* x1 port */
                        pcie@2,0 {
                                device_type = "pci";
-                               assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
+                               assigned-addresses = <0x82001000 0 0x40000 0 0x2000>;
                                reg = <0x1000 0 0 0 0>;
                                #address-cells = <3>;
                                #size-cells = <2>;
                        /* x1 port */
                        pcie@3,0 {
                                device_type = "pci";
-                               assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
+                               assigned-addresses = <0x82001800 0 0x44000 0 0x2000>;
                                reg = <0x1800 0 0 0 0>;
                                #address-cells = <3>;
                                #size-cells = <2>;
index 8e67d2c083dd85d8ca0a17032819502f221295e8..0451bc14386c0a96e2e4f336655bc2058547c18f 100644 (file)
                        /* x1 port */
                        pcie@2,0 {
                                device_type = "pci";
-                               assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
+                               assigned-addresses = <0x82001000 0 0x40000 0 0x2000>;
                                reg = <0x1000 0 0 0 0>;
                                #address-cells = <3>;
                                #size-cells = <2>;
                        /* x1 port */
                        pcie@3,0 {
                                device_type = "pci";
-                               assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
+                               assigned-addresses = <0x82001800 0 0x44000 0 0x2000>;
                                reg = <0x1800 0 0 0 0>;
                                #address-cells = <3>;
                                #size-cells = <2>;
                         */
                        pcie@4,0 {
                                device_type = "pci";
-                               assigned-addresses = <0x82000800 0 0x48000 0 0x2000>;
+                               assigned-addresses = <0x82002000 0 0x48000 0 0x2000>;
                                reg = <0x2000 0 0 0 0>;
                                #address-cells = <3>;
                                #size-cells = <2>;