From patchwork Tue May 10 12:49: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: 12845023 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 D9ED8C433EF for ; Tue, 10 May 2022 12:50:57 +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=omFwLw/BpgMRGiTbi303KhbYCfYw8Rk35+NFGQ6ntU4=; b=PE9Eo5aEI4K5pn Mh5pHJ6GhXdOwf5wUYEJOAo7YFUy0B+JANrgiQudBpH3D0N9XgGWv/W9/NELxNFIlSvn90xG+CJAG uEIs6GPCPLPIo6pJX8ioKFFK8t1GZVUdtz2Lj065UiSJ1rgp4m/ZxwS4ez5sOu+xZP3qkgB72fLvg Kjoha+XqFlM0hTelm4ZNoYO7vc1JNhQTItN5gYoICb3dk+NlAgJY+WSqaSWkVc85YHwVPP2BhwnKz E6xivY6mrhtOdnjZo03h6NubCMOJuFUo7ZSnqkblzcJorwbmxtxVCNQvuaDXGZhVVLTH4vh2kO9AZ 4aGsHvC2xpgO2+K4/nWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPJB-0020Nw-AQ; Tue, 10 May 2022 12:49:46 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPJ4-0020LP-NT for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 12:49:40 +0000 Received: by mail-ed1-x52b.google.com with SMTP id g23so19863314edy.13 for ; Tue, 10 May 2022 05:49:36 -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=OkJdI54e0iw+j0SubUNETqHu76mK4u9Bb+TpmNhQfJk=; b=WcQESiMaelNFY4q4rRbkObJfFwbtVisQ/QjNSdC2B1kHTjKTB/HKEPrJ68Ar3s0cGC vMvdLkCkffbKCDL0asmj+yMcyxwTdEBjOQ6OfPsp+CZwW7soGLWi/q8/VZfFV9jA1a0l 4elH/LTIugjEjVCP+herNH7fH9lrVsosG3NSRmTDk2wzhFvHNTuxQcXFfr/hc3Ah5JJS atgRNfZzyUXdY58lBoVJF01UZbDk5nO+hyyiwRNf+JWS2jbQPM/hIFBC6vsrqA5xSPsZ sybZDR21taCdULQ2yzm/rtqkNwCBxoDFYp4o2+jPPPFqvksBb6+QiIYKe5rWe/A7z44N n5sg== 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=OkJdI54e0iw+j0SubUNETqHu76mK4u9Bb+TpmNhQfJk=; b=DuAfFEy1N3C4JXCXpWRsKde7liKp965XrV97jJjSXm78ciajXOUVKgfPQE0QZ883Xk 8qP3kHWo9MfYlKDRkc55R1xUuO7eRKIoMLW1BQiFVaO0yV6UZtgvv73wLPJO5nxt1ahx l3YL0+uL8xDEgh3necs0Xz7KEPYAbDUHaPquQlme0a1aGblPdxYWbwAQnS7bizW4JRsI 1yTkCDs8R7J7kmH6l2vcggFvxlhdUkaDcxgiyTvyyADMxZbO5S+X9L9AV8kBC5bM9LDL LA0Xaw3gJF6w2tdwokMQDobe2CGrKcM20lqH4XuxwfTyLJ3SNYdyx85woquk5TotLUCD kdMw== X-Gm-Message-State: AOAM533HOJ7rwbgFmynFpBg199ICmaBq9cEJ29XzDb/2nLaQ0XFbU2yV UghF0YZQ0YVHlGbC8OpXiWqsTQ== X-Google-Smtp-Source: ABdhPJxtXVk31Azba6nGHM86/peUdBPMSNyGDp3aDe/i4YnfTlGxc5OUae5y5syCyuUmkTmroh9LBA== X-Received: by 2002:a05:6402:1a26:b0:425:d3cf:d7f0 with SMTP id be6-20020a0564021a2600b00425d3cfd7f0mr23438469edb.251.1652186975008; Tue, 10 May 2022 05:49:35 -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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 05:49:34 -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 , Krzysztof Kozlowski Subject: [PATCH v2 01/11] dt-bindings: vendor-prefixes: add Methode Electronics Date: Tue, 10 May 2022 14:49:19 +0200 Message-Id: <20220510124929.91000-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-20220510_054938_808587_3284689D X-CRM114-Status: UNSURE ( 9.07 ) 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 01430973ecec..e5ec476f54cd 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -764,6 +764,8 @@ patternProperties: description: Cisco Meraki, LLC "^merrii,.*": description: Merrii Technology Co., Ltd. + "^methode,.*": + description: Methode Electronics, Inc. "^micrel,.*": description: Micrel Inc. "^microchip,.*": From patchwork Tue May 10 12:49: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: 12845024 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 9D2F8C433EF for ; Tue, 10 May 2022 12:51: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=2edHcdWOjk4BZ2kU9C9oh0G7ssDMgimzZaCgZy2QjEM=; b=P8T3+9O5m5CqNr KlswAb6ijz1B4Twh+aTtk3ISwH0vUYS3kJ0z9Q6VEE205oZ6ODBSio3FQbhWZF8L00v88rbuSayX2 NXKhtjmX8Kr16CZ+XOJagx/p4j0xAZIIDP5FDFzT+wPpEdD/ddv6/WZ7ZC4WEn0ypR+40TIk2UYKN 2yscdVgoxyCwfWq7dRdtDNvFa6YXq/wrHN4Pc/pKKswNXlaucvIvWYrAD0YKYcOwhnwJHlYJPfNe+ WfGa0wtz3TU3rBD2pRPslsp+rH+5gfBouoCyLRSTBSbEf64BZhVJTHYRgxAP0wNE/ydUVs4VHH5aO f8MnJK2SnYyR9C5Pythg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPJs-0020gZ-BN; Tue, 10 May 2022 12:50:28 +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 1noPJB-0020M5-9m for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 12:49:47 +0000 Received: by mail-ej1-x62e.google.com with SMTP id z2so31144828ejj.3 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=vrZ4COfmfw/Cggc/bMbJlloqRLbCrEJPSfFvAQLiw1iZ/M5f+3ghnxhjO+QPkKm2bp 9Ju5edBoLwYW++dqMCsOZBva1JuCEPcuJx1h4yzVu/mNGph5W2qdPJ6O4+nZzby5bFx9 SUbTeqHwvcrpYgp0RhE+ViVv2avX7kFRYvewJZ2GnTSNTxEzSgTXAwo+C0NST4ImVN5O 7jby/yt4JmHE5GgVuoFH0OmVc6a14b/cSPo+WpOwAbSgQWgpYiMK+rMrYQGnH2o4de1N P7HXCi4VrSzkyWqcpOdbPH/Jh4m4gjEDEyXEhLQkxBkAkkSyfN3xQ1av04APLqaZHE6x 2hpQ== X-Gm-Message-State: AOAM533n8ItrlzjsWYYJHo4i9fm86jE4dQeB97M498QL7AucyhavBKEF JNVsfcyLR8QL3gIUWJDoPrjQLg== X-Google-Smtp-Source: ABdhPJzkQHZolGvccUtfG+aH8pjTTF52qEYDIOqyGPbYfIkk82mgKajVFLtjhDSy/pTFLxFlzgdXRw== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_054945_415060_109E0365 X-CRM114-Status: GOOD ( 14.34 ) 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 --- .../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 From patchwork Tue May 10 12:49: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: 12845027 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 11BB7C433F5 for ; Tue, 10 May 2022 12:54:04 +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=XJo5R5xmKtOF6hgnsoLaUC/MzWySpDPCtoRhXxyWQsE=; b=bqJDHmEusj2j1O 4wJ2JJAWy3xvsR/H3dcWfwTiZAk0YeuKdVvWC7P8jCZe1nR2hx3UHTUaAgiD8Q0zXw1FozMK5hQ6T +grGhhQgrB0awhSqmM4wL/uK18VwTkL8sZaGKSZ1Y+p/NYRUiB/3/DQELNIckZzM6AWD1ZlF4AJYs IEyQIgwgCE1Z/AZKkZD6xNdgXFRjf72mP0P+KhhZWZXcJT/0nrxY3YS3GK0AlSSoSyp1tA3zM/zUd rFFjHPCweFoIl+sT1bpHaydzKHXi4POcUQ4FERoX8FSYi2IY6oRIBpaQVHO0RTatAH0CKS946kXiy KEvIKeYJjPo7vW0Gz+ow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPLW-0021MX-A0; Tue, 10 May 2022 12:52:10 +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 1noPJC-0020Md-Ob for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 12:49:49 +0000 Received: by mail-ej1-x62d.google.com with SMTP id dk23so32733762ejb.8 for ; Tue, 10 May 2022 05:49:39 -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=JRHr7fdKzwvGcxbeg/0F2EjB5DJIbPSUWRot3RR3KEM=; b=7D+vrVq8SA9FoVNefbDHdQ5HvTkCS8UrjB4ImiKDgRwrJ/fNixNn1wMl7oNxsL8vp5 ptxtc4frm8gMQrkMBmpvi+qhcIc4yNYlqteBz8662mxEpy2T+hXdzWlR83ycKXR44eUT goF/UgCIq4yYl2y7JmgKu4mxberGycujdng7KVT7o45eXt0jNFhGoeF7aW9pTt3GpuaZ BalF62lA9VjP5wkiegCS5tq7L35Bcj7QsMu1J9dU7fbXkIEa1sgpKD0Q3RliUiOaLK9N xCOSgXUmlmiXzDPTYDG4+LvxmPsqlweDBbfkGVtuFgw3gnTyhXtklu6+924qYJVKYsDF JXLA== 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=JRHr7fdKzwvGcxbeg/0F2EjB5DJIbPSUWRot3RR3KEM=; b=QvWot1xC88M2T5ac+coIJbgHJWWBGP304rVbXZ5cfD3DymL7rv2jiDxuLqIS3WJ6hQ I+mr/Ko5I7EAeSAjHZJeHwKva7a6UkD+YCCBe/QstTvt/14ppy/wQTfMLMGVHUasy/q5 C5x+1EiN/ObQyVOxWwJk6U6MVN3crO9nEXnLR495ZAhqLj1U9eanJCSobOn5FgobhDqV UPVsG/rj0xTx6xa5/dxOVCOUa7mhvhuoyoUnHq1wld/eyDbGKfEuo0EsgYm4sIHb2pcs CIf5IKXxggPZy3VOvj3DZgl5HXQtv64aFyHzNBCBxY8T7MNRMIrRxkWZ8pNYjndaN4Mj oXbg== X-Gm-Message-State: AOAM533cCIae1qeulNRpJ3aBdN61v6mHP8NSrlBOrrM4n3nWcr3n1N9j a8lUWRHTJCEKXOnfuisx67dcZg== X-Google-Smtp-Source: ABdhPJx/IJLiklgOedQhCBVh5VP4GbNTBuqGvGM91QlsILf4QLz6AJpZ3liRF45O7ycq7tF91hrmEA== X-Received: by 2002:a17:907:62aa:b0:6e0:f208:b869 with SMTP id nd42-20020a17090762aa00b006e0f208b869mr19568202ejc.270.1652186978368; Tue, 10 May 2022 05:49:38 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 05:49:38 -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 03/11] arm64: dts: marvell: espressobin-ultra: add generic Espressobin compatible Date: Tue, 10 May 2022 14:49:21 +0200 Message-Id: <20220510124929.91000-3-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_054946_916141_A3D74F61 X-CRM114-Status: GOOD ( 12.81 ) 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 --- 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 Tue May 10 12:49: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: 12845025 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 ED290C433FE for ; Tue, 10 May 2022 12:52: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=nLeio3gXqRkzDuBwL+Ph+jLGVlVEWvjbTvrsgL9KCZU=; b=nZ/4me0RWT/sTM PGfNcfl5mo0JcbRWTJJiWH7xSa8fvB599LhLFtRvIpN+jaWZ/iAt9qLNTAWgs1Uxda+l2Kxhj75xa BPawdk7pvZUSQkiFyKJ1lbnY8tI0gFs/ceA80GIUtAqwZ9BM7lnysDpffPTimC8t4K0+cCGNLFKVa QDwQMKO2BfTgrbcO4FhJAeQ9ywBPbvdK2aUgg5bXkcWs5ifWO8cP0ateNonyBzjPabGHs52FALpzX yVt9/+863wrrakD2GoSlryQgaNtaHS+4FhqDh6t+COOGOq3l7XOt8JV0ydWlymcTo5AULWJOOmuSK oh9vlAMVppmBQnS9B43Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPKN-0020tc-F6; Tue, 10 May 2022 12:51:00 +0000 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPJC-0020NL-Ou for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 12:49:49 +0000 Received: by mail-ed1-x536.google.com with SMTP id g20so19866225edw.6 for ; Tue, 10 May 2022 05:49:41 -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=78JVcYS1OPNy0iMprMf44gcnodWCbP7TdZbHTmipSOU=; b=yam/lZolxWe0UsoR5j8vWTXX8ffBtQDSM4Q5cOe1VgTDvnrGJvgWHb+HSxCHbPJp24 wI47EfWndInVOK9RJY5EdFjCSaKg8FQhE/ncyyXx+P3lSME1kQjVNwIFXu9NizSi+csy I75Trj4uun8l2Qd/LvEUlpRZmkJH/u8c5ohPq/PZLfzN8zsG3xKx6DdMbu2QqVSSTuLg G1GhCjcgoxvW4DBGZWlCC0Yu3FJsUD7nJsMECvMQFlrdtLrfXfj7Mvg0SXK2c1wqxnZD C26oEv4Iy35dHEHRS+UTx3UCilCjmmIXDpooje6s7u7ddB7Wh3Yvocxn5TZ3WmJQfMvT Kl0g== 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=78JVcYS1OPNy0iMprMf44gcnodWCbP7TdZbHTmipSOU=; b=6vk8NtQirmTGbPwiIKcdgXKTMI+pJYtW+uZkRdDKORixDfYD9i1Q6aJLwbB+B9q9Z7 Lw15eTiRAovCJ2hRL99Ze8VVMTHk85acOC5nsMR/wod0k+Gxw5qaB/6M4NvW0uvLspJb oODY9xFhieWmCRAzz5KwVwDgVsgT8eCrRnwrkJPGg2RH6kx3X/Q7r7EXhUGo495FhD7R Q9VSUyPc8JZ4yeHLTUbts94tZFK3ZOh9JIeShZB6wttG1HpG7nWsSH/mFcpz4mGjXqt+ jbIIJkLFtw4lx2I98zTYszgkFy5M3tnzmiir97Vpi98+TnpVR6TRJFjqbDkhQE4vCnoo 4byg== X-Gm-Message-State: AOAM533WkHTGigRc7OU9xlX59rEOmc3FjnH1R68ueOUF0YR0HwEJCiOw 1ASn+gmRRm+GnCQVeWSBgoD2lg== X-Google-Smtp-Source: ABdhPJyerG+n1CTZ4ZSoKDj2W1kCFP2vV0xqAjbQcR9cY7KOeDNQ8BIbjwZLzF2aq40oAbzAizvE/Q== X-Received: by 2002:a05:6402:2709:b0:428:3ed9:abe3 with SMTP id y9-20020a056402270900b004283ed9abe3mr23203650edd.51.1652186979918; Tue, 10 May 2022 05:49:39 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 05:49:39 -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 04/11] arm64: dts: marvell: uDPU: add missing SoC compatible Date: Tue, 10 May 2022 14:49:22 +0200 Message-Id: <20220510124929.91000-4-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_054946_912598_211818AA X-CRM114-Status: GOOD ( 12.32 ) 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 --- 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 1f534c0c65f7..62fce6f2a3a7 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 Tue May 10 12:49: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: 12845026 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 74084C433EF for ; Tue, 10 May 2022 12:53:18 +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=yR6iZIQoutbs9YKss/8sITY0Tn/LGixSMerctFInoCk=; b=xNRoCMGm1plEfl ynt5uYArnv1a41bcsZRYOFadiI629d3iRjIu3BVaSsvWCaWojvLXfoGGaw+DFsP5VKvIZWrcXdaYg qzTpQO43xtFkBTxopbh144HtJ5OWmiW0Rm4CDdRT6798ZEzVVQOX1ZGMavRD5vF3HEULCGtXIn3Mr noc+wVKS8xKCSuh0qK+dbMTCJZ8GqUtxuynMJtjSwfc37PtHvnDWor1suHXnMOtiMo2iKLcBEsKuS AmxQW4Gb+2sJIltxA7z4DQdo/REZ7TOURyYXlWWnR9gcRWDykD+F3YKOc+QtskCzyZOsdnBCIqGTl a4ZV9zsd62bxUaRAVc1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPKp-00212u-5J; Tue, 10 May 2022 12:51:27 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPJC-0020Nt-Oj for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 12:49:49 +0000 Received: by mail-ej1-x62a.google.com with SMTP id j6so32698284ejc.13 for ; Tue, 10 May 2022 05:49: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:in-reply-to:references :mime-version:content-transfer-encoding; bh=Rh7zG3O+Dy4PqpKCp7MegLaCEpXOxU3Krg/xiQKb72c=; b=mEaxFctqsTHdBcLIalNT2qesrKkXCjxZ+KRAhzfJFylEcKD2S2V1rxETfoPmbfXSzJ 6VWHR/tF6avmcYxvstkL6xgtE8/RSJxkgmaOxaGvcqmxBRZj4jpRbN5erWg3n5msAcBE xu3sUbPV2SbZ0NDe4bUlTzLDtKgp4RmbCYz5OPandHrW8fXcHjX9o3961kkmjXlnk3aV ofsVRiFO7sxrUQAMfw2Bh7ZGsZUVEmqyxBCwswNXUQfnMbNuAdmYgUNEop8cCTl6XjzZ gOFBonIPUnMp8jdkm9Vz/R2IQc7V+1BP2eUIrftVJdfpNA2os+q2PKB1kM1ba/h0fr/B cigg== 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=Rh7zG3O+Dy4PqpKCp7MegLaCEpXOxU3Krg/xiQKb72c=; b=tunXidX9vgIvo3XpYsD8OST7XrcbFyNSCwHOwxWiVFOuHgACERITNs8vzb9ZTAMDwP E80WnI0n6fl0aKa5AoFwHHMoyfxKgUVstzKmC36ox1Zzz4AvEUX8bAeXaTRtoebTdlQw DtJv3TuMdXlUl4JdWqnSC9KFGHkmlfCCzzivOYw4zgJMf6exFzZkXRrYZ9FdXLWTRWFR UPJv1WoifKsoMHY0x+6W2Ns5P9zXobEQ9obaZryRDt71RxZAxRtxY+unSZ4lDSAa+0l7 vUJ+b6sczyRUSpDtYAyAEq8WxOOLsel6Qp5v6fug4owpkbpTEkb/hBzfyaeVxyz/NWT6 d2mw== X-Gm-Message-State: AOAM531nI/ArZoI5XBhJzlHtdyD9dbxDwuPkllvDG0HvMfCNJGuOKIqH I50J4M3TDDET+24kEq41hXXcjg== X-Google-Smtp-Source: ABdhPJzjo+vdG9doTVuwRWdtpMzEi+0zXLwcOsy9bJCJl4lz2HVWw99XaCsbRevLne3guGa+7ZsfRw== X-Received: by 2002:a17:906:804b:b0:6f3:8d78:ffa8 with SMTP id x11-20020a170906804b00b006f38d78ffa8mr19686161ejw.588.1652186981406; Tue, 10 May 2022 05:49:41 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 05:49:41 -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 05/11] arm64: dts: marvell: uDPU: align SPI-NOR node with bindings Date: Tue, 10 May 2022 14:49:23 +0200 Message-Id: <20220510124929.91000-5-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_054946_941614_E744BAA1 X-CRM114-Status: GOOD ( 12.63 ) 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 SPI-NOR node should be "flash@0" according to the bindings, so fix it. Signed-off-by: Robert Marko --- 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 62fce6f2a3a7..4ae1688e6627 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts @@ -99,7 +99,7 @@ &spi0 { pinctrl-names = "default"; pinctrl-0 = <&spi_quad_pins>; - spi-flash@0 { + flash@0 { compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <54000000>; From patchwork Tue May 10 12:49: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: 12845028 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 27EE7C433F5 for ; Tue, 10 May 2022 12:54:54 +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=GyrLwzmtQl365Jhd89mc3Ta5KOWC9W4ZJIYHJMngFd4=; b=Z3DmCRDRuPtzZ6 eEn4vOH2mNn0yPPRPLx6y/xGaNLH0LW0ykBmweYjXO36KDhYoxs3JrVqguW1DsVcTrWQL94GHVSgm TsaQ40CokqTot5LbOtH9c1OS39Tof12s7fl8DP4AcsPngwMOXetCxn1iL2SV0OSweiQ58D6NoaAvA MQIHAwXrmmP4YeQpnS5f+2teajpLiK0/bC813WDh0JaAJngFjHBoFutCcc243WxwniteB/xsGAK6s rQFp4g3Pt4oWLP6R9RelqRXcfflHaO1y7dMvxpfFjvN9NhzjJzQq9DtQjF+9rVezu55DLB67TLo1N 2OvSenxAR00pmYGOTNLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPMF-0021cf-8M; Tue, 10 May 2022 12:52:55 +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 1noPJC-0020OQ-Of for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 12:49:49 +0000 Received: by mail-ej1-x62d.google.com with SMTP id ch13so4293657ejb.12 for ; Tue, 10 May 2022 05:49: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=Ko9Su/75NK6EGUguCwaBtbcpvuAyD9W5527i5Vs8bj8=; b=vkHRuM8Glfb6j9kbNCUNjjMXs7byxOP6NGjLv6c5s+ySY+xZ7B4V9fEGEEVsVP7Sfi fs9CIACslyJ/DMfXvHVkXx4angd6aCBz63yhdCqeHyOYn1e/li/BRWLDuRY5lN2XRiGa HekaWiNf3L9IspMmFzRRpKdiKsblsaGCLUNpUnDGyRBqtqBsjgC3K+Ck9N2aRowoaHkx 1eeUxDHKXF41q0UQR3livAhH36D3kFcHE3fqY0gqVcVjTZVQy7c1h3gNFGusOLsdyLGu FYmiyEypGT6lvgh/yarCeCEP/Bl5OVPx3gYPSfphZqBhnLQzG/fB5h77XGMMa7JBRJl2 aXNA== 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=Ko9Su/75NK6EGUguCwaBtbcpvuAyD9W5527i5Vs8bj8=; b=U6xyqCRTIvHTdn5dRLqN0/Pnd0vj7geUcOUNwjIms6D6wC0d34G5QOddMGNYqAnd2Y aBKBso4UOsfU0Z9/fUPwfEFT63d2gdkrKaJUSztHT9YLWHO0inFtIHdVGbJkEYcib2Y4 MLRN5iJLlEVWAQsMkefD/E/SjKYcEVQmC9BKl2e8Nv3wuWo8jxDijjzCCtr4gpd/mx7Y eKXJMvdFqgC3qRcrJh0ZRaQkn6nV8+1c4ej3bnulg//8hoh3iTbxyyHINVXkD5T3u0YK QKgCPvCVN7hTggR/cMxGsQWOwJDJ3bUebd8pyXBinqSp2Opvy+mAp0BddF7dRZUbvA98 tmYw== X-Gm-Message-State: AOAM530iqBxQL/yRSitoT26r/+eTXPPC//LsIfJ9fx4cs3Dl662r6OAL twax6Qa7Y55TvmyQlD5O2VJ9gg== X-Google-Smtp-Source: ABdhPJwOdo/C2PWDmt7clorHbZF3P4R0cZxx+vQ0G4a0Si/UIuCHrhVMXLwA1FJ1dTNoGCgBPFa1Tg== X-Received: by 2002:a17:906:2989:b0:6f3:a215:8426 with SMTP id x9-20020a170906298900b006f3a2158426mr19522277eje.725.1652186982908; Tue, 10 May 2022 05:49:42 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 05:49: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, pali@kernel.org, marek.behun@nic.cz Cc: Robert Marko Subject: [PATCH v2 06/11] arm64: dts: marvell: uDPU: align LED-s with bindings Date: Tue, 10 May 2022 14:49:24 +0200 Message-Id: <20220510124929.91000-6-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_054946_899134_E7B960CC X-CRM114-Status: GOOD ( 10.48 ) 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 --- 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 Tue May 10 12:49: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: 12845030 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 DC6CAC4332F for ; Tue, 10 May 2022 12:55:14 +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=np1ENTy/wbDNrPHcbVhsz86YKq+QYjiSZRBa53cRAgk=; b=HAhiJ85m6E9FJD EyXFlFU+NMaaWwyXSVMMRX5IUCbdlqutjI4BMvCL4YkcaeZzrW2SoV05k1RuU7YA0vWEC7FUCox78 PUxf1Nsma68RKgUuJQARFpaNgQo0dULvDOsoXNimBC7YS/+2XWwVgYczolc6vXLSz9lhLvwds3pHx 1OakXrrYimgWexnsdlOzKE2V7YBrvDmuWUl2MXhn5s8zu7YdlBrUfC35nsG6pCOuX6Xp6NKGJfvZX ypLGWTpa+X6Wt45xota2TQwpoFqY05WgI8+AgFPeXq1w7mXoLoYgpEdWE3TA37JS90YQ9tXvgSX4q O+dUEAAoTAKjQygdnvnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPMi-0021pV-91; Tue, 10 May 2022 12:53:25 +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 1noPJF-0020PK-EE for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 12:49:52 +0000 Received: by mail-ej1-x629.google.com with SMTP id dk23so32734449ejb.8 for ; Tue, 10 May 2022 05:49: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=0ADwZV9MCiaFxJJZiEcHrqujdjNo6qrms2LEfpU/gHI=; b=QuKKYpmHYkCBDiSsS8UgFbXwel5iOAya6SX4eoYZ7G0KeEpckN1Wp1C4wVSmXiMcfX 8ZnKsInAtFO3og1uJRwQ3TT1zDoLOo/rl7M1goYLZc1w2jnEp5ZAdfUW2zr1Jlxe45De Ji8nIbjAwHUQK9Y2WmjJWFAMZhF04S+d1VS3+NklKV7wb31vICdB3cpFTYJ+SP4TECKL SVlXKwSU7oI1SkVQw2IYlHa1KU0NVkIRLu1DjIBy5uF13fhTWziXNkbXWOP2qZWnA0DP qQC2O2z6UBWvxXysOjb9nb9S5urG/5eQxw17McRSxGpq9cG8IK8roXr88UNlxmyKLq40 5slw== 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=0ADwZV9MCiaFxJJZiEcHrqujdjNo6qrms2LEfpU/gHI=; b=S62VL3ng3kHF5Wd3qfilnRToIOAI0awIb59SJpcq0bsLgnI/0iU3jnJyPmSQfPjjeg 1gGqfBQkFbsOp3ISoKD4f/Xbwid9fRQ/m2jNTmu1PAAZ7fVwOF6sPEK8EXfi8EEreKyi 77dWiqKa6TFuOokExWDH5GvEUauUwxxz6VKoOgjeU2dvu+RpL0wyfM4Ev4rQexDr0S/H 4gOQUUWHYNIehI5uSyLXscy42aQCRGUap3Q3MpFfK7Yt7rGXY1iBSf+IZd2oj5jlIeoV v8hQ43rXtTSV2GT6ZZhJ5DmaRj3LiA0T5qrGkiimZLA/Vt9/7wDYDuo0LypH4SvI+qlj JPxA== X-Gm-Message-State: AOAM530XM2ICvTCdMCYkbUWaKT0qRyOrvwimPXl2P/J/uHtMUIkQg5jn v9bFtKXgKjQhXi95xsUyy6u6DQ== X-Google-Smtp-Source: ABdhPJzsn4gIO8im22/3o9qagAgl1LvoFHePz3JQWJJLiJ9vhXW/Xfi1FXsW3f31pjQpDBup/gXChQ== X-Received: by 2002:a17:907:7f87:b0:6f5:1c31:6b6 with SMTP id qk7-20020a1709077f8700b006f51c3106b6mr18575887ejc.248.1652186985606; Tue, 10 May 2022 05:49:45 -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.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 05:49: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, pali@kernel.org, marek.behun@nic.cz Cc: Robert Marko Subject: [PATCH v2 07/11] arm64: dts: marvell: uDPU: remove LED node pinctrl-names Date: Tue, 10 May 2022 14:49:25 +0200 Message-Id: <20220510124929.91000-7-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_054949_537880_C46776CB X-CRM114-Status: GOOD ( 11.50 ) 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 --- 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 Tue May 10 12:49: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: 12845029 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 7B117C433EF for ; Tue, 10 May 2022 12:55:14 +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=Vgl6GCIjqrCewlOC9lgtxsyJsZvGUaNp/z8lIhc5Fok=; b=LktTHwq5WZ+uJM 5Gvj4vcuQ4q81CayDraUvY21brQYDa5Zl4chOkI/uugznI+966p7tUJEB3XoeVmHGJU1Lxfu5BVQo a45QW7W2hlwbMlXxm9vKu3D/p27p3qdQv32zDjdlMzgsVMDWF2KooPKmDf1YV5x9l0kj410XElb9A 7cn8jxQJB0gkrGx0/3hno61pfvjB90sgoDzgzVjt0D+VtIz44/r3IE+eiA/EEMUVLG1cCCDB8HRU6 phFadTArG7HNP8AxBqpccprCi0YTPLqDtSQucGRRuE2thp0DgyXfMbpFDPwkVVubAd7qQLOpzAixG gFHqdWfMU6L3I2yfyzpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPNK-00227F-FK; Tue, 10 May 2022 12:54:02 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPJG-0020Qa-5j for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 12:49:52 +0000 Received: by mail-ed1-x52f.google.com with SMTP id d6so19865655ede.8 for ; Tue, 10 May 2022 05:49: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=iyLgDkdQHyZAkcqdjwAb1osRIT28CWJKpvenchINumw=; b=S/9C6tTjilIllx3hKGjNVbVdwZE/WIwdAeaCq1DAvhD68dTpygYBIViGwpw/qYEm/F D2+BYp8ClIZsXxjFAElPR/gb9v1BZ5u4Oa0k9IQftWPDhB+qaIWMb1td1IEbXoPGGr7K nGjzvq8zXpKFes8c49ovWhSJH/2f8Cc/ecz9OEnosg8LCL50Ukg0we4phakU65/4Abw9 JfxhOTQgmPqNK9aJHAiTq3eN4tpX0eFH4AURlzFLc0bUF48h+w6mPMeAEl/4Kac5evyZ KwqLVLHTM4JR8TvXRSF1uwPulxIGrH1jxHrztGPTMMSDxhlEe5vIB8oVhtg1I3FvqUxs Kyag== 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=iyLgDkdQHyZAkcqdjwAb1osRIT28CWJKpvenchINumw=; b=RU/788nrWvaEK3cj6I4L9nAhSy+TmUxakvgBuyM93lgahKYrBQaWzgU7QogMU61f5v 5gDQIpOuuzOR5hY/xmzz22kyymFp7gQ1qdFfY5dFP6K69EjBfX9AtexO6YxXDt+uZ+Ui sBbmH3+UxSKv+SgBW8IGXyD08GjyI8kFZvw67rvag4tPIzpmXNr4DOnVfSbfhzeyBQNI WES7I9QUtXREPRrswbmi/JkSOAJRaH5ZULMWIuYCHoYqB6SS3OYCrJxUBOdin0ECsQE0 21fzVW0fQs4axyr7LMsoW+TXYk0K7DFfqxnDOKiCKYwkz2+we0TohuXVLuCn6SJMJVPH tZww== X-Gm-Message-State: AOAM533PHoyJCNkhBKPrigUumfNfAQiXE+hZLhgCZyy3hsW8MLnAyXTf jT0PGtP9KMnZezrvwDZI6G3k1w== X-Google-Smtp-Source: ABdhPJzdd4GU8i6g4QDB7KWJtBGH6JkMQiZ94Gq0JHyrk0grWZX3gGVCXrte4xYxoQY+Uz8PJW4+qg== X-Received: by 2002:a05:6402:40d4:b0:427:de1e:6ce0 with SMTP id z20-20020a05640240d400b00427de1e6ce0mr23222198edb.227.1652186987212; Tue, 10 May 2022 05:49:47 -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.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 05:49: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, pali@kernel.org, marek.behun@nic.cz Cc: Robert Marko Subject: [PATCH v2 08/11] arm64: dts: marvell: rename temp sensor nodes Date: Tue, 10 May 2022 14:49:26 +0200 Message-Id: <20220510124929.91000-8-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_054950_291607_F3BE7CEA X-CRM114-Status: GOOD ( 12.14 ) 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 --- 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 Tue May 10 12:49: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: 12845031 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 1C465C433F5 for ; Tue, 10 May 2022 12:56:04 +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=OG/UtK+XjXoMoJFWQ5HJd3DDGrQAsox6zaoN1KAsa4E=; b=jHhos0S1kygSAE KbooQbSIr9tEMYLpXEndVyvRyxaxmn/hfTf2Z3iQ63qpGLGJ30rMreTLAj4/gxdh2jekP3YMkAbfe NAmmcROntJkEgpeCrO5ms2YmZF8XkxOvqYur88GTnZJ7+e04P5L7lfl9nIxD5ONOVPFE51WUeMtUB vgZrUfh4HzcVPzZPteQehr8HlSHeuMeaRw6jATiUhWNcY82gKfPE+9SClUaO87EgOc2tSe35oAk0D 39bd+qcQXFEistF/3c0oJHCYRRUsZfDb0VlQi1NoV7BYQ7BQgC0Pu6m2/a+RlIwxJirORXyj9DUwT /ORcV+0fOaqDYHyQY0dw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPO2-0022So-5y; Tue, 10 May 2022 12:54:46 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPJI-0020RT-Hm for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 12:49:54 +0000 Received: by mail-ed1-x534.google.com with SMTP id ba17so19882900edb.5 for ; Tue, 10 May 2022 05:49:50 -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=vfLuO2bBXhL8oa/UMAFdd0jhsQRQifT6C/f2wEkgFLI=; b=1TrQqVwddCRr+SHafXfwtHdncvM/vTDdTYmI52vBIE/RNWLBLTyaAX1C0wLx323vjN jzEwbuJ5OieYsjCZQKkGT4Kv6OXqu2SZYQmUIV0ku1FuQ9AAzHboVIZS5P2IbitydFeO Z/7nPHz86++ho7fq2DqXKqZzxaybMPub1ouG0knPG+9b7aLD7TQh2mcn2SydLLGwjDhO BOZLKZbZkKAqmyoXz4L2q10huMD2BztNm0iQ3u3sDU49sDJ2uAru2YmVvVlph8XcBe5q UaS00to/lWHI17whP5bh31CLTvznES+3kfzbuLApxUf0dW2ySkiZ5qtfv/xbIbKtw6Sh g7Zg== 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=vfLuO2bBXhL8oa/UMAFdd0jhsQRQifT6C/f2wEkgFLI=; b=enyg/FgCbQM3PfF9iPvv8Geu/pr0xXLNtbOglFCBVHKN4JGDTe5g24osPv9w9Tyoz/ 9Qe0jqvZC2PYp/1tvU0QIlU0kuD7N/S1cXExE8Pt0CB9Z62uqWXar5aBkSBuuIqJ9F8o tWYXz1l1o+BTKyqZiSpoqJ8dXuAda2FUrsJBHjCFoNb58o1t/ZSnUSVCjGQPeCfbrJu3 fZG19TWOlWThlZd3akc1xsILkfjYytJti+/Jww5sxyxcz4iC8UAkmVsHK8pPCWKQXnXh xvhk4AfGRr1nAckCk4xPYZnqhbDquu2SanSWR3JJM2FugZWBDx8dtds4/zF79koVnu8q OCrQ== X-Gm-Message-State: AOAM533JsuTYGHFTmpCWCkokT2jgy6cvJStm6A4Ywxms9uej6jcKhiK8 IkqyXdlWzBTM0tsu0YUFPLhDrg== X-Google-Smtp-Source: ABdhPJzwyrYize71rVhYnx5pouWR0PPJUe95eUtmSTWj/S44UobOFzmAhlGOS5t5pb0nzpyIMMlz5w== X-Received: by 2002:a05:6402:43c4:b0:41d:9403:8dca with SMTP id p4-20020a05640243c400b0041d94038dcamr22822731edc.184.1652186988762; Tue, 10 May 2022 05:49:48 -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.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 05:49:48 -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 09/11] arm64: dts: marvell: split Methode uDPU DTS Date: Tue, 10 May 2022 14:49:27 +0200 Message-Id: <20220510124929.91000-9-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_054952_668192_7B2D262C X-CRM114-Status: GOOD ( 17.20 ) 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 --- .../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 Tue May 10 12:49: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: 12845032 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 518B0C433EF for ; Tue, 10 May 2022 12:56:30 +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=ISSu3alobIl1YQq4dkqddMX7buRjwcohi+Yar/xOIJs=; b=YgoWRinTuVZ/sl 7PvzYjwdJRKp54gW84KbH9vtTjISJRl5e9AbEPr/A01ZzOYWpwapudbsL3F6k7TDLaYzZ8s3eQpVi ehjGe7gME3T5qp5VNuFuFBuGiC1PQN9pnrdpdwZHo17CZanAY4mlAPwaeiOQH97ltrVDxzfb3lPZG q9jYborv8ROuv6+19kYw0wlQfprHRG5VDEk4r/2DaST95SFkyyQVYtwYvg0cL/WjhSgQGvLZUzhbs 3BKEW/gqJl6XnY3e8jsZ66UjLJ6lja2AhBXUZj4GU18znRXf2feQP/uncw0J2YoUvCm9iEX/dsZXq rCnUBRsUObOgUW49y9Yw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPOQ-0022el-K0; Tue, 10 May 2022 12:55:10 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPJK-0020ST-2s for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 12:49:56 +0000 Received: by mail-ej1-x631.google.com with SMTP id bv19so32736991ejb.6 for ; Tue, 10 May 2022 05:49:51 -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=uE+uPH7XJQcG7yH10ofbLOu1qNt5to4brlA9JYvKtQs=; b=iKtgXy4JrJUvAJppO3GZ+XMVhpICzTvH/99xfRe6Y8da08LQY7JbAeJrvSTD4Uf5xI JNwkwZnIOBzex3M3JQMbmAw7+NmQImhbQLEAgVu6p7XKyyic8Pa/CP0pkz8gQ42vWO0/ omfe9nuDyyCahTNR0yvxsIbsNpH0ifhCtRg7Pdu1XxXQnumU1koJUz7KGy2yJ5zHC4tw Ct5V1Pllw0sS56DQc5gZd+yTfZlHQQ3pwnCJUjepxUIDNpznS0Ho+CC5bfw6MFTzAZPz Tnu2SM/YFtL09StrIQMY1VBk7KZ9Mr1G2+aOjoZzUe8iL7KeQ0XUf/7yAX0oqYfkQNfi HCdg== 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=uE+uPH7XJQcG7yH10ofbLOu1qNt5to4brlA9JYvKtQs=; b=k9HuOoOFibqmviBZiWQxwW/k4CneRfwDKTL2+lvpK5LIh1oZxs+eAQgpG2lGZx6iuk gbZgrv+Bo4pw5Z329MrmdILgwX1PlwSlB1WXEg93nB6TJ52+utGCCWi+YEx3Hp+lZBhn q2EstW8Mv3pE4x7Us1LXEO6UcyCseyFNVv9+cEK//PUzcVQuTnffEKiQ46nGcPRUEGMx giswzt8sB8CCreldSHl3DJ1uNdWGBZd2Xb/bqiD+xHwGhiBU/23fZt7k4lvTFcEXupDO ZbNOTh7Jst8pC0T/05jj/oguwbFK2IYzym5N6UEuK/qcujDT0maqXiXWGAQruDJ53yEJ v58Q== X-Gm-Message-State: AOAM533uPp9m3X3sQIO6Qir1rbNPtWOWFKwgkRqBeA7H+UeU7ZXHS1vt PjvuDNpRWzV1PHGjP8bvq7uQYw== X-Google-Smtp-Source: ABdhPJzO/bHcf5IDfxgIy5UOpIHVpNzywPuo8Id6tHFxW+Va42WdjEgXjv8p05Dl/div2ikIUmncHg== X-Received: by 2002:a17:907:7baa:b0:6f4:794d:d3ae with SMTP id ne42-20020a1709077baa00b006f4794dd3aemr19189820ejc.611.1652186990350; Tue, 10 May 2022 05:49:50 -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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 05:49:50 -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 10/11] dt-bindings: marvell: armada-37xx: add Methode eDPU compatible Date: Tue, 10 May 2022 14:49:28 +0200 Message-Id: <20220510124929.91000-10-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_054954_182202_3E8D3071 X-CRM114-Status: GOOD ( 10.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 Document compatible for the Methode eDPU Armada 3720 based board. Signed-off-by: Robert Marko --- 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 3f41ef2c6f3e..db0307241e39 100644 --- a/Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml +++ b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml @@ -25,6 +25,7 @@ properties: - globalscale,espressobin - cznic,turris-mox - methode,udpu + - methode,edpu - const: marvell,armada3720 - const: marvell,armada3710 From patchwork Tue May 10 12:49:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12845033 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 EC612C433F5 for ; Tue, 10 May 2022 12:56:59 +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=8Jh2OxP3oaUK/2ughdulN1BhNQiH1LdNQHjje4R0968=; b=owVZlM5KBn+8D3 PeXQhvbo8nLMwnBhLCh0l21+FZy2qwnXP2Guw7VYd9WgGG5WruyCHY/fJ8zQmpLI7JswaKvuOWEYo I8ClAstnvEsmXIeaOrjJQZDgTVWUvUfjhm8yeOp71Rwj5EEP9WLP3Hm45qGQZ3oUk5S4U/w99WbPr pmBm6cWDrvP2AmMRSpueVfDb3Xb2AXOSJ0pjQ8VryzyLL6bBzwqLZtF6XN2ND8+dzKlqYvqOEnJKu +AZy7YMVTHsyVydHMSZa7EiEejHbDze80GU4b03JwsnCEIlHWkJziZ6DooILk0N08DQ6alExiyo0E Z/9FIiRyelMtgVvjsmQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noPP2-0022t9-H8; Tue, 10 May 2022 12:55:49 +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 1noPJL-0020Sh-OM for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 12:49:58 +0000 Received: by mail-ej1-x630.google.com with SMTP id i19so32702151eja.11 for ; Tue, 10 May 2022 05:49: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=XtfJqDS+4XXgrs5gmHjTVbohIpUyumGa7vczR+1IPgQ=; b=MtwpI+2Y5HHkHJRTxU0bTMeMgxlQ89RWSAek/hDu5ToZQHYAkXe020B+GyXG2ogIKk LRkAQqDAZCAqhH18aLooifUpeBeuvyo2+Netpbe3chzAmzfNezno3p9nnKT5OFu9W66M TfAZjqoARfpu6x5SlEKyG5goXsAJCNTDslQQWZu3hPy+PMxBBRN/gpHXyHXO3tgu/rLb XMQsrwaPRBGG349iTOJAvZrZx5T/rTKyGUW99Tg+En1YYpFKdpN8BMIsb+PfBOOhdHjy eTALzE/XKmlAudm7xZ2+8FjlqpBGIOeRlUn0nzRizlo2+q87XZxIv8BYnT+tflS2tQ8u uJMg== 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=XtfJqDS+4XXgrs5gmHjTVbohIpUyumGa7vczR+1IPgQ=; b=XcFc5hxkZFf1XSylCdXq3nLzSRKcu/9Bh5zlJGRSiWmunIE4Dcll+VToEx2+EA2E/f gWqh6XZSOG3q6yNMefxuiewXzR44g0w7elxFFxSyTYb8U1WQq4JGHgLChXLxJq8iIHOz HijVz+4j/7Ay3XPcEo5xHAoVKu+Hjsf3m+1vLFJGSOTvO7nDV1uNj7T7PDmllIr7iyDW +vlZYhbk8k25TOGWiVNSaL1TXGSCJUw2XX3bfob7OWUx2yXb+VRa/eNcyxYPOfhxvZkB /MUtfxPuQWZXqDDZ0D5cUaeqUbbpWLdKKwczGgdzF/FVuH1uam7ZbzkXEtBlI5fPTHLH gszQ== X-Gm-Message-State: AOAM5308lVGCpiYUHDES6OORQ3P8PT7ccnPZV8Ms7GWC+GmNtKbX9Id+ x4yVRQ6HwC2ut09JeYA8UuDaow== X-Google-Smtp-Source: ABdhPJwY4NsSUB0SG/B2GLVRkNn53wLuF+nbmvKCJINUUfI9kskdAVTgJ7SQN1hLXtMMXsoZ++Xefw== X-Received: by 2002:a17:906:a08b:b0:6cf:65bc:e7de with SMTP id q11-20020a170906a08b00b006cf65bce7demr20001419ejy.220.1652186991862; Tue, 10 May 2022 05:49:51 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 05:49: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, pali@kernel.org, marek.behun@nic.cz Cc: Robert Marko Subject: [PATCH v2 11/11] arm64: dts: marvell: add support for Methode eDPU Date: Tue, 10 May 2022 14:49:29 +0200 Message-Id: <20220510124929.91000-11-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_054955_871315_3EB4332A X-CRM114-Status: GOOD ( 15.24 ) 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 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"; +};