]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: ls1021a-tsn: Remove redundant #address-cells for ethernet-switch@1
authorFrank Li <Frank.Li@nxp.com>
Fri, 22 Aug 2025 14:50:01 +0000 (10:50 -0400)
committerShawn Guo <shawnguo@kernel.org>
Thu, 11 Sep 2025 00:48:49 +0000 (08:48 +0800)
Remove redundant #address-cells and #size-cells for ethernet-switch@1
because children node have not address.

Fix below CHECK_DTBS warnings:
  arch/arm/boot/dts/nxp/ls/ls1021a-tsn.dtb: ethernet-switch@1 (nxp,sja1105t): Unevaluated properties are not allowed ('#address-cells', '#size-cells' were unexpected)
from schema $id: http://devicetree.org/schemas/net/dsa/nxp,sja1105.yaml#

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/ls/ls1021a-tsn.dts

index 1ea32fff41201b7a787dd116eef675318861ad19..da76566f3510ce866586a214b4df6992e5fc4843 100644 (file)
@@ -40,8 +40,6 @@
        /* ADG704BRMZ 1:4 SPI mux/demux */
        sja1105: ethernet-switch@1 {
                reg = <0x1>;
-               #address-cells = <1>;
-               #size-cells = <0>;
                compatible = "nxp,sja1105t";
                /* 12 MHz */
                spi-max-frequency = <12000000>;