All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bartosz Golaszewski <brgl@bgdev.pl>
To: Vinod Koul <vkoul@kernel.org>,
	Bhupesh Sharma <bhupesh.sharma@linaro.org>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konrad.dybcio@linaro.org>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Kishon Vijay Abraham I <kishon@kernel.org>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Jose Abreu <joabreu@synopsys.com>
Cc: netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-phy@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-stm32@st-md-mailman.stormreply.com,
	Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Subject: [PATCH 23/26] arm64: dts: qcom: sa8775p: add the first 1Gb ethernet interface
Date: Mon, 12 Jun 2023 11:23:52 +0200	[thread overview]
Message-ID: <20230612092355.87937-24-brgl@bgdev.pl> (raw)
In-Reply-To: <20230612092355.87937-1-brgl@bgdev.pl>

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Add the node for the first ethernet interface on sa8775p platforms.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 arch/arm64/boot/dts/qcom/sa8775p.dtsi | 30 +++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
index 0e59000a0c82..f43a2a5d1d11 100644
--- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi
+++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
@@ -2315,6 +2315,36 @@ 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";
+
+			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>;
+
+			interrupts = <GIC_SPI 946 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "macirq";
+
+			phys = <&serdes_phy>;
+			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


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

WARNING: multiple messages have this Message-ID (diff)
From: Bartosz Golaszewski <brgl@bgdev.pl>
To: Vinod Koul <vkoul@kernel.org>,
	Bhupesh Sharma <bhupesh.sharma@linaro.org>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konrad.dybcio@linaro.org>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Kishon Vijay Abraham I <kishon@kernel.org>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Jose Abreu <joabreu@synopsys.com>
Cc: netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-phy@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-stm32@st-md-mailman.stormreply.com,
	Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Subject: [PATCH 23/26] arm64: dts: qcom: sa8775p: add the first 1Gb ethernet interface
Date: Mon, 12 Jun 2023 11:23:52 +0200	[thread overview]
Message-ID: <20230612092355.87937-24-brgl@bgdev.pl> (raw)
In-Reply-To: <20230612092355.87937-1-brgl@bgdev.pl>

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Add the node for the first ethernet interface on sa8775p platforms.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 arch/arm64/boot/dts/qcom/sa8775p.dtsi | 30 +++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
index 0e59000a0c82..f43a2a5d1d11 100644
--- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi
+++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
@@ -2315,6 +2315,36 @@ 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";
+
+			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>;
+
+			interrupts = <GIC_SPI 946 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "macirq";
+
+			phys = <&serdes_phy>;
+			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


  parent reply	other threads:[~2023-06-12  9:25 UTC|newest]

