Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp10809236rwd; Thu, 22 Jun 2023 05:16:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6d1HVebEBuW5GqMPRw1TVZYis3cIQsw5WeRdWiSbhBlhk1q5/B2SD8YRQmu84D9hwH4GQi X-Received: by 2002:a05:6a20:3ca4:b0:125:4c0b:93db with SMTP id b36-20020a056a203ca400b001254c0b93dbmr847560pzj.17.1687436202000; Thu, 22 Jun 2023 05:16:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687436201; cv=none; d=google.com; s=arc-20160816; b=m0YsY4laYI+4+A6DEQgdz7y/DSLmhiwIElMog37bSo58MYJeOX6snEJy1OOK2upsg5 uTUd6LCc92RWHVUI7aQR2+yCn+vtHq9ZC+I3/iUwNxoilpw21xWWShjaiJo8rW8eN7bX XSrosgLPkaYyoKbZxPyIY+CctFQc1JPTcJqb4SelR/frvusHjgcEyOJ3TMPbbDCFC6BZ Cdofn2cmjtsHorG7y/rtnBujBPoWaHfRZfHifpiGMCIVJSAx41hs/wQx/ThYLsKh5X9g 50b9iH6+ar2WNIU3i8HYc14PHVZ2rLYGQXmVOufiQk9zj8hdHmGTnDK+7Q8eI1ebu5Pb Juxw== 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=bnFCRdd8+pW5G4gM6AK4GzwvX/vcLvio6wOvkwBDM+o=; b=u9cWsq7A+Mt1Sz/BNvOkeTuHF5qE135JzFUdUNDR7udhQBbwvBsnkzFgEsevqYH6mK sMYNtMakI+6OPpcEQ7rFD0dZGtoQZrEXvNc25k3JFhLJEIv8UVSJiQvzqQAReuBfOAp0 5KkA61A4tKwQoxZi5mNIFWg8aOMCCQSiv7D0y+Wh90uke8TMaUa+vk1pEeWMpM86jGdp PICIvBvEtxTHF66gsmjwXqbQsgOlu5llBG+CUTFl4/Pjb8STtGuoaJPDKK90jklT9h7f qLl1fqvFCmutFFMyMdeHJ0h5tg1kXUDUNE+dbQZ4dhYDe8a1sU0X/nNMaEfgBvxoOZwh Mm7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=qNSdKl27; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i187-20020a6254c4000000b0066888630a21si6198141pfb.67.2023.06.22.05.16.29; Thu, 22 Jun 2023 05:16:41 -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=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=qNSdKl27; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231434AbjFVMCs (ORCPT + 99 others); Thu, 22 Jun 2023 08:02:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231245AbjFVMCT (ORCPT ); Thu, 22 Jun 2023 08:02:19 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 572D71995 for ; Thu, 22 Jun 2023 05:01:59 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-3f9bece8e19so21935755e9.1 for ; Thu, 22 Jun 2023 05:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1687435313; x=1690027313; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bnFCRdd8+pW5G4gM6AK4GzwvX/vcLvio6wOvkwBDM+o=; b=qNSdKl27WHz74NTSxtk27+pswSnyVPMIg1ifP13s+3R0ayxVeErIzjtpJBA99E+Wnw UQjQp6JsMtBzTDEnYFP+5Y6wqyHS6dEDOBnscad4hPXUE9vcV/kMVekdhUv3KQRwCnz4 wALFmkZ0rcKXhvWmyKEscxuDFtxtCgJOjpF5O6Afg0p95I36ANdOCAtKpsf3ds1aLbiL 4alSNiCUG8viAhIo9+lOMzd5JUeJXz8FhtuPGX5ocL+bt95PHEjS6iBYs+t6dI3Ovnfj xM1Xd8/Xf+f6LVPntBo2jRRgYdhD3lpnMOXFrS928Bwb3GSEIBzE++PwxwtzuQJ8UMmz FByQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687435313; x=1690027313; 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=bnFCRdd8+pW5G4gM6AK4GzwvX/vcLvio6wOvkwBDM+o=; b=K0l+2o24+Uo9lt5sMaEcwDkm5oPc2TsK8jM8nlg38RIRKGdmGsnmDXnSJAfluRGHjz FWdLVRk9BakJ8r7xQ1RrOTwPI25kxpJB03u3CVFF+nmoSDWNqNE/GPzr0uJ9oO6PpJYL /4Q3DKb0fYe9YX5Tkd5efPB+KYkbZYYhbix920AULqHR6shlpKLOQJ4asj7YIFDMeBZ/ bWAngMAYBHdc/1x4HSYXNMl59eskSgr72213q7DzP+w8mjj93FW6W80c7zuFIVhsrQ/T CrebsBww+Ozlxj2IPCRZh6pA0NbZbp4rgAJchWMCizzmMFY2P0pXA8wbYlEV1Ks0pYR3 mOeg== X-Gm-Message-State: AC+VfDz2dBRU+Ajh/yFuw+uufse1GckNjACZHhWY/XZjUntOvOBPntyq 8V2+JtEy2UaLV7WTNmme9cJU7Q== X-Received: by 2002:a05:600c:214c:b0:3fa:71c7:5bad with SMTP id v12-20020a05600c214c00b003fa71c75badmr2438988wml.39.1687435313366; Thu, 22 Jun 2023 05:01:53 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:d785:af3e:3bf5:7f36]) by smtp.gmail.com with ESMTPSA id 17-20020a05600c231100b003f8ec58995fsm7594296wmo.6.2023.06.22.05.01.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 05:01:52 -0700 (PDT) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Richard Cochran Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Bartosz Golaszewski Subject: [RESEND PATCH v2 2/5] arm64: dts: qcom: sa8775p: add the first 1Gb ethernet interface Date: Thu, 22 Jun 2023 14:01:39 +0200 Message-Id: <20230622120142.218055-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230622120142.218055-1-brgl@bgdev.pl> References: <20230622120142.218055-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 From: Bartosz Golaszewski Add the node for the first ethernet interface on sa8775p platforms. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index b6d95813c98c..59eedfc9c2cb 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -2315,6 +2315,39 @@ cpufreq_hw: cpufreq@18591000 { #freq-domain-cells = <1>; }; + + ethernet0: ethernet@23040000 { + compatible = "qcom,sa8775p-ethqos"; + reg = <0x0 0x23040000 0x0 0x10000>, + <0x0 0x23056000 0x0 0x100>; + reg-names = "stmmaceth", "rgmii"; + + interrupts = ; + interrupt-names = "macirq"; + + clocks = <&gcc GCC_EMAC0_AXI_CLK>, + <&gcc GCC_EMAC0_SLV_AHB_CLK>, + <&gcc GCC_EMAC0_PTP_CLK>, + <&gcc GCC_EMAC0_PHY_AUX_CLK>; + clock-names = "stmmaceth", + "pclk", + "ptp_ref", + "phyaux"; + + power-domains = <&gcc EMAC0_GDSC>; + + phys = <&serdes0>; + phy-names = "serdes"; + + iommus = <&apps_smmu 0x120 0xf>; + + snps,tso; + snps,pbl = <32>; + rx-fifo-depth = <16384>; + tx-fifo-depth = <16384>; + + status = "disabled"; + }; }; arch_timer: timer { -- 2.39.2