Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1677238rwl; Fri, 31 Mar 2023 15:07:08 -0700 (PDT) X-Google-Smtp-Source: AKy350bJ0ecEjMvSxP296PZwZ5hgCF7CDm0Dl4tNSksPTa4JGEwDoH/3o+/hf93E5zco6nYc98Yh X-Received: by 2002:a17:906:3f4f:b0:945:394a:d0fc with SMTP id f15-20020a1709063f4f00b00945394ad0fcmr6631133ejj.6.1680300427931; Fri, 31 Mar 2023 15:07:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680300427; cv=none; d=google.com; s=arc-20160816; b=es1L60PkT3WeFXV/4TNwBNAmt69MeGlg9AGNdzbteC4VFGn+IEQ+Nf5zcyZGHUuDFs nDwylGNhejApq1z/uxUuu9IKKuKwL+nIWpwyL5nukIFzgsQlDPI81RnS6dPq/c1CXH4A 1jVu/AozKnRlnNpVgJCBA/dskzYqG0+eO8c7MH68W/1fb3/4YuNCkWHoKjhxhQ95ieMw 5V6UEtvMloRAdoEkL1MrSXlViU+WQYyT/2VTrNtCqY1Mb5vdufgHffBGOGxMiz/jZlZH IXwHv+EVjz232mECSAIYLMqfqOZuzfd+5lnmwiQhhGuewbkU8enHwJaFbXJskfBb3QtE 7Gbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dtvlaUsuOBNnhs3AQ92aPIaKuLGL5kAklD70GeG4yxs=; b=uO/kNqZnyR5cg07KrLwNfJFQI1n7N8+pxr8tmurwV20aG4u/8JzMv2/T6FDik5nwoK 5ldYX//DKfr6Hce+/9onpSDvut1yXAwYQ+51R3wbvHUw9x12Efq0ghNATO+5kg9y3gzn bbsSCgDLBX/7AUjG7VwFkVK6PXBR82nM0q81syQOVPWA7HMous2i6GezRIqaPN7cm9Gy r76NlmB0ySPw9rSLTp4+FDvS0IJAhJrsCvBfBLECU5rJOSFVQPEE+c21LB8kZzSSA4na rw6swRl5SX/Y5ciI2E+JyW3duFz4z/VaX7AZzQkDRoE6vl3GHFZPvv+Mj4i3CCbEubz6 nv+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HM+hpeDY; 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 jl14-20020a17090775ce00b009448ef3cfb8si2786379ejc.614.2023.03.31.15.06.41; Fri, 31 Mar 2023 15:07: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=@redhat.com header.s=mimecast20190719 header.b=HM+hpeDY; 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 S232990AbjCaV76 (ORCPT + 99 others); Fri, 31 Mar 2023 17:59:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233400AbjCaV7o (ORCPT ); Fri, 31 Mar 2023 17:59:44 -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 7868918F9C for ; Fri, 31 Mar 2023 14:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680299908; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dtvlaUsuOBNnhs3AQ92aPIaKuLGL5kAklD70GeG4yxs=; b=HM+hpeDYSl7PrBzo/IYHD3BmPOGmGekWNnqiGZnD7jcRlusVTj9fi32RXE2b0qqR48m5nO qbRLhEGLgbKvRIo+QHU9rdjfPjwKQcLoiLt8QaWxQ+LqI3qWG4qTb13kU4TABFuqFGMSA5 K87QlxdFPizSe8d8ir399qVomlhMFiw= Received: from mail-oo1-f70.google.com (mail-oo1-f70.google.com [209.85.161.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-13-uB74awJPNc61qsuN1ZzzPg-1; Fri, 31 Mar 2023 17:58:27 -0400 X-MC-Unique: uB74awJPNc61qsuN1ZzzPg-1 Received: by mail-oo1-f70.google.com with SMTP id i2-20020a4abc02000000b0052529fc100aso6410653oop.7 for ; Fri, 31 Mar 2023 14:58:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680299906; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dtvlaUsuOBNnhs3AQ92aPIaKuLGL5kAklD70GeG4yxs=; b=1W8tIxHqSluAn1kv/s9S3U8aVQHjd8nkGq6Rc7AnuoaSLb6tYnRYQOu9cSzXHs029A oqVE0kABEeWJNUgDh6uvZeTz2sM+1SeoV15vQUzqU2adc9InC6W1/34Oj5efAc7vVyj8 LAKuV2oSlOmrK3zWABBwLzOaKvsniLmB/WEI+DSh61NHDeehVFSfAGrZrk+niqZprSlx HEHKTg1TKmo6YCxGMvx6Ff77CD7jqPhT7YosnKpJ17blRMeFfynLtvOsRhAlkIEAj4IS +ZB5T+lu8guS1nwjtlwEXpDseZfINH9DcWp1qZAtmjcHZCBoIXVv4ESvPf7y8vRswk1r kR4Q== X-Gm-Message-State: AO0yUKVhyRSRRb6KEy7GgYcdg8peRPWGn7NaPtJC6SU2MVHGzm1qYJyu Sj3m3QIXt4kyLogDhrhbzqxGklwXEMAUF9JAHJc1SPkkMRKHorvmIt7/gMj7achdxMarBeDqogH CSYbTu28SkRIXoLRVvOe2CqUYwRajJvkxGmO4UGxPCb6IUIBQnUs93PcjmFgqHNSZOp9wmbDvNE WhctyaZm2Z X-Received: by 2002:a4a:5291:0:b0:520:331d:9514 with SMTP id d139-20020a4a5291000000b00520331d9514mr13579913oob.1.1680299906504; Fri, 31 Mar 2023 14:58:26 -0700 (PDT) X-Received: by 2002:a4a:5291:0:b0:520:331d:9514 with SMTP id d139-20020a4a5291000000b00520331d9514mr13579889oob.1.1680299906227; Fri, 31 Mar 2023 14:58:26 -0700 (PDT) Received: from halaney-x13s.attlocal.net (104-53-165-62.lightspeed.stlsmo.sbcglobal.net. [104.53.165.62]) by smtp.gmail.com with ESMTPSA id g11-20020a4a894b000000b0053bb2ae3a78sm1299277ooi.24.2023.03.31.14.58.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 14:58:25 -0700 (PDT) From: Andrew Halaney To: linux-kernel@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, richardcochran@gmail.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, netdev@vger.kernel.org, bmasney@redhat.com, echanude@redhat.com, ncai@quicinc.com, jsuraj@qti.qualcomm.com, hisunil@quicinc.com, Andrew Halaney Subject: [PATCH v3 2/3] arm64: dts: qcom: sc8280xp: Add ethernet nodes Date: Fri, 31 Mar 2023 16:58:03 -0500 Message-Id: <20230331215804.783439-3-ahalaney@redhat.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230331215804.783439-1-ahalaney@redhat.com> References: <20230331215804.783439-1-ahalaney@redhat.com> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 This platform has 2 MACs integrated in it, go ahead and describe them. Signed-off-by: Andrew Halaney --- Changes since v2: * Fix spacing (Konrad) Changes since v1: * None arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 59 ++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index 42bfa9fa5b96..f28ea86b128d 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -761,6 +761,65 @@ soc: soc@0 { ranges = <0 0 0 0 0x10 0>; dma-ranges = <0 0 0 0 0x10 0>; + ethernet0: ethernet@20000 { + compatible = "qcom,sc8280xp-ethqos"; + reg = <0x0 0x00020000 0x0 0x10000>, + <0x0 0x00036000 0x0 0x100>; + reg-names = "stmmaceth", "rgmii"; + + clocks = <&gcc GCC_EMAC0_AXI_CLK>, + <&gcc GCC_EMAC0_SLV_AHB_CLK>, + <&gcc GCC_EMAC0_PTP_CLK>, + <&gcc GCC_EMAC0_RGMII_CLK>; + clock-names = "stmmaceth", + "pclk", + "ptp_ref", + "rgmii"; + + interrupts = , + ; + interrupt-names = "macirq", "eth_lpi"; + iommus = <&apps_smmu 0x4c0 0xf>; + power-domains = <&gcc EMAC_0_GDSC>; + + snps,tso; + snps,pbl = <32>; + rx-fifo-depth = <4096>; + tx-fifo-depth = <4096>; + + status = "disabled"; + }; + + ethernet1: ethernet@23000000 { + compatible = "qcom,sc8280xp-ethqos"; + reg = <0x0 0x23000000 0x0 0x10000>, + <0x0 0x23016000 0x0 0x100>; + reg-names = "stmmaceth", "rgmii"; + + clocks = <&gcc GCC_EMAC1_AXI_CLK>, + <&gcc GCC_EMAC1_SLV_AHB_CLK>, + <&gcc GCC_EMAC1_PTP_CLK>, + <&gcc GCC_EMAC1_RGMII_CLK>; + clock-names = "stmmaceth", + "pclk", + "ptp_ref", + "rgmii"; + + interrupts = , + ; + interrupt-names = "macirq", "eth_lpi"; + + iommus = <&apps_smmu 0x40 0xf>; + power-domains = <&gcc EMAC_1_GDSC>; + + snps,tso; + snps,pbl = <32>; + rx-fifo-depth = <4096>; + tx-fifo-depth = <4096>; + + status = "disabled"; + }; + gcc: clock-controller@100000 { compatible = "qcom,gcc-sc8280xp"; reg = <0x0 0x00100000 0x0 0x1f0000>; -- 2.39.2