]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: imx6q-utilite-pro: add missing required property for pci
authorFrank Li <Frank.Li@nxp.com>
Thu, 16 Oct 2025 16:00:13 +0000 (12:00 -0400)
committerShawn Guo <shawnguo@kernel.org>
Mon, 27 Oct 2025 06:42:54 +0000 (14:42 +0800)
Add device_type, bus-range, ranges for pci nodes. Rename intel,i211 to
ethernet to fix below CHECK_DTBS warnings:
  arch/arm/boot/dts/nxp/imx/imx6q-utilite-pro.dtb: pcie@0,0: 'device_type' is a required property
        from schema $id: http://devicetree.org/schemas/pci/pci-bus-common.yaml#
  arch/arm/boot/dts/nxp/imx/imx6q-utilite-pro.dtb: pcie@0,0: 'ranges' is a required property
        from schema $id: http://devicetree.org/schemas/pci/pci-bus-common.yaml
  arm/boot/dts/nxp/imx/imx6q-utilite-pro.dtb: pcie@0,0: 'intel,i211@pcie0,0' does not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z0-9][a-zA-Z0-9#,+\\-._]{0,63}$', '^[a-zA-Z0-9][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+'
        from schema $id: http://devicetree.org/schemas/dt-core.yaml

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx6q-utilite-pro.dts

index aae81feee00dba2761f140fc2a76a828f69a8308..c78f101c3cc122f418b708b1c274ca11b586b65c 100644 (file)
 &pcie {
        pcie@0,0 {
                reg = <0x000000 0 0 0 0>;
+               device_type = "pci";
                #address-cells = <3>;
                #size-cells = <2>;
+               bus-range = <0x00 0xff>;
+               ranges;
 
                /* non-removable i211 ethernet card */
-               eth1: intel,i211@pcie0,0 {
+               eth1: ethernet@0,0 {
                        reg = <0x010000 0 0 0 0>;
                };
        };