Use the new kmod-phy-realtek driver for kernel 6.18 on Gemtek W1700K. The driver selection is gated using `KERNEL_PATCHVER` to avoid build failures on 6.12. The device tree selection is also gated by `KERNEL_PATCHVER` to select the appropriate device tree per kernel version. Once kernel 6.18 is tested stable for airoha these changes can be simplified and the obsolete properties removed. Signed-off-by: Kenneth Kasilag <kenneth@kasilag.me> Link: https://github.com/openwrt/openwrt/pull/21019 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
16 lines
253 B
Plaintext
16 lines
253 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
/dts-v1/;
|
|
|
|
#include "an7581-w1700k-ubi.dts"
|
|
|
|
&phy5 {
|
|
tx-polarity = <PHY_POL_INVERT>;
|
|
rx-polarity = <PHY_POL_INVERT>;
|
|
};
|
|
|
|
&phy8 {
|
|
tx-polarity = <PHY_POL_INVERT>;
|
|
rx-polarity = <PHY_POL_INVERT>;
|
|
};
|