forked from Minki/linux
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>
49 lines
998 B
Plaintext
49 lines
998 B
Plaintext
/*
|
|
* sama5d3xmb_gmac.dtsi - Device Tree Include file for SAMA5D3x motherboard
|
|
* Gigabit Ethernet
|
|
*
|
|
* Copyright (C) 2016 Atmel,
|
|
*
|
|
* Licensed under GPLv2 or later.
|
|
*/
|
|
|
|
/ {
|
|
ahb {
|
|
apb {
|
|
macb0: ethernet@f0028000 {
|
|
phy-mode = "rgmii";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
ethernet-phy@1 {
|
|
reg = <0x1>;
|
|
interrupt-parent = <&pioB>;
|
|
interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
|
|
txen-skew-ps = <800>;
|
|
txc-skew-ps = <3000>;
|
|
rxdv-skew-ps = <400>;
|
|
rxc-skew-ps = <3000>;
|
|
rxd0-skew-ps = <400>;
|
|
rxd1-skew-ps = <400>;
|
|
rxd2-skew-ps = <400>;
|
|
rxd3-skew-ps = <400>;
|
|
};
|
|
|
|
ethernet-phy@7 {
|
|
reg = <0x7>;
|
|
interrupt-parent = <&pioB>;
|
|
interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
|
|
txen-skew-ps = <800>;
|
|
txc-skew-ps = <3000>;
|
|
rxdv-skew-ps = <400>;
|
|
rxc-skew-ps = <3000>;
|
|
rxd0-skew-ps = <400>;
|
|
rxd1-skew-ps = <400>;
|
|
rxd2-skew-ps = <400>;
|
|
rxd3-skew-ps = <400>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|