]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: x1e80100: Add debug uart to Lenovo Yoga Slim 7x
authorMaya Matuszczyk <maccraft123mc@gmail.com>
Fri, 4 Oct 2024 19:24:36 +0000 (21:24 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sun, 6 Oct 2024 03:03:11 +0000 (22:03 -0500)
This commit enables the debug UART found on the motherboard under the SSD

Signed-off-by: Maya Matuszczyk <maccraft123mc@gmail.com>
Link: https://lore.kernel.org/r/20241004192436.16195-2-maccraft123mc@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts

index 3c13331a9ef420162356aca9ff8744e6c042fef6..1f292cd4a71305e81edcd1aa87f100881ad9dedd 100644 (file)
        model = "Lenovo Yoga Slim 7x";
        compatible = "lenovo,yoga-slim7x", "qcom,x1e80100";
 
+       aliases {
+               serial0 = &uart21;
+       };
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+
        pmic-glink {
                compatible = "qcom,x1e80100-pmic-glink",
                             "qcom,sm8550-pmic-glink",
 
 };
 
+&uart21 {
+       compatible = "qcom,geni-debug-uart";
+       status = "okay";
+};
+
 &usb_1_ss0_hsphy {
        vdd-supply = <&vreg_l3j_0p8>;
        vdda12-supply = <&vreg_l2j_1p2>;