2021-02-08 10:45:03 +00:00
|
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
2021-02-15 20:51:37 +00:00
|
|
|
Date: Mon, 15 Feb 2021 19:51:26 +0100
|
2021-02-08 10:45:03 +00:00
|
|
|
Subject: [PATCH] arm64: dts: broadcom: bcm4908: describe Ethernet controller
|
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
BCM4908 SoCs have an integrated Ethernet controller.
|
|
|
|
|
|
|
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
|
|
---
|
2021-02-15 20:51:37 +00:00
|
|
|
.../boot/dts/broadcom/bcm4908/bcm4908.dtsi | 20 +++++++++++++++++++
|
|
|
|
1 file changed, 20 insertions(+)
|
2021-02-08 10:45:03 +00:00
|
|
|
|
|
|
|
--- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
|
|
|
|
+++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
|
2021-02-12 08:01:40 +00:00
|
|
|
@@ -112,6 +112,14 @@
|
2021-02-08 10:45:03 +00:00
|
|
|
#size-cells = <1>;
|
|
|
|
ranges = <0x00 0x00 0x80000000 0x281000>;
|
|
|
|
|
2021-02-10 10:27:44 +00:00
|
|
|
+ enet: ethernet@2000 {
|
|
|
|
+ compatible = "brcm,bcm4908-enet";
|
2021-02-08 10:45:03 +00:00
|
|
|
+ reg = <0x2000 0x1000>;
|
|
|
|
+
|
|
|
|
+ interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
|
2021-02-12 08:01:40 +00:00
|
|
|
+ interrupt-names = "rx";
|
2021-02-08 10:45:03 +00:00
|
|
|
+ };
|
|
|
|
+
|
|
|
|
usb_phy: usb-phy@c200 {
|
|
|
|
compatible = "brcm,bcm4908-usb-phy";
|
|
|
|
reg = <0xc200 0x100>;
|
2021-02-12 08:01:40 +00:00
|
|
|
@@ -199,6 +207,18 @@
|
2021-02-10 10:27:44 +00:00
|
|
|
phy-mode = "internal";
|
|
|
|
phy-handle = <&phy11>;
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+ port@8 {
|
|
|
|
+ reg = <8>;
|
|
|
|
+ phy-mode = "internal";
|
|
|
|
+ ethernet = <&enet>;
|
2021-02-15 20:51:37 +00:00
|
|
|
+ brcm,use-bcm-hdr;
|
2021-02-10 10:27:44 +00:00
|
|
|
+
|
|
|
|
+ fixed-link {
|
|
|
|
+ speed = <1000>;
|
|
|
|
+ full-duplex;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|