Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp60332lqe; Wed, 3 Apr 2024 22:26:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWYUZ7GJ0kAys1mY1o/+rTNCMFMAEhQmOioI5KwrIDiuAedQXPn0gAYgxkN3QtVveKV5QklruxkaGPiS7Xt0YKUrLyL7PMOtRafTbQ/Lg== X-Google-Smtp-Source: AGHT+IHCXnq0+RFmrsish0Zz+4OXYtH/tf8RNhTg3PghAgUAvS27hFzRyNlLcXt1uZ9uOoQ12LSs X-Received: by 2002:ac8:5d55:0:b0:434:3470:dff5 with SMTP id g21-20020ac85d55000000b004343470dff5mr1551425qtx.23.1712208378178; Wed, 03 Apr 2024 22:26:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712208378; cv=pass; d=google.com; s=arc-20160816; b=mTyZHflPBo7eZ+BcuBr6aZrB5XTmj6UqJaE94dhJbWOqlgE47vC6aJyZIjLR8P8saO SlZS1cwZdyIucYQFDw3eEFv4HwJyEKQ0LZ8wB+aVFgK/ybvQ08+IR7m+C0nzdwFHXeta 8V2LbVG07HDBQrg7QV6XLODWKcYATuSlGuzHIfebtCL6q/UGsQ10xNY9nvMR4Uc2YnY8 CHZv+nD8VRVVk4Xla2UGHcXa4QVusfzUEwwwuoz3QTivZeROkztofW6oTKwui9Nwaa5H GPSanMvelI10OxtMIoW02YQLFiT1JPa+zomkDE5aoNyBYBuR0P6EF0xfOyCv9rpdZO/S JVFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=h+DgskgpF65aUmbMO9+2d1kq3W0bZMpmqhvRjnD5Bww=; fh=v4XjIS8ZnkfRSzpdvZ0kX2qBiNaW+cViNlbs+XMLZ44=; b=aOjbUxi0IF/95++RGBOtIZVA/PPArOVOsljKKs50xIxMznYuRo27yEMWadcEmrm6IW VXuqDgm73HMkzBss/ofPyz3xrVZp9M5pxqjjAwOW4xzttStoa+QQINNuzkExSIT2F8C4 HRDkXWSJF7zNOboyQAcmx2aiV219djhenddrB9lRM7AsP6zkuTf+9UIcLv/yLH9viYtH CQhlWfrLiJfwpfI86NQkaI+ZIa6T/iElOAkCyddlt701D3IMEPsf2Rp96hYCPLSt4Vka 32D3C+uoTlhnQXlGNPuO/nYo5lejvL3zcYQkf3oWuqpQoY2JiAfaFZu+z33arMv6hmPr bvsw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-130936-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130936-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c6-20020ac85a86000000b0042f16c1d042si16069409qtc.255.2024.04.03.22.26.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 22:26:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130936-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-130936-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130936-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2890E1C26A5B for ; Thu, 4 Apr 2024 05:25:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C80212A153; Thu, 4 Apr 2024 05:15:45 +0000 (UTC) Received: from sakura.ysato.name (ik1-413-38519.vs.sakura.ne.jp [153.127.30.23]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C0C58129A71; Thu, 4 Apr 2024 05:15:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=153.127.30.23 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712207744; cv=none; b=Wpxxi6TlmVTd75YzT+sPJR1NLfWXwcG1XKu92wltAdVAtkOTzKPlBv/11dM0Uu173k/zxI3ihWIjiaplPtAGYvGZWFOFrGo1N2xmy/7eAi9sRRTWXyW0/+ctnQqOrPZop5KMdWskRDrVkmkEhAmqThF8B7BgNaYrv9N9ZGKxdo0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712207744; c=relaxed/simple; bh=4YGIn39v8DYFC1ATnliyljpzF5TdwdgS1LibAF3LgY8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Dt7PYgM5rxJXRnPbC+XdVifKe3K/WVDfGJGmj8vfXUSfsQT5EXWMpQdIYFsogsCJyrtvLO3rLrsux0RGuQCEZ7NYOt7pZMGAR47tYnCYwkisIIyVmaL8fY8l1hfEUqOzH0giWbuQ/foQWk1Zqrsw0j6OxNKewR9Zx7MGf5UTu3U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=users.sourceforge.jp; spf=fail smtp.mailfrom=users.sourceforge.jp; arc=none smtp.client-ip=153.127.30.23 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=users.sourceforge.jp Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=users.sourceforge.jp Received: from SIOS1075.ysato.name (al128006.dynamic.ppp.asahi-net.or.jp [111.234.128.6]) by sakura.ysato.name (Postfix) with ESMTPSA id 2EED51C0FF9; Thu, 4 Apr 2024 14:15:40 +0900 (JST) From: Yoshinori Sato To: linux-sh@vger.kernel.org Cc: Yoshinori Sato , Damien Le Moal , Niklas Cassel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Michael Turquette , Stephen Boyd , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Thomas Gleixner , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Greg Kroah-Hartman , Jiri Slaby , Magnus Damm , Daniel Lezcano , Rich Felker , John Paul Adrian Glaubitz , Lee Jones , Helge Deller , Heiko Stuebner , Shawn Guo , Sebastian Reichel , Chris Morgan , Linus Walleij , Arnd Bergmann , David Rientjes , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Vlastimil Babka , Baoquan He , Andrew Morton , Guenter Roeck , Kefeng Wang , Stephen Rothwell , Javier Martinez Canillas , Guo Ren , Azeem Shaikh , Max Filippov , Jonathan Corbet , Jacky Huang , Herve Codina , Manikanta Guntupalli , Anup Patel , Biju Das , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Sam Ravnborg , Sergey Shtylyov , Laurent Pinchart , linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: [RESEND v7 25/37] dt-binding: sh: cpus: Add SH CPUs json-schema Date: Thu, 4 Apr 2024 14:14:36 +0900 Message-Id: <7731111c9e383c41173ac08f3a040a18449ac542.1712207606.git.ysato@users.sourceforge.jp> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Renesas SH series and compatible ISA CPUs. Signed-off-by: Yoshinori Sato --- .../devicetree/bindings/sh/cpus.yaml | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/sh/cpus.yaml diff --git a/Documentation/devicetree/bindings/sh/cpus.yaml b/Documentation/devicetree/bindings/sh/cpus.yaml new file mode 100644 index 000000000000..9e5640793d76 --- /dev/null +++ b/Documentation/devicetree/bindings/sh/cpus.yaml @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sh/cpus.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas SuperH CPUs + +maintainers: + - Yoshinori Sato + +description: |+ + Definition of CPU core with Renesas SuperH and compatible instruction set. + +properties: + compatible: + anyOf: + - items: + - enum: + - renesas,sh2a + - renesas,sh3 + - renesas,sh4 + - renesas,sh4a + - jcore,j2 + - const: renesas,sh2 + - const: renesas,sh2 + + clocks: + maxItems: 1 + + reg: + maxItems: 1 + + device_type: + const: cpu + +required: + - compatible + - reg + - device_type + +additionalProperties: true + +examples: + - | + #include + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu: cpu@0 { + compatible = "renesas,sh4", "renesas,sh2"; + device_type = "cpu"; + reg = <0>; + clocks = <&cpg SH7750_CPG_ICK>; + clock-names = "ick"; + icache-size = <16384>; + icache-line-size = <32>; + dcache-size = <32768>; + dcache-line-size = <32>; + }; + }; +... -- 2.39.2