From patchwork Tue Jun 27 17:27:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 697464 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F8A9EB64DC for ; Tue, 27 Jun 2023 17:27:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231452AbjF0R14 (ORCPT ); Tue, 27 Jun 2023 13:27:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231137AbjF0R14 (ORCPT ); Tue, 27 Jun 2023 13:27:56 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D477126BC for ; Tue, 27 Jun 2023 10:27:53 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4f86e6e4038so128484e87.0 for ; Tue, 27 Jun 2023 10:27:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687886872; x=1690478872; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=HmZJiDmHOXzvcLFH+CkhF2O0s1JxneKrl7S3B3Km+E0=; b=Fyn0Ss8gJ8W6qSjPlecef0bZzi7ZB9ieorBxH9HOeRgTh+B/aUiYlF8+KP3lLXb16i T250EE7wyU4Kd0IGzXrBgcwZ7415ICLHKkJgMcbT2Dv5TkppDrtilDiFJsU8EFmYeE2b jOGXnhGlvrcD5bgN/IOlWeAjH3up5wC+NZbkHjaMYvUgf+/0sWHw3UvRb8RfXwxso51k UCtNg0qCuFmgCV3xnOFIyEtqApWbTynT1AxpKteOGVX0En9mrpnrzCTJ4X7OjgauTI3Z 9Y4RDvuv5fEd8Hue6RDQAvTvUvTcq7XHir9fWCgb16UqvUTOhNTuAzmLlQdSdvtr+zC4 kUbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687886872; x=1690478872; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HmZJiDmHOXzvcLFH+CkhF2O0s1JxneKrl7S3B3Km+E0=; b=eExF0gy+VK1RzXlK5s/rxsrUayCGw+IfRfuNhNikqHrkcCV8TFHv5jZnzsMor84r3E LRo2xGDCawg7e1Nfsgmn3CffuzwPgnqANOPLoxTP8JqppQLT+CAfZbsGowPIrIxTf91P eOHp8Yky4hnzgByFYgLbowwGaZb3xjt2eqC0T6GFLrwbGKtFPSjvwwpVgj+ISamJTsK9 8Ad2VbhvkboogGUeRCQhNT7EeJ+jRX96hFkcz+OZtzij1iykOxlsV3yoI/FQ4i/j20iC ZFf8kieSsLrzscjpzr4Kpnbvze7d1DJlqkn7sFIJqkvE85K2KrenAVdtH/khTy8hkKgw WU8Q== X-Gm-Message-State: AC+VfDxUhm+ZkBlLiETElkHr+lOeLbD5PGIHshO6/ds53f5y30Jen/8z BpCYlPLiMsfwnNgdsj0RJBltbUF7UwDo+Y9Hot4= X-Google-Smtp-Source: ACHHUZ5LaGYkAhyL0dpMACDeHX5aYWtqtvQR+IG35bXYLVEDGrqoxcFFhUHoOet/x6v1LF9Co/9Gew== X-Received: by 2002:a05:6512:1046:b0:4f4:7a5:e800 with SMTP id c6-20020a056512104600b004f407a5e800mr13600022lfb.10.1687886872054; Tue, 27 Jun 2023 10:27:52 -0700 (PDT) Received: from [192.168.1.101] (abxj103.neoplus.adsl.tpnet.pl. [83.9.3.103]) by smtp.gmail.com with ESMTPSA id o2-20020a056512050200b004faf6a87d63sm1269391lfb.38.2023.06.27.10.27.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 10:27:51 -0700 (PDT) From: Konrad Dybcio Date: Tue, 27 Jun 2023 19:27:50 +0200 Subject: [PATCH] arm64: dts: qcom: sdm845-tama: Set serial indices and stdout-path MIME-Version: 1.0 Message-Id: <20230627-topic-tama_uart-v1-1-0fa790248db8@linaro.org> X-B4-Tracking: v=1; b=H4sIABUcm2QC/x2N0QqDMAwAf0XyvEDtwLH9yhgjjXEGXJW0ykD8d 8Me7+C4HYqYSoFHs4PJpkXn7NBeGuCR8kdQe2eIIV5DF29Y50UZK33pvZJVTMSDELd9kDt4lag IJqPMo3d5nSaXi8mgv//m+TqOE0wjlYB2AAAA To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Martin Botka , AngeloGioacchino Del Regno Cc: Marijn Suijten , Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687886870; l=1226; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=OBDDr1WmWttJM5U194JqyHQ0vF5NSbcT7U2XPb0GAGs=; b=buLOIZs9qbugz1J6O7Lhd9xBGRuR2FKNodxTjcZw6z3FR9enD2zgxgp6lHOV58pOy+hoaFHIg cKHHdQYax02B3napZ07N8Kin/lIMOUO65KRa4NfYydBjlCh/Y/1Y/C1 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org UART6 is used for debug (routed via uSD pins) and UART9 is connected to the bluetooth chip. Set indexed aliases to make the GENI UART driver happy and route serial traffic through the debug uart by default. Fixes: 30a7f99befc6 ("arm64: dts: qcom: Add support for SONY Xperia XZ2 / XZ2C / XZ3 (Tama platform)") Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) --- base-commit: 53cdf865f90ba922a854c65ed05b519f9d728424 change-id: 20230627-topic-tama_uart-bacfeac1d0e9 Best regards, diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi index 3bc187a066ae..7ee61b20452e 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi @@ -15,6 +15,15 @@ / { qcom,msm-id = <321 0x20001>; /* SDM845 v2.1 */ qcom,board-id = <8 0>; + aliases { + serial0 = &uart6; + serial1 = &uart9; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + gpio-keys { compatible = "gpio-keys";