Skip to content

Commit

Permalink
arm64: dts: qcom: sa8775p: add a node for EMAC1
Browse files Browse the repository at this point in the history
Add a node for the second MAC on sa8775p platforms.

Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Andrew Halaney <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Tested-by: Andrew Halaney <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
  • Loading branch information
Bartosz Golaszewski authored and andersson committed Aug 11, 2023
1 parent 31cd8ca commit e952348
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions arch/arm64/boot/dts/qcom/sa8775p.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -2325,6 +2325,39 @@
#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 = <GIC_SPI 929 IRQ_TYPE_LEVEL_HIGH>;
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>,
Expand Down

0 comments on commit e952348

Please sign in to comment.