From patchwork Thu Mar 9 10:37:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13167197 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 407D1C61DA4 for ; Thu, 9 Mar 2023 10:38:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231342AbjCIKiX (ORCPT ); Thu, 9 Mar 2023 05:38:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231339AbjCIKiL (ORCPT ); Thu, 9 Mar 2023 05:38:11 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B10A1ADC2 for ; Thu, 9 Mar 2023 02:38:05 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id g3so1367240wri.6 for ; Thu, 09 Mar 2023 02:38:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678358283; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SP7ogHu4uEwFtspxJxJ7OoykCfesXqAmJ+tahNVJNKA=; b=TRC+oJTm6Zc1b++7xNIfOjlLy+Ts7/BZZ/x8NQOaGx272Dp1l2amWSdxhGQ8woXz9t Sf+lD275+aGmAE1DiXz4opuuRexUsPLBHLAu6kPfwGf9cluYeiash+VpaIhONMRIpdO2 tptM75YgR2dU10WL3KH+zUQeU4fAiy+ISqfy/oM8NNxAIqV2JSOGzMSvUWgDT9rnq/fO fj/re2TQr1mlJSwtB3N2rC97IHZmJxwuUFehVwkWtGmj0G3PYUPM24E6tH61QCXoVdeN ZACfLCYIA4SswA7CDenzWxCKc/v25GAuXwJ7JcxUskufzh1gcaDFplY7Wk/7plb9rl6E o2jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678358283; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SP7ogHu4uEwFtspxJxJ7OoykCfesXqAmJ+tahNVJNKA=; b=f9xdmxmArliCYPrkjpLsOWK+e8WODw1Yo+25X+eNxRxFgIO/eBjY/2QWTYnUZ1Iyr9 XDEz883dtU/WtiEhROWc8/gPooZxF6E38h0wbiOIU5h2YgjquuRRptK/FHwhnLF5E20G dHkzTQo1iKjr1ktXip9jKw6ey4dl9wJvv+D4Mmgb/mvavCCSpvPLtE58UUW+znjVsgqq uZsoHO6AlyV02WLexKbZOAmcQYEqv95rH8Sn/qKjvjPX2Qzony42Beg6dCBQ+TVUDm3m mThpdcI/V8Q7CT9mOY02Uc8D+7/gSswi4EciOLzKsSoYwT4VVK2PbSYBPC0yjVliX1t7 KIAw== X-Gm-Message-State: AO0yUKXeLKBNmpgnNb7t7O3bnzLkTqfmnd7VELAEqn05PioVe122EeeT 1C9N3oSo6gV0opbG/Ff8IRPZMQ== X-Google-Smtp-Source: AK7set+Gkmg9ifYkYsar4c8KmwUa26YsS53gx3ZL9qHYQtzrCCpIZx0iNO9b/XD+6XnZ/WgqPvEjaQ== X-Received: by 2002:adf:ee86:0:b0:2c5:3fcb:681e with SMTP id b6-20020adfee86000000b002c53fcb681emr14191497wro.4.1678358283505; Thu, 09 Mar 2023 02:38:03 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f14c:2275:50fc:c056]) by smtp.gmail.com with ESMTPSA id f2-20020a5d58e2000000b002c56af32e8csm17638119wrd.35.2023.03.09.02.38.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 02:38:03 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v5 8/9] arm64: dts: qcom: sa8775p-ride: enable the GNSS UART port Date: Thu, 9 Mar 2023 11:37:51 +0100 Message-Id: <20230309103752.173541-9-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230309103752.173541-1-brgl@bgdev.pl> References: <20230309103752.173541-1-brgl@bgdev.pl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bartosz Golaszewski Enable the high-speed UART port connected to the GNSS controller on the sa8775p-adp development board. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts index d01ca3a9ee37..cba7c8116141 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts @@ -13,6 +13,7 @@ / { aliases { serial0 = &uart10; + serial1 = &uart12; i2c18 = &i2c18; spi16 = &spi16; }; @@ -66,6 +67,32 @@ qup_i2c18_default: qup-i2c18-state { drive-strength = <2>; bias-pull-up; }; + + qup_uart12_default: qup-uart12-state { + qup_uart12_cts: qup-uart12-cts-pins { + pins = "gpio52"; + function = "qup1_se5"; + bias-disable; + }; + + qup_uart12_rts: qup-uart12-rts-pins { + pins = "gpio53"; + function = "qup1_se5"; + bias-pull-down; + }; + + qup_uart12_tx: qup-uart12-tx-pins { + pins = "gpio54"; + function = "qup1_se5"; + bias-pull-up; + }; + + qup_uart12_rx: qup-uart12-rx-pins { + pins = "gpio55"; + function = "qup1_se5"; + bias-pull-down; + }; + }; }; &uart10 { @@ -75,6 +102,12 @@ &uart10 { status = "okay"; }; +&uart12 { + pinctrl-0 = <&qup_uart12_default>; + pinctrl-names = "default"; + status = "okay"; +}; + &xo_board_clk { clock-frequency = <38400000>; };