blob: a54e421de3e45b931946bc2f3c90a13ce2a4ee0f [file] [log] [blame]
Harald Seiler08541042020-04-15 20:04:53 +02001// SPDX-License-Identifier: (GPL-2.0+)
2/*
3 * Copyright (C) 2020 Harald Seiler <hws@denx.de>
4 */
5
6/ {
7 fec_vio: regulator-fec {
8 compatible = "regulator-fixed";
9
10 regulator-name = "fec-vio";
11 gpio = <&gpio1 7 GPIO_ACTIVE_LOW>;
12 };
13};
14
15&fec {
16 phy-reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
17 phy-reset-duration = <1>;
18 phy-reset-post-delay = <10>;
19
20 phy-supply = <&fec_vio>;
21};