From patchwork Thu Jan 21 10:26:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035477 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 2799CC433E0 for ; Thu, 21 Jan 2021 10:28:49 +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 B4150204EF for ; Thu, 21 Jan 2021 10:28:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B4150204EF 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=t5JDDNwXGJ92IWIK2BbV/4DarKREtxA5cj8/4nZtWxw=; b=GlZY8rQMJV9iuh2QOR1hSovG5 OGmTKKkwUf1DpX1iyapg/3tWoPyIOcf3Y91OXHK5M0bTL9HYvm7IDFcz4Dyv6WeJqFH8AY7GSPncL chC/GR9fq/tSONoQT0xJOtO6/Zgt2KX/8zHGE78KmPt/XDjhzyt9Z/F+Dl21SRNvFWCMNwZqp+MjC 1DfGlSUYzfkbaU/02HDgT6kZCPP6huHxb1nOlpEDpfCVAxegJNTVsTazHt8rVyQxoLZoIdghTYPQX vgCLuVH03RoDtp0288128XqPp0WFN+U4tI12MhKcloryEULUzEuZRJFb+DZzzCzTEbGRQqBzMcCyM vAyBnFUrw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBM-0004Bl-U0; Thu, 21 Jan 2021 10:27:16 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBE-00048r-QJ for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:27:09 +0000 Received: by mail-ej1-x62d.google.com with SMTP id ke15so1816547ejc.12 for ; Thu, 21 Jan 2021 02:27:08 -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=LSCVpYUnbF/iwkll9PDRzd42GEI1bF94/HSaocuDHZw=; b=1S5GqVPBdt8g6I9aOE9sWC2hzjK4PpwpsafOKYxQvfq/kNM1TGt6CvDHDpCr76QcY9 0dLM3mArjI1BWMy8HALayN0HhPsEkc/gWd99lY5lkcL7Ql0odIk0jJSiBryaN+QLOETe Fc5dHdRgIlpVtRCN4J3rWxjBctd3W2dCEhoMZP9IWJYWyQgIhBPEVOc7i4BSNzWrCmOA /5Hd1CkHMBY73yTB3NkRJp/YjQ+PWqBvl1IphLhfXs+DT1kccPVg+bBwxeTbn8C1+z0Y U6eNrZ8raMUgRVvalJQN9w8rNkMfY5i4loxVVdYS6CUJ8W30bNQHdNSRm3zV0i+Mm9qR NVGg== 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=LSCVpYUnbF/iwkll9PDRzd42GEI1bF94/HSaocuDHZw=; b=AzHkMM0K5YWPBJG0QNUxThZMIAJHyKKtwis0Lmdl1mIhYY5s4DwauvOjO8cDwvWLT7 DEKpABrPsZX9ekbRd3PruINqzP488poZhxOoj8KcPnqnEFlziPGI9LKQ3QEO7rrXXPVR hSFseNK/byh1HhoalUuaB7L+UnLF+l5yIJz1rbMw+jbzrQIhPcfjDFzp0ZqqRsx9z8E+ lYASHgghaiKlX7Fv281WSFawhKvOZlzAO84g+WRT2Pyexox5r+D2QfQMoVN8R1VmZxpR jtpgIHQadbSNgPVEevNpnjsbpKOxZ79V99qVQywVEW8ekL5cgEyExCDar2HB/sQKvrE5 KCrg== X-Gm-Message-State: AOAM530GrdW4XfbDKR6Jt0o/h3lN2+RsbKP04QgghiRJXjx4/ukxPMFS CmWgR82ajzjtlZvTKLAq7rORcw== X-Google-Smtp-Source: ABdhPJxUn2eGSg86H6sk9lDGPsuATsvqPZPN0+lhXDQUsO+oW74tiGDP/pAYHDbjBQ1jS0D+s/n6FQ== X-Received: by 2002:a17:906:6087:: with SMTP id t7mr9016712ejj.90.1611224827450; Thu, 21 Jan 2021 02:27:07 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id cw21sm2438052edb.85.2021.01.21.02.27.06 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 02:27:06 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 01/12] arm64: dts: zynqmp: Fix u48 si5382 chip on zcu111 Date: Thu, 21 Jan 2021 11:26:49 +0100 Message-Id: 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_052708_892216_10401178 X-CRM114-Status: GOOD ( 14.44 ) 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, Rob Herring , 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 u48 chip on zcu111 is si5382 not si5328. Signed-off-by: Michal Simek --- Changes in v2: None arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index 2e92634c77f9..d9a8fdbbcae8 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -410,7 +410,7 @@ i2c@4 { #address-cells = <1>; #size-cells = <0>; reg = <4>; - si5328: clock-generator@69 { /* SI5328 - u48 */ + si5382: clock-generator@69 { /* SI5382 - u48 */ reg = <0x69>; }; }; From patchwork Thu Jan 21 10:26:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035481 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 6C17FC433DB for ; Thu, 21 Jan 2021 10:29:00 +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 08C4D233EA for ; Thu, 21 Jan 2021 10:29:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 08C4D233EA 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=E3qV7ZXd0e61Z8wfT0Pe5qgVG0N6YJ41kTWWngG1Nvk=; b=jdPsgF5eCGxWMkdk9KSckh+/x bzDDom9g3Yx2/NwCC2hS5YpubEiJnsAA8g/bAvNmwFtTmRKWxS5jI+LPk1y2dKPlNMUnk/JrgxJuO UdRfmADLCVw6V9dvq7b80wrGM9NqaGrp39C45wgjc9ZlxmZHuU55zu/IVPPPNQdS/hjUhC1/cKHDM tPG7OztmE3ZzTKP8BAEyhtohCfpCqmmPIRMguKeQ48HGTkXA03eBc68vJTJQ7tpf5+tZBdhpEQPhb fpd/BNViUBfc0cgja2Z1ej9ewoIfLwntiMWNKzcwQ04VbV/7JqP8F5r/hU+UBwhxm/oysPWGCLsrF j4ekh8b+A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBR-0004DT-9Z; Thu, 21 Jan 2021 10:27:21 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBG-00049N-La for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:27:11 +0000 Received: by mail-ed1-x52d.google.com with SMTP id d22so1840286edy.1 for ; Thu, 21 Jan 2021 02:27:09 -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=1eHEW+QzC2xwdpZCYQ8B7dxLc9e/zDObheOb3Ploj10=; b=guzBJXAKzZINhmhHwTrjm3eh0IPQZQ7C3LnaL2ALWBfoeUyUiOtXx75JK6r+5Wigpw TLKpctJEAXyca+hk0AC+7ryXiilWnsPI4ybDILjHPjoJyU2d2rzXpPjE/9oEaPHZZeUa xfoND877EpzerU3IPAtyf87+zuvO79I1+iaj/yPa1tevvuBhyzAjn/1xQRF+eC0yqG4w bzoS/BCSRlVepvRc6uQP0qtiJcen7s1CnQzslJmX81J1WjZ+JVXGFfzz3/Rpy8F3ntIT kOSbaUb7/fkaGiArq32yPXy6hMZAr3XO7+a7+SaN7dNv7a9p3esECI5f2tPAAl7asHYv jl+A== 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=1eHEW+QzC2xwdpZCYQ8B7dxLc9e/zDObheOb3Ploj10=; b=b8Ewkh4qNC7XOL3EgG15lZTny7IKeEvjjPOALUEu0qhOoD8d8Y0h4rbMIG5aoDBqQL gcUavYKDn876MkoVD7tlmKGSwl3G1WlDXCVIV8ufrod7ZwQ/O0ObZ7j6NUt3UqGfYgbg KIMRa2H2RgHkUzrPfHW4NlSAvuyzG82wQUJYLh6gf33Q7ZO7TplQWVr+7WwuR/Sp4lSa Z02ybBpBZ6belzaXJacg8GH5d6fij+cMHp9PwAK4BfN8/1c4CGY3IvEZ3G1/Q+EM1Cr+ eYoKz9eg8E5xJJQe2q9WwtqVCd0jmYZKoxRiFG4AVpPwClVTLP0JUWHrdoQGDrkOEQTf At6g== X-Gm-Message-State: AOAM533API+QcFObMP9EOamNzVLVXoVvE44N80fKQZlVV//E77brLlfy nV/CV/6j1D2X7GX4J4rOLwYDgMw8vlowMv9M X-Google-Smtp-Source: ABdhPJwXZ72+lpmAS2fYndbpRecB2/4p1VcDXYFnZ7DWsTNNJRr1y4Zjd3cA2SPjf3aH6MdaYPehkA== X-Received: by 2002:a05:6402:1041:: with SMTP id e1mr11156595edu.54.1611224829153; Thu, 21 Jan 2021 02:27:09 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id u23sm2487904edt.78.2021.01.21.02.27.08 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 02:27:08 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 02/12] arm64: dts: zynqmp: Add DT description for si5328 for zcu102/zcu106 Date: Thu, 21 Jan 2021 11:26:50 +0100 Message-Id: <82b2b13006307f108ace81c50c213c3857078b57.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_052710_753892_F11FC1F8 X-CRM114-Status: GOOD ( 14.65 ) 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, Rob Herring , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Origin DT binding just specify driver but wasn't aligned with DT binding which came later. Extend description for zcu102 and zcu106 to cover latest binding. Signed-off-by: Michal Simek --- Changes in v2: None .../boot/dts/xilinx/zynqmp-zcu102-revA.dts | 17 ++++++++++++++ .../boot/dts/xilinx/zynqmp-zcu106-revA.dts | 22 +++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index f1255f635dfd..5ff7ab665374 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -132,6 +132,12 @@ ina226-u75 { compatible = "iio-hwmon"; io-channels = <&u75 0>, <&u75 1>, <&u75 2>, <&u75 3>; }; + + refhdmi: refhdmi { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <114285000>; + }; }; &can1 { @@ -526,6 +532,17 @@ si5328: clock-generator@69 {/* SI5328 - u20 */ * interrupt-parent = <&>; * interrupts = <>; */ + #address-cells = <1>; + #size-cells = <0>; + #clock-cells = <1>; + clocks = <&refhdmi>; + clock-names = "xtal"; + clock-output-names = "si5328"; + + si5328_clk: clk0@0 { + reg = <0>; + clock-frequency = <27000000>; + }; }; }; /* 5 - 7 unconnected */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index 6e9efe233838..7910ac125101 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -132,6 +132,12 @@ ina226-u75 { compatible = "iio-hwmon"; io-channels = <&u75 0>, <&u75 1>, <&u75 2>, <&u75 3>; }; + + refhdmi: refhdmi { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <114285000>; + }; }; &can1 { @@ -520,6 +526,22 @@ i2c@4 { reg = <4>; si5328: clock-generator@69 {/* SI5328 - u20 */ reg = <0x69>; + /* + * Chip has interrupt present connected to PL + * interrupt-parent = <&>; + * interrupts = <>; + */ + #address-cells = <1>; + #size-cells = <0>; + #clock-cells = <1>; + clocks = <&refhdmi>; + clock-names = "xtal"; + clock-output-names = "si5328"; + + si5328_clk: clk0@0 { + reg = <0>; + clock-frequency = <27000000>; + }; }; }; i2c@5 { From patchwork Thu Jan 21 10:26:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035479 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=-14.1 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, UNWANTED_LANGUAGE_BODY,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 2470BC433E6 for ; Thu, 21 Jan 2021 10:29:00 +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 CC55F204EF for ; Thu, 21 Jan 2021 10:28:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CC55F204EF 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=7em/ZW4pb2ZiV97AI1pd5U0QAmQDriLodLaV/72WqCQ=; b=fIkl0kLDCwCGmTuJWSx+I5Uu9 XP91iqd4OHfL6vp0IB1KhQ9My6b7QfjyWLqfu5ETE2oFIjyJ5d3QMxouu4do8SIUqSRcVjxaaC4T2 XA7A12HaorxbpeHa6VRAwnAcTa32R8XnS4sVKbbjb/LX0oEyV0DhOL5zxENCK+MZRi891O6B8sLdd vhDDeg9AwsBHgNzA4muekdlwrFrnMJPcqykaX0Cb5suIT0vwOmtj6ZUbNn8lyDUaHueMj8bFFvmva bEWrmLnWJyKrvrP8kjXODEUezGReGKEywuB9qSQYvg/nCU7cHuc8H/Tr1/7rHMNMw7hTGEau6DZIs rkXY8JM3g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBX-0004GF-Gv; Thu, 21 Jan 2021 10:27:27 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBI-0004AK-Cy for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:27:13 +0000 Received: by mail-ed1-x529.google.com with SMTP id b2so1830446edm.3 for ; Thu, 21 Jan 2021 02:27:11 -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=XftOrF3pZsYjg7wIL3rdWbwK37uOKDGUWg/X4U2EjrY=; b=mX9O08H2hRdIKpnalbY1xKILUPly7ewHKlxmtthed1+gAaX8dU78Eh4VqpSANCk2ZB 4feghOQ/vWhhi7l0klj2UBLiq50hdPs7sPGIoUdI3YuNdwJStjaSBK79DUcTJDvULNM4 pfruVtOVg+qtJZEt1qRhCbDE2Km53mdUZTDYfhv7OVnpNr2sMcmG3u0NbDpX56gWx2Tx o83ZUGv5Hr+zONv4F9VZ44NEo17nBUdwu4NYCT8i1N024aHZb3Fyyhf9NDSfNuyx+7b0 mJxEJQcTVU91iMdYJPWgKaD5jzR/3rYmyjkmB16VxmeLpTwn4fOziZwpwV/Ygne7JKZN b30g== 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=XftOrF3pZsYjg7wIL3rdWbwK37uOKDGUWg/X4U2EjrY=; b=Tv5zrKXo+IwM8n/IKTErwkbzIJzVx826cQMSuWf7Trq4aDUVtCxBB8OELqRpU5vZLb RQ4iQX406jMPcB52ozUYnFUuP2TWJAlKDPkryicpGrmDzsGxqJpdGL2GPNc2joPo90GT /LXs3adPX2S65mEPY3IjLmHUD5UNUGBGRwSXHqjbHqYbsUq7daVi/Gbd2IVtMm/mKub5 g2lh15LhP+A7mHI0V/xwJb6KFV5l5ZBb1Yk21eCzTRPkVhbmxOkOgpgoOuo8Skq0XCFv UJ63G6Ap8I1/oYL0F9YGUOTSIHERXQcXaR3v0c8ivGPmq9sutC3AF7ikkJjq3fMCGBv5 0T7g== X-Gm-Message-State: AOAM532+lrI+buPS4/lOzlM1dagRdUdS5VhEkXu5kBfhxfcFq+OFuWN6 VAClCU4uIRsscHp5/DshOW0x8g== X-Google-Smtp-Source: ABdhPJwY5pg2RtH8aQ5Rnp6MIrsjUFDiGOUgrRGRGZBuP9GV7gwas3P3b9m84MSsrwMpwSLTTiuSJA== X-Received: by 2002:aa7:c384:: with SMTP id k4mr10349733edq.23.1611224830847; Thu, 21 Jan 2021 02:27:10 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id a22sm2518005edv.67.2021.01.21.02.27.10 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 02:27:10 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 03/12] arm64: dts: zynqmp: Enable si5341 driver for zcu102/106/111 Date: Thu, 21 Jan 2021 11:26:51 +0100 Message-Id: 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_052712_492780_584FE654 X-CRM114-Status: GOOD ( 15.19 ) 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, Rob Herring , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable si5341 driver is the main chip for providing preprogrammed clocks for the whole platform. # cat /sys/kernel/debug/clk/clk_summary ... refhdmi 1 1 0 114285000 0 0 50000 xtal_0 0 0 0 114285000 0 0 50000 pll_0 0 0 0 40731174000000 0 0 50000 clk1_0 0 0 0 27000000 0 0 50000 clk0_0 0 0 0 27000000 0 0 50000 ref48M 1 2 0 48000000 0 0 50000 si5341 0 4 0 14000000 0 0 50000 clock-generator.N4 0 0 0 0 0 0 50000 clock-generator.N3 0 1 0 733260000 0 0 50000 clock-generator.9 0 1 0 33330000 0 0 50000 clock-generator.N2 0 1 0 104000000 0 0 50000 clock-generator.2 0 1 0 26000000 0 0 50000 clock-generator.N1 0 2 0 594000000 0 0 50000 clock-generator.7 0 1 0 74250000 0 0 50000 clock-generator.0 0 1 0 27000000 0 0 50000 clock-generator.N0 0 4 0 1000000000 0 0 50000 clock-generator.8 0 0 0 0 0 0 50000 clock-generator.6 0 1 0 125000000 0 0 50000 clock-generator.5 0 1 0 100000000 0 0 50000 clock-generator.4 0 1 0 100000000 0 0 50000 clock-generator.3 0 1 0 125000000 0 0 50000 clock-generator.1 0 0 0 0 0 0 50000 ... Signed-off-by: Michal Simek --- Changes in v2: None .../boot/dts/xilinx/zynqmp-zcu102-revA.dts | 56 ++++++++++++++++++- .../boot/dts/xilinx/zynqmp-zcu106-revA.dts | 45 +++++++++++++++ .../boot/dts/xilinx/zynqmp-zcu111-revA.dts | 46 ++++++++++++++- 3 files changed, 145 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 5ff7ab665374..68c2ad30d62d 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -133,6 +133,13 @@ ina226-u75 { io-channels = <&u75 0>, <&u75 1>, <&u75 2>, <&u75 3>; }; + /* 48MHz reference crystal */ + ref48: ref48M { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <48000000>; + }; + refhdmi: refhdmi { compatible = "fixed-clock"; #clock-cells = <0>; @@ -489,9 +496,56 @@ i2c@1 { #size-cells = <0>; reg = <1>; si5341: clock-generator@36 { /* SI5341 - u69 */ + compatible = "silabs,si5341"; reg = <0x36>; - }; + #clock-cells = <2>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&ref48>; + clock-names = "xtal"; + clock-output-names = "si5341"; + si5341_0: out@0 { + /* refclk0 for PS-GT, used for DP */ + reg = <0>; + always-on; + }; + si5341_2: out@2 { + /* refclk2 for PS-GT, used for USB3 */ + reg = <2>; + always-on; + }; + si5341_3: out@3 { + /* refclk3 for PS-GT, used for SATA */ + reg = <3>; + always-on; + }; + si5341_4: out@4 { + /* refclk4 for PS-GT, used for PCIE slot */ + reg = <4>; + always-on; + }; + si5341_5: out@5 { + /* refclk5 for PS-GT, used for PCIE */ + reg = <5>; + always-on; + }; + si5341_6: out@6 { + /* refclk6 PL CLK125 */ + reg = <6>; + always-on; + }; + si5341_7: out@7 { + /* refclk7 PL CLK74 */ + reg = <7>; + always-on; + }; + si5341_9: out@9 { + /* refclk9 used for PS_REF_CLK 33.3 MHz */ + reg = <9>; + always-on; + }; + }; }; i2c@2 { #address-cells = <1>; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index 7910ac125101..a29ff20090ce 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -133,6 +133,13 @@ ina226-u75 { io-channels = <&u75 0>, <&u75 1>, <&u75 2>, <&u75 3>; }; + /* 48MHz reference crystal */ + ref48: ref48M { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <48000000>; + }; + refhdmi: refhdmi { compatible = "fixed-clock"; #clock-cells = <0>; @@ -488,7 +495,45 @@ i2c@1 { #size-cells = <0>; reg = <1>; si5341: clock-generator@36 { /* SI5341 - u69 */ + compatible = "silabs,si5341"; reg = <0x36>; + #clock-cells = <2>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&ref48>; + clock-names = "xtal"; + clock-output-names = "si5341"; + + si5341_0: out@0 { + /* refclk0 for PS-GT, used for DP */ + reg = <0>; + always-on; + }; + si5341_2: out@2 { + /* refclk2 for PS-GT, used for USB3 */ + reg = <2>; + always-on; + }; + si5341_3: out@3 { + /* refclk3 for PS-GT, used for SATA */ + reg = <3>; + always-on; + }; + si5341_6: out@6 { + /* refclk6 PL CLK125 */ + reg = <6>; + always-on; + }; + si5341_7: out@7 { + /* refclk7 PL CLK74 */ + reg = <7>; + always-on; + }; + si5341_9: out@9 { + /* refclk9 used for PS_REF_CLK 33.3 MHz */ + reg = <9>; + always-on; + }; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index d9a8fdbbcae8..92b3cee62d11 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -116,6 +116,13 @@ ina226-u79 { compatible = "iio-hwmon"; io-channels = <&u79 0>, <&u79 1>, <&u79 2>, <&u79 3>; }; + + /* 48MHz reference crystal */ + ref48: ref48M { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <48000000>; + }; }; &dcc { @@ -374,9 +381,46 @@ i2c@1 { #size-cells = <0>; reg = <1>; si5341: clock-generator@36 { /* SI5341 - u46 */ + compatible = "silabs,si5341"; reg = <0x36>; + #clock-cells = <2>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&ref48>; + clock-names = "xtal"; + clock-output-names = "si5341"; + + si5341_0: out@0 { + /* refclk0 for PS-GT, used for DP */ + reg = <0>; + always-on; + }; + si5341_2: out@2 { + /* refclk2 for PS-GT, used for USB3 */ + reg = <2>; + always-on; + }; + si5341_3: out@3 { + /* refclk3 for PS-GT, used for SATA */ + reg = <3>; + always-on; + }; + si5341_5: out@5 { + /* refclk5 PL CLK100 */ + reg = <5>; + always-on; + }; + si5341_6: out@6 { + /* refclk6 PL CLK125 */ + reg = <6>; + always-on; + }; + si5341_9: out@9 { + /* refclk9 used for PS_REF_CLK 33.3 MHz */ + reg = <9>; + always-on; + }; }; - }; i2c@2 { #address-cells = <1>; From patchwork Thu Jan 21 10:26:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035483 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 4633EC433DB for ; Thu, 21 Jan 2021 10:29:18 +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 A6B49233EA for ; Thu, 21 Jan 2021 10:29:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A6B49233EA 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=aD4Z2X2PWF4if+QqicuTCWBzhF0ApdgdqgXDUhSrsdU=; b=Q1/Kjptx6P/ZaGiagRZOTuBTR DjlmAtZ7n52AMwCBmkHsq/F2FX648bb/iiLqjjvDxYsaRVvFCw9noTuvQKnDsQqawQjR8T46sN8sf MbrdxaEXNgCJd4mSn70foQvrg5RXn173e2jsbJbfJvfyD9iu9R7IQ70/JbKen2fJPCcqB8FLjMKu8 iG5fvmuy5YTiDFREUYy4I4KI/7AGPbJRLVmkJGfNruonh3FU8U3U+3/UmpFD1bR2KhNzdHgT+MyLE 5f/4O0qZFn1F0DNqB6+uH4CrjcHXrKcQK68zwTS1P4kRizOavJDnVKPkZuMXAkiep2y9AB0bgHE/P OilkKAypg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBe-0004Hb-MY; Thu, 21 Jan 2021 10:27:34 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBJ-0004Ar-W9 for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:27:14 +0000 Received: by mail-ej1-x62f.google.com with SMTP id hs11so1887069ejc.1 for ; Thu, 21 Jan 2021 02:27:13 -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=dTDIuTc0U8fse5lYanlEDxbQeooG0OMqfA5FbckRqJ8=; b=T6kbEPjXSsmcVinKCO6J8hPsllDVgX4+2rFC6FP4RUZIdTpwhKuj0GDASK4dBIuzlm e6lvX4eQDDmROB1olcc5GNA68blp7my824cSZLc08tPIyh2nXOwtXsoVjZtQ5Rd2/RlP BeBdTBoXkR1jfZnnOGfdjuhw06dyBBEjEb8uBX/17naCS6YZmDZ7GDx8T2/ZbxARWiwd AyIAapbc9zDKGaf7nAOojF3EBxDl14UCt4EnFBbrnBjursxGWP1YDa/qned/J/MHHr5u tWG9kHpJjeAP8U7TTS43tboY2xFlsrK5+Yg/dyYVGADlfK4v9t17dperQ3E+pPbvK8We 5hnw== 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=dTDIuTc0U8fse5lYanlEDxbQeooG0OMqfA5FbckRqJ8=; b=AQOeLDsf/tr4eQJ1+fgNrCfiUvwKLSMIqToQKh/5UrTkGMEN0Z4yj0lFoyW7Cdc307 0tbizF6DTWA5CcRttr6bIsHYTVJLpBPC5PjBYEYAqCMgWf8nZkOdQDTdMMIG9mXvR4Er YGDhbTATieLc8/y3oWAVuxkyX23w/BsoDCkqXIeg5MjGIKRnkGS5ghxYE0h22UEW+lge qnIuhIcH2aqDqwcznHB5l8C5ebXPI3by0XmlDoeecq6g/BDvYzrw7SSuWT6qak9J+Vjx zhpD2MbMHLQqrzlIo7SMHMNBXxQnJ2q1xoAyfwLctaCE849T/JYLi7/D4NcchrZ87EId Ufow== X-Gm-Message-State: AOAM533WtQqfAfxjTg26GAkzr3ZmEDXzXbmQmpZ/LJsPQTm6Lv0+/ZvF 5b0kW5y1zK32zOj6/pSJ2mLjn6vjHdfVcBiI X-Google-Smtp-Source: ABdhPJwmyScYHu7MGf5khxbIvxwB6eQ3Vxjpa5gJzsbED8H4xTRzj6eQ7YMQ+faEkaR9cdp/53tdhQ== X-Received: by 2002:a17:906:4e0c:: with SMTP id z12mr8583626eju.370.1611224832578; Thu, 21 Jan 2021 02:27:12 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id c14sm2601834edr.46.2021.01.21.02.27.11 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 02:27:12 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 04/12] arm64: dts: zynqmp: Enable reset controller driver Date: Thu, 21 Jan 2021 11:26:52 +0100 Message-Id: <4fb62952f61e5046d750fff0e3e469c7abd1d0d0.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_052714_111129_43FB7AEE X-CRM114-Status: GOOD ( 13.16 ) 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 Enable reset controller to be prepared for use. Signed-off-by: Michal Simek Reviewed-by: Laurent Pinchart --- Changes in v2: - Remove reset description for IPs from this patch. IPs will be enabled separately with DT binding update. - Change patch subject arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index cdc1a0ddfa01..94a2e1f2b713 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -187,6 +187,11 @@ zynqmp_pcap: pcap { xlnx_aes: zynqmp-aes { compatible = "xlnx,zynqmp-aes"; }; + + zynqmp_reset: reset-controller { + compatible = "xlnx,zynqmp-reset"; + #reset-cells = <1>; + }; }; }; From patchwork Thu Jan 21 10:26:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035485 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=-14.1 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, UNWANTED_LANGUAGE_BODY,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 D220AC433E0 for ; Thu, 21 Jan 2021 10:29:18 +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 5F693204EF for ; Thu, 21 Jan 2021 10:29:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5F693204EF 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=XT/8L0tXgRNPBR1Ng2t+++vINBzShy9q54gqGC75Ucc=; b=lKwZW4+WojzSYFInUurOLGyge /mzD7TkVdB55qFKiNJWZ5O3CBS9DtgP87vb2OelMuoKb/5F11c3DisJM3jt3trC7Q6oKAShmKvVEg hsq5wFdpAId+JOQy094qX4awva1ywEoQHybSUXyA8uqNp42L4L2vc9LmO+NhAw3OZ1WmuviMOgzO3 ThgIEJgRuMPTgSPcEtAdes8kvivJDjluC6iRNJ4jXFdW1GnqsrfT84IMwX2Yne5rLaT+M/6qDHYRM SE2JL7U8Dl+9Og4fkElVRFnMoXUV1v0IyY3U0q7vEmTk64YSlqW1TcOJK/Wfs8YKGvDU+4di7uPZR xoZ9IGD4w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBk-0004KJ-He; Thu, 21 Jan 2021 10:27:40 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBL-0004BS-MF for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:27:17 +0000 Received: by mail-ej1-x635.google.com with SMTP id kg20so1374083ejc.4 for ; Thu, 21 Jan 2021 02:27:15 -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=Vr+TeRCEd/es2ypf0pZcHtu1JbAC7tTtccdv1K53z90=; b=m5owuoT53/nJkvxi3a+HWaGFuvhItn8fp9QD1TnR4w+WVygtHMCki6VnRakFIm4ONh RzhsQqqMBhGf+sRk+Tv96T2QHlv0MTSljk0Lx4nG+PC6dMRf6f9+n1a8pBOSoD3Z2+0G cIIrFQPSqKhBFkgQ06dKyaWacDzUDm9wnMYURUdC2Zka0gA4Y87XOByAQkHmjn8E1DUH Zce/JGmnYqRFLtterj03RLP824pRq/ybOiF/W7nC66d6WzRF8jQJZhftHJmo5/bNFLB1 nxZo3ZWfqAyljsgViYoYRPtnOe0H9EoFu4W70Mkq0qzMNHyza/JOlLtVQTV71dkbyB0K dtcA== 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=Vr+TeRCEd/es2ypf0pZcHtu1JbAC7tTtccdv1K53z90=; b=WraEPVFJcCBJUun7C2w0RVbOUHhAgYDUCdZgA2wd+u5nN+Z37qM2JfskCtKn9bYW4m dUqGE7b14fmu440S5mWdYgFDrIcr6UTnpgr+4INNdtpgc2Zph3z7SOjJ0RpOFLeXJkDv /ssO2xNfYCjWr30VAwSARjicQ3SC2JB3iXmhswjgMKESEP1fpz5Hh37xnq9BVMAOhW12 ZDA9etArvYfUmzkIPFYR5GopLJEcdHCGl2QEz6iEnBzxyLAXalOizTi1QBbji1FNbqwt PKPuA+CvSXck8RqCBPmaGmD5d3SNQoV1G+4nI7EpH59kNllPokU4vbpjwwlKILQAmjay GLCw== X-Gm-Message-State: AOAM530qClCFgMDQhmRteFmsl3UbsE4PbePTaFImItc51aJHf4CiL1YV aJEsbxdO7DtWb5hZbl3IMe64Tskl2gIbNKBP X-Google-Smtp-Source: ABdhPJzlbZ2UYdqKj341iVcPZ4qwO9MApLYuQsw9mnxN0GtqobAUE5U513lgz4ato4mUj+F2qQHALQ== X-Received: by 2002:a17:906:4d8f:: with SMTP id s15mr8859438eju.389.1611224834281; Thu, 21 Jan 2021 02:27:14 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id e10sm2026339ejx.48.2021.01.21.02.27.13 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 02:27:13 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 05/12] arm64: dts: zynqmp: Enable phy driver for Sata on zcu102/zcu104/zcu106 Date: Thu, 21 Jan 2021 11:26:53 +0100 Message-Id: <80b52ef97501968ee97fc152363bc4b9b7bb2cff.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_052716_340263_5B99F0A6 X-CRM114-Status: GOOD ( 14.77 ) 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, Rob Herring , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable psgtr driver and write clocks property to get sata to work. Signed-off-by: Michal Simek --- Changes in v2: None .../boot/dts/xilinx/zynqmp-zcu102-revA.dts | 10 +++++++ .../boot/dts/xilinx/zynqmp-zcu104-revA.dts | 28 +++++++++++++++++++ .../boot/dts/xilinx/zynqmp-zcu106-revA.dts | 10 +++++++ .../boot/dts/xilinx/zynqmp-zcu111-revA.dts | 10 +++++++ 4 files changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 68c2ad30d62d..d92698ffbf8c 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -13,6 +13,7 @@ #include "zynqmp-clk-ccf.dtsi" #include #include +#include / { model = "ZynqMP ZCU102 RevA"; @@ -663,6 +664,13 @@ &pcie { status = "okay"; }; +&psgtr { + status = "okay"; + /* pcie, sata, usb3, dp */ + clocks = <&si5341 0 5>, <&si5341 0 3>, <&si5341 0 2>, <&si5341 0 0>; + clock-names = "ref0", "ref1", "ref2", "ref3"; +}; + &rtc { status = "okay"; }; @@ -678,6 +686,8 @@ &sata { ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; + phy-names = "sata-phy"; + phys = <&psgtr 3 PHY_TYPE_SATA 1 1>; }; /* SD1 with level shifter */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index 7a4614e3f5fa..5e2be9abc175 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -12,6 +12,7 @@ #include "zynqmp.dtsi" #include "zynqmp-clk-ccf.dtsi" #include +#include / { model = "ZynqMP ZCU104 RevA"; @@ -36,6 +37,24 @@ memory@0 { device_type = "memory"; reg = <0x0 0x0 0x0 0x80000000>; }; + + clock_8t49n287_5: clk125 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <125000000>; + }; + + clock_8t49n287_2: clk26 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <26000000>; + }; + + clock_8t49n287_3: clk27 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; }; &can1 { @@ -158,6 +177,13 @@ &rtc { status = "okay"; }; +&psgtr { + status = "okay"; + /* nc, sata, usb3, dp */ + clocks = <&clock_8t49n287_5>, <&clock_8t49n287_2>, <&clock_8t49n287_3>; + clock-names = "ref1", "ref2", "ref3"; +}; + &sata { status = "okay"; /* SATA OOB timing settings */ @@ -169,6 +195,8 @@ &sata { ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; + phy-names = "sata-phy"; + phys = <&psgtr 3 PHY_TYPE_SATA 1 1>; }; /* SD1 with level shifter */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index a29ff20090ce..4ec6715abab7 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -13,6 +13,7 @@ #include "zynqmp-clk-ccf.dtsi" #include #include +#include / { model = "ZynqMP ZCU106 RevA"; @@ -658,6 +659,13 @@ i2c@7 { }; }; +&psgtr { + status = "okay"; + /* nc, sata, usb3, dp */ + clocks = <&si5341 0 3>, <&si5341 0 2>, <&si5341 0 0>; + clock-names = "ref1", "ref2", "ref3"; +}; + &rtc { status = "okay"; }; @@ -673,6 +681,8 @@ &sata { ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; + phy-names = "sata-phy"; + phys = <&psgtr 3 PHY_TYPE_SATA 1 1>; }; /* SD1 with level shifter */ diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index 92b3cee62d11..2969c4b71384 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -13,6 +13,7 @@ #include "zynqmp-clk-ccf.dtsi" #include #include +#include / { model = "ZynqMP ZCU111 RevA"; @@ -541,6 +542,13 @@ i2c@7 { }; }; +&psgtr { + status = "okay"; + /* nc, sata, usb3, dp */ + clocks = <&si5341 0 3>, <&si5341 0 2>, <&si5341 0 0>; + clock-names = "ref1", "ref2", "ref3"; +}; + &rtc { status = "okay"; }; @@ -556,6 +564,8 @@ &sata { ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; + phy-names = "sata-phy"; + phys = <&psgtr 3 PHY_TYPE_SATA 1 1>; }; /* SD1 with level shifter */ From patchwork Thu Jan 21 10:26:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035487 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 91D9DC433DB for ; Thu, 21 Jan 2021 10:29:47 +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 E9547235E4 for ; Thu, 21 Jan 2021 10:29:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E9547235E4 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=8TFMRPBskhQge2b+nrumycEwKKoMTcnlDL2j3zZimBA=; b=PLX2VtZf7zjw4hnLYCl1/UbS0 teBK3UYgTgy12OCXQA5giqiexCfhynlvvkEYLaaIQ44+gc7dFMLEA0/bVnLrdsy1hMkzgHNDSgpBn 22HaEWN5fF4GIDIj/44dNE2TVMyu5okKd2iqBTOdsAUE7HS7u3AgYqwG7PULbrMQ9adTiMUumGEwa KSiOZ6HXOJwXkXZzUrUK2SZmdv+op6N12XM7XZNp1tjE36Pn04rn2lc7RAeZRVlY/wNAFZUNfuM+t T8EBEqWiHLMZXZXmBAk3mfu5bm2PD5ud0ft7GrYSIki8ZTWo0PyUOmKpautDZSV6bbfyvZg9qHjoc caoVP2jXQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBw-0004Mw-Ff; Thu, 21 Jan 2021 10:27:52 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBN-0004Bm-2F for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:27:17 +0000 Received: by mail-ej1-x62a.google.com with SMTP id r12so1836552ejb.9 for ; Thu, 21 Jan 2021 02:27:16 -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=TTcoPBZF7B/GvLemNDb8587uLFmrB6rGDabgy89PTP4=; b=TEYoQY/HXH30/FU9hcm1kXWqGckPQS6NxjIoRLAdEeLK8kleLFQ8EM9Pqo5Z9r8WXB cdhyF48FB6Olh0alNKS4uo+riEY3kRBCCEYMhwvwb/0y01o0jIImwIZRmwpcZ36XWBlX wpHEk/UX3xW+uVTxD7Axe4sWnFfCwu8WuDCeOmqWvB6t3iSctRlPOnOTjvKiKSw97FqL Yk2HSjUndYUdiiMXDldijtUemPDvso6ZTJui3CugePfdmE0/ztYZ4a2isFKB6axqCVon c751xumC2Orf/m3etAmCjvXpznIQFgdNEc+U2bL1RNBOAc0D373doXWMChI2e2Sp3bu7 ruaQ== 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=TTcoPBZF7B/GvLemNDb8587uLFmrB6rGDabgy89PTP4=; b=HvStvKRYWIPYYuvYShOyr22V+OLpADv2KS+qKwWDIgHEV0NtwnWSffRatbL3SMqi/R TpyWbfOz4y8qR30S4ahurKQAh352cGX961Bsxp3qpRxm37eTBhck3XHHnyfW1bBpgOTt iBgrkfCYm8Dtb+VeLgkX+Yhpr+XpOCFd/3lAH9v04bS5BtmWcjgJVHsNEs2pt94KDBfX xJoAe6jzCOREtSs5+oYlM7BXnZSQ1e4Tl0k+9oa44AiBEXEU+6Ok7l2Pf5YAkl20hA5y Nvihv4LYTjqHObpGprzKaDxgHpnKRY9HU/zll48lbsENfTp3x9h63Bkx3GiZS812Ll3n 0fsA== X-Gm-Message-State: AOAM533P69XUyIos0rScuL5K1vUYWJvC+GVyBhqA4SD0DEvuOVI+oE8d N/+RaDOioAqzYk2iwgKoR48QdU7KQ16/xMdS X-Google-Smtp-Source: ABdhPJw4qwOTlqkMBMTMkuvtyA2bxt8juhpHrfhcIHgtWdsR0pHzpYHK7J0t56W8r/+vOuYZit9omg== X-Received: by 2002:a17:906:d0c2:: with SMTP id bq2mr8700744ejb.1.1611224836000; Thu, 21 Jan 2021 02:27:16 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id u2sm2547805edp.12.2021.01.21.02.27.15 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 02:27:15 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 06/12] arm64: dts: zynqmp: Add label for zynqmp_ipi Date: Thu, 21 Jan 2021 11:26:54 +0100 Message-Id: <3dc8416abdd3498e61edcd83830a12af295c5c6d.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_052717_129400_AD223597 X-CRM114-Status: GOOD ( 14.67 ) 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 label which is used by bootloader for adding bootloader specific flag. Signed-off-by: Michal Simek --- Changes in v2: None U-Boot needs to add u-boot,dm-pre-reloc; property --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 94a2e1f2b713..31c6943c6217 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -99,7 +99,7 @@ opp03 { }; }; - zynqmp_ipi { + zynqmp_ipi: zynqmp_ipi { compatible = "xlnx,zynqmp-ipi-mailbox"; interrupt-parent = <&gic>; interrupts = <0 35 4>; From patchwork Thu Jan 21 10:26:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035491 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 3B37BC433E6 for ; Thu, 21 Jan 2021 10:30:00 +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 C67A0238A0 for ; Thu, 21 Jan 2021 10:29:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C67A0238A0 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=e4dRMf2Pzm3S9RRWtR5dp6+2utvEAOVsR3uLVvPOgDc=; b=0VZax8wH/Omomxgf4bz+JlHDF L4N2lMvPKjcLjLvzzhxFYau6+d75Mmgg+nXC781RVXDui3uyZ1AX6NnZDd0Oo2jHC7ehNlP9tLn6b nFd4tPrjcnKF4XhHrpb8MXq1IWaeu5f9vcr6PYsgN2zCSl5oMGXQKVvzH6D5xyp9BaXGJGYgA12lX RYM2iut5mIaXmcQQedZhyiRIbHRgF/SsdKkO6ygEW54RPiJ4urIr4goRZb4dT6e845NYFIZoozy69 AIeTX2k5AoTwwbI4EOuiTqTFBxBAg+5lo5Ljk2gojbiHkt+Be+x2gFJG32cdaZTtgOr2HgJq9IGDT GYfOk29GA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XC3-0004Qv-Vj; Thu, 21 Jan 2021 10:28:00 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBO-0004Ci-Rs for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:27:20 +0000 Received: by mail-ej1-x629.google.com with SMTP id by1so1894949ejc.0 for ; Thu, 21 Jan 2021 02:27:18 -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=EnsVlbJaN5WOsGHVrv0u0vrcQJ2xhSe8sflE2lsbuCA=; b=fGWyO4Fe5SVuIauLgVfVOiCp9Aiaj8VhvLOZ3SA7RVagKA05wEpsO9ijjwUUZMPfFc Mf4a3jWi+4RwT/WGm/LoMfK7hsJxSpAjHM81Pw8+R2/Nkr+ErWUj0GVE7Wy8u7MlcF3y 0b03gwM6wXzKO9jUo6J3ghhh5dyvZ7n8GNJZf4AkpPjOthAK4L7JHBrEwNglSDjn8m0z 4k9qATOwIv7KBXSN3L4MQhyGlCxiGeZKTYLE31EmL7HOLjdG8gem69DwTj/WVPdJDDFy YSXLW5VV/wXtLKbWzCD3ksY8klz35hcMWgP17HmcyzkLS9B31X//7IL5WfFqhv36vqrG 4FzA== 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=EnsVlbJaN5WOsGHVrv0u0vrcQJ2xhSe8sflE2lsbuCA=; b=eFYMhV2tY18sVPf8mT637Ui5vigx1Orf/c9BNGbUZHHUcPF2legRAjSOdzzSJjkOhQ ca7wmKWDennMEIb4IZMDdkhtr4ZWgjThQ1OgthhB11uRGbTLWmtlWwa24h9vRSLvhKFq XgXuQ0pXhmI0OVXEKHyNQ5PecvhxirokH8tCTFhKH78ZEU6AdVTg0W+VT4udrhlzvnEG QJ8eFxudeFKpbKFib4zFrt8LTX1Kv1GBs7NbKIcYHXdViglzQVTBn3T+bp15CGU14j75 tXVf/rub0/vXeYAB+Lus9eeXHOSrn87B8MMWRoeKtVF5PIHRc3RbmjG0IZcwphJWyBbC Ecsg== X-Gm-Message-State: AOAM531+SAWO0Uozw+ykjD/7KmM2qOf+/P8e81eOfcuvqy/o8fOfuPkq lCNF/5Tgxx/UdB8YYngC7R3ZmweJbiLRRwwK X-Google-Smtp-Source: ABdhPJzR9hS+nzxO4X48KcFTDTD3OQ1RsI2df6sBw76mw1yWQa4Sthh5h7tLHFStiK5iYckXZJvN9Q== X-Received: by 2002:a17:906:a384:: with SMTP id k4mr5895531ejz.194.1611224837684; Thu, 21 Jan 2021 02:27:17 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id n15sm2037347ejg.5.2021.01.21.02.27.17 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 02:27:17 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 07/12] arm64: dts: zynqmp: Add missing mio-bank properties to sdhcis Date: Thu, 21 Jan 2021 11:26:55 +0100 Message-Id: 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_052718_924717_E4D7D9AF X-CRM114-Status: GOOD ( 13.81 ) 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, Rob Herring , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add missing xlnx,mio-bank property to sdhci nodes. Also add properties with 0 value to have it listed in case that files are copied to different projects where default case doesn't need to be handled in the same way. That's why explicitly list them too. Signed-off-by: Michal Simek --- Changes in v2: None Based on dt binding fix: https://lore.kernel.org/r/5fa17dfe4b42abefd84b4cbb7b8bcd4d31398f40.1606914986.git.michal.simek@xilinx.com --- arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts | 2 ++ arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 1 + arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts | 1 + arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts | 1 + arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts | 1 + 5 files changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts index 68ecd0f7b2f2..71ebcaadb7c8 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts @@ -233,11 +233,13 @@ &sdhci0 { status = "okay"; no-1-8-v; disable-wp; + xlnx,mio-bank = <0>; }; &sdhci1 { status = "okay"; bus-width = <0x4>; + xlnx,mio-bank = <0>; non-removable; disable-wp; cap-power-off-card; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index d92698ffbf8c..9abd10f6785a 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -694,6 +694,7 @@ &sata { &sdhci1 { status = "okay"; no-1-8-v; + xlnx,mio-bank = <1>; }; &uart0 { diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts index 5e2be9abc175..8ede619fea52 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts @@ -203,6 +203,7 @@ &sata { &sdhci1 { status = "okay"; no-1-8-v; + xlnx,mio-bank = <1>; disable-wp; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts index 4ec6715abab7..d60a30787022 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts @@ -689,6 +689,7 @@ &sata { &sdhci1 { status = "okay"; no-1-8-v; + xlnx,mio-bank = <1>; }; &uart0 { diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts index 2969c4b71384..758de05c4a4b 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts @@ -572,6 +572,7 @@ &sata { &sdhci1 { status = "okay"; no-1-8-v; + xlnx,mio-bank = <1>; }; &uart0 { From patchwork Thu Jan 21 10:26:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035493 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 8E443C433E0 for ; Thu, 21 Jan 2021 10:30:08 +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 2454D233EA for ; Thu, 21 Jan 2021 10:30:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2454D233EA 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=0PG9rOgnBun0aM3dxu/uw4zFrpsM25Lzl3mVEWHzkrE=; b=tnumucg5qF6vNFPrSekd37d9j b0nlQ3r5C73rCBkAIzcs0Jom7vtwssrQYt5pS/1WaVK13WaPfThnh7lP6DxU2QEEz8BMAxYhWwshk jEXTOXQm+spjWa/pNAGvQGNaFf6NugkIMQriD4biQLvJHIprCMbopTtO2X9fgkxpWLo9NHvM3jtvr MxN818P160iuZwH9TRKxo6t3Eiz0bI8fhodqK3v3nqwjGTUlGG5sfNVQwMfPcOuuUiR3RDsEwyGeq b2F4/83PjLZiHeF7bU/7B/JX3uV7j2qykqmm0d+h7nAzEi57OD2z53HZfu9aqBPzKLOh3wsJ+3Pmp OcNxoX+AQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XCQ-0004X6-QP; Thu, 21 Jan 2021 10:28:22 +0000 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBQ-0004DR-T7 for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:27:21 +0000 Received: by mail-ed1-x536.google.com with SMTP id d22so1840792edy.1 for ; Thu, 21 Jan 2021 02:27:20 -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=DDHtgVgCI3xoR+2tl7rSC8UaomaVNk4TcynImS9GqP0=; b=ew4E+0kbc9NbV8dzIIhFrWdPPYQfUke68fhFjgy5mYLF3hFUsZmOuGMO/0cHt2i6KL KQvAfS6eaFOr3hRpdQPhsg9D9umot9ObpJiXz3UiMlOpLTQDmXNp7xBsG39uPKurZjdi 6FxEvqv+rP4hYQxtUYStYKn85KGLMU6wZo/54oMwE7RwICSELCUyw+W1cgEayR0T0vXa WUmkDstsP/hScUX59RQlP4tTDZUfE15IERhCKx/SFidpw3bjSYDHR6Fy1u6QjJCtdCGN E3jiN7CpuCXRD5diXgky2WL4CYqmajScw4nEAg0iGT2yZizl0I6O03nynB8jRoq1jhBr lpgA== 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=DDHtgVgCI3xoR+2tl7rSC8UaomaVNk4TcynImS9GqP0=; b=n21FSgPxrMhv9YGJmq773wdKHSjeHckjWYK1s5Vy+lZY6oJbXw04ukAI5UlIvWXC2k EJRKFFcQQHWAj4eyVtEvVzSd6l0PE0E5D/3QGq9EYZBy57q2G4ul1Whx/aeRYUMjb71w Fhj0tbSUPySXy9waCbWBJCQQQ4MTXsMo7JynsOVrizuhE6KcZfiBfdRlCJ9qvM52t32j MFCx/y79r/k+Nc/TV/3BbtiTMVl2xE9F5UucFlywL9slAfgen9nLYimzkTYSjdKj5J2v VsIsMA5U0orHVEV2OEuhossvz6G1ZxJOBR7qpJmnwukHCCN+v4omb1ELZsKXOqsFu9PN miPA== X-Gm-Message-State: AOAM533//Wzfn6dBSd1FLB3FnttmBrz2bg4vPG4cxb3sNIeGWj1j8kah d6fhY7U0qLh2uMhTrFuikNmfKA== X-Google-Smtp-Source: ABdhPJz4uD0K+vtOESSsSJK86HYEPo8ADdZBd22vXjc3E/Uw6nZmyagvbLHsSDq62fuPuI5QTUIfiA== X-Received: by 2002:a05:6402:1809:: with SMTP id g9mr2324851edy.2.1611224839412; Thu, 21 Jan 2021 02:27:19 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id q2sm2528621edn.91.2021.01.21.02.27.18 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 02:27:18 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 08/12] arm64: dts: zynqmp: Wire arasan nand controller Date: Thu, 21 Jan 2021 11:26:56 +0100 Message-Id: <05cc1ce7973ac5200aeca428c137b422c827c5e8.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_052720_968943_C947726C X-CRM114-Status: GOOD ( 12.78 ) 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 arasan controller with clocks. Disable it by default. Every board can enable it with specifying others properties. 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 | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi index c94c3bb67edc..7af57619436d 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi @@ -116,6 +116,10 @@ &lpd_dma_chan8 { clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>; }; +&nand0 { + clocks = <&zynqmp_clk NAND_REF>, <&zynqmp_clk LPD_LSBUS>; +}; + &gem0 { clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM0_REF>, <&zynqmp_clk GEM0_TX>, <&zynqmp_clk GEM0_RX>, diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 31c6943c6217..19b349f00ce7 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -462,6 +462,18 @@ mc: memory-controller@fd070000 { interrupts = <0 112 4>; }; + nand0: nand-controller@ff100000 { + compatible = "xlnx,zynqmp-nand-controller", "arasan,nfc-v3p10"; + status = "disabled"; + reg = <0x0 0xff100000 0x0 0x1000>; + clock-names = "controller", "bus"; + interrupt-parent = <&gic>; + interrupts = <0 14 4>; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&zynqmp_firmware PD_NAND>; + }; + gem0: ethernet@ff0b0000 { compatible = "cdns,zynqmp-gem", "cdns,gem"; status = "disabled"; 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"; From patchwork Thu Jan 21 10:26:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035495 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 71039C433DB for ; Thu, 21 Jan 2021 10:30:20 +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 07DF1235E4 for ; Thu, 21 Jan 2021 10:30:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 07DF1235E4 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=3Af6K4ch0OwMK7MH5lLgr71Fv1pGHcO66C0lT0KIP9E=; b=1noFlQwL7SISO5x3oqp5JIlnM qMMvbu+0g4crEyCVl1iakNM2gTxcO+87NNXfh+IEoRhGgSxuHOQNY3Qgp5VY4QXb1DfzSJZKj9RTI QG5CTfzdy8Wk1HoZ3VBlsswA0EPC6S+GvIUkx2QIwXUFpyQS67xX1yU+lsbevuS1cP3GDluCcpk4r 4TeFEXtNFylg+NkM+n9Tyel1/amJhW8wAmCCz4wPqvo1Njkr+lDjDLoU8JNfTl/qTGfGqAo5y81BI FmYXrsW0TcOJzKX/XfjgqBan/g2IKMZ7Oh0PzoYd/7a49fYwk/Cic4b0dQDC/2t3ev6w8YkpWC0La imm2vXuWQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XCf-0004fc-Oc; Thu, 21 Jan 2021 10:28:37 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBU-0004FD-AM for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:27:31 +0000 Received: by mail-ed1-x532.google.com with SMTP id g1so1826048edu.4 for ; Thu, 21 Jan 2021 02:27:23 -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=03jDdVsHWABmgrMGYxTKqglWcTZOSBLi2r7Msa4qweQ=; b=T/YvtqUIJ3VyoZ7WhYeu6vpUvItqA1Yb4ORxmREBN+CU7//I522B+QqPB8vi95g36b w4E7jwfdcuVNE09+z4if7JX1kHI7tNy7PzLmoEh+o72ZanrgR/4rfYhIAEoM88094VaF bqxSmSBLYIqB9GoL+8Ip0euyNmN8e/iY0uYC85x9/wyxkCZA7JmPueOKpUPYXCrgo1Oa rceE9K+BOanw2Nl6w27pHQUwNIqoyMb9QcHqm1hpY/vFZe7mveumXVm8u4sc7tfRIwFS 1UZJa0/QJR9lHxrN0vkPDsIv4XPL2z9xxtH+0ZDcluDULkbbckR9/cbIcE1lm0DF6+8j +BpQ== 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=03jDdVsHWABmgrMGYxTKqglWcTZOSBLi2r7Msa4qweQ=; b=bGJ0ZRvIgz7P6zQaFmAasfe8ivIRFQM0hZn+7lv5HNDN5PFe92N/4vtg0I7JcBv4IV 510Uyue8+J7xE2Qy81lWZGWeKhA7pDsDf4MPbPK6/y/TPpr6URFdKG99SAQ5HqdAsZgY MVQsDAl2o0/Q8YLzh6zlYonxR0UXcE1NtAvA2Ja5Y73321YI6UVunwfBA+wSDch33v6s WlZVo0zsRzurZLj6iuh6IQ0jddZOmkZokYXYENPEAahvOJI+v9lhVWumBqou7dYZr69v KzTxgcuZS4/UGlFTpVKSPxAWvncMJIsG0Kj66cC6xHtdKyz2WtTDSTPiQBPkCIDHkqqZ MviQ== X-Gm-Message-State: AOAM530xpQNZZ3GsDvXQ4Df5dVKynqD9b1Tj1dQbbykqOoLc7WKqw4VM tvlYVf+QhezNCRnhEKLcPq5Jqg== X-Google-Smtp-Source: ABdhPJx8PBmtDReaqzLSbecIS9e3NitrNGV2VYA7XqRpLcVAB+ZAhdOlA9FWgJtwpzTk+DlHbKG7pQ== X-Received: by 2002:a05:6402:1701:: with SMTP id y1mr10362420edu.251.1611224842778; Thu, 21 Jan 2021 02:27:22 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id j23sm2562857edv.45.2021.01.21.02.27.22 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 02:27:22 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 10/12] arm64: dts: zynqmp: Add missing lpd watchdog node Date: Thu, 21 Jan 2021 11:26:58 +0100 Message-Id: <0489a1d5528614f1d570ea153d38b813f0c1eb9f.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_052724_407043_AF0BB703 X-CRM114-Status: GOOD ( 13.40 ) 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 Xilinx ZynqMP SoC has FPD (Full Power Domain) and LPD (Low Power Domain) watchdogs. There are cases where also LPD WDT should be used by Arm cores that's why list it with disabled status. 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 | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi index 6a577e1383c1..3ca7e4ee51b5 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi @@ -223,3 +223,7 @@ &usb1 { &watchdog0 { clocks = <&zynqmp_clk WDT>; }; + +&lpd_watchdog { + clocks = <&zynqmp_clk LPD_WDT>; +}; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 533c19b80283..467f92c2044b 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -786,5 +786,14 @@ watchdog0: watchdog@fd4d0000 { reg = <0x0 0xfd4d0000 0x0 0x1000>; timeout-sec = <10>; }; + + lpd_watchdog: watchdog@ff150000 { + compatible = "cdns,wdt-r1p2"; + status = "disabled"; + interrupt-parent = <&gic>; + interrupts = <0 52 1>; + reg = <0x0 0xff150000 0x0 0x1000>; + timeout-sec = <10>; + }; }; }; From patchwork Thu Jan 21 10:26:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035499 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 B6A93C433E6 for ; Thu, 21 Jan 2021 10:30:36 +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 496BE233EA for ; Thu, 21 Jan 2021 10:30:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 496BE233EA 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=LPKg6QJ37l4vC1tG+1Bs7Qy4rDWNbHuAG7zOyaaj+TY=; b=E6pXwhqCHKiI8E54ZXQMQuXY4 9Vcg/1lWEhY56RmlnSm+NIJqXjTe42rGXAc2sP/URjKnASXVbabEaZB4fFyAa3iOYEBtNurwvk1BT ZKjU6bI0XS4RY1CyzzoOr41n/8CUe/Stxk45ijG296xoc/NScYbiqRFhflXhlCezyZwAhxQ9t+Gts cjujpX4BztgOYogSe426MKbIU5CPyHtLl8isybJnEjw0qW2UFUgwp3YkDTilf+D87UMwc7D/3itLf yzwkG/TbHZUqyqyE7Ea/O5OYpUKjFm1a2hLcz6ZqIr/5kqRyxVAYxltPSIyZe9TaV6/1nJHSjxBWA cUU5x06jg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XCs-0004oq-9F; Thu, 21 Jan 2021 10:28:50 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBW-0004Fh-4c for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:27:33 +0000 Received: by mail-ej1-x634.google.com with SMTP id r12so1837113ejb.9 for ; Thu, 21 Jan 2021 02:27:25 -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=QWjpDInuuW7WdHEsJw7GmtWphcGhTtqH0rl1+ezDRRA=; b=Fa2aEo1dDVUyyBih+HsrZf8m/BDo6GYsmCJS1nyAoRpsuVRGDqm9GvMAV/c6G1f4iO ObwGCS4vkSvRF7lyeiz1p1HQ82G72voWYpUJdQsLx6nUGa0eLKm0VSZJDbNyiHuTva2v loSZsg/PaMJHYRu9yW4VLjaOD7Mu8wBR0Fd86sX8mCHLyeIeoim5Zck5bXCwqXUU7YwH 4whk28VSnltU+tgKN9co1SKMyAafIdPQyhUEYSmkEmuVlGuq8t2QxKCbMetN+wNMl02G paqkIXOaByTS7ztCBsKPoqv3RGQm09Fxr2FJnocPzUrUM/ovotHw5XGM7cEhwqQKrIoM l/eQ== 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=QWjpDInuuW7WdHEsJw7GmtWphcGhTtqH0rl1+ezDRRA=; b=PC56DktDxxOG+TplYxLXwAQRzVHWWyJQsflj7eq+Z6PvaoRB/CeNMkZhl7/fZkVWml aKxIoGCbUlVR5Fxd6p8MZrgCe+SKvq59EC/VZHpEiWmNNbI6iX1dbN0jPzCXTuj0Gf8m QRoAztn1FapXQPinD/ilheuBVWVA1SuU3LxLgnIyg3G7R8H9wYKyTgPCCjc8DIDYnMAv dB+mggoOiqz+3YQAktFHWmm1Og50a4xH6Uhas4QBvDyUaUdi6oe31C8acIbpcLfBKaQc Ny/RnIelVfp9AShhORq/k953Ox0tzzeqPELsmMU5E1Z0kwP8xOnY19HliA7Std6WKr7c ixUw== X-Gm-Message-State: AOAM532ULCOgWoO1WM1C9kYrVMiofKNqjs09N6NCxmI8GezjIvMFrQvq BNSddztQE1tQDSUVyDsOX1Ifxg== X-Google-Smtp-Source: ABdhPJzmfB7Kx1FATqc7DvycUSKj5LxVldn75heuIJdNnqddqsZo/92aJYQJA6DnzBIEu/Qo+DUbVw== X-Received: by 2002:a17:906:853:: with SMTP id f19mr8406945ejd.259.1611224844569; Thu, 21 Jan 2021 02:27:24 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id w14sm2042791ejz.68.2021.01.21.02.27.23 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 02:27:24 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 11/12] arm64: dts: zynqmp: Add missing iommu IDs Date: Thu, 21 Jan 2021 11:26:59 +0100 Message-Id: <78afdafdc60c3182318894f2808f7f337a798278.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_052726_237708_927332AB X-CRM114-Status: GOOD ( 12.38 ) 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 iommu IDs to all IPs which have IDs assigned. Signed-off-by: Michal Simek --- Changes in v2: None arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 52 ++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 467f92c2044b..66d53521ec58 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -270,6 +270,8 @@ fpd_dma_chan1: dma@fd500000 { interrupts = <0 124 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <128>; + #stream-id-cells = <1>; + iommus = <&smmu 0x14e8>; power-domains = <&zynqmp_firmware PD_GDMA>; }; @@ -281,6 +283,8 @@ fpd_dma_chan2: dma@fd510000 { interrupts = <0 125 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <128>; + #stream-id-cells = <1>; + iommus = <&smmu 0x14e9>; power-domains = <&zynqmp_firmware PD_GDMA>; }; @@ -292,6 +296,8 @@ fpd_dma_chan3: dma@fd520000 { interrupts = <0 126 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <128>; + #stream-id-cells = <1>; + iommus = <&smmu 0x14ea>; power-domains = <&zynqmp_firmware PD_GDMA>; }; @@ -303,6 +309,8 @@ fpd_dma_chan4: dma@fd530000 { interrupts = <0 127 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <128>; + #stream-id-cells = <1>; + iommus = <&smmu 0x14eb>; power-domains = <&zynqmp_firmware PD_GDMA>; }; @@ -314,6 +322,8 @@ fpd_dma_chan5: dma@fd540000 { interrupts = <0 128 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <128>; + #stream-id-cells = <1>; + iommus = <&smmu 0x14ec>; power-domains = <&zynqmp_firmware PD_GDMA>; }; @@ -325,6 +335,8 @@ fpd_dma_chan6: dma@fd550000 { interrupts = <0 129 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <128>; + #stream-id-cells = <1>; + iommus = <&smmu 0x14ed>; power-domains = <&zynqmp_firmware PD_GDMA>; }; @@ -336,6 +348,8 @@ fpd_dma_chan7: dma@fd560000 { interrupts = <0 130 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <128>; + #stream-id-cells = <1>; + iommus = <&smmu 0x14ee>; power-domains = <&zynqmp_firmware PD_GDMA>; }; @@ -347,6 +361,8 @@ fpd_dma_chan8: dma@fd570000 { interrupts = <0 131 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <128>; + #stream-id-cells = <1>; + iommus = <&smmu 0x14ef>; power-domains = <&zynqmp_firmware PD_GDMA>; }; @@ -375,6 +391,8 @@ lpd_dma_chan1: dma@ffa80000 { interrupts = <0 77 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <64>; + #stream-id-cells = <1>; + iommus = <&smmu 0x868>; power-domains = <&zynqmp_firmware PD_ADMA>; }; @@ -386,6 +404,8 @@ lpd_dma_chan2: dma@ffa90000 { interrupts = <0 78 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <64>; + #stream-id-cells = <1>; + iommus = <&smmu 0x869>; power-domains = <&zynqmp_firmware PD_ADMA>; }; @@ -397,6 +417,8 @@ lpd_dma_chan3: dma@ffaa0000 { interrupts = <0 79 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <64>; + #stream-id-cells = <1>; + iommus = <&smmu 0x86a>; power-domains = <&zynqmp_firmware PD_ADMA>; }; @@ -408,6 +430,8 @@ lpd_dma_chan4: dma@ffab0000 { interrupts = <0 80 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <64>; + #stream-id-cells = <1>; + iommus = <&smmu 0x86b>; power-domains = <&zynqmp_firmware PD_ADMA>; }; @@ -419,6 +443,8 @@ lpd_dma_chan5: dma@ffac0000 { interrupts = <0 81 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <64>; + #stream-id-cells = <1>; + iommus = <&smmu 0x86c>; power-domains = <&zynqmp_firmware PD_ADMA>; }; @@ -430,6 +456,8 @@ lpd_dma_chan6: dma@ffad0000 { interrupts = <0 82 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <64>; + #stream-id-cells = <1>; + iommus = <&smmu 0x86d>; power-domains = <&zynqmp_firmware PD_ADMA>; }; @@ -441,6 +469,8 @@ lpd_dma_chan7: dma@ffae0000 { interrupts = <0 83 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <64>; + #stream-id-cells = <1>; + iommus = <&smmu 0x86e>; power-domains = <&zynqmp_firmware PD_ADMA>; }; @@ -452,6 +482,8 @@ lpd_dma_chan8: dma@ffaf0000 { interrupts = <0 84 4>; clock-names = "clk_main", "clk_apb"; xlnx,bus-width = <64>; + #stream-id-cells = <1>; + iommus = <&smmu 0x86f>; power-domains = <&zynqmp_firmware PD_ADMA>; }; @@ -471,6 +503,8 @@ nand0: nand-controller@ff100000 { interrupts = <0 14 4>; #address-cells = <1>; #size-cells = <0>; + #stream-id-cells = <1>; + iommus = <&smmu 0x872>; power-domains = <&zynqmp_firmware PD_NAND>; }; @@ -483,6 +517,8 @@ gem0: ethernet@ff0b0000 { clock-names = "pclk", "hclk", "tx_clk"; #address-cells = <1>; #size-cells = <0>; + #stream-id-cells = <1>; + iommus = <&smmu 0x874>; power-domains = <&zynqmp_firmware PD_ETH_0>; }; @@ -495,6 +531,8 @@ gem1: ethernet@ff0c0000 { clock-names = "pclk", "hclk", "tx_clk"; #address-cells = <1>; #size-cells = <0>; + #stream-id-cells = <1>; + iommus = <&smmu 0x875>; power-domains = <&zynqmp_firmware PD_ETH_1>; }; @@ -507,6 +545,8 @@ gem2: ethernet@ff0d0000 { clock-names = "pclk", "hclk", "tx_clk"; #address-cells = <1>; #size-cells = <0>; + #stream-id-cells = <1>; + iommus = <&smmu 0x876>; power-domains = <&zynqmp_firmware PD_ETH_2>; }; @@ -519,6 +559,8 @@ gem3: ethernet@ff0e0000 { clock-names = "pclk", "hclk", "tx_clk"; #address-cells = <1>; #size-cells = <0>; + #stream-id-cells = <1>; + iommus = <&smmu 0x877>; power-domains = <&zynqmp_firmware PD_ETH_3>; }; @@ -606,6 +648,8 @@ qspi: spi@ff0f0000 { <0x0 0xc0000000 0x0 0x8000000>; #address-cells = <1>; #size-cells = <0>; + #stream-id-cells = <1>; + iommus = <&smmu 0x873>; power-domains = <&zynqmp_firmware PD_QSPI>; }; @@ -635,6 +679,9 @@ sata: ahci@fd0c0000 { interrupt-parent = <&gic>; interrupts = <0 133 4>; power-domains = <&zynqmp_firmware PD_SATA>; + #stream-id-cells = <4>; + iommus = <&smmu 0x4c0>, <&smmu 0x4c1>, + <&smmu 0x4c2>, <&smmu 0x4c3>; }; sdhci0: mmc@ff160000 { @@ -644,6 +691,8 @@ sdhci0: mmc@ff160000 { interrupts = <0 48 4>; reg = <0x0 0xff160000 0x0 0x1000>; clock-names = "clk_xin", "clk_ahb"; + #stream-id-cells = <1>; + iommus = <&smmu 0x870>; #clock-cells = <1>; clock-output-names = "clk_out_sd0", "clk_in_sd0"; power-domains = <&zynqmp_firmware PD_SD_0>; @@ -656,6 +705,8 @@ sdhci1: mmc@ff170000 { interrupts = <0 49 4>; reg = <0x0 0xff170000 0x0 0x1000>; clock-names = "clk_xin", "clk_ahb"; + #stream-id-cells = <1>; + iommus = <&smmu 0x871>; #clock-cells = <1>; clock-output-names = "clk_out_sd1", "clk_in_sd1"; power-domains = <&zynqmp_firmware PD_SD_1>; @@ -664,6 +715,7 @@ sdhci1: mmc@ff170000 { smmu: iommu@fd800000 { compatible = "arm,mmu-500"; reg = <0x0 0xfd800000 0x0 0x20000>; + #iommu-cells = <1>; status = "disabled"; #global-interrupts = <1>; interrupt-parent = <&gic>; From patchwork Thu Jan 21 10:27:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035497 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=-14.1 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, UNWANTED_LANGUAGE_BODY,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 7BCFCC433E9 for ; Thu, 21 Jan 2021 10:30:21 +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 07A88233EA for ; Thu, 21 Jan 2021 10:30:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 07A88233EA 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=XNp7eP1aSufv5giTPTlgxpTsunP9xX5dnAmORsQ7nSU=; b=hsqj/4KA0TneW9xfqu4AVWBHV YY77qhAj4PZ5GYjl+cfELU3wPUoX6tkS6N/RLa/Xfb0FsdMQ8gNHYdRBEY8RkHoMXF6B6Zn/omftQ xAqiijGuM2h7C9ygduguOURk4FtfPIngDX0E7v03QlbQlPfnmvLnbdzfNXMi63RYcQsfGioLLrH3W 9rNTzzEo08LkRgnS7gQ+ctwCiSgIj80ov0fpXoRV9pyMzzCm5nnV71JbNNz1RRkbTNgRPS5DsbEZf 8Lz4ZiqvAnh1sLmfm6yYvx0uE+Q9a3nrzSQ1Ljo/W3szqO0+O5wUiiZPdEjtm9ij2Yr3Q9RYteY0L dCS6ZMoBQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XCm-0004ky-PB; Thu, 21 Jan 2021 10:28:44 +0000 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBX-0004GJ-Qt for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:27:33 +0000 Received: by mail-ej1-x62b.google.com with SMTP id hs11so1887934ejc.1 for ; Thu, 21 Jan 2021 02:27:27 -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=MMnhToLH/oL7+PAHD1u5/+z7FjzPl/2S18N2vJzcyBA=; b=i+klUy9WjEUr+17aVZv9DBOyUwn7IqC9ra2z4JJWj6qLigrNZ+kjk8xv6F/OLJV8mO NyNDo3kHTgoXb5/qtbGyRUrMxX3n07Noc3myIfBIEJh4Rf4cnyU1sygBt+0a44275del vVwAKoBDMHphjxZmMfFYJxfFhCacUN+hCMKhXnzWmYHa0jW/YcCQxSyskmgd9i43e66D TT3BI5T2ofaOPagZb0KRaXmXpP/HanLBsnEkQrym5XXoBtPnWk+AzMQX7DdG+f39J9uz XBAvB8NPj5j6F5SqwxYaQzFND7dFXjkOuRIr4l4XIw3ari8AeuuUFHp8TU2kGp5kew9D uojQ== 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=MMnhToLH/oL7+PAHD1u5/+z7FjzPl/2S18N2vJzcyBA=; b=HtMD+Pv/z/LvTO1zkAkajA2AcSo5RGRosSuAxvSgApvYv+5SB7hp/T8tsObuE2HKDp HHC9iIgdSKJVbH2Rqg4wQDRZorlJPLyqz0s1ehv5f8nAXZu1T0qXeddwelDkCIczbrJt i2ylXQoHsKNuu4yD3bP6jO1WBoSpkiDzB+MjQXGJEF3/2H4qFwBclFHb8vere4NNeKQX jYx1dqOlq9117Rn4ypbufkQnvCpq1lb93d1c+i/xExJ1OALwkEOnW1jKUpM8Vav4jG1i e5e7Hc6Dnvi2L/WXVjaFlqvnb2LWgfTi3klxKVmU8G++n2ZqNv9lHKmkC61J3HHCOaMR TygQ== X-Gm-Message-State: AOAM533jyEdEph7tFL9OWgU+MG3dToWAEdosBMaex7XTpXwFHMY2OPG/ nFVhO33aEy0djiCGKFC3yoa7PA== X-Google-Smtp-Source: ABdhPJxEK9a59OCZZGcDUX0yer/EG45ono5rDJ/IWsHFAXAQkJmX0wu2su9i9tgiq4WwcfjEONqk9A== X-Received: by 2002:a17:906:5958:: with SMTP id g24mr8555243ejr.377.1611224846258; Thu, 21 Jan 2021 02:27:26 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id q16sm858657ejd.39.2021.01.21.02.27.25 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 02:27:25 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 12/12] arm64: dts: zynqmp: Add description for zcu104 revC Date: Thu, 21 Jan 2021 11:27:00 +0100 Message-Id: <17f68c235ea1ce96c3293ca0cf3178951d6663f7.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_052727_915013_35D90017 X-CRM114-Status: GOOD ( 18.49 ) 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, Rob Herring , 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 Xilinx ZynqMP zcu104 revC and newer board revisions have different i2c structure compare to revA. The rest of the board is the same from software perspective. Also enable DMAs and QSPI. Signed-off-by: Michal Simek --- Changes in v2: None arch/arm64/boot/dts/xilinx/Makefile | 1 + .../boot/dts/xilinx/zynqmp-zcu104-revC.dts | 282 ++++++++++++++++++ 2 files changed, 283 insertions(+) create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts diff --git a/arch/arm64/boot/dts/xilinx/Makefile b/arch/arm64/boot/dts/xilinx/Makefile index 60f5443f3ef4..11fb4fd3ebd4 100644 --- a/arch/arm64/boot/dts/xilinx/Makefile +++ b/arch/arm64/boot/dts/xilinx/Makefile @@ -13,5 +13,6 @@ dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-revA.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-revB.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-rev1.0.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu104-revA.dtb +dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu104-revC.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu106-revA.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu111-revA.dtb diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts new file mode 100644 index 000000000000..414f98f1831e --- /dev/null +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revC.dts @@ -0,0 +1,282 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * dts file for Xilinx ZynqMP ZCU104 + * + * (C) Copyright 2017 - 2020, Xilinx, Inc. + * + * Michal Simek + */ + +/dts-v1/; + +#include "zynqmp.dtsi" +#include "zynqmp-clk-ccf.dtsi" +#include +#include + +/ { + model = "ZynqMP ZCU104 RevC"; + compatible = "xlnx,zynqmp-zcu104-revC", "xlnx,zynqmp-zcu104", "xlnx,zynqmp"; + + aliases { + ethernet0 = &gem3; + i2c0 = &i2c1; + mmc0 = &sdhci1; + rtc0 = &rtc; + serial0 = &uart0; + serial1 = &uart1; + serial2 = &dcc; + }; + + chosen { + bootargs = "earlycon"; + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; + + ina226 { + compatible = "iio-hwmon"; + io-channels = <&u183 0>, <&u183 1>, <&u183 2>, <&u183 3>; + }; + + clock_8t49n287_5: clk125 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <125000000>; + }; + + clock_8t49n287_2: clk26 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <26000000>; + }; + + clock_8t49n287_3: clk27 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; +}; + +&can1 { + status = "okay"; +}; + +&dcc { + status = "okay"; +}; + +&fpd_dma_chan1 { + status = "okay"; +}; + +&fpd_dma_chan2 { + status = "okay"; +}; + +&fpd_dma_chan3 { + status = "okay"; +}; + +&fpd_dma_chan4 { + status = "okay"; +}; + +&fpd_dma_chan5 { + status = "okay"; +}; + +&fpd_dma_chan6 { + status = "okay"; +}; + +&fpd_dma_chan7 { + status = "okay"; +}; + +&fpd_dma_chan8 { + status = "okay"; +}; + +&gem3 { + status = "okay"; + phy-handle = <&phy0>; + phy-mode = "rgmii-id"; + phy0: ethernet-phy@c { + reg = <0xc>; + ti,rx-internal-delay = <0x8>; + ti,tx-internal-delay = <0xa>; + ti,fifo-depth = <0x1>; + ti,dp83867-rxctrl-strap-quirk; + }; +}; + +&gpio { + status = "okay"; +}; + +&i2c1 { + status = "okay"; + clock-frequency = <400000>; + + tca6416_u97: gpio@20 { + compatible = "ti,tca6416"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + /* + * IRQ not connected + * Lines: + * 0 - IRPS5401_ALERT_B + * 1 - HDMI_8T49N241_INT_ALM + * 2 - MAX6643_OT_B + * 3 - MAX6643_FANFAIL_B + * 5 - IIC_MUX_RESET_B + * 6 - GEM3_EXP_RESET_B + * 7 - FMC_LPC_PRSNT_M2C_B + * 4, 10 - 17 - not connected + */ + }; + + /* Another connection to this bus via PL i2c via PCA9306 - u45 */ + i2c-mux@74 { /* u34 */ + compatible = "nxp,pca9548"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x74>; + i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + /* + * IIC_EEPROM 1kB memory which uses 256B blocks + * where every block has different address. + * 0 - 256B address 0x54 + * 256B - 512B address 0x55 + * 512B - 768B address 0x56 + * 768B - 1024B address 0x57 + */ + eeprom: eeprom@54 { /* u23 */ + compatible = "atmel,24c08"; + reg = <0x54>; + #address-cells = <1>; + #size-cells = <1>; + }; + }; + + i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + clock_8t49n287: clock-generator@6c { /* 8T49N287 - u182 */ + reg = <0x6c>; + }; + }; + + i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + irps5401_43: irps5401@43 { /* IRPS5401 - u175 */ + compatible = "infineon,irps5401"; + reg = <0x43>; /* pmbus / i2c 0x13 */ + }; + irps5401_44: irps5401@44 { /* IRPS5401 - u180 */ + compatible = "infineon,irps5401"; + reg = <0x44>; /* pmbus / i2c 0x14 */ + }; + }; + + i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + u183: ina226@40 { /* u183 */ + compatible = "ti,ina226"; + #io-channel-cells = <1>; + reg = <0x40>; + shunt-resistor = <5000>; + }; + }; + + i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <5>; + }; + + i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <7>; + }; + + /* 4, 6 not connected */ + }; +}; + +&qspi { + status = "okay"; + flash@0 { + compatible = "m25p80", "jedec,spi-nor"; /* n25q512a 128MiB */ + #address-cells = <1>; + #size-cells = <1>; + reg = <0x0>; + }; +}; + +&rtc { + status = "okay"; +}; + +&psgtr { + status = "okay"; + /* nc, sata, usb3, dp */ + clocks = <&clock_8t49n287_5>, <&clock_8t49n287_2>, <&clock_8t49n287_3>; + clock-names = "ref1", "ref2", "ref3"; +}; + +&sata { + status = "okay"; + /* SATA OOB timing settings */ + ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; + ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; + ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; + ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; + ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; + ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; + ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; + ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; + phy-names = "sata-phy"; + phys = <&psgtr 3 PHY_TYPE_SATA 1 1>; +}; + +/* SD1 with level shifter */ +&sdhci1 { + status = "okay"; + no-1-8-v; + xlnx,mio-bank = <1>; + disable-wp; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +/* ULPI SMSC USB3320 */ +&usb0 { + status = "okay"; + dr_mode = "host"; +}; + +&watchdog0 { + status = "okay"; +};