]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: exynos990-x1s-common: Enable USB
authorIgor Belwon <igor.belwon@mentallysanemainliners.org>
Thu, 10 Jul 2025 16:50:07 +0000 (18:50 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 13 Aug 2025 07:53:01 +0000 (09:53 +0200)
The x1s family uses a shared USB configuration. Enable both the
USB PHY as well as the DWC3 controller.

Since we do not have any PMIC for USB implemented yet, use dummy
regulators until we do.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
Link: https://lore.kernel.org/r/20250710-resends-july-exynos990-dt-v2-3-55033f73d1b0@mentallysanemainliners.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/exynos990-x1s-common.dtsi

index 55fa8e9e05db8af51109d20d74cbd7b9a2af38df..7b97220cccb7442dbc5a9f31ae9b9124bee85c62 100644 (file)
                };
        };
 
+       /* TODO: Remove this once PMIC is implemented */
+       reg_dummy: regulator-0 {
+               compatible = "regulator-fixed";
+               regulator-name = "dummy_reg";
+       };
+
        reserved-memory {
                #address-cells = <2>;
                #size-cells = <2>;
                samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
        };
 };
+
+&usbdrd {
+       status = "okay";
+       vdd10-supply = <&reg_dummy>;
+       vdd33-supply = <&reg_dummy>;
+};
+
+&usbdrd_phy {
+       status = "okay";
+};