Skip to content

Commit

Permalink
ARM: dts: Add Ethernet node to STiH407 family
Browse files Browse the repository at this point in the history
STiH407 family uses the Synopsys IP.

Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
  • Loading branch information
Maxime Coquelin committed Oct 15, 2015
1 parent b89c429 commit ab511d7
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions arch/arm/boot/dts/stih407-family.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -653,5 +653,32 @@
clocks = <&clk_sysin>;
status = "okay";
};

ethernet0: dwmac@9630000 {
device_type = "network";
status = "disabled";
compatible = "st,stih407-dwmac", "snps,dwmac", "snps,dwmac-3.710";
reg = <0x9630000 0x8000>, <0x80 0x4>;
reg-names = "stmmaceth", "sti-ethconf";

st,syscon = <&syscfg_sbc_reg 0x80>;
st,gmac_en;
resets = <&softreset STIH407_ETH1_SOFTRESET>;
reset-names = "stmmaceth";

interrupts = <GIC_SPI 98 IRQ_TYPE_NONE>,
<GIC_SPI 99 IRQ_TYPE_NONE>;
interrupt-names = "macirq", "eth_wake_irq";

/* DMA Bus Mode */
snps,pbl = <8>;

pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rgmii1>;

clock-names = "stmmaceth", "sti-ethclk";
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>,
<&clk_s_c0_flexgen CLK_ETH_PHY>;
};
};
};

0 comments on commit ab511d7

Please sign in to comment.