mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-23 23:23:31 +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>
93 lines
2.7 KiB
Diff
93 lines
2.7 KiB
Diff
From c611d3780fa101662a822d10acf8feb04ca97409 Mon Sep 17 00:00:00 2001
|
|
From: Christian Lamparter <chunkeey@gmail.com>
|
|
Date: Sun, 20 Nov 2016 01:01:10 +0100
|
|
Subject: [PATCH] dts: ipq4019: add ethernet essedma node
|
|
|
|
This patch adds the device-tree node for the ethernet
|
|
interfaces.
|
|
|
|
Note: The driver isn't anywhere close to be upstream,
|
|
so the info might change.
|
|
|
|
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
|
|
---
|
|
arch/arm/boot/dts/qcom-ipq4019.dtsi | 60 +++++++++++++++++++++++++++++++++++++
|
|
1 file changed, 60 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
|
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
|
@@ -39,6 +39,8 @@
|
|
spi1 = &blsp1_spi2;
|
|
i2c0 = &blsp1_i2c3;
|
|
i2c1 = &blsp1_i2c4;
|
|
+ ethernet0 = &gmac0;
|
|
+ ethernet1 = &gmac1;
|
|
};
|
|
|
|
cpus {
|
|
@@ -658,6 +660,64 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+ edma@c080000 {
|
|
+ compatible = "qcom,ess-edma";
|
|
+ reg = <0xc080000 0x8000>;
|
|
+ qcom,page-mode = <0>;
|
|
+ qcom,rx_head_buf_size = <1540>;
|
|
+ qcom,mdio_supported;
|
|
+ qcom,poll_required = <1>;
|
|
+ qcom,num_gmac = <2>;
|
|
+ interrupts = <0 65 IRQ_TYPE_EDGE_RISING
|
|
+ 0 66 IRQ_TYPE_EDGE_RISING
|
|
+ 0 67 IRQ_TYPE_EDGE_RISING
|
|
+ 0 68 IRQ_TYPE_EDGE_RISING
|
|
+ 0 69 IRQ_TYPE_EDGE_RISING
|
|
+ 0 70 IRQ_TYPE_EDGE_RISING
|
|
+ 0 71 IRQ_TYPE_EDGE_RISING
|
|
+ 0 72 IRQ_TYPE_EDGE_RISING
|
|
+ 0 73 IRQ_TYPE_EDGE_RISING
|
|
+ 0 74 IRQ_TYPE_EDGE_RISING
|
|
+ 0 75 IRQ_TYPE_EDGE_RISING
|
|
+ 0 76 IRQ_TYPE_EDGE_RISING
|
|
+ 0 77 IRQ_TYPE_EDGE_RISING
|
|
+ 0 78 IRQ_TYPE_EDGE_RISING
|
|
+ 0 79 IRQ_TYPE_EDGE_RISING
|
|
+ 0 80 IRQ_TYPE_EDGE_RISING
|
|
+ 0 240 IRQ_TYPE_EDGE_RISING
|
|
+ 0 241 IRQ_TYPE_EDGE_RISING
|
|
+ 0 242 IRQ_TYPE_EDGE_RISING
|
|
+ 0 243 IRQ_TYPE_EDGE_RISING
|
|
+ 0 244 IRQ_TYPE_EDGE_RISING
|
|
+ 0 245 IRQ_TYPE_EDGE_RISING
|
|
+ 0 246 IRQ_TYPE_EDGE_RISING
|
|
+ 0 247 IRQ_TYPE_EDGE_RISING
|
|
+ 0 248 IRQ_TYPE_EDGE_RISING
|
|
+ 0 249 IRQ_TYPE_EDGE_RISING
|
|
+ 0 250 IRQ_TYPE_EDGE_RISING
|
|
+ 0 251 IRQ_TYPE_EDGE_RISING
|
|
+ 0 252 IRQ_TYPE_EDGE_RISING
|
|
+ 0 253 IRQ_TYPE_EDGE_RISING
|
|
+ 0 254 IRQ_TYPE_EDGE_RISING
|
|
+ 0 255 IRQ_TYPE_EDGE_RISING>;
|
|
+
|
|
+ status = "disabled";
|
|
+
|
|
+ gmac0: gmac0 {
|
|
+ local-mac-address = [00 00 00 00 00 00];
|
|
+ vlan_tag = <1 0x1f>;
|
|
+ };
|
|
+
|
|
+ gmac1: gmac1 {
|
|
+ local-mac-address = [00 00 00 00 00 00];
|
|
+ qcom,phy_mdio_addr = <4>;
|
|
+ qcom,poll_required = <1>;
|
|
+ qcom,forced_speed = <1000>;
|
|
+ qcom,forced_duplex = <1>;
|
|
+ vlan_tag = <2 0x20>;
|
|
+ };
|
|
+ };
|
|
+
|
|
usb3_ss_phy: ssphy@9a000 {
|
|
compatible = "qcom,usb-ss-ipq4019-phy";
|
|
#phy-cells = <0>;
|