ARM: dts: dra7: Enable workaround for errata i870 in PCIe host mode
authorVignesh R <vigneshr@ti.com>
Fri, 28 Sep 2018 06:04:42 +0000 (11:34 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:19:19 +0000 (08:19 +0100)
[ Upstream commit b830526f304764753fcb8b4a563a94080e982a6c ]

Add ti,syscon-unaligned-access property to PCIe RC nodes to set
appropriate bits in CTRL_CORE_SMA_SW_7 register to enable workaround for
errata i870.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/dra7.dtsi

index 9136b3c..7ce24b2 100644 (file)
                                                <0 0 0 2 &pcie1_intc 2>,
                                                <0 0 0 3 &pcie1_intc 3>,
                                                <0 0 0 4 &pcie1_intc 4>;
+                               ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
                                status = "disabled";
                                pcie1_intc: interrupt-controller {
                                        interrupt-controller;
                                                <0 0 0 2 &pcie2_intc 2>,
                                                <0 0 0 3 &pcie2_intc 3>,
                                                <0 0 0 4 &pcie2_intc 4>;
+                               ti,syscon-unaligned-access = <&scm_conf1 0x14 2>;
                                pcie2_intc: interrupt-controller {
                                        interrupt-controller;
                                        #address-cells = <0>;