From patchwork Mon Feb 19 16:09:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13562873 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D02CBC48BF8 for ; Mon, 19 Feb 2024 16:10:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RsfvaLrakJ/2GnmkumPvRssU47kCEm+IBSNyzOfGemc=; b=PTooWnDweVUevr BKjtNBTIulzTpcztzV6D//m+8UAOcIB4u/h6t1NwX8x8Y56tmYgGbTWxFDgq5hxh05bJRzxmtnrEv PEKC0Kt5/r6vMC86EjeKpbJzOhNagiovLgH+g1aUlHUaTNS8BEmJ1F5hZxrJyky7LH5BTTTxHUHrJ hZWhAKNFYPB5zemBuaCusnqnRYfeJr/3y0egNxsbNFpuDXxAA9V9qrUzeD0xJ2M2+8GU8gYmpchlh 9THD9/h/hCVzG9aVDEsZuKAAMjFJsYtHrXV0sKeOK8XAxUeQCJxvoGCwPb0sjQpWNrHa6aoYyuHhJ vguw1jMlvp34FBDJyycQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc6DS-0000000BHFP-3wqa; Mon, 19 Feb 2024 16:10:02 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc6DK-0000000BHC0-43z0 for linux-arm-kernel@lists.infradead.org; Mon, 19 Feb 2024 16:09:56 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-41241f64c6bso23957035e9.0 for ; Mon, 19 Feb 2024 08:09:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708358993; x=1708963793; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Xh9vUfoHPZFnPPcTVso6vUO3bMJmWkfyYVswHNjvUxU=; b=g/bv1v4a5WEhKkLtYBPiEiKdqj3umx9i9Dudq8/ResXbDh2HRPx5iWE1J/7oSN+R0s JgjxCrk2sB2kYSU0GGNNm82FE9ETWgFc/gISD2uzrDxy/KslH5gUeg3eAjsg5imqiB5K vstuoGtoINa79mh6QGKFryMi3IHoyxBNBK7JmRfvZeNdOFWSD/ay28pcGrd03l+qE8Ul /6+ON/l+kYcHeGdsGqwY6+lv81XyYg7E/6OJaBeFDedM7wU7szz9jFiqzxeH34NMIYTK Wacl//QuZnUqdNbBnKF31xlp8uNmgw3wi5h5BYBkTTQgioBqJjtbFoWblc1d1cxJ2uo8 8+Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708358993; x=1708963793; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Xh9vUfoHPZFnPPcTVso6vUO3bMJmWkfyYVswHNjvUxU=; b=fQsvLu5LFWyHDxzZBw4Ue34FVa3Jk53RaSIcNbAbPzHpjnwGPz2Zcy9LobvfiIGt0l Qgrrbe4/ArzOlwPYSRzSmQOsFXMw4FtIZgVGo/pbNwPHPEQtFV0STRwahyes6ef+tRJE Sh+8GomxJkdmRoC13HXcVOztwsyn5xBdwVy+oNbuLSObZjKqwj8O53eEuQUT4jwySUi0 LmeGuCYlV9LsxsNeliz+GtrHwBwe4wyCnQZveNSRcfl2WpibDB8rEr2ULI0XGXe9ViZg LLmF3gL2MaA+uJG9YiNruBsRrC8lxLigxRtQVdE3piDZ0JMJjyNMm8ASZ1sXDWXYYop7 KkYw== X-Gm-Message-State: AOJu0YyvG6hg6KN48NfbsFguiyDDMpFDVXJJbEcB/uOR8JQ9331oV8qk FCGkcYVszqbT+iLEyDWYtxahcVDA+LmMKdvDPEDP8x9dqApCrOOs X-Google-Smtp-Source: AGHT+IGwHO1+9bzW+aeUsfuP4YK/bsb8fDl3AXVY3KJdwWdOV6wi0ZHETgfjh87YtN31Ug3+vIUc7g== X-Received: by 2002:a05:600c:1396:b0:411:d889:f3cd with SMTP id u22-20020a05600c139600b00411d889f3cdmr8958674wmf.34.1708358993362; Mon, 19 Feb 2024 08:09:53 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2500:a01:3c2e:cd45:f50f:f083]) by smtp.gmail.com with ESMTPSA id l14-20020a7bc44e000000b00411d1ce4f9dsm11592670wmi.34.2024.02.19.08.09.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 08:09:52 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Fabrizio Castro , Lad Prabhakar Subject: [PATCH 2/4] dt-bindings: arm: renesas: Document Renesas RZ/V2H{P} System Controller Date: Mon, 19 Feb 2024 16:09:10 +0000 Message-Id: <20240219160912.1206647-3-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240219160912.1206647-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240219160912.1206647-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240219_080955_037123_7A887787 X-CRM114-Status: GOOD ( 16.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Lad Prabhakar Add DT binding documentation for System Controller (SYS) found on RZ/V2H{P} ("R9A09G057") SoC's. SYS block contains the SYS_LSI_DEVID register which can be used to retrieve SoC version information. Signed-off-by: Lad Prabhakar Reviewed-by: Fabrizio Castro --- Note, the reset index in example node will be update once the CPG support is upstreamed. --- .../soc/renesas/renesas,r9a09g057-sys.yaml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml b/Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml new file mode 100644 index 000000000000..ba30d7734ee8 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/renesas/renesas,r9a09g057-sys.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/V2H{P} System Controller (SYS) + +maintainers: + - Geert Uytterhoeven + +description: + The RZ/V2H{P} SYS (System Controller) controls the overall + configuration of the LSI and supports the following functions, + - Trust zone control + - Extend access by specific masters to address beyond 4GB space + - GBETH configuration + - Control of settings and states of SRAM/PCIe/CM33/CA55/CR8/xSPI/ADC/TSU + - LSI version + - WDT stop control + - General registers + +properties: + compatible: + const: renesas,r9a09g057-sys + + reg: + maxItems: 1 + + clocks: + items: + - description: Clock from external oscillator + + resets: + items: + - description: SYS_0_PRESETN reset signal + +required: + - compatible + - reg + - clocks + - resets + +additionalProperties: false + +examples: + - | + extal_clk: extal-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + }; + + sys: system-controller@10430000 { + compatible = "renesas,r9a09g057-sys"; + reg = <0x10430000 0x10000>; + clocks = <&extal_clk>; + resets = <&cpg 1>; + };