Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2814643rdb; Wed, 4 Oct 2023 12:13:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH0cg6AgIpj0OmfKOiBUZFoU8LPsIRB1/fwaCv6zZl1oWQLrR2ER6r6Y0HcLzRGX2DE998E X-Received: by 2002:a17:902:ea8d:b0:1c0:c640:3f3e with SMTP id x13-20020a170902ea8d00b001c0c6403f3emr3299135plb.42.1696446815862; Wed, 04 Oct 2023 12:13:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696446815; cv=none; d=google.com; s=arc-20160816; b=CbBby92rTS0/g66EAJTZoPu/y2Mz5+ZKH5AbNFQFPUMevjCoyCkRUVgc64BicfUIqG xRXb5oABLZ7RxAUQEZFsLRabeIaCq9cgyVG0AiKAjCM0XiYkoAa+GdYsBnK1gYS8cLhA XvhR228fSA6NuD9dq5SNky/19rATrcv3LBNOS4kue9kB/n44iKcAknuWvBG7S6ZBeL/E XcpiTJdhizpqyNkgNOzRbR/ZTngKJDjvR8jwfn9ZjIRzsSMAY+k7P7ZhBvrKzud3LzI2 6ZbGoeQGCV+IEg7l/XDNxIucrMaKNrq938aGEY7vtvolQv+nUl5uAFVGFotI4Fn1dTS5 pt0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=EAHnzBAVMvUdpdTTBnwVC8jLauXLK+oisY8K0JNNWaU=; fh=IszotsRpiImiEPzAglYfD7ONl1YPGCG4eKBDdVahjd0=; b=KQyWH45ppCl+RxZDf89go/gK9BuFNOMzlDnmWRqMQe9LNFtAzjgvklO7rJwVG5xL4a YyliU3Os2isDZK9l6HcKE8S2pJn5EinKr8aJS8+ClmiN+0ZqnrG77ofreHYY2aSEagOA KtOFyFz9JlZKdG5T2VKV4o4PVDkyIeQBHdnuZgyF3vpsBXgOaS4E+lB/e6gNnY4tRBz7 uNHUzYl9Dwkio5CMJKl+b915xZciUaB+naUTYFs8Gq8U8JKpzECfQT3OIkkkCn/a+o0Z GBaRv7mg7L1xnGGVtGv+7aNe/1/57OabV7Fnbyn0SyRcu2e+kW8rQrdSWJzQpgkSSMTK Q/2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VCaCY4Nr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id c17-20020a170902d49100b001c32fe6cdf9si4561260plg.386.2023.10.04.12.13.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 12:13:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VCaCY4Nr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 56E5984555B0; Wed, 4 Oct 2023 12:13:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245321AbjJDTNS (ORCPT + 99 others); Wed, 4 Oct 2023 15:13:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245206AbjJDTNN (ORCPT ); Wed, 4 Oct 2023 15:13:13 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E7A5F2; Wed, 4 Oct 2023 12:13:08 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5344d996bedso176457a12.3; Wed, 04 Oct 2023 12:13:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696446787; x=1697051587; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=EAHnzBAVMvUdpdTTBnwVC8jLauXLK+oisY8K0JNNWaU=; b=VCaCY4NrmsNVzC3TD9zSnY9q9KAuxrtQD1W/UO/9REAyZ9uLk579fdvJY4WOvfF9Cc Ngbcx9OKJtwVeM+Uc/7+hnmO6Ps+i/7nir/mJH9EFOWsQnrZC9OrVhXg+CHmnao+KLfv kFoJENvOApfl5rmwl/auqXxeaSM3QofN2GGKrU4uRXILfL1gcT1krqGSbFWnIz39VKfp Rsym31H1k4HzJYlPba+M8XrZR85Q4cx9iM0fexolfu4q38NTTQITTiTFGV5l7vepB3Gp pwa8bIYigOpnrNdSYsNSKLgji+dWDN6HOcVfDaQ2U1Dhm/c4QV2ibG3J+tP4Bb9cZbYH y/qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696446787; x=1697051587; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EAHnzBAVMvUdpdTTBnwVC8jLauXLK+oisY8K0JNNWaU=; b=jmYGfBosurxxFHxhol2o9zpfaepi8O4UUFIXTxlL0zqprI6V18uycRkTEFMNGVZJxl v1aMlrW0MqZz2I/m/EtjeeiMhJalnRTCZ0/Uqox3CeOxKNytGa8U/+x+M1Ar4dLpFtX/ rqeRWQsTPaDg7lflLITPiNCD+XcKCZvRYNpKzOzosPNnOPh6b3Y9U6yFuk2/fzy7hjz9 bVk5MZz0uBUozXVAbYq1mt+CksBFi+5e7VDWuN2fh5+mvZzBsOH2qF38bScMBfxvO7cV cC8R7au5jR6aL3ma6sMnOUFF4+ICr6wSGNXLA8WqnZdSIDMLYdY03XJXgw3gJ06G2dhF gJvA== X-Gm-Message-State: AOJu0Yz8jfTXHSjbxNqu0t31/RHS9LL62KvI5Cl6RzCxolNHJrg1iO9V DOK5/MkzC4raHG9AUMaP0Pw= X-Received: by 2002:aa7:df86:0:b0:52a:1d54:2531 with SMTP id b6-20020aa7df86000000b0052a1d542531mr2731378edy.30.1696446786996; Wed, 04 Oct 2023 12:13:06 -0700 (PDT) Received: from fedora.. (cpezg-94-253-131-161-cbl.xnet.hr. [94.253.131.161]) by smtp.googlemail.com with ESMTPSA id p1-20020a056402044100b0053112d6a40esm274220edw.82.2023.10.04.12.13.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 12:13:06 -0700 (PDT) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH] arm64: dts: qcom: ipq5018: add QUP1 SPI controller Date: Wed, 4 Oct 2023 21:12:30 +0200 Message-ID: <20231004191303.331055-1-robimarko@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 04 Oct 2023 12:13:34 -0700 (PDT) Add the required BAM and QUP nodes for the QUP1 SPI controller on IPQ5018. Signed-off-by: Robert Marko --- arch/arm64/boot/dts/qcom/ipq5018.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi index 38ffdc3cbdcd..484034e65f4f 100644 --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi @@ -146,6 +146,16 @@ sdhc_1: mmc@7804000 { status = "disabled"; }; + blsp_dma: dma-controller@7884000 { + compatible = "qcom,bam-v1.7.0"; + reg = <0x07884000 0x1d000>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "bam_clk"; + #dma-cells = <1>; + qcom,ee = <0>; + }; + blsp1_uart1: serial@78af000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0x078af000 0x200>; @@ -156,6 +166,20 @@ blsp1_uart1: serial@78af000 { status = "disabled"; }; + blsp1_spi1: spi@78b5000 { + compatible = "qcom,spi-qup-v2.2.1"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x78b5000 0x600>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + dmas = <&blsp_dma 4>, <&blsp_dma 5>; + dma-names = "tx", "rx"; + status = "disabled"; + }; + intc: interrupt-controller@b000000 { compatible = "qcom,msm-qgic2"; reg = <0x0b000000 0x1000>, /* GICD */ -- 2.41.0