Skip to content

Commit e8e2ade

Browse files
yijiyangKomal-Bajaj
authored andcommitted
FROMLIST: arm64: dts: qcom: qcs615: add ethernet node
Add an ethernet controller node for QCS615 SoC to enable ethernet functionality. Link: https://lore.kernel.org/r/20250121-dts_qcs615-v3-3-fa4496950d8a@quicinc.com Signed-off-by: Yijie Yang <quic_yijiyang@quicinc.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
1 parent 19272b3 commit e8e2ade

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

arch/arm64/boot/dts/qcom/qcs615.dtsi

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,40 @@
438438
#address-cells = <2>;
439439
#size-cells = <2>;
440440

441+
ethernet: ethernet@20000 {
442+
compatible = "qcom,qcs615-ethqos", "qcom,qcs404-ethqos";
443+
reg = <0x0 0x00020000 0x0 0x10000>,
444+
<0x0 0x00036000 0x0 0x100>;
445+
reg-names = "stmmaceth",
446+
"rgmii";
447+
448+
clocks = <&gcc GCC_EMAC_AXI_CLK>,
449+
<&gcc GCC_EMAC_SLV_AHB_CLK>,
450+
<&gcc GCC_EMAC_PTP_CLK>,
451+
<&gcc GCC_EMAC_RGMII_CLK>;
452+
clock-names = "stmmaceth",
453+
"pclk",
454+
"ptp_ref",
455+
"rgmii";
456+
457+
interrupts = <GIC_SPI 660 IRQ_TYPE_LEVEL_HIGH>,
458+
<GIC_SPI 661 IRQ_TYPE_LEVEL_HIGH>;
459+
interrupt-names = "macirq",
460+
"eth_lpi";
461+
462+
power-domains = <&gcc EMAC_GDSC>;
463+
resets = <&gcc GCC_EMAC_BCR>;
464+
465+
iommus = <&apps_smmu 0x1c0 0x0>;
466+
467+
snps,tso;
468+
snps,pbl = <32>;
469+
rx-fifo-depth = <16384>;
470+
tx-fifo-depth = <20480>;
471+
472+
status = "disabled";
473+
};
474+
441475
gcc: clock-controller@100000 {
442476
compatible = "qcom,qcs615-gcc";
443477
reg = <0 0x00100000 0 0x1f0000>;

0 commit comments

Comments
 (0)