diff options
author | Stefan Lengfeld <s.lengfeld@phytec.de> | 2016-11-28 09:44:58 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-01-10 08:27:23 +0100 |
commit | eb43faad59d14b92db16e69f41fe54f28f02a9a9 (patch) | |
tree | c7ea34bdb670b1c991aa4d29e636f0a385950c36 /arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi | |
parent | c2e747e364e834333e0b9815cb972a1049e33f81 (diff) | |
download | barebox-eb43faad59d14b92db16e69f41fe54f28f02a9a9.tar.gz barebox-eb43faad59d14b92db16e69f41fe54f28f02a9a9.tar.xz |
ARM: dts: phycore-imx6: refactor fec nodes
Refactor the common settings for device tree node 'fec' into the generic
phycore i.MX6 device tree file. This avoid redundant settings and makes
common fixes easier. Our kernel device tree files have the same layout.
Signed-off-by: Stefan Lengfeld <s.lengfeld@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi')
-rw-r--r-- | arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi b/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi index 37ad878887..3de362a25b 100644 --- a/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi +++ b/arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi @@ -10,6 +10,7 @@ */ #include "imx6qdl.dtsi" +#include <dt-bindings/gpio/gpio.h> / { chosen { @@ -76,7 +77,19 @@ &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; + phy-handle = <ðphy>; + phy-mode = "rgmii"; + phy-reset-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; status = "disabled"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy: ethernet-phy@3 { + reg = <3>; + }; + }; }; &gpmi { |