Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp109350pxb; Thu, 21 Jan 2021 02:37:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKL8SaOcPMAOtbxQRJW5XzKGwLiWDm4qcwDX/phr7Xnpm1vSaxs5oMW7F1yNWZeCqcQoTk X-Received: by 2002:a17:906:2087:: with SMTP id 7mr9091031ejq.232.1611225422969; Thu, 21 Jan 2021 02:37:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611225422; cv=none; d=google.com; s=arc-20160816; b=TVPRF7s9ZuuFG9RoGtBjf6NfoPom5UBOx0LzoP7cngtwYFwlDnWk5a3QG7PwbgB7/k coGoUsd8k+2uvkHJ5qtT5HIMmQcAv0mtSa5jkr7GGUWXMTvpIzhYOC1UglMs+EsQHoNi xM+vqguc88yxPsn+VQ3EMYD4T0mB9wZcWINmJVJW4GHcQwHeyd/PojqDHJ0L1GS6j+i1 OuGrJ6HVCfWVQ5QQH8ngo6mspRnfE8d6gzwmYt/9iIog3JG0L07kC4Wj4FyjQjWu8NKI EI18A6UIfQ9G1112W69Oy0Q4i0L0LhS/rHlkrpRnY92nojV5avMu5roF/Sdv3eq3SIgd hTZQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=GNK9N3T38YhUgrGC5k8OofogzzGXsoOOgdmBxZQfsto=; b=ncLFbSFvH7WeiZr74ooU/HVDxc+TTd6u7sfMG8bIfWZ3DLIRZtMqQAu6RFJqFAioJe iSvUjMoa5T4qZ+Go569FIzeaZwD5sAbjs/GzLliqlh20PleQlCHOaXfdZAex8f8kEyiF VK4zMfe0k7Sm0UljhMV721YwH26NDInbAe1iA4BQUN3uKLDu7ufTvsa6/Tjo2WAbJnWq qPH5vyhtaSU1OU3zQ97M1CtOJsTt4XNJjZ7ybu75BMdM4d34y+ghWCg8dp61nuHxHMAN kH8J3fle5ejVSXhvuKOVS4uI6AnQBLMWxIKDTbyXXOVBHIaxazbr+oMs1CJYMoLYFxia 6rWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=HYyuQYhb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si2047704edy.556.2021.01.21.02.36.39; Thu, 21 Jan 2021 02:37:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=HYyuQYhb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729372AbhAUKdk (ORCPT + 99 others); Thu, 21 Jan 2021 05:33:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729363AbhAUK3T (ORCPT ); Thu, 21 Jan 2021 05:29:19 -0500 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91CCCC0617A0 for ; Thu, 21 Jan 2021 02:27:22 -0800 (PST) Received: by mail-ed1-x531.google.com with SMTP id g1so1825964edu.4 for ; Thu, 21 Jan 2021 02:27:22 -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=R8Z8h0L/L1mOlcGd6K32faDzV3D4TDpYzoiFohJj2R1AYmq60YIdcahl9AkxXIMxLL wqWW5sLip4VTldUaClLnVIp8iAK4MQOCuBSANyLk8JHz8x6TtfkEsWJmACZb7BFA6zI3 sUA9dUdHmkbVyqXkYWBWTXvinrZ0bNNOpGwU5Yt3zoWGexPkNg5q85xWOEZudbTvV8QM iZSg5eiyILdgbG6BkLVNsy5FCdzgJsSfJI7vASyX63kwdO1ipttt6OJCe6LI4WZsC5Je pRM0LPOuGQM7PKZ29u1GVR/19HrJUe8Ags86IwXIGGAtep60+nJR4FCAii7xc7LPysaw 8csA== X-Gm-Message-State: AOAM530aJL4N7QY28tYdrywuZberA7jn3PXknqT8yzFeeL/hnXjmYm3p hvOQfp58q4jnI1Sc29QJu4WcnWBSckQ9sLpA 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) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Cc: Kalyani Akula , Krzysztof Kozlowski , Laurent Pinchart , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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"; -- 2.30.0