Remove upstreamed: 004-v6.7-firmware-qcom_scm-disable-SDI-if-required.patch [1] 709-ARM-dts-qcom-ipq4019-add-QCA8075-PHY-Package-nodes.patch [2] Manually rebased: 422-firmware-qcom-scm-fix-SCM-cold-boot-address.patch 701-net-dsa-add-out-of-band-tagging-protocol.patch 850-soc-add-qualcomm-syscon.patch 900-PCI-qcom-add-hack-compatible-for-ipq4019-Lantiq-DSL.patch 910-Revert-firmware-qcom_scm-Clear-download-bit-during-r.patch [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=ff4aa3bc98258a240b9bbab53fd8d2fb8184c485 [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=2338f4315f16b937e924ff679b91bb8c0ab53f25 Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18725 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
98 lines
2.1 KiB
Diff
98 lines
2.1 KiB
Diff
From 19c507c3fe4a6fc60317dcae2c55de452aecb7d5 Mon Sep 17 00:00:00 2001
|
|
From: Robert Marko <robert.marko@sartura.hr>
|
|
Date: Mon, 1 Nov 2021 18:15:04 +0100
|
|
Subject: [PATCH] arm: dts: ipq4019: add switch node
|
|
|
|
Since the built-in IPQ40xx switch now has a driver, add the required node
|
|
for it to work.
|
|
|
|
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
|
|
---
|
|
arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi | 76 +++++++++++++++++++++++++++++
|
|
1 file changed, 76 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi
|
|
+++ b/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi
|
|
@@ -600,6 +600,82 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+ switch: switch@c000000 {
|
|
+ compatible = "qca,ipq4019-qca8337n";
|
|
+ reg = <0xc000000 0x80000>, <0x98000 0x800>;
|
|
+ reg-names = "base", "psgmii_phy";
|
|
+ resets = <&gcc ESS_PSGMII_ARES>;
|
|
+ reset-names = "psgmii_rst";
|
|
+ mdio = <&mdio>;
|
|
+ psgmii-ethphy = <&psgmiiphy>;
|
|
+
|
|
+ status = "disabled";
|
|
+
|
|
+ ports {
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+
|
|
+ port@0 { /* MAC0 */
|
|
+ reg = <0>;
|
|
+ label = "cpu";
|
|
+ ethernet = <&gmac>;
|
|
+ phy-mode = "internal";
|
|
+
|
|
+ fixed-link {
|
|
+ speed = <1000>;
|
|
+ full-duplex;
|
|
+ pause;
|
|
+ asym-pause;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ swport1: port@1 { /* MAC1 */
|
|
+ reg = <1>;
|
|
+ label = "lan1";
|
|
+ phy-handle = <ðphy0>;
|
|
+ phy-mode = "psgmii";
|
|
+
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ swport2: port@2 { /* MAC2 */
|
|
+ reg = <2>;
|
|
+ label = "lan2";
|
|
+ phy-handle = <ðphy1>;
|
|
+ phy-mode = "psgmii";
|
|
+
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ swport3: port@3 { /* MAC3 */
|
|
+ reg = <3>;
|
|
+ label = "lan3";
|
|
+ phy-handle = <ðphy2>;
|
|
+ phy-mode = "psgmii";
|
|
+
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ swport4: port@4 { /* MAC4 */
|
|
+ reg = <4>;
|
|
+ label = "lan4";
|
|
+ phy-handle = <ðphy3>;
|
|
+ phy-mode = "psgmii";
|
|
+
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ swport5: port@5 { /* MAC5 */
|
|
+ reg = <5>;
|
|
+ label = "wan";
|
|
+ phy-handle = <ðphy4>;
|
|
+ phy-mode = "psgmii";
|
|
+
|
|
+ status = "disabled";
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+
|
|
gmac: ethernet@c080000 {
|
|
compatible = "qcom,ipq4019-ess-edma";
|
|
reg = <0xc080000 0x8000>;
|