]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: broadcom: rp1: Add USB nodes
authorAndrea della Porta <andrea.porta@suse.com>
Fri, 5 Sep 2025 09:42:39 +0000 (11:42 +0200)
committerFlorian Fainelli <florian.fainelli@broadcom.com>
Tue, 9 Sep 2025 21:20:54 +0000 (14:20 -0700)
The RaspberryPi 5 has RP1 chipset containing two USB host controller,
while presenting two USB 2.0 and two USB 3.0 ports to the outside.

Add the relevant USB nodes to the devicetree.

Signed-off-by: Andrea della Porta <andrea.porta@suse.com>
Link: https://lore.kernel.org/r/16d753cb4bf37beb5e9c6f0e03576cf13708f27d.1757065053.git.andrea.porta@suse.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
arch/arm64/boot/dts/broadcom/rp1-common.dtsi

index 6bdc304c5f24dd84d29f204b07f98e31101ce4ef..5a815c379794524de542a62e7b157fbefe4b4b59 100644 (file)
@@ -55,4 +55,32 @@ pci_ep_bus: pci-ep-bus@1 {
                #address-cells = <1>;
                #size-cells = <0>;
        };
+
+       rp1_usb0: usb@40200000 {
+               compatible = "snps,dwc3";
+               reg = <0x00 0x40200000  0x0 0x100000>;
+               interrupts = <31 IRQ_TYPE_EDGE_RISING>;
+               dr_mode = "host";
+               usb3-lpm-capable;
+               snps,dis_rxdet_inp3_quirk;
+               snps,parkmode-disable-hs-quirk;
+               snps,parkmode-disable-ss-quirk;
+               snps,tx-max-burst = /bits/ 8 <8>;
+               snps,tx-thr-num-pkt = /bits/ 8 <2>;
+               status = "disabled";
+       };
+
+       rp1_usb1: usb@40300000 {
+               compatible = "snps,dwc3";
+               reg = <0x00 0x40300000  0x0 0x100000>;
+               interrupts = <36 IRQ_TYPE_EDGE_RISING>;
+               dr_mode = "host";
+               usb3-lpm-capable;
+               snps,dis_rxdet_inp3_quirk;
+               snps,parkmode-disable-hs-quirk;
+               snps,parkmode-disable-ss-quirk;
+               snps,tx-max-burst = /bits/ 8 <8>;
+               snps,tx-thr-num-pkt = /bits/ 8 <2>;
+               status = "disabled";
+       };
 };