From patchwork Mon May 16 12:48:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12850743 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 B4A9DC433F5 for ; Mon, 16 May 2022 12:50:55 +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: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:In-Reply-To:References: List-Owner; bh=toC7HyounfwQMR802QqWTiJjShWWFoi+kWpDvjxG4xE=; b=SlYwiwz2lhfHDf LSxHrFJHRXX4XL2dlDN7iQmVPpKcle95vr5qmmUnqxTuBxMpTbEXNXizHPuZdADl/ueFoxzgA10I2 C65bM9zbVQ81NltIjtsQr/fDwbRlokcKx7n0Hzi4hjvsaOKpj0sMIH1eopKlvDVuheVKuydy8QF7X 3eHc9VdJ1SAElPGQuJcPUWwRoMryHvHNEUqQ3GU7iRClPY7g+f34JWBUNibJw9NJpL9wGrWAxd356 9Sws7UD68IZSvxVjI3Ep0I5rYQCTdtqtHOUcWHF92bPj5CaIfLnWoFsNMybHaqUYti4kkh0kyIedq IT3/iFjERyZ0f573rJTw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqaAQ-007iJ3-C0; Mon, 16 May 2022 12:49:42 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqa9U-007hYk-O7 for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 12:48:46 +0000 Received: by mail-ej1-x632.google.com with SMTP id ks9so28451342ejb.2 for ; Mon, 16 May 2022 05:48:42 -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:mime-version :content-transfer-encoding; bh=hMdyF4If6ae6Tmly543kWlCuV298toa6OvkNM2U0cEM=; b=k3iAgjmc3ZkJRc3VOJ/SKmPGYWWzWQmCcwT2XhmXLs/SygErr4+WC9yo/tcrhvQn18 8lmjEvTLjbcaS1jwZfhtLFRA9uGX3p2AWf9z4x8YvTt9anlpxaLblYyhV5n2t7bArO3t VaDCXhtjnpxqNzamjY+YTLEHe45niAyrabL40jp0DGYz8hNSLNiSzsgxg+Wr9UD69WIN bRXMe5+IlXQg793oUbiWbvN5xzfazuYhsWtZE7v/6ag34jpZKCwacPQrA2p39BwClsuZ PZJxFFe4C6wOi2uNwE+C2E3fvnsIpZzCInxij0D7nH0qrvxRjj1Ot5rpyCaH9LEMPfNf uGNg== 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:mime-version :content-transfer-encoding; bh=hMdyF4If6ae6Tmly543kWlCuV298toa6OvkNM2U0cEM=; b=tHczdZhmY4sFMzkpaVOakxA2gB3GFXcDEGoVW0zijyHtsji4uZh7ugy8NlOyFeGJ/m h/2xEUABQuX18ZC11cxVPmwoUWhM7lXk7GMSepjI88IPLod8v2KRwceGwFESckOda+aq 1VucvotN3FKnz5yKU2x0BEYwXPLwH+9ltjTiOibZQHxVZBPY/lp0kuh5V+PSldicKzhr sPC4izCoi7ZCMCHNSx/K3SBEhSZhTAfBPKVHstFVjsXBmYZ63OsePw0JNGv4Rrxwc5pL h0KFJak+dl9b1E8xdSHxgK/zs83StaJgj+c8Ziti+Z8YO1Nibm/Lx1bNcV9dKNx+4Jf9 xGHA== X-Gm-Message-State: AOAM530KfjVRkUEfF5O1JOANvbOcRQ5X16m/qr1C3jrQeh013ia0YaXn RtUnFdSq9nkTfa9gDDbvV/fCjw== X-Google-Smtp-Source: ABdhPJwoIt83C38GsHPHd0kwSgf5SyF3isyKvMAg7kwCZJ0B+A8znq6BEPh+8ju0i1Nz/EwHGucT+A== X-Received: by 2002:a17:906:328a:b0:6f4:8045:3fe3 with SMTP id 10-20020a170906328a00b006f480453fe3mr15700188ejw.752.1652705321266; Mon, 16 May 2022 05:48:41 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-105.xnet.hr. [88.207.98.105]) by smtp.googlemail.com with ESMTPSA id e10-20020a056402330a00b0042617ba6386sm5093331eda.16.2022.05.16.05.48.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 05:48:40 -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 Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v4 01/10] dt-bindings: vendor-prefixes: add Methode Electronics Date: Mon, 16 May 2022 14:48:19 +0200 Message-Id: <20220516124828.45144-1-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_054845_007970_F6825545 X-CRM114-Status: UNSURE ( 8.24 ) X-CRM114-Notice: Please train this message. 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 Add vendor prefix for Methode Electronics, Inc. (https://www.methode.com) Signed-off-by: Robert Marko Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 8fc6ed566cf9..2ee5a62363ea 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -768,6 +768,8 @@ patternProperties: description: Cisco Meraki, LLC "^merrii,.*": description: Merrii Technology Co., Ltd. + "^methode,.*": + description: Methode Electronics, Inc. "^micrel,.*": description: Micrel Inc. "^microchip,.*": From patchwork Mon May 16 12:48:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12850745 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 AB48CC433EF for ; Mon, 16 May 2022 12:51:37 +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=5yezZIvRI5muztkzu90ZJANplDBZhtq4kS7yrcJsQjI=; b=odzLGJUcSmyrho Vq5iNz6kxdujKleOXvH3icg8K+CLIoLNsPKGC4vvUYflipHCdoJwhhuITsg4CXS9bdDQnvWAw1Xc2 DMO67WeSEzWHK17QcrGwqn5SppNA0Kjggg1dAAzU+UDZEEqo7tK2x4mDHEBbUkC5sybgd1wDMJ4cs GBDD80f6Zzq3B6bhx4bjVWyvazZaN2OJ0uLAEOK8YiLwnJ0FHSIbVVTNkcsxcoNenwdMPmpBKxcL8 Pn2macuB68mDMDlQ/Mbn8WaX2TAJEwkhrtGBwPUao1GGA8i5n4NYH9mswQhUYUOLupvkmqjLjhk6m Ve23+5qLkbzw3y2pqjMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqaBC-007ioL-GS; Mon, 16 May 2022 12:50:31 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqa9W-007hZc-1A for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 12:48:49 +0000 Received: by mail-ej1-x630.google.com with SMTP id n10so28474249ejk.5 for ; Mon, 16 May 2022 05:48:43 -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=aE7hxsrfkGvYZ2LG8GhfvDdrQa4exclsJdIMUiOtgcw=; b=WkaIcKCA0s+PoEKaDzZ+vpSKNSF2FzwM4Ocg+Zo9F/J9A7q9EGk8ZqZfdcUxMAGy8g 3ixNejsD6naRO6730LwImN46u87gpHN86aajL3QKdKW+9oXSx5Xw9eldCCpFvqUGDs67 p+RhhaIfulk/s3bUj/ZkzqTqInEY4ulx+HNAJWrBNa+2UWkm9x0LwQMYgPwYk0srHwBn FLCTObTH2Ws6Ozzv5BpW54vbnxq02Yw2ZlDzr4IMTX6mEr4e/i5TFa2mCmf/B7b5iark DAJmA0kD3dWSwv3SM+p36+vMmYQr43nnWoLQMQ3Z7gAY7+JArdJG3IKJNunb6wezeIL8 cLYg== 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=aE7hxsrfkGvYZ2LG8GhfvDdrQa4exclsJdIMUiOtgcw=; b=aGYiNhEhsMYt1g+dTiNUNu9JoAXeaG1+v+SMGo8pwEQb18sWL9wNtiJIH5M69TwlBb 5aybeMBtCkeu9VEz6NiddQlDdERhTRVWj0TSVHwvWOvQnS/TXSIySu0SXmUVpP5p6smi TJkPnIuDruod1spn3KxkGORvxkwsmeWh8DGrjBUaaYBeTNui8tMh9OhIXaLj6cUa1hZe AYGmPI9kzO1VAcaPl9glxCfDRBmXr4CpirvMMQJhiFMyxerHHZOdoD8HsTjNCqJtxTKT KVZW+Ka2E66k9ezU9ThRnzsJ319UjzY0oDjM66x087242YifFqzzgV9ZNop96tMDrCeT r2OQ== X-Gm-Message-State: AOAM532qEbMk3xt00x7JPhmGjlq3o20fMONCw37Nmk5DQzO4m/I4qrhj 2DH/RuLfojsCyyDt6Djt7YlTvQ== X-Google-Smtp-Source: ABdhPJwuKnsKJiHR6rlKCzIdR53SyIRgd7Y05Lvb/xVXcT8s0b2o1qBxanDHfInzQDfbL6XowHlNVQ== X-Received: by 2002:a17:907:161f:b0:6f4:378a:c2d8 with SMTP id hb31-20020a170907161f00b006f4378ac2d8mr15726164ejc.289.1652705322366; Mon, 16 May 2022 05:48:42 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-105.xnet.hr. [88.207.98.105]) by smtp.googlemail.com with ESMTPSA id e10-20020a056402330a00b0042617ba6386sm5093331eda.16.2022.05.16.05.48.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 05:48:42 -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 Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v4 02/10] dt-bindings: marvell: convert Armada 37xx compatibles to YAML Date: Mon, 16 May 2022 14:48:20 +0200 Message-Id: <20220516124828.45144-2-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220516124828.45144-1-robert.marko@sartura.hr> References: <20220516124828.45144-1-robert.marko@sartura.hr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_054846_113351_62A49E55 X-CRM114-Status: GOOD ( 13.86 ) 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 Convert the Armada 37xx SoC compatibles to YAML. Signed-off-by: Robert Marko Reviewed-by: Krzysztof Kozlowski --- Changes in v4: * Change the title to "Marvell Armada 37xx Platforms" * Update the 3720 SoC boards description to include "boards" Changes in v3: * Alphabetical ordering * Remove Armada 3710 SoC as there are no boards currently --- .../bindings/arm/marvell/armada-37xx.txt | 26 ----------- .../bindings/arm/marvell/armada-37xx.yaml | 46 +++++++++++++++++++ 2 files changed, 46 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..cd7a77d1fdc0 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml @@ -0,0 +1,46 @@ +# 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 + +maintainers: + - Robert Marko + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: Armada 3720 SoC boards + items: + - enum: + - cznic,turris-mox + - globalscale,espressobin + - marvell,armada-3720-db + - 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 From patchwork Mon May 16 12:48:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12850742 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 A7630C433F5 for ; Mon, 16 May 2022 12:50:05 +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=9PCvA/qreoFOq73JPSK0IxigfBN90WrZNOG9Ub+iwME=; b=xojujJWKeF4x7B VYH4iq5ew75PZ6RJ3VqWICl5u8X2zoyqt8jHapUlnkVMDGoZpmU2uzO/jWv3PARAJyJCNHO3wCH1R q70aA41dx4bSFqPO3P+YMAU2K2iwDoG/u9lKEEXFynvtTG1f4TnYL9PUk9lec9meyvq7j8NpqS7Sq a+fuTMJqQsfjj5pu8fC2GJrcl1WHah0WFuS+DFcdiod9SL33sN20qGmFn/7q0BmLqzElcvpDjq9EI QkmDByMlh7D1V+iUAxBiA+AjNxxmLmdSM3efKgLFlF5GVFWHMG78i5DwiETyZO5fIahMzPehZoual tF7Kvi/+UO8MjUbmucWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqa9g-007hhQ-N6; Mon, 16 May 2022 12:48:58 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqa9U-007hae-VW for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 12:48:46 +0000 Received: by mail-ej1-x62c.google.com with SMTP id dk23so28422278ejb.8 for ; Mon, 16 May 2022 05:48:44 -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=waU3K0MvAzeyP7xbzKOY8mZTWP7XaT549jbnYao59EU=; b=varXJRS2hmHMZzp7kWDkIfsusldauY13LgapH5uyGc30Q0jbZKAmqiWcEUqfUR8vty ej0YAstpLN5iJj45p4DAeGV4XHa8lO5pyy/7G6bSx9U5qRVzniHkEhMKpFJQNwaJeCiX K99ipccWMu6sYXuqS+P18s44tuT9xWmxRYNxmGYJNWfqiNODuBCefNDpZtMwIbcoILdN yxBB1LnfUOyOm06aRxey04EEWi898El0TKQGnguqbRAQBlC2tjLqjE4MB3KZodxhfbNg 5oYiF57rbSHnMYVIhpstjwE3ThD06vI67GeZ+mnxr2Dt0YYiUv9q+aHMtivoYHCWDlEt Ez3A== 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=waU3K0MvAzeyP7xbzKOY8mZTWP7XaT549jbnYao59EU=; b=3cYaZbu8P2QfC7jatij0AhGlmTb7/CDOTJ80UGZOPJnNaw6cLRvZxomOs3rniwqg8y cNmmiWH8Npnfngc16N1qQvCd+fjboOTECiKfHwEf9WqCgv9nII/AmlGdXIHo4g3Ax10c tGVQIm/e/kEn1zVLS1zdEvlhMgL+Ypxkf3BWJJRx2V82mqQmBeLvaipSjVhpeT+en+bO o8QfPCh3Hl0kKkSQ8DCk4mo+gXVndspQ7L2XOqh96+T/3a9JCJ7vVQtx/rozMj9U7x3I vtfdB793q7X71pssOQ535Njo5DC2b5tHKe5kRbonsaD/P88qyT9uvmKQDsdSIrIYcr7O HYjA== X-Gm-Message-State: AOAM532ZJJflnD3zPtYbcO2zb1vZIyLzF/MJGxsUSBJG1CUSWFwyE6yN pdyVLQp2VJL17zi+XWrwQp+m2vIqAzrS+4mN X-Google-Smtp-Source: ABdhPJzULY6GbxpETrF33kCHD3VtD07gx2BP8U/S9xxQQnV+s8wlwaj6CPTsXQbuBlRuJvn3PM4UxA== X-Received: by 2002:a17:907:6d08:b0:6f4:45ca:c410 with SMTP id sa8-20020a1709076d0800b006f445cac410mr15551799ejc.679.1652705323394; Mon, 16 May 2022 05:48:43 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-105.xnet.hr. [88.207.98.105]) by smtp.googlemail.com with ESMTPSA id e10-20020a056402330a00b0042617ba6386sm5093331eda.16.2022.05.16.05.48.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 05:48:43 -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 Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v4 03/10] arm64: dts: marvell: espressobin-ultra: add generic Espressobin compatible Date: Mon, 16 May 2022 14:48:21 +0200 Message-Id: <20220516124828.45144-3-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220516124828.45144-1-robert.marko@sartura.hr> References: <20220516124828.45144-1-robert.marko@sartura.hr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_054845_034655_C33C035D X-CRM114-Status: GOOD ( 12.06 ) 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 Espressobin Ultra is part of the Espressobin family and shares the basic design, so add the generic "globalscale,espressobin" compatible to it as well. Signed-off-by: Robert Marko Acked-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts index 070725b81be5..1b2ed63ae6a2 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts @@ -12,8 +12,8 @@ / { model = "Globalscale Marvell ESPRESSOBin Ultra Board"; - compatible = "globalscale,espressobin-ultra", "marvell,armada3720", - "marvell,armada3710"; + compatible = "globalscale,espressobin-ultra", "globalscale,espressobin", + "marvell,armada3720", "marvell,armada3710"; aliases { /* ethernet1 is WAN port */ From patchwork Mon May 16 12:48:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12850744 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 69D76C433EF for ; Mon, 16 May 2022 12:51:17 +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=e3C5gzwE78SjIF4FtcCX9Yy05KyTcDHFxtD3vS1sV1U=; b=PlE6P9uO3wxPan FUL4044YJmLmf+bt+39Fux/4t72je8DYQRVbf2zoh5fq+mUyEuq2dIGR2ZwvUgHUD+gYMH6du7LY6 vJ1NKwqMah6uq2M43zVfqVkhxof5xUyof52sdE1Yp8WvwmVLAtJ+Hd8rq5AUyCC9a+jfgXn8SvGCh Hf1X/jpai3gcCfSNG36hyXsCIcROlVNtxMbU+4eovI6Qy/VjMuF5YJFYwGQU7D/17xffVGTGTRC39 4YNR7hpOZbre787bnCaxZld15e+tSr112who1YGMjIs6m39H0RLqG7xgkhIyK/DNd9ZZqBi1AMnaH Vjb/yIVDnnO4P94NupTA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqaAt-007idx-Fm; Mon, 16 May 2022 12:50:12 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqa9V-007hbs-V4 for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 12:48:48 +0000 Received: by mail-ej1-x62e.google.com with SMTP id i27so28406095ejd.9 for ; Mon, 16 May 2022 05:48:45 -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=CWmbjpF50fRkAy7B2nsI8Zqd1HdhGpan8qf1bwnnudo=; b=jojLnmTeHwgPjo42nAF6jtXJY2kHpUWP8XMiUyo52Nvg2bYujjl12HsQw+sDCD5OB3 WJE6wnOJ7v6OEkilPD2aH2yr4TqI2DV76EwhRvp5H6ZDVcxKEYsagdiSitwR0T/0Wx3G MZQpmlCPdxHclIL4HgmG5muKvZgWQUSysZdfFq5I3abov7xrqQmiiBX49pFWOgI63JIr L6NiUNRJ5eFUwLZNlJfOzeMr3xRdFwj2G3yF42/GBMVP2RxCXQx3pSbk74ehKsDzbBR6 cH0Fvx/96WzZ5yKxE3uwdHpEeMIE5IYbx2oInk4bMpg+G5yIrLuJ0rggvkHGOAAf9oi7 C/Kw== 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=CWmbjpF50fRkAy7B2nsI8Zqd1HdhGpan8qf1bwnnudo=; b=xJcKrgyupeTm05gPB9r2joOtRMGn/VSrRQROjGePDjuGOdVNdMy5MH/EIpPZs8HfDV 73zmHXZi1Cj96OFhWOHeLwD0J3yRbgc2Gpk4o1QRuq4U4bKoaN+IMlOTTte8CkFSlVH6 ecd7YYDSyjNHRdxUR5zs2b3QVJv4WEtXZ6ErCHxFTanhCYRhtcfd21V9QCf0xXOuW+1S KNCAWh3Fgb9q+nTSSjmVB6UoGgBfT5n8NkPiFaktBFd2Cm8oX5gzIzeVYBDubKMXh+tR D/GrsqCWIGGrT4cMrytamEkiu5Jb1VK2dcnMY8BhL8xbsq2k2/lPz1Nsc4DM9I0YpGIQ ShOw== X-Gm-Message-State: AOAM530a7pkdYGh+8xAfoaDrdtI4NWolL/tLI7/m2vaLZM6mKafqanVR Kx4NPo+AJs5K2Xaa5uGYTGyv+A== X-Google-Smtp-Source: ABdhPJxy3qhYiFQf2sBQmCvFgN1Z6gLC6YwyvK4kACy8ZMrCLR/hu79twnkPAfPzOoCeQF6AkU2+7Q== X-Received: by 2002:a17:907:3f02:b0:6f3:5c42:321a with SMTP id hq2-20020a1709073f0200b006f35c42321amr15337949ejc.521.1652705324400; Mon, 16 May 2022 05:48:44 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-105.xnet.hr. [88.207.98.105]) by smtp.googlemail.com with ESMTPSA id e10-20020a056402330a00b0042617ba6386sm5093331eda.16.2022.05.16.05.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 05:48:44 -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 Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v4 04/10] arm64: dts: marvell: uDPU: add missing SoC compatible Date: Mon, 16 May 2022 14:48:22 +0200 Message-Id: <20220516124828.45144-4-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220516124828.45144-1-robert.marko@sartura.hr> References: <20220516124828.45144-1-robert.marko@sartura.hr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_054846_036798_22D08844 X-CRM114-Status: GOOD ( 11.56 ) 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 According to the bindings, all boards using Armada 37xx SoC-s must have "marvell,armada3710" compatible while 3720 based ones should also have "marvell,armada3720" before it. Signed-off-by: Robert Marko Acked-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts index a35317d24d6c..4ae1688e6627 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts @@ -16,7 +16,7 @@ / { model = "Methode uDPU Board"; - compatible = "methode,udpu", "marvell,armada3720"; + compatible = "methode,udpu", "marvell,armada3720", "marvell,armada3710"; chosen { stdout-path = "serial0:115200n8"; From patchwork Mon May 16 12:48:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12850770 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 D88FFC433F5 for ; Mon, 16 May 2022 12:52:41 +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=RwEVFSdpLLAves7L/+XFQxdbCwKUoPNNuYcGzp+yrmU=; b=bbcKQK76Te7r0t 5NKP1187MRNQYM2XwpEU/uNByKO3olDr7IRZH0PaRGqZGracltatRkqGwZ00m7GQcnUXCkZy/egeg 7IqKnZSmDOXbeQxcCKXaigN0wH50oQIbffEjDQOcnAtk7jEVG1Nu7zJ7sNfwGTY2fvNX3EVS9zoKa dSMsfun1GORt1fabnELrZef+cJrkyCNv/WsojbXTA6Vsall2RoirTIwv1g/CjbUYQxGK8jh1kROsR M4/EN9bIaq/8HxFuw0cs0soeFngLM2++E8duFmw1uCSwR8m4XvQp/EE3uEsvVFbUvmhZTFgQcWR/t 6sbhlbfR7ubJd557TaQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqaCJ-007jR6-JP; Mon, 16 May 2022 12:51:39 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqa9Z-007hd3-CC for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 12:48:52 +0000 Received: by mail-ej1-x629.google.com with SMTP id kq17so28457406ejb.4 for ; Mon, 16 May 2022 05:48:46 -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=y53eYrcLwAmSangpxuxMdMd0doZQvJz1NFbwjAei7+g=; b=qduStgQH2a1Hn/UX3HcVj9SM1/RM5O9Ujys6kdPprHxFm7+eoZDUhJtzS4mPWZm9e6 f09CIa+Gfi1ujpbm0s+g8AGN8tJyeuz/glsYLsbeom4ER2K05lvwUb1O72Vn12fHo7bV a8VCLML3ANzLAL15BlljKMtessPx+YKGimlntugEnMCsQKysA9NAVHjhflEYkBY5J1yV kJjL1Kl03ye4Ah6sTsHHO6353LijJA9WWgklojE6iIKR9mHhk3Ch6l8jV+Tet5U/mbRi nyI4yB8ud2ClGB7aJu8zzCV6+UaL1zO7LRnG35OgwkJdDORntSJZWuvj4n6bSTsDm4vZ BVGg== 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=y53eYrcLwAmSangpxuxMdMd0doZQvJz1NFbwjAei7+g=; b=6ShdeV9Uuv2bLH6IGry+bVYGhxTVwJ+g3XU4oj7WwoiGSmAV2SToij4Aj/8hjCT/aW h6MZiiGVMs63IGp5x9yLlbxMhIxLP/lC2DVlYpk3n5HKBzDlsp62HP6ldwJu9LAGUdfe 7Hzr6jhM43QJ45A+cyA017Iu+2W7nh7z+5tuxr3W1xbfFG9ILjyDbNN2H/vBVSoag6cD mRdaDyU5/gtOQceNJVKc3qIEZb2E6zLyLljgxTY4qBFaQpzmho23VnLqpTkuss9DyBZi wmt0sBxWp9yFcZZ98QVV4mzNfhgfkiYEhQ+kXW/h9OqdoAHvoSQwdXTsd0+LbQnCB9mu RjEQ== X-Gm-Message-State: AOAM530RqsrWEudIuW+dqipfPWmkLXjgnCSnIu2tnReSGwnnvrvQdIst SHjIHEvfgsMzweOwmYM0D/nq8g== X-Google-Smtp-Source: ABdhPJzeNOXCTq2Ruk0Ljy0J5la2oXmZVDgdt15vJSfMC51mUDRZPFvlPi/iKh4EfW+xI+AhNAorlA== X-Received: by 2002:a17:907:d16:b0:6f8:c054:29ac with SMTP id gn22-20020a1709070d1600b006f8c05429acmr15297923ejc.96.1652705325507; Mon, 16 May 2022 05:48:45 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-105.xnet.hr. [88.207.98.105]) by smtp.googlemail.com with ESMTPSA id e10-20020a056402330a00b0042617ba6386sm5093331eda.16.2022.05.16.05.48.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 05:48:45 -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 Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v4 05/10] arm64: dts: marvell: uDPU: align LED-s with bindings Date: Mon, 16 May 2022 14:48:23 +0200 Message-Id: <20220516124828.45144-5-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220516124828.45144-1-robert.marko@sartura.hr> References: <20220516124828.45144-1-robert.marko@sartura.hr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_054849_468549_F25D0E19 X-CRM114-Status: UNSURE ( 9.71 ) X-CRM114-Notice: Please train this message. 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 According to bindings they LED-s should be prefixed with "led" in this use case, so fix accordingly. Signed-off-by: Robert Marko Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts index 4ae1688e6627..f216777acacc 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts @@ -31,32 +31,32 @@ leds { pinctrl-names = "default"; compatible = "gpio-leds"; - power1 { + led-power1 { label = "udpu:green:power"; gpios = <&gpionb 11 GPIO_ACTIVE_LOW>; }; - power2 { + led-power2 { label = "udpu:red:power"; gpios = <&gpionb 12 GPIO_ACTIVE_LOW>; }; - network1 { + led-network1 { label = "udpu:green:network"; gpios = <&gpionb 13 GPIO_ACTIVE_LOW>; }; - network2 { + led-network2 { label = "udpu:red:network"; gpios = <&gpionb 14 GPIO_ACTIVE_LOW>; }; - alarm1 { + led-alarm1 { label = "udpu:green:alarm"; gpios = <&gpionb 15 GPIO_ACTIVE_LOW>; }; - alarm2 { + led-alarm2 { label = "udpu:red:alarm"; gpios = <&gpionb 16 GPIO_ACTIVE_LOW>; }; From patchwork Mon May 16 12:48:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12850746 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 F03D4C433F5 for ; Mon, 16 May 2022 12:51:52 +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=NtxzrSJa1uEN6aqzJ9BzP+DBBgHLD+J0oeyfuhyF2Gw=; b=mg3glq5qQegcM3 lskT0qmcKOXK8DmtD6YOhhz5J/B2kmU2xO8OjatSljAc+MNutXSifBXthtLBqryE3+hDXZFetBzEc W18ZK7fENumn2RYqqF2gprJmtpuUgm+m6/pgEYuzO+2xpYD31QyjbtrLZNuysd/4QYpShnaaobidP YysAgW2sXzap0VvbiqQdfmUwAYizTXlngN24G5Fdlcx3DXEaG90g11geQcp0A43sEgNLREXkCoFch 9ERThlTaDBtLxhgOv7DgmVk+qkDYUJiCUHuQr6nt6qLqESOyh8KKOysWvSXf4wmqqjPi8ORhKuTyB nhsVppXUtdHKGdWMPLWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqaBT-007ixi-Ic; Mon, 16 May 2022 12:50:47 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqa9Y-007hfD-KZ for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 12:48:50 +0000 Received: by mail-ej1-x62c.google.com with SMTP id n10so28474704ejk.5 for ; Mon, 16 May 2022 05:48:48 -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=2gc4L/U1sGUxTmqbsfQnXmF+tBQ2PByc+1ucAJIje5U=; b=pKT9sHk7QMLLgQCHPUYBQAWn42G+4qKmw2AC4F5hW6SHI+NjCoiaOnbG81ZvzhN1Hm RAISO1jvR6J23zsFQpc/FCCNi8eci3eGxCBvmX4SlhIP0Km1cl2H1SbkMA92LDOthCoR eJ2Vo2oxHyOPPojAkrfeGfEqvOAFbWEAw8Lm7U6FKlY5nxK+rjOQ1y9hPMBrY4zKpNtg ukBvc3svi2unSKWa3cHkigINhFd7Xtld3XReMc+EzjNKARZ42XufoFP6GMwVTbmfN4y7 3+gf9hZfw/d+d8CQR0bczUkINrSPKwl/SKOjTiOU7V0htwUKzyFG8TWDsFm4gtuDUxX1 asOg== 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=2gc4L/U1sGUxTmqbsfQnXmF+tBQ2PByc+1ucAJIje5U=; b=54mB/RQIVmGRHx+blMVK43kBjuVl4TVNqLvMHbzDqmXI4xLmXtyOjiSo9pgAEmkNS7 EaCA7AOH2a6cf/U4ccRLyKV/h4ITbe5Zybpo1EVRH8Or30Phv72j0l6vdh7u5hILps2y A4MTon/uAzzVloeC2RvaWc618xWuA5Cxpx2EArWTrs30R+CteYIrpbCZjSfM2UxilyCV tl1LMOVOWKlkILrvWTc9NmMdibDkc6bghWWgE3dW/A+Whc1B1IGLZ9EiIpRdd9WPLoN6 ETGjtdOOnu5g6bc6cGN2sK6A87o9I0SdDK9y7BSTj/U/uqAHL7KPfTNkwCS+8PpKukdM QSLQ== X-Gm-Message-State: AOAM532ZkLM7nob7HMJn0JLRHj99dyPInI9c9twNoxk/QM67cBJY2kBk D5fsobUSGbP6zL0FjdXcvQURAw== X-Google-Smtp-Source: ABdhPJxwciocmfUVKDnvZ+KKTzJOCpRVmHIwm8HBsQ87h+hOQLnqKIGIrCGrGWt7e/RDBuFBf9JFzQ== X-Received: by 2002:a17:907:a41f:b0:6f3:e75c:5a77 with SMTP id sg31-20020a170907a41f00b006f3e75c5a77mr15036529ejc.70.1652705327154; Mon, 16 May 2022 05:48:47 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-105.xnet.hr. [88.207.98.105]) by smtp.googlemail.com with ESMTPSA id e10-20020a056402330a00b0042617ba6386sm5093331eda.16.2022.05.16.05.48.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 05:48:46 -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 Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v4 06/10] arm64: dts: marvell: uDPU: remove LED node pinctrl-names Date: Mon, 16 May 2022 14:48:24 +0200 Message-Id: <20220516124828.45144-6-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220516124828.45144-1-robert.marko@sartura.hr> References: <20220516124828.45144-1-robert.marko@sartura.hr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_054848_732861_9BC196A3 X-CRM114-Status: GOOD ( 10.56 ) 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 Using pinctrl-names requires the appropriate pinctrl-0 property, otherwise it is not utilized at all. Since its not required, just remove it. Signed-off-by: Robert Marko Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts index f216777acacc..b89c7455612d 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts @@ -28,7 +28,6 @@ memory@0 { }; leds { - pinctrl-names = "default"; compatible = "gpio-leds"; led-power1 { From patchwork Mon May 16 12:48:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12850769 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 A02C0C433F5 for ; Mon, 16 May 2022 12:52:28 +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=7QiMvbF9lTRUmmO0lBZiE8w7zYoF6KTI7P1bcWKqtkY=; b=yltmtiUMvgvmA4 6ottUFzcvDOGlkqeO3OkmBczjfZm/3kto7U9tRXLr4DWnIs9ztt1S1tX5e9UWykb3m+Dg7ZNZf5tb e7C172SDJ4eNQNDKWjlSrUu16hvocWznOveAPTB4m0HgwHjNYT/+tHSLBHtVq71efUcII8KqEzOVc yMau+r2fcToS0mdxaoJzJ49qs1kRKu6ecBYAGJUkULYy1gXEdCFtNsUXcrxnbVxVtG80escu6Vbm4 f1r0uiUBLPQ0ZDwxJtW3av3HLLAgpiuzmKaSE1PDlqU6JIt5oOQUJ8svy6wBY73MtbVsFFoLGODaE mjkBkSbpiWpQ2ssP8/fQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqaBw-007jEB-7Q; Mon, 16 May 2022 12:51:16 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqa9Y-007hae-PF for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 12:48:51 +0000 Received: by mail-ej1-x62c.google.com with SMTP id dk23so28422278ejb.8 for ; Mon, 16 May 2022 05:48:48 -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=XOIsMkVmGezvt0k2UbO/nvlinQdml5F2/hETUMz5pr0=; b=gQeT7fNxv1xTox6fLGdVHDt29rB58Z5yXSFzAznvZOJ9pYu7+s6rZhKxCKhJ0p3p7V lO4Rnk553EHNk34QcoDWjHZW0kuEXdwAuQ8rhpmBri7GwGHNlLMzTxNT6FOLEVTIvX34 yDBuZ1SYKFKU7cn8/8JGvzefgF3B+kK45zpzzTQFOyt+g7gwYlOlLZ50ZxVnLS9uav5V Fxgb6flNjPHDGmEpoMYa4JzZIFmRJBqrtvXZXItKiQLKjZ55XrfSuNEBSGVJkA2C/VMk jHLEXk2igoGFNcp6u6rLUt5MWq+yWpEWZlK/gpKnY5M2leQ4wkXf95jyW/p2dyqiY27W vDwA== 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=XOIsMkVmGezvt0k2UbO/nvlinQdml5F2/hETUMz5pr0=; b=YlYdlIKBDamP0vndNNATsV0gmC1jD0KXKiIZGhmTeu5uKr9QK51TuDchu1VK42oWO0 FPOZC+KgbDTjwwgMORHSHF9Sk5bvXp+qSviBK98cmiYPSoTuPKQpCa4sIKpsMDGWyKLg /BZsoN8nokyDhUlXemLk62z7kTePLz3bNmmS/qgVNtKZaeGqyLNa5k5c8D4WoC6EzzzE z5VoRRaceLRwKR8jbvf/sxNW4Y3Ga6bBLeM+wK//z8bsKJ0p0ZRDQsr+Ltilep8j66uM YeLFQu1Q9tRaogSq04ITPCCZI7HYSBA1keOaHQa4U66Ztlzk+ErjZhDfQzzNBmbIja7t i7qw== X-Gm-Message-State: AOAM533iDeYbadnTTzJ7RedwTnohAeiHW3oSA2LM95hbniitsDMVnBt9 WtPQ9S88N0JK2Z9B61K6RyGWww== X-Google-Smtp-Source: ABdhPJzZLLWyWwN17/gsmp3IByCaASEp5VfudNyT7/mbBFClrbAA7Ruebh76N6Ws2GicRR6tPQYtcA== X-Received: by 2002:a17:906:7315:b0:6f4:c84f:9eab with SMTP id di21-20020a170906731500b006f4c84f9eabmr15064528ejc.759.1652705328285; Mon, 16 May 2022 05:48:48 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-105.xnet.hr. [88.207.98.105]) by smtp.googlemail.com with ESMTPSA id e10-20020a056402330a00b0042617ba6386sm5093331eda.16.2022.05.16.05.48.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 05:48:47 -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 Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v4 07/10] arm64: dts: marvell: rename temp sensor nodes Date: Mon, 16 May 2022 14:48:25 +0200 Message-Id: <20220516124828.45144-7-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220516124828.45144-1-robert.marko@sartura.hr> References: <20220516124828.45144-1-robert.marko@sartura.hr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_054848_923948_3B55CC36 X-CRM114-Status: GOOD ( 11.09 ) 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 Rename the temperature sensor nodes to use "temp-sensor" which matches their device class instead of IC specific naming. Remove the status = "okay" which is not required as its default anyway. Signed-off-by: Robert Marko Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts index b89c7455612d..f21a855fc608 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts @@ -152,14 +152,12 @@ &i2c1 { scl-gpios = <&gpionb 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; sda-gpios = <&gpionb 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - nct375@48 { - status = "okay"; + temp-sensor@48 { compatible = "ti,tmp75c"; reg = <0x48>; }; - nct375@49 { - status = "okay"; + temp-sensor@49 { compatible = "ti,tmp75c"; reg = <0x49>; }; From patchwork Mon May 16 12:48:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12850773 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 26621C433EF for ; Mon, 16 May 2022 12:55:09 +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=/5vdFxtc0aGWSSkdMHgvb6stvZLKAz5QwlLBjVbSJMU=; b=WgdOVSM5lYAnfl rWHUWHkskmbn3KT5tsZplrRHXB9jPptaxrF7XUT2CSo7WiNvRvJG6slENHl6YjYV74jdmZ3WGMT4c emN6p3sKocMkXvOUBgLgSH18A1wg8c+KNk0jm2+HIT54T3rRDEnodZ0AJ95Qcp73aViChVeV/eng/ 3GuJw1rL9ovNySvdou/w1Bav+qiJeylKayjwHsUNnI+2JcoNLG4nRTtrUia5VoBswMZiPNXswBEam TZL89bVYYmRSgxB7Htsv67m2VKElqhw9PoH0BMNRoNSWr8zrpmzvzKP2AWHSKF5T36LOaMb4uAyK9 TbQhgbvbSutIfJDp+ldw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqaE9-007kLa-VE; Mon, 16 May 2022 12:53:37 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqa9f-007hiu-1S for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 12:48:57 +0000 Received: by mail-ed1-x52e.google.com with SMTP id s3so2983701edr.9 for ; Mon, 16 May 2022 05:48:53 -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=D7C5uzUHHfl6rKtlamwbl/0lHSz5U+9PiU+PKzNlits=; b=yftXmY3VDFD+szad8K3jpvoLf3G2MobJnxn+XoR+eGlKVx40aHkcLOcsaxlpmwhbcn O2uJdAg5kcVZAUGDvjNI3oBI2dwagNbtr13bnwG/rtOfqq5sHbUKoEdJCzQku+sqYZdo VBkSAhWXt28jWo7C1K+efEtnS+pF4NnKA6oFOb09raGJ+Un6gnvptVJHeEy/tPo+tupL Yfgc19B7rjp7U2I4GW2729qMAUdnyp3ZLVY8g0URsJ0Bewccss4kIWRvA4w8CCghFp41 OKphOHNa8yjpNlg3RY8cjuDkW6uHFlQZH5PEF4NIBa+QOkKVwE30GgM689zeO0R6JSY4 uWjg== 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=D7C5uzUHHfl6rKtlamwbl/0lHSz5U+9PiU+PKzNlits=; b=G6dgMuwOErmyAUAxDZFR25Lm6BAL49zXDHEqJqyDaCCeMtrMLISEb5k+kWQ8QlUuz7 m6HSlmy5rBU6ZXL3Nxw9RqmKNAE1sG+j4zTEmAH/nL5Vr+VmD69Mqs9cuB52ucY8zyvY Tbn2m/c9aamlDOrXTtLr9uOoF+ypqmHXX228GqxQY9boQ7U93YeJYxH/4ZbZRwJLUzVP 0cPSyKbgoSnKC4vcGZQw44p6t1p/nG1OoueqMBQU6VpFVjPn913Q21FFQD62ZGYsml26 wc3iQ/MWqVvZbpjuySmJxq7wY3ncQ5tJY9cvwe8W450RSKh2rCbvfT8GLwv2ZsycQZHd x9tA== X-Gm-Message-State: AOAM530am9DQAmfp0QKPnFN5hVFdIUbabbKmz1uv1jRKvch7fOPNxtar UDDZ8lsEvfRrhqR9mwUkhzafuQ== X-Google-Smtp-Source: ABdhPJwUPmdQRiZLRbbOL5SezpxWSF4lrkx42B+cYKpxneOzkq0DHh6BuZVnh3Ftvc8fU3J+YZIsdA== X-Received: by 2002:aa7:c306:0:b0:428:414d:e216 with SMTP id l6-20020aa7c306000000b00428414de216mr13097383edq.394.1652705329400; Mon, 16 May 2022 05:48:49 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-105.xnet.hr. [88.207.98.105]) by smtp.googlemail.com with ESMTPSA id e10-20020a056402330a00b0042617ba6386sm5093331eda.16.2022.05.16.05.48.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 05:48:49 -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 Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v4 08/10] arm64: dts: marvell: split Methode uDPU DTS Date: Mon, 16 May 2022 14:48:26 +0200 Message-Id: <20220516124828.45144-8-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220516124828.45144-1-robert.marko@sartura.hr> References: <20220516124828.45144-1-robert.marko@sartura.hr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_054855_159336_627AB915 X-CRM114-Status: GOOD ( 16.25 ) 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 Split the Methode uDPU DTS into a common DTSI as preparation for adding support for Methode eDPU which is based on the uDPU to avoid duplication. Signed-off-by: Robert Marko Reviewed-by: Krzysztof Kozlowski --- .../boot/dts/marvell/armada-3720-uDPU.dts | 150 +--------------- .../boot/dts/marvell/armada-3720-uDPU.dtsi | 160 ++++++++++++++++++ 2 files changed, 161 insertions(+), 149 deletions(-) create mode 100644 arch/arm64/boot/dts/marvell/armada-3720-uDPU.dtsi diff --git a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts index f21a855fc608..a75734d88a4f 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts @@ -1,66 +1,13 @@ // SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device tree for the uDPU board. - * Based on Marvell Armada 3720 development board (DB-88F3720-DDR3) - * Copyright (C) 2016 Marvell - * Copyright (C) 2019 Methode Electronics - * Copyright (C) 2019 Telus - * - * Vladimir Vid - */ /dts-v1/; -#include -#include "armada-372x.dtsi" +#include "armada-3720-uDPU.dtsi" / { model = "Methode uDPU Board"; compatible = "methode,udpu", "marvell,armada3720", "marvell,armada3710"; - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x00000000 0x00000000 0x20000000>; - }; - - leds { - compatible = "gpio-leds"; - - led-power1 { - label = "udpu:green:power"; - gpios = <&gpionb 11 GPIO_ACTIVE_LOW>; - }; - - led-power2 { - label = "udpu:red:power"; - gpios = <&gpionb 12 GPIO_ACTIVE_LOW>; - }; - - led-network1 { - label = "udpu:green:network"; - gpios = <&gpionb 13 GPIO_ACTIVE_LOW>; - }; - - led-network2 { - label = "udpu:red:network"; - gpios = <&gpionb 14 GPIO_ACTIVE_LOW>; - }; - - led-alarm1 { - label = "udpu:green:alarm"; - gpios = <&gpionb 15 GPIO_ACTIVE_LOW>; - }; - - led-alarm2 { - label = "udpu:red:alarm"; - gpios = <&gpionb 16 GPIO_ACTIVE_LOW>; - }; - }; - sfp_eth0: sfp-eth0 { compatible = "sff,sfp"; i2c-bus = <&i2c0>; @@ -70,55 +17,6 @@ sfp_eth0: sfp-eth0 { tx-fault-gpio = <&gpiosb 5 GPIO_ACTIVE_HIGH>; maximum-power-milliwatt = <3000>; }; - - sfp_eth1: sfp-eth1 { - compatible = "sff,sfp"; - i2c-bus = <&i2c1>; - los-gpio = <&gpiosb 7 GPIO_ACTIVE_HIGH>; - mod-def0-gpio = <&gpiosb 8 GPIO_ACTIVE_LOW>; - tx-disable-gpio = <&gpiosb 9 GPIO_ACTIVE_HIGH>; - tx-fault-gpio = <&gpiosb 10 GPIO_ACTIVE_HIGH>; - maximum-power-milliwatt = <3000>; - }; -}; - -&sdhci0 { - status = "okay"; - bus-width = <8>; - mmc-ddr-1_8v; - mmc-hs400-1_8v; - marvell,pad-type = "fixed-1-8v"; - non-removable; - no-sd; - no-sdio; -}; - -&spi0 { - status = "okay"; - pinctrl-names = "default"; - pinctrl-0 = <&spi_quad_pins>; - - flash@0 { - compatible = "jedec,spi-nor"; - reg = <0>; - spi-max-frequency = <54000000>; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "firmware"; - reg = <0x0 0x180000>; - }; - - partition@180000 { - label = "u-boot-env"; - reg = <0x180000 0x10000>; - }; - }; - }; }; &pinctrl_nb { @@ -126,11 +24,6 @@ i2c1_recovery_pins: i2c1-recovery-pins { groups = "i2c1"; function = "gpio"; }; - - i2c2_recovery_pins: i2c2-recovery-pins { - groups = "i2c2"; - function = "gpio"; - }; }; &i2c0 { @@ -143,48 +36,7 @@ &i2c0 { sda-gpios = <&gpionb 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; }; -&i2c1 { - status = "okay"; - pinctrl-names = "default", "recovery"; - pinctrl-0 = <&i2c2_pins>; - pinctrl-1 = <&i2c2_recovery_pins>; - /delete-property/mrvl,i2c-fast-mode; - scl-gpios = <&gpionb 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - sda-gpios = <&gpionb 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - - temp-sensor@48 { - compatible = "ti,tmp75c"; - reg = <0x48>; - }; - - temp-sensor@49 { - compatible = "ti,tmp75c"; - reg = <0x49>; - }; -}; - ð0 { phy-mode = "sgmii"; - status = "okay"; - managed = "in-band-status"; - phys = <&comphy1 0>; sfp = <&sfp_eth0>; }; - -ð1 { - phy-mode = "sgmii"; - status = "okay"; - managed = "in-band-status"; - phys = <&comphy0 1>; - sfp = <&sfp_eth1>; -}; - -&usb3 { - status = "okay"; - phys = <&usb2_utmi_otg_phy>; - phy-names = "usb2-utmi-otg-phy"; -}; - -&uart0 { - status = "okay"; -}; diff --git a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dtsi b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dtsi new file mode 100644 index 000000000000..3f79923376fb --- /dev/null +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dtsi @@ -0,0 +1,160 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device tree for the uDPU board. + * Based on Marvell Armada 3720 development board (DB-88F3720-DDR3) + * Copyright (C) 2016 Marvell + * Copyright (C) 2019 Methode Electronics + * Copyright (C) 2019 Telus + * + * Vladimir Vid + */ + +/dts-v1/; + +#include +#include "armada-372x.dtsi" + +/ { + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x00000000 0x00000000 0x20000000>; + }; + + leds { + compatible = "gpio-leds"; + + led-power1 { + label = "udpu:green:power"; + gpios = <&gpionb 11 GPIO_ACTIVE_LOW>; + }; + + led-power2 { + label = "udpu:red:power"; + gpios = <&gpionb 12 GPIO_ACTIVE_LOW>; + }; + + led-network1 { + label = "udpu:green:network"; + gpios = <&gpionb 13 GPIO_ACTIVE_LOW>; + }; + + led-network2 { + label = "udpu:red:network"; + gpios = <&gpionb 14 GPIO_ACTIVE_LOW>; + }; + + led-alarm1 { + label = "udpu:green:alarm"; + gpios = <&gpionb 15 GPIO_ACTIVE_LOW>; + }; + + led-alarm2 { + label = "udpu:red:alarm"; + gpios = <&gpionb 16 GPIO_ACTIVE_LOW>; + }; + }; + + sfp_eth1: sfp-eth1 { + compatible = "sff,sfp"; + i2c-bus = <&i2c1>; + los-gpio = <&gpiosb 7 GPIO_ACTIVE_HIGH>; + mod-def0-gpio = <&gpiosb 8 GPIO_ACTIVE_LOW>; + tx-disable-gpio = <&gpiosb 9 GPIO_ACTIVE_HIGH>; + tx-fault-gpio = <&gpiosb 10 GPIO_ACTIVE_HIGH>; + maximum-power-milliwatt = <3000>; + }; +}; + +&sdhci0 { + status = "okay"; + bus-width = <8>; + mmc-ddr-1_8v; + mmc-hs400-1_8v; + marvell,pad-type = "fixed-1-8v"; + non-removable; + no-sd; + no-sdio; +}; + +&spi0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&spi_quad_pins>; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <54000000>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "firmware"; + reg = <0x0 0x180000>; + }; + + partition@180000 { + label = "u-boot-env"; + reg = <0x180000 0x10000>; + }; + }; + }; +}; + +&pinctrl_nb { + i2c2_recovery_pins: i2c2-recovery-pins { + groups = "i2c2"; + function = "gpio"; + }; +}; + +&i2c1 { + status = "okay"; + pinctrl-names = "default", "recovery"; + pinctrl-0 = <&i2c2_pins>; + pinctrl-1 = <&i2c2_recovery_pins>; + /delete-property/mrvl,i2c-fast-mode; + scl-gpios = <&gpionb 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpionb 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + + temp-sensor@48 { + compatible = "ti,tmp75c"; + reg = <0x48>; + }; + + temp-sensor@49 { + compatible = "ti,tmp75c"; + reg = <0x49>; + }; +}; + +ð0 { + status = "okay"; + managed = "in-band-status"; + phys = <&comphy1 0>; +}; + +ð1 { + phy-mode = "sgmii"; + status = "okay"; + managed = "in-band-status"; + phys = <&comphy0 1>; + sfp = <&sfp_eth1>; +}; + +&usb3 { + status = "okay"; + phys = <&usb2_utmi_otg_phy>; + phy-names = "usb2-utmi-otg-phy"; +}; + +&uart0 { + status = "okay"; +}; From patchwork Mon May 16 12:48:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12850772 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 282F7C433F5 for ; Mon, 16 May 2022 12:54:12 +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=PYGcgFX3mQ08rAkxU6CIz8XXm8XHZiopgFnmXuzh4sA=; b=RnZOUbxalJvigh 6BoSQTa8wJvPn2wPLJSg05S73l7QDPy5Wibrt6U2x8T81Buuy7ruA8UTkaKKx51U06mXxpl6vYDy2 V6twXTyn8B5wkgdhBBbNwDmILuSCs7AD7ODv3daWG6Scr+bFzMg9ul1qUvNrOSHvgjH1l0rM1Wu2k xscvaK3yyNhBp2FF1X/hr0GkjQiqAxoGuF0L4uWFZbDiCmA6OBaZZEGm1cNoclxOKzuEfgSabLJ8T B7i8xiNvyQAIQOpJtPCoEZAMQzv7z2MgGOvXBgiVc7QSbABPl/oJDyTIdZ3nqCEY/Bj97TQGL4kp4 9ps38Zm2rf4INZNn/YPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqaDO-007jyK-Et; Mon, 16 May 2022 12:52:46 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqa9e-007hib-Of for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 12:48:56 +0000 Received: by mail-ed1-x52d.google.com with SMTP id j28so4119441eda.13 for ; Mon, 16 May 2022 05:48:52 -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=XA6Fn2c7ipHKeYPFo/UF4+uHyCP29TidKb7wIkVA+WE=; b=c6tteehKzLJsM8ihzkAeFIUvBFS5ogo6Rz9iHGrpL4anCR1ROSEjxfwzaxZtASCR6Z qWjLHPdyiq8tQy+4XB+GYMlwfyoHPsssb4z5eyQmH/X//jrSSlr/Q9K3KC+UYAVxg+1d orxZZqxtWupRq+heLOdF94HIKRwerXOL+kRdx0vYfhrmI12HXueU5oexCWCLdeB4GaSr Uda157IVyuRW8nlHpqqJB1FhMzWEFzaKanQbhHJOEZJ4WPcrgAHYIHGalzey/upPICak Q6rZohGkfQYIn/yVUj79J04YX5deKSEEez9g+ahBWwtQBKkm6kWVaN3lIjOi8LgAZUR+ zQLA== 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=XA6Fn2c7ipHKeYPFo/UF4+uHyCP29TidKb7wIkVA+WE=; b=yxvbXOrdYlRcHtm/Ki3SiFGP+EaCw7+xraExOg5L4bnxkuMbo+lwd6vEjiE68uzB2p N8dzc9RHQShL3kFo3P7NJz9U3beNz//tlnDPyZGzjEEdifK85GsT3qQkFSfBUAbYqsDV m9vtHuBlfUuKz6wsDnSpIfLbK/cEiDYNHzUvRrxdkBUEcg91H2WZrWWHy1srL0VbdK0u F3rwdY9nCQqiokNk2Zf51DJuoCWRGzwdyhwvwZPqbJeIZgDgDm/nRTdZ7gqYfzOmk6c9 rq5clzOy6jSdFTozgY7xAedYrtDY6D5rKcyUm4/+KlHkccyW6xLDsrsakytSk2X4sotZ N3fA== X-Gm-Message-State: AOAM532sDbgBEGPE3vhnPBALOheSqUMmwVJjK+tAbTA2myzhvXAD2Bmq 6ve/wi3hQMcvFogaTHXpOGfZbA== X-Google-Smtp-Source: ABdhPJy7BcdZ8TfXT/RNfwSwm8Y8CT3U5AfHV0hy8AIESmfwvjEOhcTuiwmbrQkjU7QwukfdfnMnBg== X-Received: by 2002:a05:6402:1150:b0:42a:9dbf:8860 with SMTP id g16-20020a056402115000b0042a9dbf8860mr10543859edw.350.1652705331475; Mon, 16 May 2022 05:48:51 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-105.xnet.hr. [88.207.98.105]) by smtp.googlemail.com with ESMTPSA id e10-20020a056402330a00b0042617ba6386sm5093331eda.16.2022.05.16.05.48.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 05:48:51 -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 Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v4 09/10] dt-bindings: marvell: armada-37xx: add Methode eDPU compatible Date: Mon, 16 May 2022 14:48:27 +0200 Message-Id: <20220516124828.45144-9-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220516124828.45144-1-robert.marko@sartura.hr> References: <20220516124828.45144-1-robert.marko@sartura.hr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_054854_841218_EEF22788 X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. 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 Document compatible for the Methode eDPU Armada 3720 based board. Signed-off-by: Robert Marko Acked-by: Krzysztof Kozlowski --- Changes in v3: * Alphabetical ordering --- Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml index cd7a77d1fdc0..6905d29f3108 100644 --- a/Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml +++ b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml @@ -20,6 +20,7 @@ properties: - cznic,turris-mox - globalscale,espressobin - marvell,armada-3720-db + - methode,edpu - methode,udpu - const: marvell,armada3720 - const: marvell,armada3710 From patchwork Mon May 16 12:48:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12850771 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 BD1BEC433F5 for ; Mon, 16 May 2022 12:53:33 +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=YAhEPKTDNzT0z4dXLrfX8FYxJNX1VUQWn6jkRaQQ7VY=; b=446xTC2YEaoE2Q +Fx3mx3x8hNhKWl9KEbzdBWxN16hwk34zwoQ/wCGVY6enH1pv8Q7DBozEIsoBSGHIuKxbagOjuf4T EYfb5v+I6E+CuC5Y3ieaqHliIR+I3XfXZGbyUEQjzormp43+S6lIUXPVFaDV7JcB+P3d4NexHcRrt MSOUAzB4rjrXVVIgQ21CiUozXhOs5rU7iQ3P9ZoS4c7KFUXIZMCB/slhUYjVJGIiY97ewPHuZsA7i zQqt91NOsfUInCPj20ubJG4YuPQvj2WSmEF3wa0ViG3JQpt+MbWVgciWeDjmiK3nKk+l52aIMjwxX aUkiWQNW7oH+zCmgDLwQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqaCu-007jjC-Um; Mon, 16 May 2022 12:52:17 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqa9d-007hjF-Vt for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 12:48:55 +0000 Received: by mail-ej1-x62d.google.com with SMTP id tk15so4960083ejc.6 for ; Mon, 16 May 2022 05:48:53 -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=EM4jnNGDw7AMU0PeAM69NyPeBAC/GVPGYbDdF3ITGic=; b=UuCDifRXXwK1HzxNdsH/J1A6XFQx4+o2U78t9HC7AXVhV0L+fE5wQqQorYSL1+LgK3 0RewaqFh0xxSjnX6qOWQH0zDmlSuxFmfJejL/D2RfxVO5Bs/yf0XKys7hZzz+pE3sM0b 4QfNrCSxJF/uJ8Jn4EQ0oGg3c2wPfVHOsJc1r1pOH3AngJbjsSlGRbXEgijUBjUwOSHO sboyQpJvX9DVbqAfvcckC7mQ/7R4c36cpznFopScV8Q7Bgii4/EFdeRR+UVOxzW+35ws 4gCxi2C7LylLfpbYLDiX7GtzeA+whzRGnsWg1Oebb7/FysyV6kcMzNpEtDq1ga8CiQQ9 ISfA== 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=EM4jnNGDw7AMU0PeAM69NyPeBAC/GVPGYbDdF3ITGic=; b=FgCzaVTjiFljeScJ1R1F/P1pFpPJdg4+uVToJXEjJK8KnZA5untldmfDKxFo30ptwt F+Hu7CpH+U9bD7KpJyWR3uy06NzStC2vQI9JjTrUJTePFcXh/ohA4XoKTeLkD6l+5t9j hWYW6O5BZQrm9hOe53lCtuCm56k+M7MmTmAWNEm04QrW7Mup5cWDsTb2QjHg8Y80LuFP faZ6kJGJw2b0Qy83PEVjDlWNzVwfiqNfFLN+lxt0rbLb4WlKoDddAucj3p1JbUuAC2j1 jei2yqy2w1CPQUS7m+ehuRfZ1YqjOd3KwPaeZ3sNXMLhWLEiP/UjlzDTJCb2QnpE6p9f i6MQ== X-Gm-Message-State: AOAM53309Oi42xX67/q7Dl24IP+69jzfGuLHoTwyGSpTpMpnCtBWDPm+ f9UbIqMEaHdEZFWmT6jA/Yh+ag== X-Google-Smtp-Source: ABdhPJxgHP/xJxIC0DfcLUofYXhPz/6yxm46vP1IE7I22RveeiTrEhXbkLaTZi3uflSML03Vho7zXA== X-Received: by 2002:a17:906:c14b:b0:6f8:e6bb:f8d5 with SMTP id dp11-20020a170906c14b00b006f8e6bbf8d5mr15032709ejc.4.1652705332508; Mon, 16 May 2022 05:48:52 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-105.xnet.hr. [88.207.98.105]) by smtp.googlemail.com with ESMTPSA id e10-20020a056402330a00b0042617ba6386sm5093331eda.16.2022.05.16.05.48.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 05:48:52 -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 Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v4 10/10] arm64: dts: marvell: add support for Methode eDPU Date: Mon, 16 May 2022 14:48:28 +0200 Message-Id: <20220516124828.45144-10-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220516124828.45144-1-robert.marko@sartura.hr> References: <20220516124828.45144-1-robert.marko@sartura.hr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_054854_081126_3C99593A X-CRM114-Status: GOOD ( 14.40 ) 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 Methode eDPU is an Armada 3720 powered board based on the Methode uDPU. They feature the same CPU, RAM, and storage as well as the form factor. However, eDPU only has one SFP slot plus a copper G.hn port. Signed-off-by: Robert Marko Reviewed-by: Krzysztof Kozlowski --- Changes in v2: * Make the DTS split a separate commit --- arch/arm64/boot/dts/marvell/Makefile | 1 + arch/arm64/boot/dts/marvell/armada-3720-eDPU.dts | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 arch/arm64/boot/dts/marvell/armada-3720-eDPU.dts diff --git a/arch/arm64/boot/dts/marvell/Makefile b/arch/arm64/boot/dts/marvell/Makefile index 1c794cdcb8e6..104d7d7e8215 100644 --- a/arch/arm64/boot/dts/marvell/Makefile +++ b/arch/arm64/boot/dts/marvell/Makefile @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 # Mvebu SoC Family dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-db.dtb +dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-eDPU.dtb dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin.dtb dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin-emmc.dtb dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin-ultra.dtb diff --git a/arch/arm64/boot/dts/marvell/armada-3720-eDPU.dts b/arch/arm64/boot/dts/marvell/armada-3720-eDPU.dts new file mode 100644 index 000000000000..57fc698e55d0 --- /dev/null +++ b/arch/arm64/boot/dts/marvell/armada-3720-eDPU.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include "armada-3720-uDPU.dtsi" + +/ { + model = "Methode eDPU Board"; + compatible = "methode,edpu", "marvell,armada3720", "marvell,armada3710"; +}; + +ð0 { + phy-mode = "2500base-x"; +};