Thread overview: 144+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-12  9:23 [PATCH 00/26] arm64: qcom: sa8775p-ride: enable the first ethernet port Bartosz Golaszewski
2023-06-12  9:23 ` Bartosz Golaszewski
2023-06-12  9:23 ` [PATCH 01/26] phy: qualcomm: fix indentation in Makefile Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12 17:20   ` Andrew Halaney
2023-06-12 17:20     ` Andrew Halaney
2023-06-12 17:20     ` Andrew Halaney
2023-06-12  9:23 ` [PATCH 02/26] dt-bindings: phy: describe the Qualcomm SGMII PHY Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-14  7:13   ` Krzysztof Kozlowski
2023-06-14  7:13     ` Krzysztof Kozlowski
2023-06-14  7:13     ` Krzysztof Kozlowski
2023-06-12  9:23 ` [PATCH 03/26] phy: qcom: add the SGMII SerDes PHY driver Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12  9:45   ` Konrad Dybcio
2023-06-12  9:45     ` Konrad Dybcio
2023-06-14  7:18     ` Bartosz Golaszewski
2023-06-14  7:18       ` Bartosz Golaszewski
2023-06-14  7:18       ` Bartosz Golaszewski
2023-06-13 17:39   ` Bjorn Andersson
2023-06-13 17:39     ` Bjorn Andersson
2023-06-13 17:39     ` Bjorn Andersson
2023-06-12  9:23 ` [PATCH 04/26] arm64: defconfig: enable the SerDes PHY for Qualcomm DWMAC Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-14  7:13   ` Krzysztof Kozlowski
2023-06-14  7:13     ` Krzysztof Kozlowski
2023-06-14  7:13     ` Krzysztof Kozlowski
2023-06-12  9:23 ` [PATCH 05/26] net: stmmac: dwmac-qcom-ethqos: shrink clock code with devres Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12 18:22   ` Andrew Halaney
2023-06-12 18:22     ` Andrew Halaney
2023-06-12 18:22     ` Andrew Halaney
2023-06-12  9:23 ` [PATCH 06/26] net: stmmac: dwmac-qcom-ethqos: rename a label in probe() Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12 18:32   ` Andrew Halaney
2023-06-12 18:32     ` Andrew Halaney
2023-06-12 18:32     ` Andrew Halaney
2023-06-12  9:23 ` [PATCH 07/26] net: stmmac: dwmac-qcom-ethqos: tweak the order of local variables Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12 18:34   ` Andrew Halaney
2023-06-12 18:34     ` Andrew Halaney
2023-06-12 18:34     ` Andrew Halaney
2023-06-12  9:23 ` [PATCH 08/26] net: stmmac: dwmac-qcom-ethqos: use a helper variable for &pdev->dev Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12 18:38   ` Andrew Halaney
2023-06-12 18:38     ` Andrew Halaney
2023-06-12 18:38     ` Andrew Halaney
2023-06-12  9:23 ` [PATCH 09/26] net: stmmac: dwmac-qcom-ethqos: add missing include Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12 20:06   ` Andrew Halaney
2023-06-12 20:06     ` Andrew Halaney
2023-06-12 20:06     ` Andrew Halaney
2023-06-12  9:23 ` [PATCH 10/26] net: stmmac: dwmac-qcom-ethqos: add a newline between headers Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12 20:06   ` Andrew Halaney
2023-06-12 20:06     ` Andrew Halaney
2023-06-12 20:06     ` Andrew Halaney
2023-06-12  9:23 ` [PATCH 11/26] net: stmmac: dwmac-qcom-ethqos: remove stray space Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12 20:07   ` Andrew Halaney
2023-06-12 20:07     ` Andrew Halaney
2023-06-12 20:07     ` Andrew Halaney
2023-06-12  9:23 ` [PATCH 12/26] net: stmmac: dwmac-qcom-ethqos: add support for the optional serdes phy Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12 20:32   ` Andrew Halaney
2023-06-12 20:32     ` Andrew Halaney
2023-06-12 20:32     ` Andrew Halaney
2023-06-13  7:52     ` Bartosz Golaszewski
2023-06-13  7:52       ` Bartosz Golaszewski
2023-06-13  7:52       ` Bartosz Golaszewski
2023-06-12  9:23 ` [PATCH 13/26] net: stmmac: dwmac-qcom-ethqos: make the rgmii clock optional Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12 20:40   ` Andrew Halaney
2023-06-12 20:40     ` Andrew Halaney
2023-06-12 20:40     ` Andrew Halaney
2023-06-13  7:58     ` Bartosz Golaszewski
2023-06-13  7:58       ` Bartosz Golaszewski
2023-06-13  7:58       ` Bartosz Golaszewski
2023-06-12  9:23 ` [PATCH 14/26] net: stmmac: dwmac-qcom-ethqos: add optional phyaux clock Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12 20:42   ` Andrew Halaney
2023-06-12 20:42     ` Andrew Halaney
2023-06-12 20:42     ` Andrew Halaney
2023-06-12  9:23 ` [PATCH 15/26] net: stmmac: dwmac-qcom-ethqos: add support for the optional phy-supply Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12 21:06   ` Andrew Halaney
2023-06-12 21:06     ` Andrew Halaney
2023-06-12 21:06     ` Andrew Halaney
2023-06-13  9:02     ` Bartosz Golaszewski
2023-06-13  9:02       ` Bartosz Golaszewski
2023-06-13  9:02       ` Bartosz Golaszewski
2023-06-12  9:23 ` [PATCH 16/26] net: stmmac: dwmac-qcom-ethqos: prepare the driver for more PHY modes Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-13 16:59   ` Andrew Halaney
2023-06-13 16:59     ` Andrew Halaney
2023-06-13 16:59     ` Andrew Halaney
2023-06-12  9:23 ` [PATCH 17/26] net: stmmac: dwmac-qcom-ethqos: add support for SGMII Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12  9:23 ` [PATCH 18/26] net: stmmac: add new switch to struct plat_stmmacenet_data Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12  9:49   ` Jose Abreu
2023-06-12  9:49     ` Jose Abreu
2023-06-12  9:23 ` [PATCH 19/26] dt-bindings: net: snps,dwmac: add compatible for sa8775p ethqos Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-14  7:23   ` Krzysztof Kozlowski
2023-06-14  7:23     ` Krzysztof Kozlowski
2023-06-14  7:23     ` Krzysztof Kozlowski
2023-06-12  9:23 ` [PATCH 20/26] dt-bindings: net: qcom,ethqos: add description for sa8775p Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-14  7:25   ` Krzysztof Kozlowski
2023-06-14  7:25     ` Krzysztof Kozlowski
2023-06-14  7:25     ` Krzysztof Kozlowski
2023-06-14  7:28     ` Bartosz Golaszewski
2023-06-14  7:28       ` Bartosz Golaszewski
2023-06-14  7:28       ` Bartosz Golaszewski
2023-06-12  9:23 ` [PATCH 21/26] net: stmmac: dwmac-qcom-ethqos: add support for emac4 on sa8775p platforms Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12  9:23 ` [PATCH 22/26] arm64: dts: qcom: sa8775p-ride: add the SGMII PHY node Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-12  9:35   ` Konrad Dybcio
2023-06-12  9:35     ` Konrad Dybcio
2023-06-12  9:23 ` Bartosz Golaszewski [this message]
2023-06-12  9:23   ` [PATCH 23/26] arm64: dts: qcom: sa8775p: add the first 1Gb ethernet interface Bartosz Golaszewski
2023-06-13 18:57   ` Konrad Dybcio
2023-06-13 18:57     ` Konrad Dybcio
2023-06-13 18:57     ` Konrad Dybcio
2023-06-12  9:23 ` [PATCH 24/26] arm64: dts: qcom: sa8775p-ride: enable the SerDes PHY Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-13 19:02   ` Konrad Dybcio
2023-06-13 19:02     ` Konrad Dybcio
2023-06-13 19:02     ` Konrad Dybcio
2023-06-14 14:51     ` Bjorn Andersson
2023-06-14 14:51       ` Bjorn Andersson
2023-06-14 14:51       ` Bjorn Andersson
2023-06-12  9:23 ` [PATCH 25/26] arm64: dts: qcom: sa8775p-ride: add pin functions for ethernet0 Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-13 19:04   ` Konrad Dybcio
2023-06-13 19:04     ` Konrad Dybcio
2023-06-13 19:04     ` Konrad Dybcio
2023-06-12  9:23 ` [PATCH 26/26] arm64: dts: qcom: sa8775p-ride: enable ethernet0 Bartosz Golaszewski
2023-06-12  9:23   ` Bartosz Golaszewski
2023-06-13 19:08   ` Konrad Dybcio
2023-06-13 19:08     ` Konrad Dybcio
2023-06-13 19:08     ` Konrad Dybcio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230612092355.87937-24-brgl@bgdev.pl \
    --to=brgl@bgdev.pl \
    --cc=agross@kernel.org \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andersson@kernel.org \
    --cc=bartosz.golaszewski@linaro.org \
    --cc=bhupesh.sharma@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=joabreu@synopsys.com \
    --cc=kishon@kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=peppe.cavallaro@st.com \
    --cc=robh+dt@kernel.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.