Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4418483rdb; Fri, 15 Sep 2023 01:13:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFY2NuICMMtlEbOD/Dqu3o8ZKgWtm7a0Y+4UlWStnoovECAgLmvC38gTlTDe3IwL2oKYTXg X-Received: by 2002:a17:902:e884:b0:1b0:3ab6:5140 with SMTP id w4-20020a170902e88400b001b03ab65140mr1242987plg.4.1694765627913; Fri, 15 Sep 2023 01:13:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694765627; cv=none; d=google.com; s=arc-20160816; b=MAqhSKroIN1vlM4WYp1Exlb3n2/nAuPjSlsAp4Bqc0BOhiCTBo7faJ1MVN7aGAxH2e z+uWoeaA8RZsBZIPHyicvhvv2bI/7Weyc9uTXqGJ2RwzQJsmZ0BGrx3gPbcoFXto2aow pzFnCDevl50P9RYr23IRL9Qzk15jhv6UXGWmRFUUmeLG+qIRD6hDiraSjQtz1rtAJDoO WIQL2CLmiw63pP4qptSV3KjB/lnyuxIMLXyuMKxI5/AfvqZrBazA59zJ7z0yN/4TibZt B+hZs/rEG+iimv/ayePeK4Ttl5LpO7kU2Osteai7fq+k5p8VeROJfhG2HI60zD5ug91J RvAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=lFR4rgoqV2tzBoTjNnY/KQ5+cg/qUnrxayaK6RnKhBE=; fh=WG1HDpiJxKmDBFTa3Tdnkf1IyuCCsyvSYUPrSQY3tug=; b=baGAHwna4LAdofxUhUpJaNMZSs5WY+zliwyXeMWuuRVxpW5YOyPjFQkBOY5vLgvTNf uWpA0dffrDvm/RjLv957Y9rcfi4V7J9nR2hROcq4doTgrYGZJHvc7KUv5G0Z+0b0E3Nh p7tESDn1cbwTlC3oRDHcb5JNbvNzciM3oniDFc1MEK+C1hTPvibVRoqzZr+Cm7It7hNp ANOziXs3ckDIBqD265k8x7MDlsS7mQzFibSHgZo+UGTD5fbfJtH2GUmaQdYzKP3PU7Ma B/s5h9y5yoj1DGFjsE3yc8JWlgLje1ocxbwz083h/dEP0EmB/xsvPM+JIcwbtzPkDI1N aYTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XdxUPCog; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id c5-20020a170902d48500b001bbb8324bd5si3080673plg.479.2023.09.15.01.13.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 01:13:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XdxUPCog; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 3538F820BCA4; Fri, 15 Sep 2023 01:12:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232915AbjIOIM1 (ORCPT + 99 others); Fri, 15 Sep 2023 04:12:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232882AbjIOIMQ (ORCPT ); Fri, 15 Sep 2023 04:12:16 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B0692719 for ; Fri, 15 Sep 2023 01:12:10 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 914B3C4167D; Fri, 15 Sep 2023 08:12:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694765528; bh=CkSv/2iqm/muqXmy71wsDxlzXALrxmFw7MCaIVpOrok=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=XdxUPCogOpfs9IHehhtYG3caLuvweNSlEK4bAiIjgeCttHua3fPVpLYZweg5GTieI kBilDIbB/5U/9QHSU8LGkLnUFH6VHFmT0degok3LNb+mYnQQMwwz2htJT0vzfIMOO1 fHF4o/vhRU6jf2S5VzCMAQylpQolw2nftLr7gynQg8upl1m8iIvMHOGAUaySWXxKEc NTWPjCj962fuFE3dX3tiugbvn2H5NgU0sLdZhpGJGVJZALsw/bO9f5I/mlqv/Vqnxv nq3qqEQf017p4H4+ZO222YOaqRtZo+Z8mdjbTwzxSg7IpEAyjgh9RNckL+t3iZ/5i/ /LDVfGYY9EYZQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F743EE6439; Fri, 15 Sep 2023 08:12:08 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Fri, 15 Sep 2023 11:10:51 +0300 Subject: [PATCH v4 09/42] dt-bindings: soc: Add Cirrus EP93xx MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230915-ep93xx-v4-9-a1d779dcec10@maquefel.me> References: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> In-Reply-To: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nikita Shubin , Alexander Sverdlin Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Alexander Sverdlin X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694765525; l=3868; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=sETUUAT5hDZfN2BadAoOQHzR1eVKgsUzzClRS2h7n78=; =?utf-8?q?b=3DFTd8jF/0f33o?= =?utf-8?q?NxHEMwrxdWEQ1tN0Y9DN64lCQ+NR5l/s7/UZp0n5swGWziBb6J1iz0En6tMB0Q4h?= cI9WmBsuDLuzTNyjgVff87tB2ZdHedwx4VMzknp50OfgMmeV+shS X-Developer-Key: i=nikita.shubin@maquefel.me; a=ed25519; pk=vqf5YIUJ7BJv3EJFaNNxWZgGuMgDH6rwufTLflwU9ac= X-Endpoint-Received: by B4 Relay for nikita.shubin@maquefel.me/20230718 with auth_id=65 X-Original-From: Nikita Shubin Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 15 Sep 2023 01:12:38 -0700 (PDT) From: Nikita Shubin Add device tree bindings for the Cirrus Logic EP93xx SoC. Signed-off-by: Nikita Shubin --- .../bindings/arm/cirrus/cirrus,ep9301.yaml | 38 ++++++++++++ .../bindings/soc/cirrus/cirrus,ep9301-syscon.yaml | 71 ++++++++++++++++++++++ 2 files changed, 109 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/cirrus/cirrus,ep9301.yaml b/Documentation/devicetree/bindings/arm/cirrus/cirrus,ep9301.yaml new file mode 100644 index 000000000000..97dd8b6aefa9 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/cirrus/cirrus,ep9301.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/cirrus/cirrus,ep9301.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic EP93xx platforms + +description: + The EP93xx SoC is a ARMv4T-based with 200 MHz ARM9 CPU. + +maintainers: + - Alexander Sverdlin + - Nikita Shubin + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: The TS-7250 is a compact, full-featured Single Board Computer (SBC) + based upon the Cirrus EP9302 ARM9 CPU + items: + - const: technologic,ts7250 + - const: cirrus,ep9301 + + - description: The Liebherr BK3 is a derivate from ts7250 board + items: + - const: liebherr,bk3 + - const: cirrus,ep9301 + + - description: EDB302 is an evaluation board by Cirrus Logic, + based on a Cirrus Logic EP9302 CPU + items: + - const: cirrus,edb9302 + - const: cirrus,ep9301 + +additionalProperties: true diff --git a/Documentation/devicetree/bindings/soc/cirrus/cirrus,ep9301-syscon.yaml b/Documentation/devicetree/bindings/soc/cirrus/cirrus,ep9301-syscon.yaml new file mode 100644 index 000000000000..1692250251d9 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/cirrus/cirrus,ep9301-syscon.yaml @@ -0,0 +1,71 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/cirrus/cirrus,ep9301-syscon.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic EP93xx Platforms System Controller + +maintainers: + - Alexander Sverdlin + - Nikita Shubin + +properties: + compatible: + oneOf: + - items: + - enum: + - cirrus,ep9302-syscon + - cirrus,ep9307-syscon + - cirrus,ep9312-syscon + - cirrus,ep9315-syscon + - const: cirrus,ep9301-syscon + - const: syscon + - const: simple-mfd + - items: + - const: cirrus,ep9301-syscon + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + reboot: + type: object + $ref: /schemas/power/reset/cirrus,ep9301-reboot.yaml + + clock-controller: + type: object + $ref: /schemas/clock/cirrus,ep9301-clk.yaml + + pinctrl: + type: object + $ref: /schemas/pinctrl/cirrus,ep9301-pinctrl.yaml + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@80930000 { + compatible = "cirrus,ep9301-syscon", + "syscon", "simple-mfd"; + reg = <0x80930000 0x1000>; + + clock-controller { + compatible = "cirrus,ep9301-clk"; + #clock-cells = <1>; + clocks = <&xtali>; + }; + + pinctrl { + compatible = "cirrus,ep9301-pinctrl"; + }; + + reboot { + compatible = "cirrus,ep9301-reboot"; + }; + }; -- 2.39.2