imx.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Frank Li <Frank.Li@nxp.com>
To: Shawn Guo <shawnguo@kernel.org>, Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org, imx@lists.linux.dev,
	 Frank Li <Frank.Li@nxp.com>
Subject: [PATCH 12/15] ARM: dts: ls1021a-tsn: Remove redundant #address-cells for ethernet-switch@1
Date: Mon, 18 Aug 2025 16:48:23 -0400	[thread overview]
Message-ID: <20250818-ls1021a_dts_warning-v1-12-7a79b6b4a0e2@nxp.com> (raw)
In-Reply-To: <20250818-ls1021a_dts_warning-v1-0-7a79b6b4a0e2@nxp.com>

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>
---
 arch/arm/boot/dts/nxp/ls/ls1021a-tsn.dts | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/ls/ls1021a-tsn.dts b/arch/arm/boot/dts/nxp/ls/ls1021a-tsn.dts
index 1ea32fff41201b7a787dd116eef675318861ad19..da76566f3510ce866586a214b4df6992e5fc4843 100644
--- a/arch/arm/boot/dts/nxp/ls/ls1021a-tsn.dts
+++ b/arch/arm/boot/dts/nxp/ls/ls1021a-tsn.dts
@@ -40,8 +40,6 @@ &dspi0 {
 	/* 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>;

-- 
2.34.1


  parent reply	other threads:[~2025-08-18 20:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-18 20:48 [PATCH 00/15] ARM: dts: clean up most ls1021a CHECK_DTB warning Frank Li
2025-08-18 20:48 ` [PATCH 01/15] ARM: dts: ls1021a: swap dma tx/rx channel to fix DTB_CHECK warning Frank Li
2025-08-18 20:48 ` [PATCH 02/15] ARM: dts: ls1021a: correct node name "timer0" to 'rtc' and remove reg-names Frank Li
2025-08-18 20:48 ` [PATCH 03/15] ARM: dts: ls1021a: remove redundant snps,host-vbus-glitches Frank Li
2025-08-18 20:48 ` [PATCH 04/15] ARM: dts: ls1021a: remove big-endian for memory-controller node Frank Li
2025-08-18 20:48 ` [PATCH 05/15] ARM: dts: ls1021a: Rename node name nor to flash Frank Li
2025-08-18 20:48 ` [PATCH 06/15] ARM: dts: ls1021a: Remove redundant #address-cells for queue-group@* of fsl,etsec2 Frank Li
2025-08-18 20:48 ` [PATCH 07/15] ARM: dts: ls1021a: Rename esdhc@1560000 to mmc@1560000 Frank Li
2025-08-19  5:46   ` Alexander Stein
2025-08-18 20:48 ` [PATCH 08/15] ARM: dts: ls1021a: Rename node name power-controler to wakeup-controller Frank Li
2025-08-18 20:48 ` [PATCH 09/15] ARM: dts: ls1021a-qds: Rename node name at45db021d@0 to flash@0 Frank Li
2025-08-19  7:17   ` Krzysztof Kozlowski
2025-08-18 20:48 ` [PATCH 10/15] ARM: dts: ls1021a: remove big-endian for mmc modes Frank Li
2025-08-18 20:48 ` [PATCH 11/15] ARM: dts: ls1021a: add fsl,ls1021a-wdt for watchdog node Frank Li
2025-08-18 20:48 ` Frank Li [this message]
2025-08-18 20:48 ` [PATCH 13/15] ARM: dts: ls1021a-tqmls1021a-mbls1021a-rgb-cdtech: Remove fallback compatible string edt,edt-ft5x06 Frank Li
2025-08-18 20:48 ` [PATCH 14/15] ARM: dts: ls1021a-qads: Add fallback compatible string mdio-mux Frank Li
2025-08-18 20:48 ` [PATCH 15/15] ARM: dts: ls1021a-qds: rename 'nor' to 'flash' and 'mdio-mux-emi1' to 'mdio-mux@54' Frank Li
2025-08-19  5:45 ` [PATCH 00/15] ARM: dts: clean up most ls1021a CHECK_DTB warning Alexander Stein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250818-ls1021a_dts_warning-v1-12-7a79b6b4a0e2@nxp.com \
    --to=frank.li@nxp.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=imx@lists.linux.dev \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).