mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
62abbd587d
Upstream commit 6d4cd04 changes how the internal delays of the AR803x based PHYs are enabled. With this commit, all internal delays are disabled on driver probe and enabled based on the 'phy-mode' property in the device-tree. Before this commit, the RX delay was always enabled upon soft-reset while the TX delay retained it's previous state. A hard reset enabled the RX delay while the TX delay was disabled. Because of this inconsistency, wrongly specified PHY-modes were working correctly while the hardware was in a different state. Fix the PHY-modes of some affected devices (and clean up misplaced properties along the way) to keep the devices working flawlessly with kernels >= 5.1. Signed-off-by: David Bauer <mail@david-bauer.net>
53 lines
960 B
Plaintext
53 lines
960 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
/dts-v1/;
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
#include "qca9558_devolo_dvl1xxx.dtsi"
|
|
|
|
/ {
|
|
compatible = "devolo,dvl1750i", "qca,qca9557";
|
|
model = "devolo WiFi pro 1750i";
|
|
|
|
aliases {
|
|
led-boot = &status_blue;
|
|
led-failsafe = &status_red;
|
|
led-running = &status_blue;
|
|
led-upgrade = &status_red;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
status_blue: status_blue {
|
|
label = "dvl1750i:blue:status";
|
|
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
|
default-state = "on";
|
|
};
|
|
|
|
status_red: status_red {
|
|
label = "dvl1750i:red:status";
|
|
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
beeper {
|
|
compatible = "gpio-beeper";
|
|
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
ð0 {
|
|
pll-data = <0xbe000000 0x80000101 0x80001313>;
|
|
phy-mode = "rgmii-id";
|
|
};
|
|
|
|
&gmac_config {
|
|
rxdv-delay = <3>;
|
|
rxd-delay = <3>;
|
|
txen-delay = <3>;
|
|
txd-delay = <3>;
|
|
rgmii-enabled = <1>;
|
|
};
|