From patchwork Thu Jan 21 10:26:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035489 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3B08C433DB for ; Thu, 21 Jan 2021 10:29:58 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5782C233EA for ; Thu, 21 Jan 2021 10:29:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5782C233EA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=aEzYHXY4umBPoTnSF/X+KQUoN8AsXdMLZyKOPTjXSz4=; b=SakMl7FVK5L7WE7YnD4Yrgudc oMGMQ62zDHlYd1OUBqnVzmj5jcakTATx/zBg1dRg/14iMWAa/0OPqgEk3+ak1i0jPxmZgCi+kDUdx 6IxSRa7FJFVa//Rhc6TTzyYomV3N91XlE3+5UuXYHN3zA99/bVDpoPJfkrMCHZJ3AaToWVeBBflF+ MLWAESqogINsoKLsezpT5Zrn48L1vDJSMZdF9pI+ncbCI0+31oQSvRtz4NkqDvzBe+FHiSwSUxm9m wnure+pxVavUOWYYrxHhpdENpSlAVn0ZrUmL6xJny2O5CKeVn0dOdpIqBpoMmjdhJovEmY0mXW/wg YWkPj8hqA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XCW-0004c8-Fn; Thu, 21 Jan 2021 10:28:28 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBS-0004EB-LV for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:27:30 +0000 Received: by mail-ed1-x52a.google.com with SMTP id s11so1819632edd.5 for ; Thu, 21 Jan 2021 02:27:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GNK9N3T38YhUgrGC5k8OofogzzGXsoOOgdmBxZQfsto=; b=HYyuQYhb3vlambuevU2qg2glhaHQfUL6mSxu5Ia29/jyY8dKjN+Qwsh/lSsG6zfUnu CzLpvhg5FXccAW+CRtcm21ysFXZ5WBNOgU7xm58ESR+Jo6hWOfoJ+YcenKmsyaOHsSev uu/0msOh0QStE46FnqnkmCuvwqTrh6sl069sSchhQdrfCbUuo7uTR5e9oE/QK6ox59qt 9nIhM7m19smeFfhhJIJkqAK9lTIRvLPStI9sOXyGDF2tkVaLQaqU1+fK9/f0O3TLsoI+ SL4cKRwQIE/kjt7NZzGqM2g4mQxK85+VKxgeWSBTMZOxz6cGzqg+N19QKzD2u6WZcyel ZPaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=GNK9N3T38YhUgrGC5k8OofogzzGXsoOOgdmBxZQfsto=; b=B4+rUBlcg7Xk8pxXbNcuanDfKott897tlVC9dbtGcpg45Z1qZoCsl4Y7KQ4qjxnJHM v4mVBRVCaPYEwERpecfHrMfKyEXghH8NfFfn81a12AJze2i2c1IMakt45Yybcmv9KMpK TV0vlj3ncq6Ifh5zNwR/oZr0ZBA+d3DEAGVlAREXmLwGsMxQ7TjofcdyU3CLPubxfi9m DuWB0WNDo3DT+rhg24IfqD5ByfRNAJNVmM3e11JAZCFBt/Ne58Rxk91k+H2ruDnccE4j iHCcg7at+ygc1cICvr652Z6c+WiU6aeD5gHsTpp6QmqdsrAkqSvHlDfGzrARLPpy5amS ZCAQ== X-Gm-Message-State: AOAM533n13+uwY8KuTX8jXFjMKPDqNWFNuRaXeF3fQveDRyxyPbzU6dx dRrB1JE6kVmKKmB7tt67gFUIgw== X-Google-Smtp-Source: ABdhPJzVDZilXB8vF30xYM1cxZML55xMoXet5ush1lgqIu5cj0B5g8/s3k4+VMc8XCxR1x3u/9nFNQ== X-Received: by 2002:a50:a086:: with SMTP id 6mr10506311edo.70.1611224841107; Thu, 21 Jan 2021 02:27:21 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id n15sm2037406ejg.5.2021.01.21.02.27.20 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 02:27:20 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 09/12] arm64: dts: zynqmp: Wire zynqmp qspi controller Date: Thu, 21 Jan 2021 11:26:57 +0100 Message-Id: <5cebbc59a452f282c4ce0f0e1dffecadac8f126a.1611224800.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210121_052722_762910_44E58710 X-CRM114-Status: GOOD ( 12.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , Laurent Pinchart , Kalyani Akula , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add missing ZynqMP qspi IP. It works in single mode only. Signed-off-by: Michal Simek --- Changes in v2: None arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi | 4 ++++ arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 14 ++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi index 7af57619436d..6a577e1383c1 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi @@ -164,6 +164,10 @@ &pcie { clocks = <&zynqmp_clk PCIE_REF>; }; +&qspi { + clocks = <&zynqmp_clk QSPI_REF>, <&zynqmp_clk LPD_LSBUS>; +}; + &sata { clocks = <&zynqmp_clk SATA_REF>; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 19b349f00ce7..533c19b80283 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -595,6 +595,20 @@ pcie_intc: legacy-interrupt-controller { }; }; + qspi: spi@ff0f0000 { + compatible = "xlnx,zynqmp-qspi-1.0"; + status = "disabled"; + clock-names = "ref_clk", "pclk"; + interrupts = <0 15 4>; + interrupt-parent = <&gic>; + num-cs = <1>; + reg = <0x0 0xff0f0000 0x0 0x1000>, + <0x0 0xc0000000 0x0 0x8000000>; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&zynqmp_firmware PD_QSPI>; + }; + psgtr: phy@fd400000 { compatible = "xlnx,zynqmp-psgtr-v1.1"; status = "disabled";