From patchwork Thu May 12 12:48:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12847662 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 E5177C433F5 for ; Thu, 12 May 2022 12:50:36 +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=DaWMzhQ3jMqzCH b76gh0ZQLFJJNL3m6KQNckf2g8Uk0v+3/11Qiiut/rewVBMXTB0xvZoe6SM0ry34ShZHWLi4yLStl 4/H4qgqMErAxLmwvUQtnhT58zg7+ZwozPZqAoEsy20LYJlM9wr2iQMx0jM1iLkv5b5lZoyY/p0mYu CO+mRI+LrWBcdXJYRE0bimbJpLEQGPHglMJ9LB7yXST67cv2dIy+g7A9Tg5byM61bUCfQYq3MN2Tk skH5ndTu3FqixgRBOAfnYN7GIZJgngbjirnEBtRD5LKpBpdxMh/H9DnZrExZo7ASS6dtr7lPDJhC1 D3lelCCHZn/7OkjzDGug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1np8G7-00BtB4-Hz; Thu, 12 May 2022 12:49:35 +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 1np8Fo-00BsxO-Um for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2022 12:49:19 +0000 Received: by mail-ed1-x52d.google.com with SMTP id s11so2303792edy.6 for ; Thu, 12 May 2022 05:49:12 -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=5AH6OdJ8/7PGETtqZMiwsMZWXZ7N4nlX8jouevOtzvsnUJjRKZDNJtLVY6HoIKVEkN DIS3klLgpeuPFnptRUwR3rEbg96G16KW2nPviZgQhm67LQo9crkOT+zA1KDtoTXXkh3I hjrxddMOPH3LniNH4vOiY6ijjojvoT2GaHpO2okq9+e9m+ivt+/QC8QW4tPtGO+Ah4MM lgK88So696bwTfaEyCciOolMh3PgdWNAKQ8DdH14Pk9LyAp8cL1ldXMOoRTeMS5DSK5j pIvbglftdK6/Fuw5oGXALYbzuPbZsq+q1fnapqZ+28EI4qy9rGQ7bA/YtRvgbRbMYODD T3+A== 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=nsd33caTPkeaAQTgZ1S9pqyhmku32ZhZUv0AI51SF7Jtbkb93+ZhXfgNQ4eb4UkC04 G6DbjuboOmNePz0ivMPMqDovoWPLfvhrG4Rwj2x9tOsnls1DrpO0WpV99g68rgXK5iV6 JczP6o2ZePXiuz5v0F/ua9+RC1Qw1jyRGoiJE+EqN2fplVxKNa0DrZx+Sf5/o3+MisR1 +EWbrlzo86vEZ17oUK43phXnR4lmEhL2Xpfn7eGGFpuXO9cWoo9nj0X0s2nIdDULoCKO 4sx97jnJ69hvxRbRmQ0zlLPVWNJXJgU8f0jm33FrMxpqKihxJFWkHvYsTdhqYLExp1yx JMQA== X-Gm-Message-State: AOAM532moveicmDI35BjNJT04MJm+JftdmqZ833CKSapT0HUlj80E4zh Jl44Wv14vAc+h1JEIB2rpeemMw== X-Google-Smtp-Source: ABdhPJzxVrYLYC3lVbzm9aZhSephxmDvcoy6S1KPUezJTndXZMpKg7QfDSPH1WKpMombddvHHiRZmw== X-Received: by 2002:a05:6402:294e:b0:425:f016:24e7 with SMTP id ed14-20020a056402294e00b00425f01624e7mr34667684edb.111.1652359751807; Thu, 12 May 2022 05:49:11 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-58.xnet.hr. [88.207.98.58]) by smtp.googlemail.com with ESMTPSA id h3-20020a170906828300b006f3ef214dc2sm2109475ejx.40.2022.05.12.05.49.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 05:49:11 -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 v3 01/11] dt-bindings: vendor-prefixes: add Methode Electronics Date: Thu, 12 May 2022 14:48:55 +0200 Message-Id: <20220512124905.49979-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-20220512_054917_063133_147229C0 X-CRM114-Status: UNSURE ( 8.50 ) 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 Thu May 12 12:48:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12847661 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 E0BC5C433EF for ; Thu, 12 May 2022 12:50:26 +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=RY2iWl//YCQuuZEcByL26FQuzIF5pxtivKXcZDYUhCY=; b=Xw6HblmWpFi9Rw X3SOaY6qWwDJlycT+9OU7FlRE9AJPX1nmUxl/hBtuwCNbCPqcC1C6SN+QQMhDqJXn/+vMUspQLueL rI3AxLEaJ+v+PMecnVx/7vmHjNT2EqWIRdUrAlgp/t7wFpUhvAav+lYGMxOKREJQKc54GJo0qKGGs fmteCWrSGLoJ1w0BJC6oMjcjTMFABcrbDeqcIlmkUxjhhwDL/PrD//BYwmuZWerVP1B3QMSjmMFbO MKboo0HeYkum4U02i40vkn5EisN3hEJlG7/Kl4g9OkCGslQ31P6AHu0Vv8CXZk9rvZ2NPDP0dF/3B hCXDiz7kRFKDKExKKTIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1np8Fs-00Bt0x-S5; Thu, 12 May 2022 12:49:20 +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 1np8Fn-00Bsxt-P0 for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2022 12:49:17 +0000 Received: by mail-ed1-x52f.google.com with SMTP id w24so6113884edx.3 for ; Thu, 12 May 2022 05:49:14 -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=fq96Yl0hYueuqSgds4c6PlO8kmctV/m/cnU1KhcHraw=; b=PCqsv/gg6jZ92nkltPSx3hZK0SJT1p5ATrESEA0hLBEjSQbAgmm9etobHe817K0A6Z DoyPmbbrUDwmsHN1nZTa4fZsx2eOmUQdJLZZ/P8leYbce/mDtiDbdceDJxDBe59ltgYc TpzgIPPK+iVkkbtCP4WIUQMLJJm2QZUNBXjzYXmpLzthHG0N4hkzigT4aoa2NqYNZUZr fnHluivmLgErtsouR7myFYgTeYI2MUjfw6fXhuE4hjTgCbZDXmlKuHf24aIroZg9rV+3 9vucmXS+uDTaXIN/CvogmFNyEVw2VJ4W8rWGiWZ5UL0Jn79KDu8lvlr4Upp5QxSvd0Wj 9MRA== 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=fq96Yl0hYueuqSgds4c6PlO8kmctV/m/cnU1KhcHraw=; b=ba9xGY/PYFaXGJdvlfNGPXnK7d2BBJqaf4p7Ya7OSVgf8VYvZLGtrsvunVKm89AvaL pFuoa0S64hYYOveu/tn8dmc+oDzYVgZLcOZgfgPxLYYB4e/ogs0VNbdfC1tu1OYK0ZHz Wu8jsPOdrw/OlOSzUfFd5UWJNqaWMhD/fllCw1JbAwGei8JgdpTJP5cm17e+xM40dcXX eGtgmKu+rC21I0diMXzm27LB667nQ/0NMCkmIBAtVu55UjcnjaxAJ0w7PK6cw3oDLz/c 8JQixKbY1KRxlL26PmVPHcXF5pWFf9KpRBPdquuCpwp++G6AgVM2L1IdmiujByByJntg /w3w== X-Gm-Message-State: AOAM531firicAak9H8qcDhPtJuelFBXlJj6ucqWRFCDHgNjnWdzOi8Re lMx0oEXz87nNxEhcHHfXsVVt7w== X-Google-Smtp-Source: ABdhPJzynV2uzKdp2WSUU8yeG6U1/9zm2d5StHnxb9agqqTBto9aZ/6CiqOKSVZr3qCNhWVeWFm9mA== X-Received: by 2002:a05:6402:128b:b0:425:d1d7:b321 with SMTP id w11-20020a056402128b00b00425d1d7b321mr34537869edv.179.1652359753632; Thu, 12 May 2022 05:49:13 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-58.xnet.hr. [88.207.98.58]) by smtp.googlemail.com with ESMTPSA id h3-20020a170906828300b006f3ef214dc2sm2109475ejx.40.2022.05.12.05.49.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 05:49:13 -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 Subject: [PATCH v3 02/11] dt-bindings: marvell: convert Armada 37xx compatibles to YAML Date: Thu, 12 May 2022 14:48:56 +0200 Message-Id: <20220512124905.49979-2-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220512124905.49979-1-robert.marko@sartura.hr> References: <20220512124905.49979-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-20220512_054915_878614_BE3F42C7 X-CRM114-Status: GOOD ( 13.73 ) 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 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..4460608ac1e1 --- /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 Device Tree Bindings + +maintainers: + - Robert Marko + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: Armada 3720 SoC + 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 Thu May 12 12:48:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12847664 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 5D326C433EF for ; Thu, 12 May 2022 12:51:24 +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=CNGfxELmzbxLVW zWO23QvonlnsnHROXEM/XaIktAz9/T+FaNBOVVJUgRMER7yIcOZBccNTXLb0za5TLxsUA+5xLtd8B lKipUatafRV01/UJ55TgWU2y5HkNWXEjLosVwWvhg2LF+8blo2Wo72Rbo0GjO9ymHVXl0ajj8YNqO M0i4aI81TeV9aU49V4n6EoWPYuESpV3AGInO/HZy8RcT/+C+OcuNjAzSqNzJrVs9N4WPSsDci0bhp cyn4PHfobADvYtAmTJmx9PlyNVQLlN2wc1iLbAt71/wCdNilBpmFlelvDhtEhqF7msg/oY4mfeQO+ JrRYeQ8L4fAsn2esWQ7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1np8Gq-00BtXv-NO; Thu, 12 May 2022 12:50:20 +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 1np8Fq-00BsyX-Rl for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2022 12:49:20 +0000 Received: by mail-ej1-x62d.google.com with SMTP id n10so10038654ejk.5 for ; Thu, 12 May 2022 05:49:16 -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=5qOD4m+rBHldN3nysblgLsH8WptxZXeWg5hx6uJu3cbY2IGpK+yqPo0D9LlT2NN16E E4OyeFyGj8+nWQkxMG8rwSFnrfjUh5s8zg/81RhxraPhqufoajLtqieo5ayU+N7neqd3 etBerYcEppc3g1dczYesZFKENQWRT0NwCJaILKYNQLpJ/QQ/olSeXlsikKdYeDNNg77t KiJVbi7iyF3TcBkZpDGTblA++wOYF3NOivBt+zUs7zdVvoJwilBBiCZ4WKeRj++svovi ePsQubUWVxw1v87rHF1GKT/qmQtofag1Vpkn025cWjwVpPwnGVMOVE2SgThziS/AXCvu qwgQ== 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=z0w4z9ybtqGL+/5uLEWTkBH+KkPeFbeoKlmKGve5smYbvTAjrFKWnBepjrNbvVaxHq djRMFKJUD4B89VnknvpV9BJKqAAg2Oo6jvDxW8pQ7INCRwez3uau2/qaubo/HF4/kjAt pHsRB3gPGdR/XxnsiOapnJ7meFEZc9a80n2Pw1MHKaS3fzR54mmyemwCqvJR4ztENK8T 7w+lgFWqpAcIEfolnwtyCyEGaes+DeeGNMWftMapCiVuzwrYB6Vvil+VurngT5LuX0sR jAdPeAnA8R4NYpH1oB2FrkN95lSYGHH/uI3m1UMzMuWrQX7O0C48oXCPKVhw+pcOd4KL GlBA== X-Gm-Message-State: AOAM5316elK3pBrZlMmfqNNexCL1tv8qu2C+Ir6E7P+mXLjTQup7kOJc CA+LDdDrVYTByDfaMY8IqZlPe70QMtcPJXj5 X-Google-Smtp-Source: ABdhPJypzDPM2tzbDNyHxubPQ3WDgA0YQyMnGC3nOD27vkwpwtsGZKgEbnWRKML0sYHEC6aYdbAS5w== X-Received: by 2002:a17:907:7b89:b0:6f4:9b92:c2ac with SMTP id ne9-20020a1709077b8900b006f49b92c2acmr29566908ejc.409.1652359755126; Thu, 12 May 2022 05:49:15 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-58.xnet.hr. [88.207.98.58]) by smtp.googlemail.com with ESMTPSA id h3-20020a170906828300b006f3ef214dc2sm2109475ejx.40.2022.05.12.05.49.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 05:49:14 -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 Subject: [PATCH v3 03/11] arm64: dts: marvell: espressobin-ultra: add generic Espressobin compatible Date: Thu, 12 May 2022 14:48:57 +0200 Message-Id: <20220512124905.49979-3-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220512124905.49979-1-robert.marko@sartura.hr> References: <20220512124905.49979-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-20220512_054918_964601_48CB481D X-CRM114-Status: GOOD ( 12.33 ) 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 Thu May 12 12:48:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12847663 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 C5F08C433F5 for ; Thu, 12 May 2022 12:50: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=nLeio3gXqRkzDuBwL+Ph+jLGVlVEWvjbTvrsgL9KCZU=; b=tYyyg4W/nQ0kv6 Z7JAy+PZ7ZzRg7Kmtu9Jm6pM8HIfYmOXNTndMiBf++oS+vr3bxd3oPc/yT/szWqzMvoDAaKH5Yl1d WiJc+t7uII5RfaQgI4QfHL0pzE21tTW6LPsWcCZI817g0jyccPaQL65sHeiDJaf/QqkZAcIHgcvTV uJHjqLs586M2BBQvJgzPyMs96pi+7uRBqweDPOUO88gg3dIwKCHZEAIex+7hF4xVMIW1NU3oP8GjB vmxZf74KqLg/HL7ft4bk7FTjBocW7OjlAbPLyIUXSjZOd++HsZV35Oi9Num7tmyKhL+uOfhFyqFgr GfgJ9mT/E/92eC+9jmtA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1np8GN-00BtIt-Fu; Thu, 12 May 2022 12:49:51 +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 1np8Fq-00Bszv-PN for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2022 12:49:20 +0000 Received: by mail-ej1-x62d.google.com with SMTP id i27so9999316ejd.9 for ; Thu, 12 May 2022 05:49:18 -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=sijY0lZ3c3KWSqpBuVDt4ijlt04YhIkm7GThXtoIVJcfKgvXnu+W1lr6Zl5lcmBB9p nPd5rCmOPcmaObajb1RmVUDXxOoFpCsqRBFZbpkwpBO6uFDL0kRsWkLuEycCEPQ5E79O MvRMLsCM59KGBKhjk4UCldegskFRQi0s5tXdx9cKF5ZcRDIdNZLTtSv5xTnmHi5bh+zx rvU990SOZ5nSDwsjcblYbZlUKu/Bdt/TPTFLbRz+XG/u/KulXM+s0/58efqsMUboZgeW TGWl0c/NpUTlgSLggwhUvbi4GH7hAPj6HAwHdgvYblyq3g+duaeVz1IxCIfjdwz2nYII jdtQ== 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=W1sP+InkMSYGm6ADBObIqEudhBjDUUU8P3oSEVAkNcuGmNQbqWYCRCDsfpDvfWNyzu hpijrkrkoyVvmvoqkH5KQJCErjtjweF9gRDXPPkk9CJ91b1hb7+1/u4cgLSH7U3XBLRX hEixA+4xZf0weEgLrc368UJTJnd/At9XHJt/hy/8Yf5gSOPiG15mgOMjDhNF5UrjF0ZF SoicDYzqnIfS9BdsgrOca9rr1lynpEuZ8lrJuTH9HovhYa6w+Bsqj85L22O/kfTtFcDa lGcvZpAqLS9O67zWGh6tr3vgPI58XshqvpofqdDDC+IZ8zbDLcCJMqsU0VN6MkZlTG7e au7Q== X-Gm-Message-State: AOAM533VP5VWxrU89Brsyh/5JyVR83pReAsU06Iq/LzuJBGpDqPT5zpy 8cuw2z7K4A2CVLBMpVDpBR9Adw== X-Google-Smtp-Source: ABdhPJzP4SuGIwfx7WvJoqjk6loiZqM6ck3RAgiX41IwDbIS71e1apGfJFULypLrQ8MMxL3PlzjWoQ== X-Received: by 2002:a17:907:1c20:b0:6f4:639e:9400 with SMTP id nc32-20020a1709071c2000b006f4639e9400mr29509686ejc.485.1652359756824; Thu, 12 May 2022 05:49:16 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-58.xnet.hr. [88.207.98.58]) by smtp.googlemail.com with ESMTPSA id h3-20020a170906828300b006f3ef214dc2sm2109475ejx.40.2022.05.12.05.49.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 05:49:16 -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 Subject: [PATCH v3 04/11] arm64: dts: marvell: uDPU: add missing SoC compatible Date: Thu, 12 May 2022 14:48:58 +0200 Message-Id: <20220512124905.49979-4-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220512124905.49979-1-robert.marko@sartura.hr> References: <20220512124905.49979-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-20220512_054918_899110_404CB6C2 X-CRM114-Status: GOOD ( 11.84 ) 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 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 Thu May 12 12:48:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12847666 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 356B0C433F5 for ; Thu, 12 May 2022 12:52:01 +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=t2wO/Piz4Si8aT eiEVsk6FSEfPceeHCMmAu8taSqN+K6Car5rfan0qb4m4GRof8dRIuPMq8OaZrPE8O238G9xuhq/pG fMTRSfZ7459PWMQm5NW1NAajuw9ZHMWyMEG5KXuntG2MS52zHMdnJxj3IXscAItpQb/36GbH41Bxy ME1WUodUyifu/5ri7jiB+eYKfLwiVsxe2BxHdOmFDcw0SECJ8PkgDFXPxOzm6VHoDt9Y7LYkOYyBz PKhaFAJqrbInV3Xywy2d6KCa+Y7NkqaRaihLNeL72Oyd7gGmhmbLT/kCRBxKF7MaFE0wbLouaOHXz K0JWm/hO8jexvvp8N2ew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1np8HO-00BtsT-D0; Thu, 12 May 2022 12:50:54 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1np8Fv-00Bt0y-2u for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2022 12:49:24 +0000 Received: by mail-ej1-x635.google.com with SMTP id bv19so10024525ejb.6 for ; Thu, 12 May 2022 05:49:19 -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=r+DS6sKX5HAqZmV2selor34+IOqYe0myTj0nLrZ5V6YqEijDh+r08IS1BDkswrrbRz fM42y4ByztlvUjO/8OBqSNYpu85/ygRNyatg1jxer8j8DucvBauUxYV1h2HqAxRrOxjD MfhR8yylFTTgOgSskUwJB0LQmrhW0FQxUXaJZwxh26TUNbvJrQ3KkiYkfEv7oK4lc7xe kdRpF+Dc4KGbS4YRp+2DQzXgkah1+mDn/sk/RztinC4JrD0ISegcrPzIg9ImUVMyFMMa hg2OfZq1qroArEnAfyH0aZMfkG3ibCIFXYlYtTVo7LaJH2+TvjjbEONDiM9aOjEdKswI qMoQ== 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=qJXZdIy0w+Zdlat4HdS9+ALw1dSKMqiJreglGB0mIl3YmyUukSs1/ShAFBXVSsjKTl lFeMqiUSzzE6Intk5wucZGzUUbS1DSYmQVS/dljGp1Ail1mqaTbBZRIKQRkwHVXWIwkj xVfhsCiTurXbfsKAsDAsTXLWHQUqWitqPorszExION40MfLtTdSmunSe4NJKgoeKBDX6 gF8Ysg9ZcZZUO58MfzQ+DtfWblBqNYhEkoLvPLsQVWpDDO+KmSt+uQzu591L9FRfWgty Ad7CPRY8d2wXGe3N2lD81MfbGdxHfRQtC1NmOLgRGpbuMuDFnJP0bApA7cSf6ikko2nq cQXw== X-Gm-Message-State: AOAM532OX9cNeT3WPHar9n15DadJjmd+fVxK1Z0jOX1SdEs6hn+Upoa6 fSnpQOHnGE2LL2zQeZ9QBmRpVQ== X-Google-Smtp-Source: ABdhPJyuF6dsj4A8DgYUGo30eOD83AsFn63R3J+AqUhaE60WcOueq5ZJa9RDtqikRvTZMmqjwPd4EA== X-Received: by 2002:a17:906:6a0b:b0:6f4:d4d7:7c83 with SMTP id qw11-20020a1709066a0b00b006f4d4d77c83mr28910466ejc.667.1652359758508; Thu, 12 May 2022 05:49:18 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-58.xnet.hr. [88.207.98.58]) by smtp.googlemail.com with ESMTPSA id h3-20020a170906828300b006f3ef214dc2sm2109475ejx.40.2022.05.12.05.49.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 05:49:18 -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 Subject: [PATCH v3 05/11] arm64: dts: marvell: uDPU: align SPI-NOR node with bindings Date: Thu, 12 May 2022 14:48:59 +0200 Message-Id: <20220512124905.49979-5-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220512124905.49979-1-robert.marko@sartura.hr> References: <20220512124905.49979-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-20220512_054923_226399_ECC84C56 X-CRM114-Status: GOOD ( 12.11 ) 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 Thu May 12 12:49:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12847665 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 CDA20C433F5 for ; Thu, 12 May 2022 12:51:36 +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=y+6jUXvvNJIMKt leeIa1MopE6Ei/icLVzOLuLKlqBs+CHWGq15148K9vZsuyzAqa88NcU8S04Ocaq8Y5u8o/GzmuSVD h8d5QIPPrFhfqWx4Ui/Ld99wqA8KUnec43xA6FdBKrHeOiSu3Nc0wySh5Z8YmNH53OVfBAbbWAda6 ztKWiIu4s1YT2ONgSc4qwx+rgUKI/FT4LyG+Hp+CNqt80pvLUmiHMuxRElersZwwFBhdTVbNwaygm iJVznUFtPAUYz9bnbjx4aTjH5BfzTlMn8GM2f56CVxMG8fMu54t0LCYm0qtuYm+3WjBzggqpLLAa8 F8wNoq8rb6OSdnjahabw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1np8H6-00BthL-Ak; Thu, 12 May 2022 12:50:36 +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 1np8Ft-00Bt2O-E6 for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2022 12:49:22 +0000 Received: by mail-ed1-x52d.google.com with SMTP id p18so6101113edr.7 for ; Thu, 12 May 2022 05:49:21 -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=DPtfHdCxQyPjMWiV48UAakFbrVlTVijW71FcHtaln2ZL8t17ZxoszZivDMJ6hnlh9K gpUJC4Eq7pk4YQ244e8UVwwmJxhauhxSooZu84WsiPGPYM040zTYwuACi4rJDoCYKRK8 mrvbXTmCqfu9MA794MdXLFZfmMRbdZ4y22nRqnPtdrsZ+7jLiSf5/hOJFTSZghblZ7N+ MghE37FekuBDKBWuCd3L0vf2NiGHwH/6YZoj5T1NqihWuMZn0VchJ8xuVZJ3WVNRj98Z gkhTxC9feCyi0b3ZslJELMh7SUmDkVsr1x4IGtN6ze080zOhtG0w0XBAT1p9A9PxvL1g h0pQ== 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=aBL6Ve09WHoanbgcGk1BK3CIzb/jMzMAD4BAgMZkJQprB7ByVxZd14BLIFb1fLUCHp NjY6K9q8bLe0T60yLAz0uS295fNVnG7hh0LfrOjADkqg5n9a2pLoMB24B8jCV9qUougw kdtblfn4p+8bXO2tYsHDIJ6h0qZJEioguMhN2qowMG2JQREgKfgCuyPLna65U2J86Loq tkobgQ3LowyqmWFBjGKrlVdVeBOZ2gPaoz5VzVYechQ3Ix01hbLBr9C45A7SwOCpSLEB u3uNHLn+vQ1uGiHiPTR7wqQzNKaA2kVzaUMvrmXf0Dr97MF+6LDJ7Ik3WtdxJIAK8MXL vx1g== X-Gm-Message-State: AOAM532mfJsykpnTZjZj1tbydnkjB5CkarwFzdjVY+XovqZcTCgRkEbS xc272dLtML7YyHfusst6x1xeZA== X-Google-Smtp-Source: ABdhPJxvLFLd/qQ+0VVcM620/Hgm80BrqP2iC39LQgdeotHa7tWzpbNQ2Cwd0iajqVENtmpmdAgFqQ== X-Received: by 2002:a50:ab57:0:b0:428:9f9b:d8e3 with SMTP id t23-20020a50ab57000000b004289f9bd8e3mr21884275edc.305.1652359760305; Thu, 12 May 2022 05:49:20 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-58.xnet.hr. [88.207.98.58]) by smtp.googlemail.com with ESMTPSA id h3-20020a170906828300b006f3ef214dc2sm2109475ejx.40.2022.05.12.05.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 05:49:19 -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 Subject: [PATCH v3 06/11] arm64: dts: marvell: uDPU: align LED-s with bindings Date: Thu, 12 May 2022 14:49:00 +0200 Message-Id: <20220512124905.49979-6-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220512124905.49979-1-robert.marko@sartura.hr> References: <20220512124905.49979-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-20220512_054921_530108_49838893 X-CRM114-Status: UNSURE ( 9.88 ) 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 Thu May 12 12:49:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12847667 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 07157C433F5 for ; Thu, 12 May 2022 12:52:15 +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=TutXXhDmCTkRaF tnMEb+NKUGJa8kanE9fSHVpZzZpowD3SKiHan6wM0sFRQAoQnmBU1YdS21WTF39ndo6Dp3xhvLL7G pWdqWj1efQcGoyC8SFE6z30EIKpIBpKkjwhA0sx+3M7VaTirxqBj+C2cx8lIjFunSBwg0VoyhxnbH 2BAg31rlW8T3Q7N2jw6j7k574X7R/UcpVF11XdfKW2WEHQPMQs0eF/Pd5Jwgrj48Kiz7xGpgc3ms2 qO/9+6R92gVG4odBhmj7whQf1Q07i7rFh9p6n4a6iNtkEpXhs1DfK3iau30twUjipO2SItCY8F8to aWvUtaJoCJcoU3E1OqkQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1np8Hf-00Bu0q-Nm; Thu, 12 May 2022 12:51:11 +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 1np8Fx-00Bt3G-Bt for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2022 12:49:26 +0000 Received: by mail-ed1-x52b.google.com with SMTP id a21so6130127edb.1 for ; Thu, 12 May 2022 05:49:22 -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=PFvdrNnXwl9nu+KiX1MZiA60g3VI/3cgK9ffJXtnjoyIFo+aWWLqlIz2wEI+9IJXRH 97NRon/PgO4wVUAPXK05W0WIa6koKhhMswOevkSzkn4EjcDHwtxZAmf969f4Mqzwxyf+ PhLA7TFu5FXdzeeJ58/vswD+1aJ2lHrSID/06RocdNhLcMJ18Y/O4DKEUCm8EVx3Orc8 4n9mZYvDQ5ucdBRsfI1Q05cCdEmJfF3q8a+d1dk3+qufg3vG6OqmAIfD8Jqv/R1+hb8j jxAKlofC8+Ayu+Pp1RdbQsoD96PBsQUH6dmZQOxVSZMQi6sQPw6iskM22R682za3bco5 EUBw== 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=RB13u++D2Sbfi932TlGgRaC9o08ud93k2kzWo8nWnbo+p3u2btMGBwz32gWnRGed04 QNhb8bMrray68J4LL+pmja9rgbfY4Qc0axqF8TTQZLiRAt9xALCse07e70Djy3beM9v4 /dles0ufD5ZnBNtJxfroRD9uGGCtzaelRGmYZ5hhdu+0piBgH0TdTEnFHtadAZ3b/Qsn Z2KCuWYWc/lvfHw68RgW7eJi8J6bLy/ezCqNjMQMt0EJs8/JJifWAl67v2jbf+1qxUYY D701IKaLlApmjGVgKnvHmT4+csqtu+vE2KtQrU4ZmCPLVc11UR5zb3YRoWGIzLN6By6R rynQ== X-Gm-Message-State: AOAM531c45u97bLzmUxEuD+5/csLTGoKwX4BdrRFngu0noODmDYa1olp Pn2wxt7iNpXsMjIoYRhXM64QUw== X-Google-Smtp-Source: ABdhPJwV6fpHJAGCTW7VjN1pW9I5wnImmn+B4Z9Rh5yb9zQU6kHaBPG7pnnrOtf9uM5Zo0DjER0AZw== X-Received: by 2002:a05:6402:28b1:b0:425:c39e:b773 with SMTP id eg49-20020a05640228b100b00425c39eb773mr34284372edb.237.1652359761709; Thu, 12 May 2022 05:49:21 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-58.xnet.hr. [88.207.98.58]) by smtp.googlemail.com with ESMTPSA id h3-20020a170906828300b006f3ef214dc2sm2109475ejx.40.2022.05.12.05.49.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 05:49:21 -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 Subject: [PATCH v3 07/11] arm64: dts: marvell: uDPU: remove LED node pinctrl-names Date: Thu, 12 May 2022 14:49:01 +0200 Message-Id: <20220512124905.49979-7-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220512124905.49979-1-robert.marko@sartura.hr> References: <20220512124905.49979-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-20220512_054925_434300_B8056DC2 X-CRM114-Status: GOOD ( 10.94 ) 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 Thu May 12 12:49:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12847668 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 ADCF7C433F5 for ; Thu, 12 May 2022 12:52:44 +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=LzJ/iar1IwrVpA M30LPiVF8dX9JjnYNmaDyGyJxF0nlwZWixe14iTAe7r9d8w0lz2DN5eD+OWg5kzIPaNKQ622EaX8u Vjxz2HOCA/t/ybCPwionPXiUXdr5HkfIvUNpkRmsYthnBv920vXNc3U4nBbagjf8ecDV8uctKuNUP CiJ1wsaJWC+NQCQ3a1a+K4beyEOJUPqMvEx+y0Hk0673qqRtZJl3XEdcf3VBvpXj7u2PMYKPsxlEd bU0BxWGVFo9cMemCb4w9TnSQASkDkex4qUrqLwrpzeL+NGCaXI4gv8vUg1wuxg/4uuD1q9J3AqkQT 3sdC3WVFtVbKUL8HEMtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1np8I7-00BuGN-1j; Thu, 12 May 2022 12:51:39 +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 1np8Fy-00Bt4E-Rx for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2022 12:49:28 +0000 Received: by mail-ej1-x62e.google.com with SMTP id l18so10001633ejc.7 for ; Thu, 12 May 2022 05:49:24 -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=JdLkQLmHfAHy9A7YLF7J2qNbjiUoDHrM7P4JAtchg/RdUvu9GL5EIUQdu5KuSVEOU+ LeD745fz88MA7UGUhk8tJ7YbHGs0bg+j/+Y5yHQHU8ZFsbwhGS34EysnRxNUem6paDn9 kri2xDtw8cl5IAOyftiRAmUt2QH1lpXGCX/7fAB2owB4onsAPGUjlKHqf6tW89sbLeVY m4MJ3exP/EjqWQTPGC90jN9NlRJsBlD45V/jFTwJlEJUNErWYZSlX+c2RbS5Au+ANz9l mnQ7uI70FmEQrwwlzmMwqUQvMsS6QGZElfb2YNuH8gnc0MVicgT74k0PFMIBj1Wx1RlP 26ug== 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=FTdyWSNZxa4+9ir3MS55DXUfxN7xBVk7n+0NkgJtaNPlO2iACnT2M529kXRDELc8y7 NgJ8QsjY6eZ/6086Wr1mU8tHRaVy21vK//YoTawgBFrVqKxztKx/jBOzXJHWw+K9QtUS UAHx+O2E5mpcMlOq0qLtqPCwSDB18mgx3tLLMdZdwno52PxmZYJh9Udu7luJWUCfyzsW 4T9ORnyFVk3Au3cHAmR+kU8sXunFkn3E/MGJX06/90hVOuBMHXCl6th1UuUIsi4J36Nx NvZxyARCR3nTXXsmihGinBUWoACXI712IKbrn/I1W4Seag5enz/8aet5Bk+lI9wnoOkS a1sw== X-Gm-Message-State: AOAM532/rJF8zQdDgejPLpSRLoa5DDRRs9JPX3vR0EVcNIR9uqhgb6Al GidQo9lWZWXOVFWgePZo8qEDhA== X-Google-Smtp-Source: ABdhPJz3DcrS0XnZld/BLlHleyGDnDxfRB0k0ZwXdVVvRVsQEwmYKD/Trh4sgAO5bFmxGD/348dkoQ== X-Received: by 2002:a17:907:9609:b0:6f4:d4d7:7c82 with SMTP id gb9-20020a170907960900b006f4d4d77c82mr29492507ejc.483.1652359763207; Thu, 12 May 2022 05:49:23 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-58.xnet.hr. [88.207.98.58]) by smtp.googlemail.com with ESMTPSA id h3-20020a170906828300b006f3ef214dc2sm2109475ejx.40.2022.05.12.05.49.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 05:49:22 -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 Subject: [PATCH v3 08/11] arm64: dts: marvell: rename temp sensor nodes Date: Thu, 12 May 2022 14:49:02 +0200 Message-Id: <20220512124905.49979-8-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220512124905.49979-1-robert.marko@sartura.hr> References: <20220512124905.49979-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-20220512_054926_978794_438F1668 X-CRM114-Status: GOOD ( 11.47 ) 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 Thu May 12 12:49:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12847670 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 C9EE0C433EF for ; Thu, 12 May 2022 12:53: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=OG/UtK+XjXoMoJFWQ5HJd3DDGrQAsox6zaoN1KAsa4E=; b=koWsa6YptFJa7K Bq9fPyayIO8NE9HMlWnRhCbnYtKTCBaiiDb7sG08XJDaDWtXu9Q8WcfGhFqaRHavSVynefEHardLc nLg53r0gORmVJoimWiB2Ocaf3ky9PswHBRqRv9xu9DGsi3VuxTPbeCAoo4IEpqUk/h9MYZ4CSqWms 3d1PZv1H1dEVwjuSN7uJFyhrYTUaQgAn+nAA81N7aMuDwujPO0oHnVCsQuuSxYGq2h5MCzq6URN7t c4h5fIHtvv6GnRaAvNtpdcUtOoOBnVBmGXpCgHtzAQH+2v1Xvw7WomIo/e8ptk5C+P9UuziX916kX 7TMmO1tfd84bOcctm4eA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1np8J1-00Buiv-Od; Thu, 12 May 2022 12:52:35 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1np8Fz-00Bt5G-U5 for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2022 12:49:30 +0000 Received: by mail-ed1-x531.google.com with SMTP id be20so6040878edb.12 for ; Thu, 12 May 2022 05:49:25 -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=L43YhiT2wsBXxUHAxiZR9VWAQvCAeHpaUgjMTb6U5Db8tgM2a38PNFVnS70l4s3DAy R3EkQ0J3DJluXGw9ruQioOZMC/+OJDwGpBhvp7KgOSzVAhhxgZAoYr6et6ubMyeqAGQ/ CGc2XDtFYLChCj+GtxOQhWyNVN6yO3NDr8iNekfPJfehYE4Jl01+foZkXPtrtVJzSuvE IZbW0vySmy+WFpvGZnJc2EJ3CDRi0O7rVWI0lu4NoQ4ZLw80LGkwAMGB30L3gCfGMhE6 4mGpu6rtZTyu1bE9gVu4TbFrTp4TUn6HaCyadxPSdkFJg4EgdtYjk9bdE+38UvTGd+4u H4gg== 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=Dg5/Z0JPSIzG25e1dT1goDyqIm+jyZryR6DvIJPRFpexbIxl2v/hgmPdqGdaXQuQ+H Q9jQs36Kj8frFIU1AZmeOeG4uXJHXmkskMpsddy/AeTVM0yL0TWuNa3RtYimde5SpBUc WJ+jtaw0rnpmeWWbmqAVkcbjBgFSIYwyaDiw8qiARP2xrot2+UFZeUAsREeXx07h8ZS/ /dYgAalllBDzqfpAqlKsXsOP+xHmFpILiBC0npi2sv1jqCIy2+nyV4AV1aLa5uLmel4U sSAYM/CJNUCa1Ww5ut18nveFandp38ynYb1aQ7xDBsC6IhLPOO8H6W9CQAfYYEdvWJlk GAiw== X-Gm-Message-State: AOAM531gyOVMscF8l+0OTc0qu4FVsVqegj6luLPs5T+EsbzQAacEtHa0 m+2G1wB6lnbnoayvFcD5URnUfw== X-Google-Smtp-Source: ABdhPJwHuUuqTGyN20MxxMY43Cid9m9kP329LRVhLvlYj8nAMgSSRHntaU8KjZcz1GDv3NO02jwM9Q== X-Received: by 2002:a05:6402:3456:b0:425:ab60:1b00 with SMTP id l22-20020a056402345600b00425ab601b00mr35301778edc.71.1652359764826; Thu, 12 May 2022 05:49:24 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-58.xnet.hr. [88.207.98.58]) by smtp.googlemail.com with ESMTPSA id h3-20020a170906828300b006f3ef214dc2sm2109475ejx.40.2022.05.12.05.49.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 05:49:24 -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 Subject: [PATCH v3 09/11] arm64: dts: marvell: split Methode uDPU DTS Date: Thu, 12 May 2022 14:49:03 +0200 Message-Id: <20220512124905.49979-9-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220512124905.49979-1-robert.marko@sartura.hr> References: <20220512124905.49979-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-20220512_054928_036555_30862C08 X-CRM114-Status: GOOD ( 16.74 ) 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 Thu May 12 12:49:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12847669 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 92DB8C433F5 for ; Thu, 12 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=xbpxV3GFS0Tq4m/IHvo7wkV7qcxucJ+wloFNy2B2Ugs=; b=wXNePLyhgNqwJx vnV+A+S8JRV9yCrNyMhXCu628tBZrkNKCVzp7yAKRPXK3OOmkLFyhvBjeJxbIGS0XtNtW//OrTdZ5 mlgHh8/HCR2FM+TAxb3ZNRYig9sMVaeVMCPVH8z3HoPwze4ENvGKNfa31orsCjY8SD0TDhnls8+zS tWLhuRroje6ivykEW6zzwRKjp7Rt+CTX0Bh805mjtBjGJOYtYNygECWASQiuRXhECIcJUUZwqt8zs abk+ZjdbSGY/l+87OTwuP7S84FlRL1hZ3N7zbI3OvpF74qQKq4DTiWQH1osPCda8DLxNhHO1sLkgb K0tc4Mhm6zdHOe0cgKAA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1np8IX-00BuTS-EA; Thu, 12 May 2022 12:52:05 +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 1np8Fz-00Bt63-IE for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2022 12:49:29 +0000 Received: by mail-ed1-x52d.google.com with SMTP id d6so6112579ede.8 for ; Thu, 12 May 2022 05:49:27 -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=ffQ4orED3aiUEBYoSxBZzhQ5xLKzp9tGr66X/MdgpYE=; b=wwpR3bqanEewTxLg7wS9F7WsDB2jEc7163B2KtFP6RN2s3xUdnTsDuZSPQ2imwuA49 JdxEAusdOFqPwN4TG3gwvIsHBwnFJxk68POGam6rePgP3g2lGtA/Osr8JGlRmOTw0ETj YzcMnr6f3x+s5xWsuvX9/QDjIEKPcVP6gxwFMVKqteQ/Wy0Q2Y+h4Vci3k8US261yDlH I4tMNg4UeBH1BO7eBgnDgT8emwRm5GdGGCnf2ZYCLObez2XHOjzSfu750MvaX2eGRtat YIp+59N7Qz/2PmS/D6Onpel4EIYhNvYaa6JAkx+lmyNMJtFkICXUnY0a5hkLR0MUr4dV 8+5w== 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=ffQ4orED3aiUEBYoSxBZzhQ5xLKzp9tGr66X/MdgpYE=; b=UzBoJYqakaBUUrmmM+rfZAIemMao89bwzbHstXWWPP7wreAep7ajyXp+xPBMcHFJZ/ r9Ntzrj0pEe2K0ivpDhQB0NYlqFege57wKUKRAHveS6YrxM26vjAAPf4IfHVcoN14hJJ 43d7j+bPFIWExruU06AFEIUo+Bznwxmwqme2Gb76x97aXpK3fwjVUCFU0RC93UPuNy7v KsIDXs6iTviwLdPojFht5h9ETS5mDNBetzR0BjGqXiwTbDNKIQ6KJ/IeDz0F1Wz6CQbK EWfkLzzdmH6EFGim7plAqYn/vq/PxM7Xu3fcPSAVcYZOgR9wAzHBEI5Vfl13S14cYZpF 9m4w== X-Gm-Message-State: AOAM533iR2uPyFnkdgcsb/2i0ShLseClzDUXYU04So422tQxBhVDAmLP orEkvVI358n/p/+cZQZZI+DEsQ== X-Google-Smtp-Source: ABdhPJxNaBDvuq2EJfEryi0nCUHgYuhIDbfcTiJwRKQw413HGCsqeJ2CMmt/NO/XMXyqwU1QUeTMJQ== X-Received: by 2002:a05:6402:3590:b0:427:ba05:6f19 with SMTP id y16-20020a056402359000b00427ba056f19mr35666281edc.334.1652359766319; Thu, 12 May 2022 05:49:26 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-58.xnet.hr. [88.207.98.58]) by smtp.googlemail.com with ESMTPSA id h3-20020a170906828300b006f3ef214dc2sm2109475ejx.40.2022.05.12.05.49.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 05:49:25 -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 Subject: [PATCH v3 10/11] dt-bindings: marvell: armada-37xx: add Methode eDPU compatible Date: Thu, 12 May 2022 14:49:04 +0200 Message-Id: <20220512124905.49979-10-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220512124905.49979-1-robert.marko@sartura.hr> References: <20220512124905.49979-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-20220512_054927_812088_E306CB43 X-CRM114-Status: UNSURE ( 9.72 ) 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 4460608ac1e1..4ace605a8701 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 Thu May 12 12:49:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12847671 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 DA825C433F5 for ; Thu, 12 May 2022 12:54:26 +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=eHftg8m1kBZkv3 GXyPVcjRl+e1Uora6KLb7O1+RNuRjyaeasLc3Rmmemhmb8PoRb6psIXwhpqlhs62q6pN+Cj6cZ5Pg 8TlqdMdUbSsolVxsVfXT9X4GZPQx7dqRqAfSKZXY4WKBEeZx9VJf5HtaRewOsRWhKnjmKQPWIfRi8 er31z/0cwiD8SFa83hiPpIGxBfUbJjHiOut3QZkaIi19K7JLkjkAaQavZudpK4dR3zCzDzUtWnz5a KovkPTl8be/GMIWg47+QEMm1OqeabqSxXNtvFQptXb2row99Rh3PDZXvqPYlHdON5jySHPq/r7V7i du/togtIDJhpZ2JZVNYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1np8JX-00BuyM-PJ; Thu, 12 May 2022 12:53:08 +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 1np8G0-00Bt7K-V6 for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2022 12:49:30 +0000 Received: by mail-ej1-x62e.google.com with SMTP id kq17so10037068ejb.4 for ; Thu, 12 May 2022 05:49:28 -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=okxummRYoYmm3mndr4IQ4mgnv150u1olNX74O7biUh+HrNqMKUVuUqAIzcm/QxtJTg q/Wppj3fEdtm4aHOGPk4dQedpaKJzGP/07VYffXkh6ial1HBi6dxX/tSmMC3X98lNr/E 6fo4ablNWe2hi3uLO6m1lNGDioa303lXvjye1sjYFXCltiBp9kk/QjxtYSBTAp+1LAvX B5z2eHs6kwZ0vXEUsFybyBhskYWK65mVnxJE0a8brcOCFwMFI8Zq28j3jNcdYj1DG7zO /0hn8dRwmcTPOnzs65HkH2IzTWoz9FkvBaGkZWjc7FUuteGlXfMYG8b4BOFVokQY4XRK Nftg== 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=HYjiNOu2xaIUY16NW9xoPROSv6u8s3ANC1DmZ73gTIJB1++KacXsaO4p4zp/k7clHJ 7YMSpnhLXbbPikssgFle3mUGiV4BLARNnEGTBoZmFchoQi6dBzBQZv5FsK/YNsV/K9A9 c1SfN153DRC5dg/A7X+elfixrc+RrOfhYFmHwbzk79y2BHnu7ixcjtV/Wqh67L21Qx0C d87Qici7mvKC4IRkUUy8YT+NnMMssrNg/33R1pVTWzRghnN8FPPOP6k1Dkxd+NXIW+bo TcsQNEvvA0TeJF1Z/pG0ZS0Xm/cFe+gUMwa0V2C2wyrWiMNc6vMaul4BGZssEZCf0yNP debg== X-Gm-Message-State: AOAM532ABOmWP+VlQgZa7oWugBNPf5oLvlvknMI3WGZeKlEN3puEVAov X5OkhrmtRNn7eNOS5k28WzYG1Q== X-Google-Smtp-Source: ABdhPJx6hUgrDA/sPEgXzBnUZI+wl8Y+4ZV8GUq0JQoFPJlaV4kfSgX/xPyQM3zp8YMWYBx0k8cbVQ== X-Received: by 2002:a17:906:6a28:b0:6f4:d368:ccf1 with SMTP id qw40-20020a1709066a2800b006f4d368ccf1mr29868611ejc.35.1652359767733; Thu, 12 May 2022 05:49:27 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-98-58.xnet.hr. [88.207.98.58]) by smtp.googlemail.com with ESMTPSA id h3-20020a170906828300b006f3ef214dc2sm2109475ejx.40.2022.05.12.05.49.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 05:49:27 -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 Subject: [PATCH v3 11/11] arm64: dts: marvell: add support for Methode eDPU Date: Thu, 12 May 2022 14:49:05 +0200 Message-Id: <20220512124905.49979-11-robert.marko@sartura.hr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220512124905.49979-1-robert.marko@sartura.hr> References: <20220512124905.49979-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-20220512_054929_059167_8A934592 X-CRM114-Status: GOOD ( 14.77 ) 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 Reviewed-by: Krzysztof Kozlowski --- 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"; +};