From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C70D12BE63F for ; Wed, 29 Jul 2026 01:24:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785288272; cv=none; b=nfUv+X6xwocUj4mTF77ZkccYBym/1ME0zxv8YG0yBbwpfiOkH2SCZBs2/GZNhOw0omghx3uJZgPsJNt0OVegCPBcps54SScIqSiXWPtHbPTstvOAzrO3lM4SQBVyuOlFSCLtb9Vz2XO4jUvoKPz5FYfXLlFnzGGfpQC1qEc95jA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785288272; c=relaxed/simple; bh=FijwwOL07zQKE2wPhWBm6Nh3wRruwgeJcnKYzc3Ngjw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=X4AfyhoQfkHuVVdGxzkUpX+KlAWLAErvvhJgJn5g2KuM13yzeWNycfPclmL2jq236Ivz8wqXZeN6baFtrtt+eyzJwSTuGlF050bMea8J+p/pt1gltHl5fk7wVSNAa0Xtgz3L/h6JLQE6GOQBdIw9X/woJzB8zRzM1nUHHfJjfB4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=S3c0qrww; arc=none smtp.client-ip=209.85.210.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="S3c0qrww" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-8487b7b3fc8so438791b3a.3 for ; Tue, 28 Jul 2026 18:24:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785288270; x=1785893070; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=zTUUYZoRzWnQSYsoa3RJtC9OCCoaKFk0bW+TVIF3cnM=; b=S3c0qrwwG07MRy2ULaA0OHw1hJfDM7ZPV1NbVzFjYpSyi8OjlZOq3Iqvlev2/1LJic LP3hkGWzD3Nk8QhoFVIXYCcgiafek6grU2D88w1CUqFP6RMnN2wYmqXkSFJC5pbQHuUp gYqNjUF+N/S5He6s4SNBn9Z+JqbidQtNLKIEEW0aamPls0DVf/cHTEJGpoq0YKAukoyp 1XNco9E0adwi8IlpREdDJClOLE7M238XcRHm9sbxKF+weNO5emTOe3cVEvDWyxUFzHa3 70UCJA/V0VAlqOpNUxDdNi2YQXM7urk7cJVBQ8WuqD2hD/D9Vi3z5V949SqnK4M8Amyu B6cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785288270; x=1785893070; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=zTUUYZoRzWnQSYsoa3RJtC9OCCoaKFk0bW+TVIF3cnM=; b=hjugPQKoo/YuHUTPWkpxv++cYsHFYsGCzfU6pVfM10WYXfCyypuJffca88ovCHnDMI D2x760tptRIknVRcMMcAtpQho+RapWLyrH6kAVW4x5wmK/vhK0PDya7LBkKsaUvCkHy/ wkLAlL6xTh8PnPDztudtHsY/g6OBDMdaZ5hhMKaJ4lJax061IZHar+RIekbvkpHmQKts HRKHc/2n1saIscMgqDFkaY/R0io/WPaFCGphlR/UBj8Amz1bdFkAXTgZX50/OBpIdzux gsslZqBkaAxPePrFHYvhSS+cyNx1OPw/El5TsKb7j4h1nrwhsxkkfyaiALMCLaHRWhgr e7ow== X-Forwarded-Encrypted: i=1; AHgh+Rr2yeya2mg7HmjExPRoI4CGios+zL7eyCf34PTD/JvfMUOYSdxQVtuQr1FymmvJHC28QR7AaAJHIQU6E+E=@vger.kernel.org X-Gm-Message-State: AOJu0YzKXXPwXyJLzltHsmZIb0SyUB2kzed3/QD+nQtMNW0eAxw3TETG K1wzUQWmN1lLwNCt71cFFY1fk5Z7Gr1cRz69TYt4JVBXeZEX0+nnizhB X-Gm-Gg: AR+sD1134Ts74KBIQebHtEjdwSLE8LSTy4agZyHIiDjPzEMa4W6NsCrq5bDACgFWai2 hiNJeG7YUbeqDA+T7oi715ef/WH2eeTDyF0sngxVsCs+6iPo2AOMw7vMQG7SF3LbhNxWOD90X/6 EgrUjTmUoEHoD07QSxBVIT/Pt4KjiYx4l/Yo21hpx+6Hr5elFtjjKZvXALUBOJDYavb/5UwI9pk Ba14Xt/7PWPaLnrFuLHJ9pgVGgqR/MHjvWcadRawaJTnX6M3rN467SsTzONM7xpTXrzR2vWdsfW 03H1PicbJxbJWUA5POQ8j4FkSV1OxYsEpiN3kkZyY8C3LG/k8b3tTwafsY/j/M14cG4x9o/eOiG zBqohb0bUUzGhQj18+FgafDEe/7KB31zqz4wCsXIwFjf8K8IZ9P9ZRD4FrzfN/0k3IA9rCpdFRE DUWDAAmIyjQ1mFz/a+iBd+ZwGkkhiK20wDukL2XS97yw0YVgtMJFNder1JHfo= X-Received: by 2002:a05:6a00:1248:b0:847:df4c:40c9 with SMTP id d2e1a72fcca58-84e9331b006mr4904021b3a.46.1785288270033; Tue, 28 Jul 2026 18:24:30 -0700 (PDT) Received: from localhost ([2001:19f0:8000:3e6e:5400:6ff:fe38:3d01]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84e9fe20e35sm595509b3a.1.2026.07.28.18.24.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2026 18:24:29 -0700 (PDT) From: Inochi Amaoto To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: Inochi Amaoto , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org, Yixun Lan , Longbin Li Subject: [PATCH 1/2] riscv: dts: spacemit: Make dtschema recognize the etherent PHY correctly on K3 pico-itx board Date: Wed, 29 Jul 2026 09:24:16 +0800 Message-ID: <20260729012418.154652-1-inochiama@gmail.com> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Since the previous commit does not change the phy node name, the dtschema can not recognize the type of the ethernet phy, so the following error is produced: /arch/riscv/boot/dts/spacemit/k3-pico-itx.dtb: phy@1 (ethernet-phy-id001c.c916): $nodename:0: 'phy@1' does not match '^ethernet-phy(@[a-f0-9]+)?$' from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml /arch/riscv/boot/dts/spacemit/k3-pico-itx.dtb: phy@1 (ethernet-phy-id001c.c916): Unevaluated properties are not allowed ('reg', 'reset-assert-us', 're set-deassert-us', 'reset-gpios' were unexpected) from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml Change the nodename to make the dtschema can recognize the right PHY type. Fixes: 6d6536c880fe ("riscv: dts: spacemit: Fix phy id check for the phy on pico-itx board") Signed-off-by: Inochi Amaoto --- arch/riscv/boot/dts/spacemit/k3-pico-itx.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts index d78416f3118e..e91a4712f2db 100644 --- a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts +++ b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts @@ -195,7 +195,7 @@ ð0 { status = "okay"; mdio { - phy0: phy@1 { + phy0: ethernet-phy@1 { compatible = "ethernet-phy-id001c.c916"; reg = <1>; reset-gpios = <&gpio 0 15 GPIO_ACTIVE_LOW>; -- 2.55.0