ARM: dts: qcom: apq8064: correct ranges values
authorDavid Heidelberg <david@ixit.cz>
Fri, 24 Dec 2021 18:20:31 +0000 (19:20 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 1 Feb 2022 00:15:33 +0000 (18:15 -0600)
Define start and end of the ranges for PCI node.

Fixes warning generated by `make qcom-apq8064-asus-nexus7-flo.dtb`:
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dt.yaml: pci@1b500000: ranges: 'oneOf' conditional failed, one must be fixed:
[[2164260864, 0, 0, 266338304, 0, 10485762181038080, 0, 134217728134217728, 0, 132120576]] is not of type 'boolean'
True was expected
[[2164260864, 0, 0, 266338304, 0, 10485762181038080, 0, 134217728134217728, 0, 132120576]] is not of type 'null'
[2164260864, 0, 0, 266338304, 0, 10485762181038080, 0, 134217728134217728, 0, 132120576] is too long
From schema: /schemas/pci/pci-bus.yaml

Signed-off-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211224182031.66509-1-david@ixit.cz
arch/arm/boot/dts/qcom-apq8064.dtsi

index 4d562c94c31cd749351fe87a2391ea8ed3042d47..9100506cf51896f98404dc7b5c1096ce92929a08 100644 (file)
                        num-lanes = <1>;
                        #address-cells = <3>;
                        #size-cells = <2>;
-                       ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000   /* I/O */
-                                 0x82000000 0 0x08000000 0x08000000 0 0x07e00000>; /* memory */
+                       ranges = <0x81000000 0 0          0x0fe00000 0 0x00100000>, /* I/O */
+                                <0x82000000 0 0x08000000 0x08000000 0 0x07e00000>; /* mem */
                        interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
                        interrupt-names = "msi";
                        #interrupt-cells = <1>;