mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
bmips: bcm6318: add support for bcm6368-enet
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
173e3aec81
commit
93bd64bf05
2 changed files with 30 additions and 0 deletions
|
@ -190,6 +190,25 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
enet: ethernet@10080000 {
|
||||
compatible = "brcm,bcm6368-enet";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x10080000 0x8000>;
|
||||
clocks = <&periph_clk BCM6318_CLK_ROBOSW250>,
|
||||
<&periph_clk BCM6318_CLK_ROBOSW025>,
|
||||
<&ubus_clk BCM6318_UCLK_ROBOSW>;
|
||||
resets = <&periph_rst BCM6318_RST_ENETSW>,
|
||||
<&periph_rst BCM6318_RST_EPHY>;
|
||||
dmas = <&iudma BCM6318_DMA_ENETSW_RX>,
|
||||
<&iudma BCM6318_DMA_ENETSW_TX>;
|
||||
dma-names = "rx",
|
||||
"tx";
|
||||
brcm,num-ports = <5>;
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
iudma: dma-controller@10088000 {
|
||||
compatible = "brcm,bcm6368-iudma";
|
||||
reg = <0x10088000 0x80>,
|
||||
|
|
|
@ -33,4 +33,15 @@
|
|||
#define BCM6318_CLK_AFE 29
|
||||
#define BCM6318_CLK_QPROC 30
|
||||
|
||||
#define BCM6318_UCLK_ADSL 0
|
||||
#define BCM6318_UCLK_ARB 1
|
||||
#define BCM6318_UCLK_MIPS 2
|
||||
#define BCM6318_UCLK_PCIE 3
|
||||
#define BCM6318_UCLK_PERIPH 4
|
||||
#define BCM6318_UCLK_PHYMIPS 5
|
||||
#define BCM6318_UCLK_ROBOSW 6
|
||||
#define BCM6318_UCLK_SAR 7
|
||||
#define BCM6318_UCLK_SDR 8
|
||||
#define BCM6318_UCLK_USB 9
|
||||
|
||||
#endif /* __DT_BINDINGS_CLOCK_BCM6318_H */
|
||||
|
|
Loading…
Reference in a new issue