mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
ARM: orion5x: add gigabit ethernet and mvmdio device tree nodes
This patch adds mv643xx_eth and mvmdio device tree nodes for DT enabled Orion5x boards. Phy nodes are also added with reg property set on a per-board basis. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
parent
876e233335
commit
99d6455b8e
2 changed files with 46 additions and 0 deletions
|
@ -53,3 +53,20 @@ led@1 {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&mdio {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
ethphy: ethernet-phy {
|
||||||
|
device-type = "ethernet-phy";
|
||||||
|
reg = <8>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
ð {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
ethernet-port@0 {
|
||||||
|
phy-handle = <ðphy>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
|
@ -132,5 +132,34 @@ crypto@90000 {
|
||||||
interrupts = <28>;
|
interrupts = <28>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mdio: mdio-bus@72004 {
|
||||||
|
compatible = "marvell,orion-mdio";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
reg = <0x72004 0x84>;
|
||||||
|
interrupts = <22>;
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
|
/* add phy nodes in board file */
|
||||||
|
};
|
||||||
|
|
||||||
|
eth: ethernet-controller@72000 {
|
||||||
|
compatible = "marvell,orion-eth";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
reg = <0x72000 0x4000>;
|
||||||
|
marvell,tx-checksum-limit = <1600>;
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
|
ethernet-port@0 {
|
||||||
|
device_type = "network";
|
||||||
|
compatible = "marvell,orion-eth-port";
|
||||||
|
reg = <0>;
|
||||||
|
/* overwrite MAC address in bootloader */
|
||||||
|
local-mac-address = [00 00 00 00 00 00];
|
||||||
|
/* set phy-handle property in board file */
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue