summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorFugang Duan <b38611@freescale.com>2015-07-28 09:30:42 +0200
committerShawn Guo <shawnguo@kernel.org>2015-08-11 17:15:24 +0200
commit5e8cdb01397fa2f2e368f44049c7a2b17a95ce9c (patch)
tree6c4e57036526223411dbd165e2656fdd03f41cd7 /arch/arm/boot
parentARM: dts: imx: add fec1 and fec2 nodes for SOC i.MX6UL (diff)
downloadlinux-5e8cdb01397fa2f2e368f44049c7a2b17a95ce9c.tar.xz
linux-5e8cdb01397fa2f2e368f44049c7a2b17a95ce9c.zip
ARM: dts: imx6ul-14x14-evk: add fec1 and fec2 support
Add ethernet fec1 and fec2 support for i.MX6ul 14x14 evk board. Signed-off-by: Fugang Duan <B38611@freescale.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/imx6ul-14x14-evk.dts29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dts b/arch/arm/boot/dts/imx6ul-14x14-evk.dts
index ee2243b5ad77..25746b122ea6 100644
--- a/arch/arm/boot/dts/imx6ul-14x14-evk.dts
+++ b/arch/arm/boot/dts/imx6ul-14x14-evk.dts
@@ -44,6 +44,35 @@
soc-supply = <&reg_soc>;
};
+&fec1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_enet1>;
+ phy-mode = "rmii";
+ phy-handle = <&ethphy0>;
+ status = "okay";
+};
+
+&fec2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_enet2>;
+ phy-mode = "rmii";
+ phy-handle = <&ethphy1>;
+ status = "okay";
+
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethphy0: ethernet-phy@2 {
+ reg = <2>;
+ };
+
+ ethphy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+ };
+};
+
&qspi {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_qspi>;