mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
6c945fa379
Removed upstreamed: bcm53xx/patches-5.10/033-v5.16-0024-ARM-dts-BCM5301X-Fix-I2C-controller-interrupt.patch[1] bcm53xx/patches-5.10/033-v5.16-0025-ARM-dts-BCM5301X-Add-interrupt-properties-to-GPIO-no.patch[2] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.83&id=b2cd6fdcbe0a5cb44e4610a08cc58261d494a885 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.83&id=9db1d4a3c2700e1cc84c3d61199411d75c2a3ec6 Build system: x86_64* Build-tested: bcm2711/RPi4B, ipq806x/R7800† Run-tested: bcm2711/RPi4B, ipq806x/R7800† * Had to revert7c99085bd6
in order to build (latest bump of ca-certificates) † Had to revert7f1edbd412
in order to build (binutils 2.37, https://bugs.openwrt.org/index.php?do=details&task_id=4149) Signed-off-by: John Audia <graysky@archlinux.us>
47 lines
1.3 KiB
Diff
47 lines
1.3 KiB
Diff
From 9deeec35dd3b628b95624e41d4e04acf728991ba Mon Sep 17 00:00:00 2001
|
|
From: Christian Lamparter <chunkeey@gmail.com>
|
|
Date: Sun, 20 Nov 2016 02:20:54 +0100
|
|
Subject: [PATCH] dts: ipq4019: add PHY/switch nodes
|
|
|
|
This patch adds both the "qcom,ess-switch" and "qcom,ess-psgmii"
|
|
nodes which are needed for the ar40xx.c driver to initialize the
|
|
switch.
|
|
|
|
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
|
|
---
|
|
arch/arm/boot/dts/qcom-ipq4019.dtsi | 23 +++++++++++++++++++++++
|
|
1 file changed, 23 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
|
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
|
@@ -617,6 +617,29 @@
|
|
};
|
|
};
|
|
|
|
+ ess-switch@c000000 {
|
|
+ compatible = "qcom,ess-switch";
|
|
+ reg = <0xc000000 0x80000>;
|
|
+ switch_access_mode = "local bus";
|
|
+ resets = <&gcc ESS_RESET>;
|
|
+ reset-names = "ess_rst";
|
|
+ clocks = <&gcc GCC_ESS_CLK>;
|
|
+ clock-names = "ess_clk";
|
|
+ switch_cpu_bmp = <0x1>;
|
|
+ switch_lan_bmp = <0x1e>;
|
|
+ switch_wan_bmp = <0x20>;
|
|
+ switch_mac_mode = <0>; /* PORT_WRAPPER_PSGMII */
|
|
+ switch_initvlas = <0x7c 0x54>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ ess-psgmii@98000 {
|
|
+ compatible = "qcom,ess-psgmii";
|
|
+ reg = <0x98000 0x800>;
|
|
+ psgmii_access_mode = "local bus";
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
usb3_ss_phy: ssphy@9a000 {
|
|
compatible = "qcom,usb-ss-ipq4019-phy";
|
|
#phy-cells = <0>;
|