Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5434328rwj; Wed, 21 Dec 2022 02:36:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXu2MhZrXmzTcORkR9am2sDBBJGHYWdljO40JeQfcZrljYsu50Fjmy0dJqYzyqYFxbSxWYQm X-Received: by 2002:a17:907:3f9d:b0:7c1:1c4:5eaf with SMTP id hr29-20020a1709073f9d00b007c101c45eafmr1283588ejc.49.1671618969182; Wed, 21 Dec 2022 02:36:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671618969; cv=none; d=google.com; s=arc-20160816; b=M4buxecV9Ko7MfWIzq6X6bqc8zd1Mc592bKX913aTJCXKvyitDFlU9t8sHNipanI4H joJVuHNO46MqwLzJkUQO7NVFAJ1zIbYdzEihHQT1hg8cc2ZoLtat7gAy30U3FDOn5LHQ AuCLikAEjOj8e1+xT0x9G2oufMvlEgsTcBhA6qFZIVfr8vx+leABUnQzH6E+Ez+tDR3D UVbYrjtjC3aEHqtg+ULTAC+B1fGgTq5K0uEzbP1xr5wUDoAXp4cF9SPGLK2x2RTZ3kLh Z4k0Wa1sYm0L474aZqs/vaUfKzi2iLuAjnxGs5zjMf8YqeIDEX0lDtu+l5aF6ob97ulv 1+Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=KsIO6fcgLcj0cnDXBlcqy/fjcRfEhqdy3sfloL/qhGs=; b=gAkwovUcRo+MBuLe3JsYp85x50BYlaMR7UQVWjGkxPpI/lZxzb2jiwkiPHJ7hP6D91 C/hWcDQeYkwyU/SQnJ4eFc39JRESoVr9wxZMVHRi/xhe4Evaac05mVhXVyTiS0InrsAk 18zwycW2OOFfMIQhFwPQwFVTyRYlFO08MBrRpcZ3wmwkKROC8xo0DdYsboyBcrCPYnjt g/FptWBWTDuCwnX3SZeEBTUuKKyLtnCM2AJvwIG8GM+BPx3gywWCaZ7r25B2QJd/q+jj K5qqWaPfgQ9Wd5WdROMN1XBP1Lg6KeXkwjLdMcHWnN7Rn65rrncG6iFQ5LyU/Knmflqd rsEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=X8Mx8SIZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m7-20020a170906848700b00787c0e9818csi11849976ejx.568.2022.12.21.02.35.52; Wed, 21 Dec 2022 02:36:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=X8Mx8SIZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234580AbiLUKNS (ORCPT + 70 others); Wed, 21 Dec 2022 05:13:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234517AbiLUKNN (ORCPT ); Wed, 21 Dec 2022 05:13:13 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4F9015A21; Wed, 21 Dec 2022 02:13:12 -0800 (PST) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id B1D1C6602CBE; Wed, 21 Dec 2022 10:13:10 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1671617591; bh=n9OD75LWbhmmE+p5PTtkkUSFONy/coTD+gGYR7GYpbk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=X8Mx8SIZzCnbeE3LdffT171/+o2OjubaXA2Kz0R4rzt2ROYvvHQHK23QwaOOMrxG9 RgXxrksd3kUKYNGamMDpIkTSWpo+nloYUaaksHGqT455U8rYXXEigxWXo+6n9ZFIBo VfGJd/2m/7nKps9oxigztO2m1xn6lRd92mvvDX1KP721TPDyUrqnJekwD8+WWLiNKt cyabcbyXsTOmRicICbyjxOCp9SYE3G9/A9pR+Kygn26Kdi5UR4MzVIjeoATQnBTGQj vYq3/RnlJJJqvptlZxMU5ZC6q7A+n2yKAfnI1hF0mC99Dpo7SduiqUjkiybKUojvxL Subs/MjIoR0tw== Message-ID: Date: Wed, 21 Dec 2022 11:13:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [RESEND PATCH v4] arm64: dts: mt8195: Add Ethernet controller Content-Language: en-US To: Biao Huang , Rob Herring , Krzysztof Kozlowski , Matthias Brugger Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, macpaul.lin@mediatek.com References: <20221221022523.8458-1-biao.huang@mediatek.com> <20221221022523.8458-2-biao.huang@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20221221022523.8458-2-biao.huang@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 21/12/22 03:25, Biao Huang ha scritto: > Add Ethernet controller node for mt8195. > > Signed-off-by: Biao Huang > --- > arch/arm64/boot/dts/mediatek/mt8195-demo.dts | 88 ++++++++++++++++++++ > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 86 +++++++++++++++++++ > 2 files changed, 174 insertions(+) > ..snip.. > diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > index 5d31536f4c48..02112bbf2bdf 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > @@ -1046,6 +1046,92 @@ spis1: spi@1101e000 { > status = "disabled"; > }; > > + eth: ethernet@11021000 { > + compatible = "mediatek,mt8195-gmac", "snps,dwmac-5.10a"; > + reg = <0 0x11021000 0 0x4000>; > + interrupts = ; > + interrupt-names = "macirq"; > + clock-names = "axi", > + "apb", > + "mac_cg", mac_cg goes as last clock, as specified in the binding. Order: axi, apb, mac_main, ptp_ref, rmii_internal, mac_cg. Please fix. Regards, Angelo > + "mac_main", > + "ptp_ref", > + "rmii_internal"; > + clocks = <&pericfg_ao CLK_PERI_AO_ETHERNET>, > + <&pericfg_ao CLK_PERI_AO_ETHERNET_BUS>, > + <&pericfg_ao CLK_PERI_AO_ETHERNET_MAC>, > + <&topckgen CLK_TOP_SNPS_ETH_250M>, > + <&topckgen CLK_TOP_SNPS_ETH_62P4M_PTP>, > + <&topckgen CLK_TOP_SNPS_ETH_50M_RMII>;