Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1832540iob; Fri, 29 Apr 2022 14:02:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFCkmS+bWXI2YUSFfX8GtgJEi6ag9j1owE6TShHBd5wNdxZdU+kCe7ISX8pHkbplTEmYzO X-Received: by 2002:a2e:2d11:0:b0:246:3c3e:d544 with SMTP id t17-20020a2e2d11000000b002463c3ed544mr641184ljt.518.1651266127065; Fri, 29 Apr 2022 14:02:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651266127; cv=none; d=google.com; s=arc-20160816; b=PFeFcrbA3v6+nTHa9dZQ/M0wVy3vvEuznxse+MZTEgQlUAZ17LpliniLKfKVUfMese aDWjREfD24GdoAeW7mnb881lskWI+/d1UcA3D3ZjzgMugCbttiJFtRroPpPolf2M5Nbi IKcZlQU6YIK80Mn5T3o5NHIE+zuQVfMp17DTjr5N82xcC1keEbYkSqj5GPfYMgy+Bg7h 1qkrvBIOZ3svrU3y6zKuRVpnBsUCwCwfBcKcxptTC7/PZBu1B+pXVfeHh6WMIWZRGDdM /1lzOjxALA3v2oJZCeR4Ymq1qDKqfUcC/qd/Ucl2o0ojVQA1ZV5fTt1RyBjfNmgpWR/G Np8A== 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=UXw9dRUog+dEg/XP99Hw1iqvRPucaZ7bzcG1rwJHhio=; b=Gh4WYFxHgejdtitdNrYVJL4ppiPFe/w5vHpwIvLgCbfqg5blrQaAV3ez6QtXt+tFVr U8lduLs/TgUTX/RyuMR67uUZGWafhkaOYPXwAM6AaNkTRKYZ8MrfJs95JIll7O7HXFPh ren/TSsxB3ZgoxTHd3enbxBlZaXJAELTWjZteYil8yxQCeTKJYeNLMXYTttoDutxcSDb 7RiVs2qBb8CxtJLqzvE7p7JHTj6TpjkN3igVe1c+sOAVLAOQUU8b8OoG+K+Iha9Ye51y BGoi1B8V0cEqqgKGvC2a2an1UZViPapodJ0KAQ/yg+6L9HJYZuXQCbZ5LNE1SIXZhcVc Z9Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YBd0+nTm; 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 f19-20020ac25cd3000000b0046cddf22e59si6598345lfq.10.2022.04.29.14.01.19; Fri, 29 Apr 2022 14:02:07 -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=YBd0+nTm; 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 S1376921AbiD2OJh (ORCPT + 99 others); Fri, 29 Apr 2022 10:09:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376904AbiD2OJ3 (ORCPT ); Fri, 29 Apr 2022 10:09:29 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8A7538BA; Fri, 29 Apr 2022 07:00:35 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id c11so1088414wrn.8; Fri, 29 Apr 2022 07:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=UXw9dRUog+dEg/XP99Hw1iqvRPucaZ7bzcG1rwJHhio=; b=YBd0+nTmzcoM2bp3hiXsuMNdPweajYXNtZrZPbniRjboy65K24zviiuLtMl5mJj60Y lGp3dU3D8okBn+ixe9o2sRzIW+TV+YaQp2DH7qI5AbiMQ5NPw044NSExSv8Wi8f+OyrT mm2TpGZewa0FjO4w6wneZ7n7gckwh1FVfTOWtx4grI94mq8uZhPbMjkEgbWyfE3+Pzb2 HX3ZpJviFMo4mVpYilbLYEogCNK92s/Y1ll50Xv/GRNdgn3OTx/5Pp8+8HmBjg4tsCN8 OHCH0rIySZ1wVcH4CI1ny32UzRDqzLISbA6fsM4hRJdAx4A2tleff3aa4juuguNGAYeN ieLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=UXw9dRUog+dEg/XP99Hw1iqvRPucaZ7bzcG1rwJHhio=; b=3c6bNlt4ZMtiC3PUA2slX2wicgxEnxV5mOGg5eosJu4HEs/Tg5Yo8fzqfj6Fbm/DKM 2MTItMOtlH1fogZaLj9DNMcYK4BrkQP9uKS8lQ782VANo10nMeECPIhhW2wRPQYeiBKH Z1W9ZEFYesRf4qRNdZvaJVID++TPZDfTzsk/pW5QvyANAsC61WIMzsaCpenlJbXTp+/t vZ1HxwJsc8hFvHPoK/aG408OCQltqQ+pTSva5O1FqTIRzCA+eqh+LU2dvQw3+TryhGs9 5uC9TCliJ2VgTQn9R+vDDH5ReIfLJBCcsmeksnai7bjM0qCd0pTxKx1IMrO6wbBNhpAt t51A== X-Gm-Message-State: AOAM531mhBbQeK2o6BH9+Khmr55mT7mLDNBlH2Ezh+bi+cdwfe5h1UJ2 aoasH4/4501JJbTFz3nMjsk= X-Received: by 2002:adf:e8c1:0:b0:20a:e116:408a with SMTP id k1-20020adfe8c1000000b0020ae116408amr17196519wrn.672.1651240834295; Fri, 29 Apr 2022 07:00:34 -0700 (PDT) Received: from [192.168.0.43] (static-35-180-85-188.ipcom.comunitel.net. [188.85.180.35]) by smtp.gmail.com with ESMTPSA id m6-20020a1c2606000000b00393fbf75a56sm2631655wmm.29.2022.04.29.07.00.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Apr 2022 07:00:33 -0700 (PDT) Message-ID: Date: Fri, 29 Apr 2022 16:00:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 5/7] arm64: dts: mediatek: mt8195-demo: enable ethernet Content-Language: en-US To: Macpaul Lin , Fabien Parent , Rob Herring , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220426134106.242353-1-fparent@baylibre.com> <20220426134106.242353-6-fparent@baylibre.com> From: Matthias Brugger In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,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=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 On 27/04/2022 08:25, Macpaul Lin wrote: > On Tue, 2022-04-26 at 15:41 +0200, Fabien Parent wrote: >> Enable ethernet on the MT8195 demo board. >> >> Signed-off-by: Fabien Parent >> --- >> arch/arm64/boot/dts/mediatek/mt8195-demo.dts | 108 >> +++++++++++++++++++ >> 1 file changed, 108 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/mediatek/mt8195-demo.dts >> b/arch/arm64/boot/dts/mediatek/mt8195-demo.dts >> index 08cab3b3943b..0b7985486e2a 100644 >> --- a/arch/arm64/boot/dts/mediatek/mt8195-demo.dts >> +++ b/arch/arm64/boot/dts/mediatek/mt8195-demo.dts >> @@ -80,6 +80,30 @@ optee_reserved: optee@43200000 { >> }; >> }; >> >> +ð { >> + phy-mode = "rgmii-rxid"; >> + phy-handle = <ð_phy>; >> + snps,reset-gpio = <&pio 93 GPIO_ACTIVE_HIGH>; >> + snps,reset-delays-us = <0 10000 10000>; >> + mediatek,tx-delay-ps = <2030>; >> + pinctrl-names = "default", "sleep"; >> + pinctrl-0 = <ð_default_pins>; >> + pinctrl-1 = <ð_sleep_pins>; >> + status = "okay"; >> + >> + mdio { >> + compatible = "snps,dwmac-mdio"; >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + eth_phy: phy@1 { >> + compatible = "ethernet-phy-id001c.c916"; >> + #phy-cells = <0>; >> + reg = <0x1>; >> + }; >> + }; >> +}; >> + >> &i2c6 { >> clock-frequency = <400000>; >> pinctrl-0 = <&i2c6_pins>; >> @@ -260,6 +284,90 @@ &mt6359_vsram_others_ldo_reg { >> }; >> >> &pio { >> + eth_default_pins: eth-default-pins { >> + pins-cc { >> + pinmux = , >> + , >> + , >> + ; >> + drive-strength = ; >> + }; >> + >> + pins-mdio { >> + pinmux = , >> + ; >> + input-enable; >> + }; >> + >> + pins-phy-reset { >> + pinmux = ; >> + }; >> + >> + pins-power { >> + pinmux = , >> + ; >> + output-high; >> + }; >> + >> + pins-rxd { >> + pinmux = , >> + , >> + , >> + ; >> + }; >> + >> + pins-txd { >> + pinmux = , >> + , >> + , >> + ; >> + drive-strength = ; >> + }; >> + }; >> + >> + eth_sleep_pins: eth-sleep-pins { >> + pins-cc { >> + pinmux = , >> + , >> + , >> + ; >> + }; >> + >> + pins-mdio { >> + pinmux = , >> + ; >> + input-disable; >> + bias-disable; >> + }; >> + >> + pins-phy-reset { >> + pinmux = ; >> + input-disable; >> + bias-disable; >> + }; >> + >> + pins-power { >> + pinmux = , >> + ; >> + input-disable; >> + bias-disable; >> + }; >> + >> + pins-rxd { >> + pinmux = , >> + , >> + , >> + ; >> + }; >> + >> + pins-txd { >> + pinmux = , >> + , >> + , >> + ; >> + }; >> + }; >> + >> gpio_keys_pins: gpio-keys-pins { >> pins { >> pinmux = ; > > Tested-by: Macpaul Lin > I get the following error: Error: arch/arm64/boot/dts/mediatek/mt8195.dtsi:582.26-27 syntax error How did you test? Regards, Matthias