]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
riscv: dts: starfive: jh7110: pciephy0 USB 3.0 configuration registers
authorE Shattow <e@freeshell.de>
Thu, 2 Jan 2025 18:37:36 +0000 (10:37 -0800)
committerConor Dooley <conor.dooley@microchip.com>
Tue, 18 Feb 2025 16:32:24 +0000 (16:32 +0000)
StarFive JH7110 contains a Cadence USB2.0+USB3.0 controller IP block that
may exclusively use pciephy0 for USB3.0 connectivity. Add the register
offsets for the driver to enable/disable USB3.0 on pciephy0.

Signed-off-by: E Shattow <e@freeshell.de>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/boot/dts/starfive/jh7110.dtsi

index 0d8339357bad32f95ffa0396e9a7cea328d705ff..75ff07303e8b43ddd6d1bfa2f6fd3963342c1944 100644 (file)
                pciephy0: phy@10210000 {
                        compatible = "starfive,jh7110-pcie-phy";
                        reg = <0x0 0x10210000 0x0 0x10000>;
+                       starfive,sys-syscon = <&sys_syscon 0x18>;
+                       starfive,stg-syscon = <&stg_syscon 0x148 0x1f4>;
                        #phy-cells = <0>;
                };