Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3484635rwb; Mon, 7 Aug 2023 14:30:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGI03pZXB374eLvGR659xQljO7DXAyowMbuH9CTgSFIwrfjvWbLQmQ97atYpVPoEHnMpRxM X-Received: by 2002:a05:6a00:24ce:b0:687:41a1:63f9 with SMTP id d14-20020a056a0024ce00b0068741a163f9mr13268340pfv.17.1691443853937; Mon, 07 Aug 2023 14:30:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691443853; cv=none; d=google.com; s=arc-20160816; b=yN1oFclNJog8SFE/gnnKNk1v1S/vhJKNx72Wz+OcGTKVaMW+/uz8t6SSCbeNyEin88 pB48hGNptGiFY/K8o6gR1Vv/lzI3MVzJPYz19FgQsPUC0zlum9t0Z6Zx4jTHRMmJz1JE Ql1DTyMa+LkvEjzldoJrJdngKmZI80DhPE0l8dsX/lsQute2QTLrW0gqGo9DMQv3V3r6 p5WlMOJ5X+FYn7ME60d6FG/uq+ViBtoQ82qBxex05Km2j9HC3mu43IB3jM6SRayePYkB P/O9A1N6IQTQAOXxy881/NoG2eDeMk1hrwu+Zv+tS+NWfuNkJc1pmNjxXGU/SKnK883g gukg== 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=T9wiaophR7Nm0xfj/SveV5mw+f2Uqt1y0hy6jmmlZXY=; fh=v6UDtM1LG1pNigs7Y52IFg78NWSS5jq/R3uih93pXmc=; b=Z80H+M8oK6uoRf8h/gDze7er9QQ+5FyviHFqz4XraLE63P/Zc56OIIpaI8W2g8mOkJ rhgnYF58+sA2GMNDwVHdmo/eCJRKxQWK6q5fPar8HrroZgY7svPEwAME04njhBES4RPp 9avNfp6kzY1zv4MfG7kb7nbE4jrWeJZjEAIOnYqTCHwz2mMCe1BYSPHn+wnA4uvdJPlb f7R5J1jtBuX5xioqlxvd2xSDkbStXlbcHfLpxxQr7qyDk6vOcgyT3+Ehr864MSNOEhIh 3lKUEiR/yGGDf+E5kYXMcUwg4Dg8RCJda/tXYdr6GYDvytGz094Znsy+7Zh8DsqCDn7Z qF3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=vfk+G5vj; 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 bu13-20020a056a00410d00b00687562db494si6140016pfb.356.2023.08.07.14.30.41; Mon, 07 Aug 2023 14:30:53 -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=vfk+G5vj; 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 S231290AbjHGTf3 (ORCPT + 99 others); Mon, 7 Aug 2023 15:35:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230253AbjHGTfY (ORCPT ); Mon, 7 Aug 2023 15:35:24 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EF761730 for ; Mon, 7 Aug 2023 12:35:22 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3fe1d462762so41623205e9.0 for ; Mon, 07 Aug 2023 12:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1691436921; x=1692041721; 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=T9wiaophR7Nm0xfj/SveV5mw+f2Uqt1y0hy6jmmlZXY=; b=vfk+G5vjRxTB+3Asp5KhvlGGmBR/ElouEbnHwWraQ8WWiHREdSAgBtfpRHWB5BSXGo Q2fbgUc1SE3Gn4Gcsho7UlfOFDfvr4AgxQeSh8I57u6EuBMT75NmqYj9LCV9DwcnODf1 6PDaI7+HUhxhU5xJXGpCp6RR4AZPjGQzAjlqYbl4ANEzapYS+GaTnuXpxhlSUrTXvSGM TyZ4ldtCHkTRkTWq9SIbC02JyPYDuRwWnZ+my7quocWuMrtaAmDjBWISXdbTDCI4UoAp HH70Xtx90qgOcAR8tUvKMa1TCppW36uvg8bx3sQhcsITLzSVsynlRaN1s+XQnbLGg6Pz rY+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691436921; x=1692041721; 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=T9wiaophR7Nm0xfj/SveV5mw+f2Uqt1y0hy6jmmlZXY=; b=ZlCAEzfIIdAiVi4a7AKKNX84zQiEOoCzPSEkIDRUZ5JC2GfBdz2Zb7BQLdpRUaYh6l ghqaCURkwHc/znXnEmyqBu0C4KsI6/jme2kjGR+Y8IePQy79k1nTBsBXbDfzyHeV7p6x RlnclNUbGmjocHRcBbTKq3GS8okFhu7ZjHOn4adwAlt+2uc4Fj6iZfnOm/60fYqxDEme HlUZ19Ey4dsrtFgL346U+39JaaYqQQkvk2K1mIeFhhCTOoD3RAomcgoXg2MLmOLYJTLw RliA3oA6p7wNOOxT1XI6e5Jh9BRss12cgc/8xtEANQQXhoer5mBf+n+lYOboFV8tlz1A jFSg== X-Gm-Message-State: AOJu0YyLbGy2T5RBgEaEBB/X8a5h2CDsVNywweyw/KR1/KwwWHfJx+5D +Bt3kNTRoSnuWHV4O6qOQ0XscQ== X-Received: by 2002:a7b:cbd6:0:b0:3fc:5a3:367c with SMTP id n22-20020a7bcbd6000000b003fc05a3367cmr6670972wmi.32.1691436920814; Mon, 07 Aug 2023 12:35:20 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:b3d6:9e6:79d9:37cd]) by smtp.gmail.com with ESMTPSA id q9-20020a1ce909000000b003fc04d13242sm16061488wmc.0.2023.08.07.12.35.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 12:35:20 -0700 (PDT) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alex Elder , Srini Kandagatla , Andrew Halaney Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 2/9] arm64: dts: qcom: sa8775p: add a node for EMAC1 Date: Mon, 7 Aug 2023 21:35:00 +0200 Message-Id: <20230807193507.6488-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230807193507.6488-1-brgl@bgdev.pl> References: <20230807193507.6488-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_BLOCKED,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 From: Bartosz Golaszewski Add a node for the second MAC on sa8775p platforms. Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index 38d10af37ab0..82af2e6cbda4 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -2325,6 +2325,40 @@ cpufreq_hw: cpufreq@18591000 { #freq-domain-cells = <1>; }; + ethernet1: ethernet@23000000 { + compatible = "qcom,sa8775p-ethqos"; + reg = <0x0 0x23000000 0x0 0x10000>, + <0x0 0x23016000 0x0 0x100>; + reg-names = "stmmaceth", "rgmii"; + + interrupts = ; + interrupt-names = "macirq"; + + clocks = <&gcc GCC_EMAC1_AXI_CLK>, + <&gcc GCC_EMAC1_SLV_AHB_CLK>, + <&gcc GCC_EMAC1_PTP_CLK>, + <&gcc GCC_EMAC1_PHY_AUX_CLK>; + + clock-names = "stmmaceth", + "pclk", + "ptp_ref", + "phyaux"; + + power-domains = <&gcc EMAC1_GDSC>; + + phys = <&serdes1>; + phy-names = "serdes"; + + iommus = <&apps_smmu 0x140 0xf>; + + snps,tso; + snps,pbl = <32>; + rx-fifo-depth = <16384>; + tx-fifo-depth = <16384>; + + status = "disabled"; + }; + ethernet0: ethernet@23040000 { compatible = "qcom,sa8775p-ethqos"; reg = <0x0 0x23040000 0x0 0x10000>, -- 2.39.2