aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/files
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2022-10-05 23:35:21 +0900
committerHauke Mehrtens <hauke@hauke-m.de>2022-10-09 22:45:06 +0200
commit32e41ba18a41eac8cc782de78fd988b18fc44527 (patch)
tree1cfdb0e729d4b9e63171d6a0d44c4946c9b2ed12 /target/linux/ipq40xx/files
parent579ea6b97079cf57949892969064dbee3203d1f4 (diff)
downloadupstream-32e41ba18a41eac8cc782de78fd988b18fc44527.tar.gz
upstream-32e41ba18a41eac8cc782de78fd988b18fc44527.tar.bz2
upstream-32e41ba18a41eac8cc782de78fd988b18fc44527.zip
ipq40xx: convert to DSA and enable Sony NCP-HG100/Cellular
This patch converts networking on Sony NCP-HG100/Cellular to DSA and re-enables support for the device. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx/files')
-rw-r--r--target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-ncp-hg100-cellular.dts34
1 files changed, 19 insertions, 15 deletions
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-ncp-hg100-cellular.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-ncp-hg100-cellular.dts
index f1ac5fd52f..ea27defea3 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-ncp-hg100-cellular.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-ncp-hg100-cellular.dts
@@ -16,7 +16,7 @@
led-failsafe = &led_cloud_red;
led-running = &led_cloud_green;
led-upgrade = &led_cloud_green;
- label-mac-device = &gmac0;
+ label-mac-device = &gmac;
};
chosen {
@@ -57,23 +57,9 @@
qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
dma@7984000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- switch_mac_mode = <0x0>; /* mac mode for RGMII RMII */
- switch_initvlas = <0x0007c 0x54>; /* PORT0_STATUS */
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys-repeat {
@@ -616,6 +602,24 @@
status = "okay";
};
+&gmac {
+ status = "okay";
+};
+
+&switch {
+ status = "okay";
+};
+
+&swport4 {
+ status = "okay";
+ label = "lan";
+};
+
+&swport5 {
+ status = "okay";
+ label = "wan";
+};
+
&wifi0 {
status = "okay";
qcom,ath10k-calibration-variant = "Sony-NCP-HG100-Cellular";