Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3570387rwb; Mon, 7 Aug 2023 16:15:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHrVGftKMouPkqCE/MYFDAlbEcnvT+qeNXbD584UzzXywo3qkiCJrJFIW5cA3y84Wl1xoML X-Received: by 2002:a17:906:10cc:b0:99b:c985:cf7e with SMTP id v12-20020a17090610cc00b0099bc985cf7emr9855569ejv.54.1691450102040; Mon, 07 Aug 2023 16:15:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691450102; cv=none; d=google.com; s=arc-20160816; b=H2JD4pe1tMfRQ5B2PBk1oYkHLI2CjcMCfUiD0+C0XbwKzY+qAsi3DcqKdnb4WtBkhe e15NkIRn61IyvnFNVleASaUgadco5IikHuiVYiZDhKW9mKJCrx29R5izmCHMA237Mk4l u8MFbuuTrnDNxKXQdz7t0zW0qwdPEJM1Adhs5+SL3MltgTutGEGx0/AthbVvOlGYWY+F vi29k20f8wKU4548crPHJAlNkScjOmmDXR6XmumuV+G8TZQ+m7Rmck1X1Zrjkx8fxPuB RoyNHn1N69dnPlvQDXV4bVe2LjSdssezaTdcCnK2pQHcRVCZBKWZCd6M0fxF++wP1nWQ xUog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NPSVK0q38/9ucO9elZwkMLmlNjwRAoZnlZuzPogEk1o=; fh=gM57+wDhOwD0WFJuV3MfhwMIvgvjY+LJQpBwMUBewDw=; b=FT/70hBwHmk46E4bMo9t+3AWveJvUIgMPlLTJ+1O0IZsXl3VPzi1epDPY2r5HZeGNw T7N8SuuiqsmqIM0/s52AZ6/djRlmaLaVYAhFvVPc7uwKuzzeMLyI50aqxy9iITuf3tCJ U7VCS6ezKBR5c3z91ErpjB63KaiYWIXkPm/N7NAKnMOnhOGgNLPe2suO5fLUwYMvjyxv ZiYxz54gGcMPfa2MvNMqZS/IpdZ6zLfGawa8nWTJEcrceYQe3Z9o+X0SHXt0dekkuH0V W6jtT29Ax3F6rc5R1OHU2GEnEl/FmflBDhQ2d5PPsYr/33/J4YX0V4OTkGsfIt3G2gzI 6Ntg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=eeEW6FsJ; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y22-20020a17090668d600b009980fa69e46si6568419ejr.514.2023.08.07.16.14.33; Mon, 07 Aug 2023 16:15:02 -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=@redhat.com header.s=mimecast20190719 header.b=eeEW6FsJ; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229568AbjHGVvY (ORCPT + 99 others); Mon, 7 Aug 2023 17:51:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbjHGVvX (ORCPT ); Mon, 7 Aug 2023 17:51:23 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA20C83 for ; Mon, 7 Aug 2023 14:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1691445045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NPSVK0q38/9ucO9elZwkMLmlNjwRAoZnlZuzPogEk1o=; b=eeEW6FsJ40f0jfcJwiIyW6DqanhEcj1GGPBbLfKKmms6EbtMjQbxpMGeqQHgUyOGiM1mX4 WTaRCFp/ynnAXKPoOdaRgHN9deXnmRsj1f+C0Z3Hml4zdlo5yOJKWMicIMhiKqWdEkYCHF dbk3NKjwm6Wrk27z43htISI5mk1N8CY= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-617-oNw8_oAcMGiUrA14hDZXKw-1; Mon, 07 Aug 2023 17:50:43 -0400 X-MC-Unique: oNw8_oAcMGiUrA14hDZXKw-1 Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-76cf2dbfba6so479526685a.0 for ; Mon, 07 Aug 2023 14:50:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691445043; x=1692049843; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NPSVK0q38/9ucO9elZwkMLmlNjwRAoZnlZuzPogEk1o=; b=Go8WhCIhBbRhnEKLknOR9EATY3v6yHGu7jUDLdYdxBVeuHwtq/e2yFTHzn7/2ASnN/ tR897I0MqNRBH5mWRCSBj51XJ6Gla8veyeBy+6xdG/7dyF6J1Oo8uXBwCvvR7QKK9w2U RTgDzIi/LZ+VCSoCX40EK6YtjXGETvTBz1qRS9rRTRPYnb8J0t0cWyw/Q1EnHydNBFvA DWIwWsb1J7p6JzznAxnqmCYxCOpj+V9mMA3QMjuNaS9xRbcCXb8SWLtr93vXy0b5F6Jw bomVaVREkC0DwzqiFTv+ScHUa7cRYsnzYjq4XHW0rouJM69mgcAVfL6oyu+e449JMnTt +d8Q== X-Gm-Message-State: AOJu0YypO75ohYiiFojIRzmuHMgYr3kvcTQZJW01/yzWZ4OWyrx1ynt2 bqy6NgRUtOv0J0Kpt1aa3SeRwmh3/5LdzWZM/JfpZiZdJqyL3NC7Ul+eqt7Q4qSlMT0PFkUVJXT sxXk0E3YhbaCr7UZXye8RlyoN X-Received: by 2002:a05:620a:4d3:b0:76c:caa5:4c18 with SMTP id 19-20020a05620a04d300b0076ccaa54c18mr9904835qks.28.1691445043381; Mon, 07 Aug 2023 14:50:43 -0700 (PDT) X-Received: by 2002:a05:620a:4d3:b0:76c:caa5:4c18 with SMTP id 19-20020a05620a04d300b0076ccaa54c18mr9904831qks.28.1691445043103; Mon, 07 Aug 2023 14:50:43 -0700 (PDT) Received: from fedora ([2600:1700:1ff0:d0e0::37]) by smtp.gmail.com with ESMTPSA id x12-20020ae9e90c000000b0076c60b95b87sm2867118qkf.96.2023.08.07.14.50.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 14:50:42 -0700 (PDT) Date: Mon, 7 Aug 2023 16:50:40 -0500 From: Andrew Halaney To: Bartosz Golaszewski Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alex Elder , Srini Kandagatla , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH 9/9] arm64: dts: qcom: sa8775p-ride: enable EMAC1 Message-ID: References: <20230807193507.6488-1-brgl@bgdev.pl> <20230807193507.6488-10-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230807193507.6488-10-brgl@bgdev.pl> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE 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 Mon, Aug 07, 2023 at 09:35:07PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Enable the second MAC on sa8775p-ride. > > Signed-off-by: Bartosz Golaszewski > --- > arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 74 +++++++++++++++++++++++ > 1 file changed, 74 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > index af50aa2d9b10..0862bfb4c580 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > @@ -356,6 +356,80 @@ queue3 { > }; > }; > > +ðernet1 { > + phy-mode = "sgmii"; > + phy-handle = <&sgmii_phy1>; > + > + pinctrl-0 = <ðernet1_default>; > + pinctrl-names = "default"; As I stated in the earlier patch that added ethernet1_default, I don't think it makes sense. All the MDIO is happening via the pins described via ethernet0_default. > + > + snps,mtl-rx-config = <&mtl_rx_setup1>; > + snps,mtl-tx-config = <&mtl_tx_setup1>; > + snps,ps-speed = <1000>; > + snps,shared-mdio = <&mdio0>; same question as Andrew Lunn, but I'll let you respond to one of his threads. > + > + status = "okay"; > + > + mtl_rx_setup1: rx-queues-config { > + snps,rx-queues-to-use = <4>; > + snps,rx-sched-sp; > + > + queue0 { > + snps,dcb-algorithm; > + snps,map-to-dma-channel = <0x0>; > + snps,route-up; > + snps,priority = <0x1>; > + }; > + > + queue1 { > + snps,dcb-algorithm; > + snps,map-to-dma-channel = <0x1>; > + snps,route-ptp; > + }; > + > + queue2 { > + snps,avb-algorithm; > + snps,map-to-dma-channel = <0x2>; > + snps,route-avcp; > + }; > + > + queue3 { > + snps,avb-algorithm; > + snps,map-to-dma-channel = <0x3>; > + snps,priority = <0xc>; > + }; > + }; > + > + mtl_tx_setup1: tx-queues-config { > + snps,tx-queues-to-use = <4>; > + snps,tx-sched-sp; > + > + queue0 { > + snps,dcb-algorithm; > + }; > + > + queue1 { > + snps,dcb-algorithm; > + }; > + > + queue2 { > + snps,avb-algorithm; > + snps,send_slope = <0x1000>; > + snps,idle_slope = <0x1000>; > + snps,high_credit = <0x3e800>; > + snps,low_credit = <0xffc18000>; > + }; > + > + queue3 { > + snps,avb-algorithm; > + snps,send_slope = <0x1000>; > + snps,idle_slope = <0x1000>; > + snps,high_credit = <0x3e800>; > + snps,low_credit = <0xffc18000>; > + }; > + }; > +}; > + > &i2c11 { > clock-frequency = <400000>; > pinctrl-0 = <&qup_i2c11_default>; > -- > 2.39.2 >