arm64: dts: ti: k3-am65-main: Cleanup "ranges" property in "pcie" DT node
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 15 Sep 2021 05:53:58 +0000 (11:23 +0530)
committerNishanth Menon <nm@ti.com>
Mon, 20 Sep 2021 18:51:09 +0000 (13:51 -0500)
*dtbs_check* on
"Documentation/devicetree/bindings/pci/ti,am65-pci-host.yaml" YAML file
resulted in the following errors.

pcie@5500000: ranges: 'oneOf' conditional failed, one must be fixed:
pcie@5600000: ranges: 'oneOf' conditional failed, one must be fixed

Cleanup "ranges" property in "pcie" DT node to fix the above errors.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20210915055358.19997-7-kishon@ti.com
arch/arm64/boot/dts/ti/k3-am65-main.dtsi

index ba4e5d3e1ed7a6d65f8a605d3a8556fa7f4c7a1d..ce8bb4a61011ea12fc8c8bf4b7550758dc77b525 100644 (file)
                power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
                #address-cells = <3>;
                #size-cells = <2>;
-               ranges = <0x81000000 0 0          0x0 0x10020000 0 0x00010000
-                         0x82000000 0 0x10030000 0x0 0x10030000 0 0x07FD0000>;
+               ranges = <0x81000000 0 0          0x0 0x10020000 0 0x00010000>,
+                        <0x82000000 0 0x10030000 0x0 0x10030000 0 0x07FD0000>;
                ti,syscon-pcie-id = <&pcie_devid>;
                ti,syscon-pcie-mode = <&pcie0_mode>;
                bus-range = <0x0 0xff>;
                power-domains = <&k3_pds 121 TI_SCI_PD_EXCLUSIVE>;
                #address-cells = <3>;
                #size-cells = <2>;
-               ranges = <0x81000000 0 0          0x0   0x18020000 0 0x00010000
-                         0x82000000 0 0x18030000 0x0   0x18030000 0 0x07FD0000>;
+               ranges = <0x81000000 0 0          0x0   0x18020000 0 0x00010000>,
+                        <0x82000000 0 0x18030000 0x0   0x18030000 0 0x07FD0000>;
                ti,syscon-pcie-id = <&pcie_devid>;
                ti,syscon-pcie-mode = <&pcie1_mode>;
                bus-range = <0x0 0xff>;