From patchwork Thu Jan 31 20:43:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10791485 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D88BC14E1 for ; Thu, 31 Jan 2019 20:44:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE8CC2855C for ; Thu, 31 Jan 2019 20:44:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C2D2F317A7; Thu, 31 Jan 2019 20:44:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2BFD02855C for ; Thu, 31 Jan 2019 20:44:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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=RC+2M7qZYJb+ESts/+itxLc4HbOfhgjSVZPkJAfhgYQ=; b=bsMym9dEA+6koL /tWY27pwg7mDOuvkmIUnVtul9oQPdtlTi2pZTYqnIzW+WhAetZL02YXViOaXUdLsUoDbI26juoR7Y 9XiJ0tigTUUHpuG0zbCbKDCjzyKPtHG/2d5H8Tbw6WPAiLXAZGGjs/6e/B7kb6uI85QBj2PlwnUN+ /pQ1YWRbV8+EaJQ/Vwg1eT51jwEaxTNFMfAZezxMKjy1Aroq2s/4itk299DnHPvSKu9qZBKlLOCjY TQZL5q2G2/mkpETro3ec3kbt6mmB2ZX50y90hFKUSgm9h6jzRiJBQSWwki4+e/yXZs1jSR4U6o8+0 29OF7Okmd8gjoqlZu2sg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpJBy-0003EK-Sw; Thu, 31 Jan 2019 20:44:10 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpJBd-0002xg-EU for linux-arm-kernel@lists.infradead.org; Thu, 31 Jan 2019 20:43:52 +0000 Received: by mail-pf1-x430.google.com with SMTP id u6so2008105pfh.11 for ; Thu, 31 Jan 2019 12:43:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uW/mc9bOKLDqIolIzjRAHEjOwO1/pc5BGZ9n7AiIB/k=; b=igbR74Ll36k9hJapneY4x8GEdbfRiQz/SgNPlTPin0BM8B4KPeU4+5li02utMqkIu3 oSkp2ATgj25O0CLjNf2GQDCQw/DCi+yrM2PlzvmLLqKrdA3V/zDAh0X6Lu2frXTwTcgD JyLsk551YXDfuQt3aPYps5AVL2djnE92JJIjLzGKfEXBiqstz3tTs4NADRMj813iGw6z AZ6WRZaM05x7RndUrQFugB5db7qjSD9KvJn+fvJ7KJsOezBWWZqSX75AgEA+qmq4cuqu k1mkL29AKryUdjT6X7evFF2jFjy7ddkTdMT3gSEwI5ewxJvQToOhkPhGiCUSmftuuzc9 fOXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uW/mc9bOKLDqIolIzjRAHEjOwO1/pc5BGZ9n7AiIB/k=; b=Ho+qRN0ZSHuL8JmoZwMEna8rODdRTMpurw1GQiuBP4Ux2xqDFUbCs9MITOOQs6EirT KE6Qa6d65YBhrf10ZnIUkOuBFciSPRiIGdPseLIGaWvfCRyhf4sDl0FvijoC486qfm4K X9lPfB+ETVU3OkyHEtHl+7TAWeEPUXUMBo8go4LdeGL8WGRKT1erihQaY/OvYu0tBVA6 vJzJik5OeQs8ElsQL6jeJXxrZwE7vtr4MxywEa/SW+O8rDQvxzdMRbYbTI7zgRRWkLJF S3fZaq/NAUbt/ZQ1ivCHBjed4HjEEZZi8oFjbh3qfz7xgUWA4khkG59m/YBYYPz4HIo7 CqwA== X-Gm-Message-State: AJcUukcAGhBEZZbUrEiwnCJUo7/Y7ahtbLpZO/gBGZvPqPXmc83QJKPN GvYaLL0t0XrgBB92NE1bZQs= X-Google-Smtp-Source: ALg8bN5MsescGrlFVDgGDTpMCby83jwkb6jQgJzD2FiRB92MrDd89QABo9XsUhx3Eg/LLfPcQVuO5A== X-Received: by 2002:a63:2b01:: with SMTP id r1mr32576932pgr.432.1548967428444; Thu, 31 Jan 2019 12:43:48 -0800 (PST) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id s190sm7272034pfb.103.2019.01.31.12.43.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 12:43:47 -0800 (PST) From: Andrey Smirnov To: Shawn Guo Subject: [RFC 1/5] arm64: dts: imx8mq: Mark iomuxc_gpr as i.MX6Q compatible Date: Thu, 31 Jan 2019 12:43:29 -0800 Message-Id: <20190131204333.31846-2-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190131204333.31846-1-andrew.smirnov@gmail.com> References: <20190131204333.31846-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190131_124349_482307_E94D1CFA X-CRM114-Status: GOOD ( 12.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "A.s. Dong" , Richard Zhu , linux-arm-kernel@lists.infradead.org, Andrey Smirnov , linux-kernel@vger.kernel.org, linux-imx@nxp.com, Fabio Estevam , Leonard Crestez , Chris Healy , Lucas Stach Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Mark iomuxc_gpr as compatible with "fsl,imx6q-iomuxc-gpr" in order for to allow i.MX6 PCIe driver to use it. Signed-off-by: Andrey Smirnov Cc: Shawn Guo Cc: Fabio Estevam Cc: Chris Healy Cc: Lucas Stach Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-imx@nxp.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 892063a7c26c..f6c37bf9cbce 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -230,7 +230,7 @@ }; iomuxc_gpr: syscon@30340000 { - compatible = "fsl,imx8mq-iomuxc-gpr", "syscon"; + compatible = "fsl,imx8mq-iomuxc-gpr", "fsl,imx6q-iomuxc-gpr", "syscon"; reg = <0x30340000 0x10000>; }; From patchwork Thu Jan 31 20:43:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10791487 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1864E746 for ; Thu, 31 Jan 2019 20:44:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0EEC92855C for ; Thu, 31 Jan 2019 20:44:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 02ED9317A5; Thu, 31 Jan 2019 20:44:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5D2C628734 for ; Thu, 31 Jan 2019 20:44:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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=Yk9XgFBqUirpdGcb8GYJ8TLmdDOhqiOmiBp2knBiNbI=; b=XMfAxoW9awpif8 wlAyUrJb/vS10o3e/nwT8vehzkoHFhknkXOslP3NQDD0qt5o7deYWv0x6xAUAq5y7AD46UFBAFQG8 mPBEq/C1+lEa6BPbeDE5b6x3uvalEupD+SUr40GhIadU7w7bRhd2ZM3Tfw+l/TpgMznuJ6QxQt22K /BIrzdpMkcEaWOX6HOHQ+ydPUd/MTbs8iw6Z8/Hmyg+oRFAYmvi5ntcCmAMxVypH3umoSqD5bqeyQ oYuIB1CYqF1zlkSiWRg9R8zN5/AbAvnYJQTKQ+OjoSDhjidNnkFDcyf6mrZPDfuOGAFFsCn6KdTGV t3AjU5Cld0XrlrU1ubOA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpJCD-0003SY-Ix; Thu, 31 Jan 2019 20:44:25 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpJBe-0002xv-Vz for linux-arm-kernel@lists.infradead.org; Thu, 31 Jan 2019 20:43:55 +0000 Received: by mail-pf1-x442.google.com with SMTP id 64so2012964pfr.9 for ; Thu, 31 Jan 2019 12:43:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pfG5fkUaRj/fht/6ipkewqnaacFZ9IZoXIVJQq92s6U=; b=O1xVUXMmY8mLwMYtaFSd0Mi55r4/0iuNEytSdQ5/azYdmkHpmH5LPAgZgs+JBFIKWj Kt7+76kvZyGgMLODm00ZTUeybIkv8wOZdEmGJzlYhplCRtmLxmzAi/meNXpzfmQMReZO EA8DFsLEVqwuV3Vny+igmrAoXw+CNhoOJsL6UvA9ZdqDwkSt1nUqPhBTIi1PYDrIraph GRNKyNJk9fcakxEluSHBooEIVyjSzTe99/1ggcQfatgOj1Gay0Y/nDbH68aVauxz/F1b YLYttGTI2rI9fQJNsrluRyJxUyctd37UJ8va8XGhIF5mJbx1O5rQnNOjpDLKrwsTN+p5 xYEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pfG5fkUaRj/fht/6ipkewqnaacFZ9IZoXIVJQq92s6U=; b=RLervGPpU/t7PPJg6ljCrR3HUqPvBlURspDA3RGJiQSacZzPBQzLSDtFuxE1PEVk6l +NKA++DPh4yN+/WdL8WMKxk0cFN34HqgyM1AKQk2gLADPkChglrGPkPpvHUBH7C+RsUl CWMUi4zE7LnpzTggTHrS9+Ma6iyNXrKoN5WACKtuNyjxC0PxE8pppjHqVMO2Jso+hEvA fBMq4Qk/zkN5PjxBqgwD1SkgT+eTLCa33xLa9YKB7oGMnMkpoUv7RXF1+Kpwg+ajOIoF KEnebSU0DQnS6XnfBJt1oPn+9ijtcoRzUwTWztFVoPiBgG6w6x7kvIutgh56rQNJhyUy AjsA== X-Gm-Message-State: AJcUukcFqPM/17VD4TWFvTcn4kPeg9zd5+nm+SAyWbtmOa1wDmf8yUyj fktwQI8MBAADF0Wyb6SE5ew= X-Google-Smtp-Source: ALg8bN4BqZ9LC4h3GFTwcODC23FmHtDL/aJJyqv6O/kkXxW6SHpSg9WimWbsxDDndW4CSbLbDMK0yw== X-Received: by 2002:a63:e001:: with SMTP id e1mr26721389pgh.39.1548967430002; Thu, 31 Jan 2019 12:43:50 -0800 (PST) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id s190sm7272034pfb.103.2019.01.31.12.43.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 12:43:49 -0800 (PST) From: Andrey Smirnov To: Shawn Guo Subject: [RFC 2/5] arm64: dts: imx8mq: Add a node for SRC IP block Date: Thu, 31 Jan 2019 12:43:30 -0800 Message-Id: <20190131204333.31846-3-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190131204333.31846-1-andrew.smirnov@gmail.com> References: <20190131204333.31846-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190131_124351_026876_26010A2F X-CRM114-Status: GOOD ( 10.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "A.s. Dong" , Richard Zhu , linux-arm-kernel@lists.infradead.org, Andrey Smirnov , linux-kernel@vger.kernel.org, linux-imx@nxp.com, Fabio Estevam , Leonard Crestez , Chris Healy , Lucas Stach Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add a node for reset controller IP block found on i.MX8MQ. Signed-off-by: Andrey Smirnov Cc: Shawn Guo Cc: Fabio Estevam Cc: Chris Healy Cc: Lucas Stach Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-imx@nxp.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index f6c37bf9cbce..50436bd393ed 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -254,6 +254,12 @@ "clk_ext3", "clk_ext4"; }; + src: src@30390000 { + compatible = "fsl,imx8mq-src", "syscon"; + reg = <0x30390000 0x10000>; + #reset-cells = <1>; + }; + gpc: gpc@303a0000 { compatible = "fsl,imx8mq-gpc"; reg = <0x303a0000 0x10000>; From patchwork Thu Jan 31 20:43:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10791489 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AD800746 for ; Thu, 31 Jan 2019 20:44:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A2B6B2855C for ; Thu, 31 Jan 2019 20:44:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9679F317A5; Thu, 31 Jan 2019 20:44:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E182F2855C for ; Thu, 31 Jan 2019 20:44:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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=r/WiVKqWrvXKCIarATK3ZT7iIioVdlxnbvJCoLBR3kQ=; b=hoeUMb3X8IG5HU 0mc2zPOb5IL+fLmwuJLQYOLUtlivOJAXdsAhk30SbiDgF3z6jdeqCeUVP4RtZZbIkjrm9eYRINY9K 8txYkZzygHSvJl1GT1d9mNekFM7UzW2GZ9c0Z9l1spNtTNmxX2LNwUl9moe7l+DG3GQ8jITVxl6lU C51Cs/cU+4bk8BDR3bZ88ehf6sdQimiaQbPiz4gBApT/XvMu/WE0cBTrup4I+mwIyZNcmBzplrsS3 bx0ta9twtYp9sKE63fnduWH3SPWUq4VWsyYfRsUMmL7aH17SBhE5RdrsOe73MRqIFPcYciPx4IAsF HUQOEu2dIrCH83tK2Eaw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpJCV-0003j4-RN; Thu, 31 Jan 2019 20:44:43 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpJBh-0002ya-1p for linux-arm-kernel@lists.infradead.org; Thu, 31 Jan 2019 20:43:57 +0000 Received: by mail-pf1-x444.google.com with SMTP id c73so1997657pfe.13 for ; Thu, 31 Jan 2019 12:43:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=c324b380hphqzikJSwYwP+iMI2K9W7f9e6HIiTYzB7k=; b=kUiXTl9Fc9q5qeFVMdQ4Z5t96hNHcW1LFh5NIpabJlBerfIqlKR9bdumgncRN2EIkh 2YScR1sK5NGNQeKv9MLoSZp0ShiSu0Qgwhqv4q7BrWLwqAuldqy4hA1YAW1A0zhiSNVs g88UxqdtMsEn4XQrKgmzS3FrbDZWoS0CG5i9XcHDE83/ksONpRDeef7sKbJwGX/yBqpf FCCbPc/fhOq5ukT1U6uz0oD8mCA71Nxb9GhRmeUVM8EIzQxZz1wtHUUaUYeSQbBTT94E rpaKdAJ5HmAboBKcv9Ep09evF4cJ8zKEfc7EW2oUMzbHaSitXqcEUSCwMjjGkWFXTxBM wLYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=c324b380hphqzikJSwYwP+iMI2K9W7f9e6HIiTYzB7k=; b=aZYtLYLrBLW8pvdIq6nJYlpx8GvHFwwrGPInll5FFm7frcSmbYOz6xiNAqeVcMEwaW /8GbMcWPq8dlKQOMSSp1CFwx2e+1LRhJ0OVV5YiwqdRKEAQt2m21nBM0qMN3oeQ+2R6K OnKsmc5Qf7UWk1w+KglwKMDvjMUCY/apMdh3eeerVuoUMNcCwaHflPWxFNNATz6btBq+ oWx+d2AbcTpkRqeQd2Lhuh864A14fDFfzIndEptb+71weDEESlHMxUI23Wd+6GQx5UCS Ny6vdlsWbKIohjYSmVYe0lbrLV8jqG+5sjFx+TRV5O6p0MDR1bQfLP1tJWpLM3L1tA2w XzBA== X-Gm-Message-State: AJcUukd7xOR2b/4bCJpcHT1L8As4GqpsCz2zNuWJAel08yXmpWLDvqPz 6wmeSj+hNsnc7ddlFBr+4e8= X-Google-Smtp-Source: ALg8bN7lpv54ik/rydarrkBjlKm7Qrf7F0z9Zh7hmp8qFEbGwXLfLOa6BxZlGAikLH/z4st3gol/gA== X-Received: by 2002:a63:fd0a:: with SMTP id d10mr33170876pgh.164.1548967431950; Thu, 31 Jan 2019 12:43:51 -0800 (PST) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id s190sm7272034pfb.103.2019.01.31.12.43.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 12:43:51 -0800 (PST) From: Andrey Smirnov To: Shawn Guo Subject: [RFC 3/5] arm64: dts: imx8mq: Combine PCIE power domains Date: Thu, 31 Jan 2019 12:43:31 -0800 Message-Id: <20190131204333.31846-4-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190131204333.31846-1-andrew.smirnov@gmail.com> References: <20190131204333.31846-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190131_124353_277922_AC57522B X-CRM114-Status: GOOD ( 12.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "A.s. Dong" , Richard Zhu , linux-arm-kernel@lists.infradead.org, Andrey Smirnov , linux-kernel@vger.kernel.org, linux-imx@nxp.com, Fabio Estevam , Leonard Crestez , Chris Healy , Lucas Stach Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP According to NXP's FAE feedback and a comment in ATF firmware, PCIE1 and PCIE2 power domains can't really be used independently. Due to shared reset line both power domains have to be turned on at the same time. Account for that quirk by combining PCIE power domains into a single 'pgc_pcie' power domain. Signed-off-by: Andrey Smirnov Cc: Shawn Guo Cc: Fabio Estevam Cc: Chris Healy Cc: Lucas Stach Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-imx@nxp.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 50436bd393ed..89babc531380 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -273,9 +273,28 @@ reg = ; }; - pgc_pcie1: power-domain@1 { + /* + * As per comment in ATF source code: + * + * PCIE1 and PCIE2 share the + * same reset signal, if we + * power down PCIE2, PCIE1 + * will be held in reset too. + * + * So instead of creating two + * separate power domains for + * PCIE1 and PCIE2. We create + * a link between 1 and 10 and + * use what was supposed to be + * domain 1 as a shared PCIE + * power domain powering both + * PCIE1 and PCIE2 at the same + * time + */ + pgc_pcie: power-domain@1 { #power-domain-cells = <0>; reg = ; + power-domains = <&pgc_pcie2>; }; pgc_otg1: power-domain@2 { From patchwork Thu Jan 31 20:43:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10791491 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EA28B13B4 for ; Thu, 31 Jan 2019 20:45:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DBBFC2855C for ; Thu, 31 Jan 2019 20:45:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9C92311EA; Thu, 31 Jan 2019 20:45:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2BB9C2855C for ; Thu, 31 Jan 2019 20:45:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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=uSde8YS4121J0XdI2bdgLQ7Ma0puD6H4Liyih61bVpY=; b=LAMVeB5hdVNr+M aFF26yyzBlgzVVgg1eFrybD7HC5OPTZyz4aebVRYRcNP+TwCtVXjpt6/Hg41ImCyCmlNtbmGBZfOj IfCojOmz9DKtHt4fk2GN1UP2An9lOvV1snLaYLM4c/yLfWpH5+0WH265ExzsrZjhMWmC9gXb4AKfA TSsLYhJ4vndm0dtQ4NYbjspg1v6cDRKVRu7QRvd/lPrCBhAkwH7+YFwH/uSisVAQRn4CNZn+nwblY nq2mWbP2BjjiB/wUEF/Jrm90w+YNIB03Ce/To0MSF6wSXg0tyO9RpVxsp/HV5eiszoamthcgbXFlT 5JYcEIp8PD4DDcH7Ry4A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpJCi-0003uP-Gp; Thu, 31 Jan 2019 20:44:56 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpJBi-0002zH-5J for linux-arm-kernel@lists.infradead.org; Thu, 31 Jan 2019 20:44:00 +0000 Received: by mail-pg1-x544.google.com with SMTP id s198so1872646pgs.2 for ; Thu, 31 Jan 2019 12:43:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2O4Wkf/nTzGhCJi9CXELH+Ct9zFnV1b01DW6mjLb2cg=; b=r4HmghPiEACL3jZTbzuhbf//i5OTjaIvGfUP84jBuHoS4y0uU/l12x1eGgVlfzj1th kUKDSA/+ChmUDt6rtz3rsauq1zEdOJAkcVaHtZCzEysaYjnnrBLP9geeD+yFQ2B60lDw hLqC0+EeXpPR6BPohsgbDM4Nhrftm11IPMBEzy2HyIS4bEniBEOqTS0fjk0u9CpKnPks bEFaHaUSCT5usQ612MkQUJW1MLdbWnm6Egj/gBkHFzVdRrmyH5JUZiHruEVayqyMcNkT nlWTQU6j2v1IyW63IZkMjKXnivBQVh4gLLX+5lcQ+UucS+jK94cVaoc63MBbxHnFLBhq 7Qlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2O4Wkf/nTzGhCJi9CXELH+Ct9zFnV1b01DW6mjLb2cg=; b=MytPSprFHGw7F28k/7ghVppK7gc6mzNkIsVYXO6r+SvBRA8cxAIeR7Ple7E+NpOjAt 1Qk97f9vCfJs+gUYc8jlTT7uYYo9P7daUFEsQRszroe8Y+4k+wjuehrQcZZtuB4qRpdM I2qvHSGi3Cx+DTMgjuHre86XVOUEXCllsOahyZMqdg5c2QNWFVDFatFjYgMnX7duOg5Y /y+3u0yOsU/iPcxv07ANtT7CygaAjhvnfz+N7Lo0HJUsPkwlglhS+AUgNitOEJ97FAfx udzxJod7XySeK79jODx7qeDcIDy8SrWplu9Xjcx9Wji4s4BWJA2E+jSwuZXvhY9wIYs1 67Yg== X-Gm-Message-State: AJcUukcz5uOYekdgKQcJmIxeT8cafsJ7NJQsaw0c9Iei3bmLM/O3UG/V FOCXK+5LcfVadwFc3jgTKuw= X-Google-Smtp-Source: ALg8bN4PqYMh2gAEismlUevlkhrxw5JpXzgeTGrm4XIu8d9yHFXGZA5ywPVnl0i3bzsi0ghU9ANI1w== X-Received: by 2002:a62:47d9:: with SMTP id p86mr35466884pfi.95.1548967433536; Thu, 31 Jan 2019 12:43:53 -0800 (PST) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id s190sm7272034pfb.103.2019.01.31.12.43.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 12:43:52 -0800 (PST) From: Andrey Smirnov To: Shawn Guo Subject: [RFC 4/5] arm64: dts: Add nodes for PCIe IP blocks Date: Thu, 31 Jan 2019 12:43:32 -0800 Message-Id: <20190131204333.31846-5-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190131204333.31846-1-andrew.smirnov@gmail.com> References: <20190131204333.31846-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190131_124354_449250_992E090A X-CRM114-Status: GOOD ( 11.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "A.s. Dong" , Richard Zhu , linux-arm-kernel@lists.infradead.org, Andrey Smirnov , linux-kernel@vger.kernel.org, linux-imx@nxp.com, Fabio Estevam , Leonard Crestez , Chris Healy , Lucas Stach Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add nodes for two PCIe controllers found on i.MX8MQ. Signed-off-by: Andrey Smirnov Cc: Shawn Guo Cc: Fabio Estevam Cc: Chris Healy Cc: Lucas Stach Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-imx@nxp.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 68 +++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 89babc531380..d20e5c7e21a3 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -6,6 +6,7 @@ #include #include +#include #include #include #include "imx8mq-pinfunc.h" @@ -539,6 +540,73 @@ }; }; + pcie0: pcie@33800000 { + compatible = "fsl,imx8mq-pcie"; + reg = <0x33800000 0x400000>, + <0x1ff00000 0x80000>; + reg-names = "dbi", "config"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + bus-range = <0x00 0xff>; + ranges = <0x81000000 0 0x00000000 0x1ff80000 0 0x00010000 /* downstream I/O 64KB */ + 0x82000000 0 0x18000000 0x18000000 0 0x07f00000>; /* non-prefetchable memory */ + num-lanes = <1>; + interrupts = , + ; /* eDMA */ + interrupt-names = "msi"; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0x7>; + interrupt-map = <0 0 0 1 &gic GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 2 &gic GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 3 &gic GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 4 &gic GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk IMX8MQ_CLK_PCIE1_ROOT>, + <&clk IMX8MQ_CLK_PCIE1_AUX>, + <&clk IMX8MQ_CLK_PCIE1_PHY>; + clock-names = "pcie", "pcie_bus", "pcie_phy"; + fsl,max-link-speed = <2>; + power-domains = <&pgc_pcie>; + resets = <&src IMX8MQ_RESET_PCIEPHY>, + <&src IMX8MQ_RESET_PCIE_CTRL_APPS_EN>, + <&src IMX8MQ_RESET_PCIE_CTRL_APPS_TURNOFF>; + reset-names = "pciephy", "apps", "turnoff"; + status = "disabled"; + }; + + pcie1: pcie@0x33c00000 { + compatible = "fsl,imx8mq-pcie"; + reg = <0x33c00000 0x400000>, + <0x27f00000 0x80000>; + reg-names = "dbi", "config"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + ranges = <0x81000000 0 0x00000000 0x27f80000 0 0x00010000 /* downstream I/O 64KB */ + 0x82000000 0 0x20000000 0x20000000 0 0x07f00000>; /* non-prefetchable memory */ + num-lanes = <1>; + interrupts = , + ; /* eDMA */ + interrupt-names = "msi"; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0x7>; + interrupt-map = <0 0 0 1 &gic GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 2 &gic GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 3 &gic GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 4 &gic GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk IMX8MQ_CLK_PCIE2_ROOT>, + <&clk IMX8MQ_CLK_PCIE2_AUX>, + <&clk IMX8MQ_CLK_PCIE2_PHY>; + clock-names = "pcie", "pcie_bus", "pcie_phy"; + fsl,max-link-speed = <2>; + power-domains = <&pgc_pcie>; + resets = <&src IMX8MQ_RESET_PCIEPHY2>, + <&src IMX8MQ_RESET_PCIE2_CTRL_APPS_EN>, + <&src IMX8MQ_RESET_PCIE2_CTRL_APPS_TURNOFF>; + reset-names = "pciephy", "apps", "turnoff"; + status = "disabled"; + }; + gic: interrupt-controller@38800000 { compatible = "arm,gic-v3"; reg = <0x38800000 0x10000>, /* GIC Dist */ From patchwork Thu Jan 31 20:43:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10791493 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 25691746 for ; Thu, 31 Jan 2019 20:45:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C5402855C for ; Thu, 31 Jan 2019 20:45:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 10406311EA; Thu, 31 Jan 2019 20:45:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4D9C028734 for ; Thu, 31 Jan 2019 20:45:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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=HeJkKGkkOzPtsXG79ye+2op7mec1xpb+323vehktZYw=; b=lFw45KxbOeEF4o JcyOuyR3nVYYsFPu+ZRTudqAEz7+tSIrlWdkSDlWVwYbjIs+5+jXcJs3P9SS9b90OZpDMR5hNY2s0 gII+euVU1mcsxDUpujFm03XPN+s6c3I+FjtsQRmzRgo7ZD0OxFwM7uM+QCSJdUWZNaA2HIrBH+Bkh 49O+TVRhLBRATOjpSBP9LQDeik7KoyrSRQQjYrTxSarqu50YS+IfxKKfM5khjCHcQHBVvd5o/Z7Yw XobesUy5vf4FomGO/AN4E6CZXAmKZKk7sm0bTK16vyZq0qnOjDLHlbmdU9O+VRZ8QHQy53hMBGiZr JRDpS2b6srQ/hXXx01yQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpJD4-0004h4-Rh; Thu, 31 Jan 2019 20:45:18 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpJBk-00030L-9w for linux-arm-kernel@lists.infradead.org; Thu, 31 Jan 2019 20:44:01 +0000 Received: by mail-pg1-x52f.google.com with SMTP id n2so1867974pgm.3 for ; Thu, 31 Jan 2019 12:43:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Pe73Lkv9Hk1MIlu+vYdLxJuU5C6xW3dASTYFyCiskD4=; b=jPiPlB3p/Oqrg47KjEhCFhXAG8TiR6N886MNsavLSEzUXvSYOnGRtOSzbitWg1KWln VFm4fKp3yU5z/fG9mcgtdfY3zIOY1oBkBKO7SmCZBcGV0BkUrM6rhwUSAxcyuELh6VpQ 1c/gVs5s/z0LJbqOgyJCko5/nC6h/UZvpGzSlBt12abu0vQtlv4CnoYZYGy9/5Une2Sf BWcxDGClguJZyJNm0ZP6nMyFDOE6dWUuOQxRdvZx19iQAVpxcCrElDlTmuNkBktFx6et g9sRKXQuYKorXiPbgJMNgMWc4dJNwWqd/cLsofJGiGBHWQ+iDnqlPcZ2YIsfOJx6zpYb wkNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Pe73Lkv9Hk1MIlu+vYdLxJuU5C6xW3dASTYFyCiskD4=; b=WNmHeYmaMtuV00s92yeTZPPCfddoiaTHlnGbcoVFQPeEqrxlUofxSg2wPs9dSK43gi h9ZVIpaRrEw5R6eIDfLkWF+AIa7Mw1wJTzcEQnnuYMxfCjcO3jT8Qrlz/GQrKlkIxeiN YPYB6GYKgYqQWtECWTKdI/3XKd6ePAI1dbdhLDfoXQfySYrH7j40DoLgm2ikFVPrY7eL wVL7XNsTJieBLxRc12hWBJqQPEuwxAmoE758ZNGgrBnLL+8joZrAYS2Jm7uOPxs84Q4b VUT4cNjtZqnyI2PtfVkrRXnI21Dw/CT/v1lYS6NlLBXp+SpI/c63iKIaD58mGGoHBRoc ssdg== X-Gm-Message-State: AJcUukezv1XF1nvY2ctbfkkv2cwl95YE0ICXaKYjN4dllWTbIq9M5Lzl RCdxdwnFsJQDWCjWjOO3sq4= X-Google-Smtp-Source: ALg8bN7Jk+/LzgF96bF0YT/T4azzt9XYAoB+stjNRKBvew00nwglQCtd5BejlQqGz9xblLRNrJYdnQ== X-Received: by 2002:a62:8096:: with SMTP id j144mr36830521pfd.140.1548967435145; Thu, 31 Jan 2019 12:43:55 -0800 (PST) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id s190sm7272034pfb.103.2019.01.31.12.43.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 12:43:54 -0800 (PST) From: Andrey Smirnov To: Shawn Guo Subject: [RFC 5/5] arm64: dts: imx8mq-evk: Enable PCIE0 interface Date: Thu, 31 Jan 2019 12:43:33 -0800 Message-Id: <20190131204333.31846-6-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190131204333.31846-1-andrew.smirnov@gmail.com> References: <20190131204333.31846-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190131_124356_697404_F198F267 X-CRM114-Status: GOOD ( 11.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "A.s. Dong" , Richard Zhu , linux-arm-kernel@lists.infradead.org, Andrey Smirnov , linux-kernel@vger.kernel.org, linux-imx@nxp.com, Fabio Estevam , Leonard Crestez , Chris Healy , Lucas Stach Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable PCIE0 interface connected to BCM4356 WiFi/Bluetooth module. Signed-off-by: Andrey Smirnov Cc: Shawn Guo Cc: Fabio Estevam Cc: Chris Healy Cc: Lucas Stach Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-imx@nxp.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 64acccc4bfcb..6c7af6c0c9a6 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -40,6 +40,14 @@ status = "okay"; }; +&gpio5 { + wl-reg-on { + gpio-hog; + gpios = <29 GPIO_ACTIVE_HIGH>; + output-high; + }; +}; + &i2c1 { clock-frequency = <100000>; pinctrl-names = "default"; @@ -131,6 +139,13 @@ }; }; +&pcie0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pcie0>; + reset-gpio = <&gpio5 28 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; @@ -195,6 +210,14 @@ >; }; + pinctrl_pcie0: pcie0grp { + fsl,pins = < + MX8MQ_IOMUXC_I2C4_SCL_PCIE1_CLKREQ_B 0x76 + MX8MQ_IOMUXC_UART4_TXD_GPIO5_IO29 0x16 + MX8MQ_IOMUXC_UART4_RXD_GPIO5_IO28 0x16 + >; + }; + pinctrl_reg_usdhc2: regusdhc2grpgpio { fsl,pins = < MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41