mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
ecb3859cc9
AVM FRITZ!Repeater 1200 does not use QCA807x PHY at all and thus it
disables all of the individual PHY nodes, however this is not enough
anymore since the conversion to PHY package.
Now its now enough to disable the PHY-s in the package alone, but the PHY
package node itself must also be disabled.
Fixes: 1b931c33a2
("ipq40xx: adapt to new Upstream QCA807x PHY driver")
Fixes: #15355
Link: https://github.com/openwrt/openwrt/pull/15365
Signed-off-by: Robert Marko <robimarko@gmail.com>
68 lines
1.6 KiB
Diff
68 lines
1.6 KiB
Diff
From 5ac078c8fe18f3e8318547b8ed0ed782730c5039 Mon Sep 17 00:00:00 2001
|
|
From: Christian Marangi <ansuelsmth@gmail.com>
|
|
Date: Sat, 10 Feb 2024 22:28:27 +0100
|
|
Subject: [PATCH] ARM: dts: qcom: ipq4019: add QCA8075 PHY Package nodes
|
|
|
|
Add QCA8075 PHY Package nodes. The PHY nodes that were previously
|
|
defined never worked and actually never had a driver to correctly setup
|
|
these PHY. Now that we have a correct driver, correctly add the PHY
|
|
Package node and set the default value of 300mw for tx driver strength
|
|
following specification of ipq4019 SoC.
|
|
|
|
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
|
---
|
|
arch/arm/boot/dts//qcom-ipq4019.dtsi | 35 +++++++++++++++---------
|
|
1 file changed, 22 insertions(+), 13 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi
|
|
+++ b/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi
|
|
@@ -727,24 +727,33 @@
|
|
reg = <0x90000 0x64>;
|
|
status = "disabled";
|
|
|
|
- ethphy0: ethernet-phy@0 {
|
|
+ qca807x: ethernet-phy-package@0 {
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ compatible = "qcom,qca8075-package";
|
|
reg = <0>;
|
|
- };
|
|
-
|
|
- ethphy1: ethernet-phy@1 {
|
|
- reg = <1>;
|
|
- };
|
|
|
|
- ethphy2: ethernet-phy@2 {
|
|
- reg = <2>;
|
|
- };
|
|
-
|
|
- ethphy3: ethernet-phy@3 {
|
|
- reg = <3>;
|
|
- };
|
|
+ qcom,tx-drive-strength-milliwatt = <300>;
|
|
|
|
- ethphy4: ethernet-phy@4 {
|
|
- reg = <4>;
|
|
+ ethphy0: ethernet-phy@0 {
|
|
+ reg = <0>;
|
|
+ };
|
|
+
|
|
+ ethphy1: ethernet-phy@1 {
|
|
+ reg = <1>;
|
|
+ };
|
|
+
|
|
+ ethphy2: ethernet-phy@2 {
|
|
+ reg = <2>;
|
|
+ };
|
|
+
|
|
+ ethphy3: ethernet-phy@3 {
|
|
+ reg = <3>;
|
|
+ };
|
|
+
|
|
+ ethphy4: ethernet-phy@4 {
|
|
+ reg = <4>;
|
|
+ };
|
|
};
|
|
};
|
|
|