Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6037316iob; Tue, 10 May 2022 09:00:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxss2Q4CtcCXmouFMLNaYTiCZ2sYxjmGi6dvya3fpmj80WOTlIhMOf+dUVFXLfvYvAic1bY X-Received: by 2002:a17:907:1693:b0:6f4:ee60:16e8 with SMTP id hc19-20020a170907169300b006f4ee6016e8mr19137031ejc.312.1652198403915; Tue, 10 May 2022 09:00:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652198403; cv=none; d=google.com; s=arc-20160816; b=w8vNFaDvT227xLRgzjXIjXRfawXngnXUYuLJ3+dEJCBLKpj8x9cTlh37gtg+Y5FCFp 5CKOpvt6ID+Qj/DRv47poWboSUaJRyri4MoVYKlWBi1pedEd6WU/HKfLxOLT/iK4mHDf Shc6whtNpvV973HZauuFABLBa6F9p9CQn7auLIo1HBrptun/O13Lp4uhv2EAsl38+xuw uupKraX6nJRIZ2UrpKT2XlHo6nb58Xi5RwX0q0EQF+xHTlQxMv0tz9T0vB/NQTO434nx WY3o3dFvVX9s6e6P4k7OcEp+OWh2WmcDYJWWVJBzoXekBo420Dk4B0iqV+IPxyy5LeAc zMcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HwSEDQjFnwotXAtx/HSGdXHZhDY72VMSwl9scvd/d5E=; b=ezfIKshoSu7lqDRg3QpHq9vJ5usqOYjC0k49Nx7wkC/Gne3afTHGguQ5dw/7qDtEW7 1x952p+eTDsyVHNkDYSnlWZ2+X2ZBWfVJCGQLKd8MQJo8xzQ5EJQF41WoVrGW0djLQEj aH7XWCJ3eps3sOMdpFytsmU8hRYFwADlD0RAHprJSHYVqN2NfFl8MVLJ/cPK/B5eYttn MmwBUHmQUFcV7LpFXl3ewgr4Q+2SzEcQrr9AMjE3cAmxCCx4du+mA528Xq7zmVuOcyRo V8eNX+3pzAGr3fYDmTyAcoR4RaA51HqChnpbKTXF6E+SednpLk4JqN8PnRIPB3+VqNi2 O0eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sartura-hr.20210112.gappssmtp.com header.s=20210112 header.b=o3h880dz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w20-20020a1709062f9400b006f445fe1697si16289911eji.35.2022.05.10.08.59.39; Tue, 10 May 2022 09:00:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sartura-hr.20210112.gappssmtp.com header.s=20210112 header.b=o3h880dz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241980AbiEJMxj (ORCPT + 99 others); Tue, 10 May 2022 08:53:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241719AbiEJMxf (ORCPT ); Tue, 10 May 2022 08:53:35 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 450BB1A6AED for ; Tue, 10 May 2022 05:49:38 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id i27so32700176ejd.9 for ; Tue, 10 May 2022 05:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HwSEDQjFnwotXAtx/HSGdXHZhDY72VMSwl9scvd/d5E=; b=o3h880dzH6Y90hW139+ZkGG8SE0ySGB7a41cCmjBk5+OBsUt5ygCr4s3a07LHeQWnH k7tyTKvDY8KiFl3HLNiBOWEytjM0/Q7NDBnVXJUN4JNAz/4YP1aiiuh3JBQOhqu/SNoc UZUsDAjyy0mDfBkvTUN/c9EzxF5UbUniixJnstsWuob9fekY9RKqtJTKD5Nmcs9I3zx5 VfFtnJyL0EmHFvyjpdTR1YlCeQc3ZmZ0cO4pdJofo6k1pFrTQ5mK++NXG1jh5MEfvDht 1iMBCQrkf+c3+XeCmTo+bIT0UEfGoBcN8hW20ZDlO+rebPCX+ZmJQ6YBPcGZC9NvywwZ oIYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HwSEDQjFnwotXAtx/HSGdXHZhDY72VMSwl9scvd/d5E=; b=n/3rstNx0KHzGsm9LhqYMkBw0oSbkON+TlMFD0x2bFu26ISLCr7lPOPYmiw8S9Z8PF om+uLtmhHa+GKhBR+PBCRgNiEgjlg27waCocwomA98P51TPd1Si7sk43EpDQLvnW3fz5 gmH1YlzU98bYOEfwz5sgPQgjQn+c1B7/AaxQCDwNGIGiRGNBrcQxjBtmTLIcmwcebhpe CGQkug0/4jsh/MXa8PJNowP8mM014mwpVgpcwa2Sqp9m7DYOMTFMY0wzaBRo45/tz9lB qo4nK8zWfLH2qUhfvKGrX4ThBYmBqXlL75XPnCP9+qhTs5sEBwDcMHx3VUDioPJEAkKR ZnHA== X-Gm-Message-State: AOAM531T+sonL0J2sNuXkN6i0mUoemPK4785ajMYiYE2m50aW7WLMXoF E7We55qUPAzrfE8T9TquRlocoQ== X-Received: by 2002:a17:907:6d87:b0:6f8:95d2:6814 with SMTP id sb7-20020a1709076d8700b006f895d26814mr13531809ejc.232.1652186976753; Tue, 10 May 2022 05:49:36 -0700 (PDT) Received: from fedora.robimarko.hr (cpezg-94-253-144-75-cbl.xnet.hr. [94.253.144.75]) by smtp.googlemail.com with ESMTPSA id gz14-20020a170907a04e00b006f3ef214e62sm6094290ejc.200.2022.05.10.05.49.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 05:49:36 -0700 (PDT) From: Robert Marko To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, kostap@marvell.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, pali@kernel.org, marek.behun@nic.cz Cc: Robert Marko Subject: [PATCH v2 02/11] dt-bindings: marvell: convert Armada 37xx compatibles to YAML Date: Tue, 10 May 2022 14:49:20 +0200 Message-Id: <20220510124929.91000-2-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220510124929.91000-1-robert.marko@sartura.hr> References: <20220510124929.91000-1-robert.marko@sartura.hr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the Armada 37xx SoC compatibles to YAML. Signed-off-by: Robert Marko --- .../bindings/arm/marvell/armada-37xx.txt | 26 ---------- .../bindings/arm/marvell/armada-37xx.yaml | 50 +++++++++++++++++++ 2 files changed, 50 insertions(+), 26 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt index f6d6642d81c0..29fa93dad52b 100644 --- a/Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt +++ b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt @@ -1,21 +1,3 @@ -Marvell Armada 37xx Platforms Device Tree Bindings --------------------------------------------------- - -Boards using a SoC of the Marvell Armada 37xx family must carry the -following root node property: - - - compatible: must contain "marvell,armada3710" - -In addition, boards using the Marvell Armada 3720 SoC shall have the -following property before the previous one: - - - compatible: must contain "marvell,armada3720" - -Example: - -compatible = "marvell,armada-3720-db", "marvell,armada3720", "marvell,armada3710"; - - Power management ---------------- @@ -48,11 +30,3 @@ avs: avs@11500 { compatible = "marvell,armada-3700-avs", "syscon"; reg = <0x11500 0x40>; } - - -CZ.NIC's Turris Mox SOHO router Device Tree Bindings ----------------------------------------------------- - -Required root node property: - - - compatible: must contain "cznic,turris-mox" diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml new file mode 100644 index 000000000000..3f41ef2c6f3e --- /dev/null +++ b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/marvell/armada-37xx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell Armada 37xx Platforms Device Tree Bindings + +maintainers: + - Robert Marko + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: Armada 3710 SoC + items: + - const: marvell,armada3710 + + - description: Armada 3720 SoC + items: + - enum: + - marvell,armada-3720-db + - globalscale,espressobin + - cznic,turris-mox + - methode,udpu + - const: marvell,armada3720 + - const: marvell,armada3710 + + - description: Globalscale Espressobin boards + items: + - enum: + - globalscale,espressobin-emmc + - globalscale,espressobin-ultra + - globalscale,espressobin-v7 + - const: globalscale,espressobin + - const: marvell,armada3720 + - const: marvell,armada3710 + + - description: Globalscale Espressobin V7 boards + items: + - enum: + - globalscale,espressobin-v7-emmc + - const: globalscale,espressobin-v7 + - const: globalscale,espressobin + - const: marvell,armada3720 + - const: marvell,armada3710 + +additionalProperties: true -- 2.36.1