From patchwork Fri May 24 13:08:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10959831 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BFBD11390 for ; Fri, 24 May 2019 13:08:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8D0E2886C for ; Fri, 24 May 2019 13:08:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9CAE2288BF; Fri, 24 May 2019 13:08:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9C2502886C for ; Fri, 24 May 2019 13:08:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=mpgf1+894oHc7viWNrOIPOemlPJKbtUfmIckCqJZjgw=; b=N7Xe4YeZ7CcJUW MfoFKafPGOAdcWaqm8BNbixw58T+g70SQalR/2nnPGEO2JmC49e6e8CnG8O1W8j0OpYtl6asVa6w6 wHboUIywGRPei9jt8NH1uO1M6haHGfuivKJ4Gwn1tBp5FoIItm7cUAyt9YVRjUgYtK3uiawYma2Zz UGdTamyacVFskyev+6qk0ypl9WS4WjTmHuCfaTqpkUsCeqQSi5sYXF1rK2jFKjbKua97gK84gsG/2 pIBB5gYaWtyNU5VcmQH/+TiQpvgIsTgUU2s1f7vQwxoDmfd1dH9Z24ykUDt9XlkuPNV9WBkvXmquk rmUv3xzzGAaaBpdKH4fw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hU9vx-00009f-32; Fri, 24 May 2019 13:08:29 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hU9vu-000094-E7 for linux-amlogic@lists.infradead.org; Fri, 24 May 2019 13:08:28 +0000 Received: by mail-wr1-x442.google.com with SMTP id l2so9969088wrb.9 for ; Fri, 24 May 2019 06:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OgQG33xuk/EhzH06wld3kb9oAEYUVKAKXc70PtpZrC8=; b=owRAgPfGikxZtUG1BQRct8nWEQoZ+vHOSKdD7iOhXd8OMGFf32ex0MPT6DfeY3lxuy bhWjO3JH8oYEAla3+xVUmPAW7EyA7Bh+ag6nXRT7NIlhZ13NHoZgF2L1mcLF2kiS7m0N kTKmcvO2AzJUcwMHMThCxt2n7Hf7/NvxDM7hBBzxrD4kdtYP/CKwvGyIF/eFdbNaJJ7q 2pKwUSQGwHrbYFfPTImyiZ/JAFlLnntm6NCYFJ6bUruR5T+zUWT8ukMR66zJ4fwTwLrW 8Dbv4MEKoW2GXHd++IyIwDxs0gxoDLL4zOG1bRfeArEaZSgmJ/Gaih3eBfnmGmrcEYXK K29g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OgQG33xuk/EhzH06wld3kb9oAEYUVKAKXc70PtpZrC8=; b=uTlPqDfta6NbII3NEfypJmOfdrO4TnOUNbpozewF8+IUUjqIO6rXcUFZ4s1lsZhXNs iOA4/ojrfAIBx1nL9rTalTrOrGAUxeq7UXVAcTd3flut8vh+5yoRmpCVq5HhR0OW6bh+ k4uBIZNoneDFZYFeHsmWYy5FHmVU5YRbyvBdxc3Blp4asZ0QOpCAhHChr+ajcJzggmKk LvPXHJQ3ZryXoKcVDc8OI6sz556wfLraO56ZWgVUjncHmATw8KIH9xOv7krbEWg4kJzu CcbN2w7wp+4FJzJaVT6b0caswP4Ff6doCjkRJXn7E8NqXOkdABuERljE02Rg9vBo015P o3Gw== X-Gm-Message-State: APjAAAUAWC00kPz+NG599stjvhM/hn8oHMksmEiIOXx8WvPYWMn4DfVY 0zlbTy3StYze4U5AHm6rXldJjQ== X-Google-Smtp-Source: APXvYqzR+reL4mcAcIjGdB6vyMDbG1N7JQb5wDwT7uZCcD0jOl7OaN2viGm0Xl/fbGghcGMUsqIY/w== X-Received: by 2002:adf:e408:: with SMTP id g8mr30766656wrm.143.1558703304789; Fri, 24 May 2019 06:08:24 -0700 (PDT) Received: from boomer.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id f65sm3557698wmg.45.2019.05.24.06.08.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 May 2019 06:08:24 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH] arm64: dts: meson: add dwmac-3.70a to ethmac compatible list Date: Fri, 24 May 2019 15:08:17 +0200 Message-Id: <20190524130817.18920-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Patchwork-Bot: notify X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190524_060826_531405_1E5B679A X-CRM114-Status: GOOD ( 10.68 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP After discussing with Amlogic, the Synopsys GMAC version used by the gx and axg family is the 3.70a. Set this is in DT Signed-off-by: Jerome Brunet Reviewed-by: Martin Blumenstingl --- Hi, The same should be true for the meson8 families but I did not test it which is why only the patch only address the 64bits SoC families arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 +++- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 38169c85e91f..6219337033a0 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -171,7 +171,9 @@ ranges; ethmac: ethernet@ff3f0000 { - compatible = "amlogic,meson-axg-dwmac", "snps,dwmac"; + compatible = "amlogic,meson-axg-dwmac", + "snps,dwmac-3.70a", + "snps,dwmac"; reg = <0x0 0xff3f0000 0x0 0x10000 0x0 0xff634540 0x0 0x8>; interrupts = ; diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index 6772709b9e19..74d03fc706be 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi @@ -486,7 +486,9 @@ }; ethmac: ethernet@c9410000 { - compatible = "amlogic,meson-gx-dwmac", "amlogic,meson-gxbb-dwmac", "snps,dwmac"; + compatible = "amlogic,meson-gxbb-dwmac", + "snps,dwmac-3.70a", + "snps,dwmac"; reg = <0x0 0xc9410000 0x0 0x10000 0x0 0xc8834540 0x0 0x4>; interrupts = ;