Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2459494rwl; Thu, 30 Mar 2023 10:33:20 -0700 (PDT) X-Google-Smtp-Source: AKy350Zy+d3lKBvERo2CUf5DkXunl2glI5Ca95gZtC/Sc9s8SeWJQyTu7EkYPQoT45XpsvAPYmWi X-Received: by 2002:a17:906:74ca:b0:932:efa8:28fa with SMTP id z10-20020a17090674ca00b00932efa828famr21517876ejl.2.1680197599915; Thu, 30 Mar 2023 10:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680197599; cv=none; d=google.com; s=arc-20160816; b=0Vyi4Ax99iP4I+MWPgxpH5pcxy4q8ai89w4xo5sDmzAQUMoixsLZz8feyUSVvsCrGG f24ckXMFRcEhMIz6FMBZAYMa7qdHMVcKxSyCQablf/0otHPle8xCPUc+6FeJd0j1XZ/d +RfCweI4NFK7xbxGZJraF2mVW+tnlJw5QFKuSQ/CZelzX9vXz24JxyR8n527wtSmvu3/ Raz/Uri6ov/h+VSadXblWpdBYOEky5n6D+poJIHB45LokzJPXQHUgNw09TLN983kbyW8 gC9qirgfcJ7rg/Wg/GQK13Q5/UG0fvn/AblvjjrIh60W+zUJOO2mQKQvDvQo6O9bt5yg ovGg== 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=M8C7GCDTGTEyH0AOHKmhfixymkIHQz9SRHOuIDmLbko=; b=k0A9y+YHuC/+K1AxpOMt0ZAGspdo7XZ0IeKQ+V8I8ysWx/ija0bdWN1KaHKDsilk2d nuJlcX21Y9tISpZftn+UDzG64bgyWVPflX/SJMnecY9WBlGxQr2zKfLTNloT4XMmO8wP VeHFUIeFkjkpjivROm8Wal8+IN3YDPc0jn1W4+8xyh8PV2MNQ34dUWgQjc3QHa1cS39p 30MTYT7tiSuguxXZDFdHp8eqtp3lI3gby98Q5Em25ARE8+Nuy0e5svtjiCvJc+D9zr/d McVdFAPIeNRXvj2tYE3xLn13mkAfL2A0Pqs1+/dYyh25W+0PO2/wAX9+pdLHUROYE7Ar PJ2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=N7u8QTWT; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t26-20020a1709066bda00b008d6b51de6bcsi151958ejs.32.2023.03.30.10.32.54; Thu, 30 Mar 2023 10:33:19 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b=N7u8QTWT; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232462AbjC3Rbo (ORCPT + 99 others); Thu, 30 Mar 2023 13:31:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232071AbjC3Rbm (ORCPT ); Thu, 30 Mar 2023 13:31:42 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C594DBF5; Thu, 30 Mar 2023 10:31:41 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id l27so19890507wrb.2; Thu, 30 Mar 2023 10:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680197499; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=M8C7GCDTGTEyH0AOHKmhfixymkIHQz9SRHOuIDmLbko=; b=N7u8QTWTvUqZGEVlZfqEizdpr5VUNBM+pV6CnqB/wrVeToff7amDfenDK3fKrdDtb8 j347QbU+VvKBy+6f7x2UgbwXaH1utnycH4NNASNI8cjP3bMeN8vkxeYkyUX5Q736j+bU 4MBV7bJpMRlkhUDdK8MDpR8046AaEJl94ZL8TMy2PGb2dGwLvApLMB+XlIE6vOGJYrXN dMf7JtFRMExcWGKRUEXpPWXPMzbNy7yqqBJjnN0kxY3XWNw3JJNe/eF7oAewaVuwemex VRM3cErDyKIynRzqjCV3Vo++AsyoqPQeScMoU1WZ+UgEo8x6Czs4TARY42tCaLznLh+3 VIUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680197499; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=M8C7GCDTGTEyH0AOHKmhfixymkIHQz9SRHOuIDmLbko=; b=yLWhYdXnMMysKVPm/EguYdVIKLlez9C8ZdIe5UEoYEMZ9b0F7MGddSqePDxZOT2yFp +RmreqDVnf5yPEFjl6XlyhfM8JdbRGrLhbmjROqqW6kAMS2AEP3uKa2EfOoPg2GTfycs oC8W2DFbgUYb9NABMByggxM/uvXLZ2ENW+rF+mGmcCtgpIrV9DAEG4FMKMmYpop8UAGC Zfhh145O/svmAd7pTMIr1pUjkQDAkdQLEGxSTgiVtGvXgxnWKx+0EYrGBfUk37t0GXWg YA+vEX/nBoD6AtSTsXHeJbjIb2kprJUUkJ+6pRcU63K79/QF0b4B52C3qwAoQqY5auWi 7PfA== X-Gm-Message-State: AAQBX9coALg/M7U+UZPiYMUwDh0IwkatFVcMvombFw16QpTJXRrhilyK xZTg8SudWzOJMrIEUSnnisU= X-Received: by 2002:a5d:6e90:0:b0:2e4:efd9:987a with SMTP id k16-20020a5d6e90000000b002e4efd9987amr2151856wrz.69.1680197499507; Thu, 30 Mar 2023 10:31:39 -0700 (PDT) Received: from [192.168.1.135] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id q1-20020a05600000c100b002e51195a3e2sm1408157wrx.79.2023.03.30.10.31.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Mar 2023 10:31:38 -0700 (PDT) Message-ID: Date: Thu, 30 Mar 2023 19:31:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v3 12/17] arm64: dts: mediatek: add ethernet support for mt8365 SoC Content-Language: en-US To: Alexandre Mergnat , Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , AngeloGioacchino Del Regno , Chaotian Jing , Ulf Hansson , Wenbin Mei , Linus Walleij , Zhiyong Tao , =?UTF-8?Q?Bernhard_Rosenkr=c3=a4nzer?= Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, Alexandre Bailon , Fabien Parent , Amjad Ouled-Ameur References: <20230203-evk-board-support-v3-0-0003e80e0095@baylibre.com> <20230203-evk-board-support-v3-12-0003e80e0095@baylibre.com> From: Matthias Brugger In-Reply-To: <20230203-evk-board-support-v3-12-0003e80e0095@baylibre.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 29/03/2023 10:54, Alexandre Mergnat wrote: > This IP is a 10/100 MAC controller compliant with IEEE 802.3 standards. > It supports power management with Energy Efficient Ethernet and Wake-on-LAN > specification. Flow control is provided for half-duplex and full-duplex > mode. For packet transmission and reception, the controller supports > IPv4/UDP/TCP checksum offload and VLAN tag insertion. > > Signed-off-by: Alexandre Mergnat Applied thanks! > --- > arch/arm64/boot/dts/mediatek/mt8365.dtsi | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi > index a67eeca28da5..394a5a61be59 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8365.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8365.dtsi > @@ -438,6 +438,18 @@ mmc2: mmc@11250000 { > status = "disabled"; > }; > > + ethernet: ethernet@112a0000 { > + compatible = "mediatek,mt8365-eth"; > + reg = <0 0x112a0000 0 0x1000>; > + mediatek,pericfg = <&infracfg>; > + interrupts = ; > + clocks = <&topckgen CLK_TOP_ETH_SEL>, > + <&infracfg CLK_IFR_NIC_AXI>, > + <&infracfg CLK_IFR_NIC_SLV_AXI>; > + clock-names = "core", "reg", "trans"; > + status = "disabled"; > + }; > + > u3phy: t-phy@11cc0000 { > compatible = "mediatek,mt8365-tphy", "mediatek,generic-tphy-v2"; > #address-cells = <1>; >