Skip to content

Commit

Permalink
ipq60xx: cmiot fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
breeze303 committed Mar 21, 2024
1 parent 5223b24 commit 77eadd6
Showing 1 changed file with 20 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@

#include "ipq6018.dtsi"
#include "ipq6018-ess.dtsi"
#include "ipq6018-cp-cpu.dtsi"
#include "ipq6018-cpufreq.dtsi"
#include "ipq6018-256m.dtsi"
#include "ipq6018-nss.dtsi"


#include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>

Expand All @@ -18,8 +19,8 @@
/* Aliases as required by u-boot to patch MAC addresses */
ethernet0 = &dp1;
ethernet1 = &dp2;
ethernet2 = &dp3;
ethernet3 = &dp4;
ethernet4 = &dp5;
};

chosen {
Expand Down Expand Up @@ -85,23 +86,27 @@


&dp1 {
status = "okay";
phy-handle = <&qca8075_0>;
status = "okay";
qcom,id = <5>;
};

&dp2 {
status = "okay";
phy-handle = <&qca8075_1>;
status = "okay";
qcom,id = <1>;
};

&dp4 {
&dp3 {
phy-handle = <&qca8075_2>;
status = "okay";
phy-handle = <&qca8075_3>;
qcom,id = <2>;
};

&dp5 {
&dp4 {
phy-handle = <&qca8075_3>;
status = "okay";
phy-handle = <&qca8075_4>;
qcom,id = <4>;
};

&edma {
Expand All @@ -116,22 +121,22 @@

qca8075_0: ethernet-phy@0 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0>;
reg = <4>;
};

qca8075_1: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <1>;
reg = <0>;
};

qca8075_3: ethernet-phy@3 {
qca8075_2: ethernet-phy@2 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <3>;
reg = <1>;
};

qca8075_4: ethernet-phy@4 {
qca8075_3: ethernet-phy@3 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <4>;
reg = <3>;
};
};

Expand Down Expand Up @@ -204,7 +209,6 @@
status = "okay";
};


&ssphy_0 {
status = "okay";
};
Expand All @@ -224,4 +228,4 @@
&wifi {
status = "okay";
qcom,ath11k-fw-memory-mode = <2>;
};
};

0 comments on commit 77eadd6

Please sign in to comment.