summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2019-02-19 15:40:00 +0100
committerPhilippe Schenker <philippe.schenker@toradex.com>2019-02-19 15:40:00 +0100
commitcb7f204ca6562f32c739a65bcabc37bfeab59052 (patch)
tree92ee14331575a373c9e9dfbb72832f9faac2661a /arch
parentde65b53c9a1437fc1e296744a14cf0188ec9f786 (diff)
ARM: dts: colibri-vf: add phy to fec
If someone wants to add settings to the phy it is necessary to actually add the phy. This commit includes micrel,led-mode that is set to the default value, prepared for someone who wants to change this. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/vf-colibri.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi
index 7d11341cc567..cca8f38facb7 100644
--- a/arch/arm/boot/dts/vf-colibri.dtsi
+++ b/arch/arm/boot/dts/vf-colibri.dtsi
@@ -91,9 +91,20 @@
&fec1 {
phy-mode = "rmii";
+ phy-handle = <&ethphy>;
phy-supply = <&reg_module_3v3>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fec1>;
+
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethphy: ethernet-phy@0 {
+ reg = <0>;
+ micrel,led-mode = <0>;
+ };
+ };
};
&i2c0 {