From patchwork Sun Nov 18 20:01:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 151436 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1853560ljp; Sun, 18 Nov 2018 12:04:18 -0800 (PST) X-Google-Smtp-Source: AJdET5dd5r+cehtM1bw9awcN5GemqEdrsqqfxn+jCpEg2imB2JkHkGza6lF1ldBZrxjSKvSxQOu+ X-Received: by 2002:a17:902:24c:: with SMTP id 70-v6mr18854705plc.120.1542571457948; Sun, 18 Nov 2018 12:04:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542571457; cv=none; d=google.com; s=arc-20160816; b=SHHhPrcqtCorRBGSjglHKxIHroreF1Gl1Q5HF18ZHyUyS/aqUoMy5zQPPrKSFmTJNx HeST9RacboK1Ilaecl8cBcwMEhmRLKK9uU9BvUlZpydvYdGsD3uJx8ocIfB/xbR1e+BF 0GE8IQR5g0SqYSpIsIPpFd3dQ7bxLpktaf+86rn9QXD7OpRZ57EVpDOY6H1iJrlybzCU 6vh9Dt7wDoa8PVE1DUDDjHaxyzf6zCfe1988kAmf/DaKL3LUwEMU5mAg5peH32XAleUl FpN9dwj7UJ0xlApDoPUJg9Pb41Q/PJBCRzbEe6i6KaS5c8Vc0OtUMqYnV/4rK2QfJwzR UpbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=hdFjveG7Hbif97xCDVfIVa5NxJUPIWCTnkSToZ6FZ8c=; b=hja9WnRxeiu9aGAkUoEJsHPfLnG9bmnDNP5rE4y9CvxuKQoA56ULWEE3sEiR7yUqW9 jxISUZRoiCo/lkRd/SWHBBNAMbykWBMgN4zf5jY18z+d9aOYEROkOS+x2KubOBczlimN tI3UDt4nc/vUKrBJFrx83rfKGmvuAvh/ReebmcOEvJke+TFcQlnhBxWCO7ekdzwNGCV7 f0hselVW8ISQmXJSLAfB+EWJz3MBRUau3uAePkzwHpshb0T8hDFpdJU2yeRarmgmlM5V 7kIvwIivaLpjJXmE0+ut2noDj8aCarPxbe5fDPaDYVB9qOiDQKoCKsG2x38xt8JuHN2j 96Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ivI2DIgF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3si8006263pfh.58.2018.11.18.12.04.17; Sun, 18 Nov 2018 12:04:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ivI2DIgF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727522AbeKSGZW (ORCPT + 32 others); Mon, 19 Nov 2018 01:25:22 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:44877 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727413AbeKSGZV (ORCPT ); Mon, 19 Nov 2018 01:25:21 -0500 Received: by mail-pf1-f195.google.com with SMTP id u6so1315702pfh.11 for ; Sun, 18 Nov 2018 12:04:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hdFjveG7Hbif97xCDVfIVa5NxJUPIWCTnkSToZ6FZ8c=; b=ivI2DIgFMyNyKpW7lPPsw7vVfS4NVtmjj99amQ6ukh9mI2guCJ9LaMON/76JbIeMdG lYT6YSKb6a9vtkZdiVmLJB1Qij7UqhdwbfjEPUtmXEOh8hDSe8VJDBLbdoSLUKwzaBKD lwwGX44Pxbz+3QrcIc20Yy7QeqVFi0XtLbvII= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hdFjveG7Hbif97xCDVfIVa5NxJUPIWCTnkSToZ6FZ8c=; b=LjjCevLOrrGPqyI3JJxP27MhhRe4mW6dmsJNo/XAbRR1Z2+P4rxCPTjzv4V1v4oOTJ plckqOtKRHtjZff920AJGh1Ohz0iOJ0bM1wdIrRfL0fSx++2Cbq4RnylloUG3+SACtGi qzWcE6GsdB+al1h6FCEYARTEDWj11C4qOirt2vLEyn9AQBHuVT8YrPyX1NStKGJknuF2 De/WBdQoSIwaVtFvhsAUEA6yLJCMYSf8XXVBp5Kva4NkabQ7a7jLxnXK9TM/9TcwahAE 1FL6xkLRaE3wdzpHISCgwifJqF9ZxJB1G2cKTA03YL13CpzkoQ6W6/a7EPRx985auzv+ 4IBA== X-Gm-Message-State: AGRZ1gIRPLQ5B/D8bvmxmj28a8VtGaNXachDoecEELJfpniIONXHKt8N ulacCbEPybDx7rZ0RYCWc8TvGw== X-Received: by 2002:a65:57cb:: with SMTP id q11mr17604579pgr.60.1542571447544; Sun, 18 Nov 2018 12:04:07 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id p15-v6sm64102434pfj.72.2018.11.18.12.04.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Nov 2018 12:04:06 -0800 (PST) From: Bjorn Andersson To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: qcom: qcs404: Define remaining UARTs Date: Sun, 18 Nov 2018 12:01:34 -0800 Message-Id: <20181118200135.25258-3-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181118200135.25258-1-bjorn.andersson@linaro.org> References: <20181118200135.25258-1-bjorn.andersson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the BLSP2 BAM and add the remaining four UARTs found on the QCS404 platform. Note that these has not been tested. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 84 ++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) -- 2.18.0 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 9ec5c85fcb81..ca00987d6400 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -273,6 +273,16 @@ interrupt-controller; #interrupt-cells = <2>; + blsp1_uart0_default: blsp1-uart0-default { + pins = "gpio30", "gpio31", "gpio32", "gpio33"; + function = "blsp_uart0"; + }; + + blsp1_uart1_default: blsp1-uart1-default { + pins = "gpio22", "gpio23"; + function = "blsp_uart1"; + }; + blsp1_uart2_default: blsp1-uart2-default { rx { pins = "gpio18"; @@ -284,6 +294,16 @@ function = "blsp_uart_tx_a2"; }; }; + + blsp1_uart3_default: blsp1-uart3-default { + pins = "gpio82", "gpio83", "gpio84", "gpio85"; + function = "blsp_uart3"; + }; + + blsp2_uart0_default: blsp2-uart0-default { + pins = "gpio26", "gpio27", "gpio28", "gpio29"; + function = "blsp_uart5"; + }; }; gcc: clock-controller@1800000 { @@ -347,6 +367,32 @@ status = "okay"; }; + blsp1_uart0: serial@78af000 { + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; + reg = <0x078af000 0x200>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_UART0_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + dmas = <&blsp1_dma 1>, <&blsp1_dma 0>; + dma-names = "rx", "tx"; + pinctrl-names = "default"; + pinctrl-0 = <&blsp1_uart0_default>; + status = "disabled"; + }; + + blsp1_uart1: serial@78b0000 { + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; + reg = <0x078b0000 0x200>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + dmas = <&blsp1_dma 3>, <&blsp1_dma 2>; + dma-names = "rx", "tx"; + pinctrl-names = "default"; + pinctrl-0 = <&blsp1_uart1_default>; + status = "disabled"; + }; + blsp1_uart2: serial@78b1000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0x078b1000 0x200>; @@ -360,6 +406,44 @@ status = "okay"; }; + blsp1_uart3: serial@78b2000 { + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; + reg = <0x078b2000 0x200>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + dmas = <&blsp1_dma 7>, <&blsp1_dma 6>; + dma-names = "rx", "tx"; + pinctrl-names = "default"; + pinctrl-0 = <&blsp1_uart3_default>; + status = "disabled"; + }; + + blsp2_dma: dma@7ac4000 { + compatible = "qcom,bam-v1.7.0"; + reg = <0x07ac4000 0x17000>; + interrupts = ; + clocks = <&gcc GCC_BLSP2_AHB_CLK>; + clock-names = "bam_clk"; + #dma-cells = <1>; + qcom,controlled-remotely = <1>; + qcom,ee = <0>; + status = "disabled"; + }; + + blsp2_uart0: serial@7aef000 { + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; + reg = <0x07aef000 0x200>; + interrupts = ; + clocks = <&gcc GCC_BLSP2_UART0_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; + clock-names = "core", "iface"; + dmas = <&blsp2_dma 1>, <&blsp2_dma 0>; + dma-names = "rx", "tx"; + pinctrl-names = "default"; + pinctrl-0 = <&blsp2_uart0_default>; + status = "disabled"; + }; + intc: interrupt-controller@b000000 { compatible = "qcom,msm-qgic2"; interrupt-controller;