From nobody Tue Feb 10 04:12:26 2026 Received: from Atcsqr.andestech.com (60-248-80-70.hinet-ip.hinet.net [60.248.80.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 471032877D4 for ; Thu, 15 Jan 2026 08:15:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=60.248.80.70 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768464958; cv=none; b=IW6Q5ArFUJaFSC5KBsl9oUl+8vOBslhTDZCeDSpwYmk51nKpSm/HjP3Pb1RciOB5rJwQODBvJfWx10ILD+bHhnyI1tcKj5lr1/DpRG28eJE6lED0hrn/3udcEGFB6HZCgqoTcu4eX28Zp75g3KOgx4WmFJEw/mHV2gWevnRfg/0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768464958; c=relaxed/simple; bh=tC0HZpV4U8DbjEwVPwyUVaNS8zCyAsPHCwq4O6BnFiU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=b9siHMrM7RSM0v5f/361OiWNa/H75SpGHT+uNjbpZQ7WzMGJaNNpYvTkGvozrQq1uEoJ6IiCVWGFRYaBT40J0jIQCfQG5ET4HyUPzmyd/d8YdFZSRf4QPqK6u1rFSyf9xnfbtLTMS43213UYkqbFjq/olBekKxw/VArxZo+2xS4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=permerror header.from=andestech.com; spf=pass smtp.mailfrom=andestech.com; arc=none smtp.client-ip=60.248.80.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=permerror header.from=andestech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=andestech.com Received: from mail.andestech.com (ATCPCS34.andestech.com [10.0.1.134]) by Atcsqr.andestech.com with ESMTPS id 60F8FNEV082800 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Thu, 15 Jan 2026 16:15:23 +0800 (+08) (envelope-from cl634@andestech.com) Received: from swlinux02.andestech.com (10.0.15.183) by ATCPCS34.andestech.com (10.0.1.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 15 Jan 2026 16:15:23 +0800 From: CL Wang To: , , , , , CC: , , , Subject: [PATCH V2 1/3] dt-bindings: watchdog: Add support for Andes ATCWDT200 Date: Thu, 15 Jan 2026 16:14:42 +0800 Message-ID: <20260115081444.2452357-2-cl634@andestech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260115081444.2452357-1-cl634@andestech.com> References: <20260115081444.2452357-1-cl634@andestech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: ATCPCS33.andestech.com (10.0.1.100) To ATCPCS34.andestech.com (10.0.1.134) X-DKIM-Results: atcpcs34.andestech.com; dkim=none; X-DNSRBL: X-SPAM-SOURCE-CHECK: pass X-MAIL: Atcsqr.andestech.com 60F8FNEV082800 Content-Type: text/plain; charset="utf-8" Add the devicetree binding documentation for the Andes ATCWDT200 watchdog timer. ATCWDT200 is the IP name, which is embedded in AndesCore-based platforms or SoCs such as AE350 and Qilai. Signed-off-by: CL Wang Reviewed-by: Rob Herring (Arm) --- Changes in v2: - Drop redundant text "including supported properties..." from the commit message. - Clarify the relationship between ATCWDT200 IP and SoCs (AE350/Qilai) in the commit message. - Add missing type definition ($ref: uint32), enum constraint, and description for 'andestech,clock-source' property. --- .../watchdog/andestech,ae350-wdt.yaml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/andestech,ae= 350-wdt.yaml diff --git a/Documentation/devicetree/bindings/watchdog/andestech,ae350-wdt= .yaml b/Documentation/devicetree/bindings/watchdog/andestech,ae350-wdt.yaml new file mode 100644 index 000000000000..f1107c552788 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/andestech,ae350-wdt.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/andestech,ae350-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Andes ATCWDT200 Watchdog Timer + +maintainers: + - CL Wang + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + oneOf: + - items: + - enum: + - andestech,qilai-wdt + - const: andestech,ae350-wdt + - const: andestech,ae350-wdt + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + andestech,clock-source: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1] + description: | + Select the clock source for the watchdog timer. + 0 - External clock + 1 - P clock + +required: + - compatible + - reg + - clocks + - andestech,clock-source + +unevaluatedProperties: false + +examples: + - | + watchdog@f0500000 { + compatible =3D "andestech,ae350-wdt"; + reg =3D <0xf0500000 0x20>; + clocks =3D <&clk_wdt>; + andestech,clock-source =3D <0>; + }; --=20 2.34.1