]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: ipq8074: fix pci node reg property
authorVinod Koul <vkoul@kernel.org>
Mon, 8 Mar 2021 06:08:24 +0000 (11:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:42:08 +0000 (13:42 +0200)
[ Upstream commit 52c9887fba71fc8f12d343833fc595c762aac8c7 ]

reg property should be array of values, here it is a single array,
leading to below warning:

arch/arm64/boot/dts/qcom/ipq8074-hk01.dt.yaml: soc: pci@10000000:reg:0: [268435456, 3869, 268439328, 168, 557056, 8192, 269484032, 4096] is too long
arch/arm64/boot/dts/qcom/ipq8074-hk01.dt.yaml: soc: pci@10000000:ranges: 'oneOf' conditional failed, one must be fixed:
arch/arm64/boot/dts/qcom/ipq8074-hk01.dt.yaml: soc: pci@10000000:ranges: 'oneOf' conditional failed, one must be fixed:
[[2164260864, 0, 270532608270532608, 0, 10485762181038080, 0, 271581184271581184, 0, 13631488]] is not of type 'null'
[2164260864, 0, 270532608270532608, 0, 10485762181038080, 0, 271581184271581184, 0, 13631488] is too long
arch/arm64/boot/dts/qcom/ipq8074-hk01.dt.yaml: soc: pci@20000000:reg:0: [536870912, 3869, 536874784, 168, 524288, 8192, 537919488, 4096] is too long
arch/arm64/boot/dts/qcom/ipq8074-hk01.dt.yaml: soc: pci@20000000:ranges: 'oneOf' conditional failed, one must be fixed:
arch/arm64/boot/dts/qcom/ipq8074-hk01.dt.yaml: soc: pci@20000000:ranges: 'oneOf' conditional failed, one must be fixed:
[[2164260864, 0, 538968064538968064, 0, 10485762181038080, 0, 540016640540016640, 0, 13631488]] is not of type 'null'
[2164260864, 0, 538968064538968064, 0, 10485762181038080, 0, 540016640540016640, 0, 13631488] is too long

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20210308060826.3074234-17-vkoul@kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/ipq8074.dtsi

index a32e5e79ab0b7546af8e8bcdb29e8e669b3ff9af..e8db62470b23059b006da560e2e5f617172dc908 100644 (file)
 
                pcie1: pci@10000000 {
                        compatible = "qcom,pcie-ipq8074";
-                       reg =  <0x10000000 0xf1d
-                               0x10000f20 0xa8
-                               0x00088000 0x2000
-                               0x10100000 0x1000>;
+                       reg =  <0x10000000 0xf1d>,
+                              <0x10000f20 0xa8>,
+                              <0x00088000 0x2000>,
+                              <0x10100000 0x1000>;
                        reg-names = "dbi", "elbi", "parf", "config";
                        device_type = "pci";
                        linux,pci-domain = <1>;
 
                pcie0: pci@20000000 {
                        compatible = "qcom,pcie-ipq8074";
-                       reg =  <0x20000000 0xf1d
-                               0x20000f20 0xa8
-                               0x00080000 0x2000
-                               0x20100000 0x1000>;
+                       reg = <0x20000000 0xf1d>,
+                             <0x20000f20 0xa8>,
+                             <0x00080000 0x2000>,
+                             <0x20100000 0x1000>;
                        reg-names = "dbi", "elbi", "parf", "config";
                        device_type = "pci";
                        linux,pci-domain = <0>;