mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 22:14:41 +08:00
94197ad713
Separate the definitions for the emac and the gmac in different files and include them in the final board dts that uses them. Solves: Warning (unit_address_vs_reg): Node /ahb/apb/ethernet@f0028000 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /ahb/apb/ethernet@f802c000 has a unit name, but no reg property Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
27 lines
435 B
Plaintext
27 lines
435 B
Plaintext
/*
|
|
* sama5d3xmb_emac.dts - Device Tree Include file for SAMA5D3x mother board
|
|
* Ethernet
|
|
*
|
|
* Copyright (C) 2016 Atmel,
|
|
*
|
|
* Licensed under GPLv2 or later.
|
|
*/
|
|
|
|
/ {
|
|
ahb {
|
|
apb {
|
|
macb1: ethernet@f802c000 {
|
|
phy-mode = "rmii";
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
phy0: ethernet-phy@1 {
|
|
interrupt-parent = <&pioE>;
|
|
interrupts = <30 IRQ_TYPE_EDGE_FALLING>;
|
|
reg = <1>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|