aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/files
diff options
context:
space:
mode:
author张 鹏 <sd20@qxwlan.com>2023-02-22 20:46:28 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2023-05-31 23:14:25 +0200
commitf2a13cf10e12769fabe387daf2102691c4c810c1 (patch)
tree56d7b35ac6588d279afedfb78e97d8ade3c0c9e4 /target/linux/ipq40xx/files
parentc734a399cc57b1b8371290c08b43fd21b5007df8 (diff)
downloadupstream-f2a13cf10e12769fabe387daf2102691c4c810c1.tar.gz
upstream-f2a13cf10e12769fabe387daf2102691c4c810c1.tar.bz2
upstream-f2a13cf10e12769fabe387daf2102691c4c810c1.zip
ipq40xx: add e2600ac c1 to dsa
Convert E2600ac c1 to DSA and enable it. Signed-off-by: 张 鹏 <sd20@qxwlan.com> [ rename port to more generic name ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 7f2ecab0f4623e9b437b1a6656275695ac063fe4)
Diffstat (limited to 'target/linux/ipq40xx/files')
-rw-r--r--target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac-c1.dts32
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac-c1.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac-c1.dts
index f9205c28fa..70e05c7eef 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac-c1.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac-c1.dts
@@ -79,6 +79,14 @@
precal_art_5000: precal@5000 {
reg = <0x5000 0x2f20>;
};
+
+ macaddr_gmac0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_gmac1: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
};
partition@180000 {
compatible = "denx,fit";
@@ -102,3 +110,27 @@
nvmem-cells = <&precal_art_5000>;
qcom,ath10k-calibration-variant = "Qxwlan-E2600AC-C1";
};
+
+&gmac {
+ status = "okay";
+};
+
+&switch {
+ status = "okay";
+};
+
+&swport4 {
+ status = "okay";
+ label = "sw-eth1";
+
+ nvmem-cell-names = "mac-address";
+ nvmem-cells = <&macaddr_gmac0>;
+};
+
+&swport5 {
+ status = "okay";
+
+ label = "sw-eth2";
+ nvmem-cell-names = "mac-address";
+ nvmem-cells = <&macaddr_gmac1>;
+};