diff options
author | Stefan Riedmueller <s.riedmueller@phytec.de> | 2019-07-09 09:19:22 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2019-07-23 13:38:30 +0800 |
commit | f1da57d8ea3a9eeb0986fea22389402505d132e7 (patch) | |
tree | 51f2b7f93a38ea3c7604aa9d9606387e10a26859 /arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi | |
parent | 783c10aa740f70e22833baf33b7a87f6f7d94696 (diff) | |
download | linux-f1da57d8ea3a9eeb0986fea22389402505d132e7.tar.bz2 |
ARM: dts: imx6ul: segin: Make FEC and ethphy configurable in dts
To disable Ethernet interfaces in case they are not populated
make the FEC and Ethernet PHY status configurable in the dts files.
Also change the Ethernet PHYs labels to make them correspond to
the MDIO address.
Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi index 73266b4a889b..fee7a7e938ee 100644 --- a/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi @@ -42,20 +42,21 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet1>; phy-mode = "rmii"; - phy-handle = <ðphy0>; - status = "okay"; + phy-handle = <ðphy1>; + status = "disabled"; mdio: mdio { #address-cells = <1>; #size-cells = <0>; - ethphy0: ethernet-phy@1 { + ethphy1: ethernet-phy@1 { reg = <1>; interrupt-parent = <&gpio1>; interrupts = <2 IRQ_TYPE_LEVEL_LOW>; micrel,led-mode = <1>; clocks = <&clks IMX6UL_CLK_ENET_REF>; clock-names = "rmii-ref"; + status = "disabled"; }; }; }; |