[PATCH 13/13] arm64: dts: airoha: en7581: add USB and SCU SSR nodes
Christian Marangi
ansuelsmth at gmail.com
Sun Mar 9 06:29:44 PDT 2025
Add SCU SSR and USB nodes required for USB support of Airoha EN7581. SCU
SSR node is required to read and configure the current Serdes mode of
the USB PHYs.
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
arch/arm64/boot/dts/airoha/en7581.dtsi | 61 ++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
diff --git a/arch/arm64/boot/dts/airoha/en7581.dtsi b/arch/arm64/boot/dts/airoha/en7581.dtsi
index dfc12fa99748..5975da11ace0 100644
--- a/arch/arm64/boot/dts/airoha/en7581.dtsi
+++ b/arch/arm64/boot/dts/airoha/en7581.dtsi
@@ -3,6 +3,7 @@
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/en7523-clk.h>
+#include <dt-bindings/phy/phy.h>
#include <dt-bindings/reset/airoha,en7581-reset.h>
/ {
@@ -183,6 +184,10 @@ scuclk: clock-controller {
#clock-cells = <1>;
#reset-cells = <1>;
};
+
+ scu_ssr: system-controller {
+ compatible = "airoha,an7581-scu-ssr";
+ };
};
uart1: serial at 1fbf0000 {
@@ -200,6 +205,62 @@ rng at 1faa1000 {
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
};
+ usb0: usb at 1fab0000 {
+ compatible = "mediatek,mtk-xhci";
+ reg = <0x0 0x1fab0000 0x0 0x3e00>,
+ <0x0 0x1fab3e00 0x0 0x100>;
+ reg-names = "mac", "ippc";
+ interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
+
+ phys = <&usb0_u2 PHY_TYPE_USB2>, <&usb0_u3 PHY_TYPE_USB3>;
+
+ status = "disabled";
+ };
+
+ phy at 1fac0000 {
+ compatible = "airoha,an7581-usb-phy";
+ reg = <0x0 0x1fac0000 0x0 0x10000>;
+
+ airoha,port-id = <0>;
+ airoha,scu-ssr = <&scu_ssr>;
+
+ usb0_u2: usb2-phy {
+ #phy-cells = <1>;
+ };
+
+ usb0_u3: usb3-phy {
+ #phy-cells = <1>;
+ };
+ };
+
+ usb1: usb at 1fad0000 {
+ compatible = "mediatek,mtk-xhci";
+ reg = <0x0 0x1fad0000 0x0 0x3e00>,
+ <0x0 0x1fad3e00 0x0 0x100>;
+ reg-names = "mac", "ippc";
+ interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
+
+ phys = <&usb1_u2 PHY_TYPE_USB2>, <&usb0_u3 PHY_TYPE_USB3>;
+
+ status = "disabled";
+ };
+
+ phy at 1fae0000 {
+ compatible = "airoha,an7581-usb-phy";
+ reg = <0x0 0x1fae0000 0x0 0x10000>;
+
+ airoha,port-id = <1>;
+ airoha,scu-ssr = <&scu_ssr>;
+
+ usb1_u2: usb2-phy {
+ #phy-cells = <1>;
+ };
+
+ usb1_u3: usb3-phy {
+ #phy-cells = <1>;
+ };
+ };
+
system-controller at 1fbf0200 {
compatible = "airoha,en7581-gpio-sysctl", "syscon",
"simple-mfd";
--
2.48.1
More information about the linux-arm-kernel
mailing list