Message ID | 20200701144310.25481-4-narmstrong@baylibre.com |
---|---|
State | Accepted |
Commit | d9c967792b7830d51a1fe596f9a27ea6dfd4bcfe |
Headers | show |
Series | board: amlogic: add Odroid C4 support | expand |
Hi Neil, On Wed, 1 Jul 2020 at 20:13, Neil Armstrong <narmstrong at baylibre.com> wrote: > > The PHY needs a reset in order to be functionnal for U-Boot, add the old > PHY reset bindings for dwmac until we support the new bindings in the PHY node. > > Signed-off-by: Neil Armstrong <narmstrong at baylibre.com> > --- Please add my Tested-by: Anand Moon <linux.amoon at gmail.com> > arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi b/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi > index ee32c6f43d..2a8f0545b1 100644 > --- a/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi > +++ b/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi > @@ -5,3 +5,9 @@ > */ > > #include "meson-g12-common-u-boot.dtsi" > + > +ðmac { > + snps,reset-gpio = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; > + snps,reset-delays-us = <0 10000 1000000>; > + snps,reset-active-low; > +}; > -- > 2.22.0 >
diff --git a/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi b/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi index ee32c6f43d..2a8f0545b1 100644 --- a/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi +++ b/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi @@ -5,3 +5,9 @@ */ #include "meson-g12-common-u-boot.dtsi" + +ðmac { + snps,reset-gpio = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; + snps,reset-delays-us = <0 10000 1000000>; + snps,reset-active-low; +};
The PHY needs a reset in order to be functionnal for U-Boot, add the old PHY reset bindings for dwmac until we support the new bindings in the PHY node. Signed-off-by: Neil Armstrong <narmstrong at baylibre.com> --- arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)