bmips: bcm6368: add support for bcm6368-enet

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
Álvaro Fernández Rojas 2018-12-01 19:00:33 +01:00 committed by Daniel Schwierzeck
parent 9622972af4
commit d9c1f0c23f

View file

@ -205,5 +205,24 @@
#dma-cells = <1>;
dma-channels = <8>;
};
enet: ethernet@10f00000 {
compatible = "brcm,bcm6368-enet";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x10f00000 0x10000>;
clocks = <&periph_clk BCM6368_CLK_SWPKT_USB>,
<&periph_clk BCM6368_CLK_SWPKT_SAR>,
<&periph_clk BCM6368_CLK_ROBOSW>;
resets = <&periph_rst BCM6368_RST_SWITCH>,
<&periph_rst BCM6368_RST_EPHY>;
dmas = <&iudma BCM6368_DMA_ENETSW_RX>,
<&iudma BCM6368_DMA_ENETSW_TX>;
dma-names = "rx",
"tx";
brcm,num-ports = <6>;
status = "disabled";
};
};
};