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)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 5 Aug 2021 15:27:33 +0000 (10:27 -0500)
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>
arch/arm64/boot/dts/qcom/ipq8074.dtsi

index c1c5d8011a27b1e08703f2d0016312806aa0e99c..0baf17fbafce1ed8e13cd43ba10b6624b5459b2e 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>;