From patchwork Sun Oct 6 15:28:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11176431 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 55E01139A for ; Sun, 6 Oct 2019 15:31:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 33F6420862 for ; Sun, 6 Oct 2019 15:31:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="I8a7exKX"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="ANd9bRY6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 33F6420862 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=jZ+E9J0E2GogpiBNjhlCpPtsfuc3EuC/S3YpS1V9zw4=; b=I8a7exKXsoZPKsheNC5VR3R11n lFHM+eqtdM+7rl2KPZLZ7xjTddZdhmI2Tz0mU68D0EpdC0XSFFJsCzcWBPUOyvpvRdXpMkvge/BEs sI1jE+1D8j8rq/P4CXtdLeqhuHq6zH/nMF7H7lt0rT35qZE4lgypBjgcZJcxjlx1w3KhNRRRuSt+A tA80+kKaOPEq2nRuob2R9FFA6FDcDr51QdIMZFafEF2mWQ0TDVLVtx5oMMYChqvbxbqQ2CdIg+4Oy MzqXsEXk8keTZtEH4+pSbINL7d13Ol4c9SAETr1kXD+uwYei/Yg97EO9d4DHKTkfglU6g8hUFYcvJ Z14hnlYg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8VC-0002M3-8i; Sun, 06 Oct 2019 15:31:18 +0000 Received: from mout.gmx.net ([212.227.17.20]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8T6-0007r5-Sw for linux-arm-kernel@lists.infradead.org; Sun, 06 Oct 2019 15:29:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570375736; bh=NwItNtT+7dpX+iWyiTITnRT5WiPEzLaDE1MGjMA7YOg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=ANd9bRY6nlA9CkLmoofMgDgyztlan1n14KCoNKhBQot3NXn5C9T3Xs/aldhrhy+sB ph736MrANE20n5UErAk8E+Z8I3yoaAyzNqcSelOgc47CDB1aW30RjkHGjwS5tfSdxz IMQKgRdroVp2nhp7IGW6QfAGDjktUhmvPTDZf2sk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.116]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mf078-1haw9S2rBi-00gYs0; Sun, 06 Oct 2019 17:28:56 +0200 From: Stefan Wahren To: Marcel Holtmann , Johan Hedberg , Rob Herring , Mark Rutland , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden Subject: [PATCH V4 01/10] bluetooth: hci_bcm: Fix RTS handling during startup Date: Sun, 6 Oct 2019 17:28:19 +0200 Message-Id: <1570375708-26965-2-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> References: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:ydi0+r/v2uhwbqNRG+VV3qbpvXLV3l7XeekgER9sm7enzV2hdrO 5wzwGRlimd5NHMQ2ZXaeah2owHvMuNOS6gMPEL/m1Tofsha3vJ8PJewY+m2NyFbohzK1Pxx hV4aLd3Swv7fRMxG4GDfPoPwd9ltidUv3CgoXsm8B+MmIxGK+CZfZk8Szb2wdPGAoQjjaQ7 POsnLxUr7C7oDMoUGhddw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:sWyR1XuQ+bU=:uSjFzauqsT7GRwxIA2dY/o 6NteiLKcsUR0I7nVwpTn+guJ29HUKzrYwoeZcgMThT/xN7ZxRQVAzQBIMLhNjermHUNcPrhhz s+jd1HVhUdsF/Ln3VSBwtgQIM9mjuaQIyEqBR+bV/Dmuz0hdsCijtac+v466mXOpXry0Tb9HH AjF/V+/cWobpu/l6O6m0zGtzRydzxS9I1YlhSUCBLH2lm9xjAcD9jYwiVFEPp8v+5lW5e4OI0 ba6of7pZ29qPT+Ped3cjWC6aYQ+lPILCbQwyFBp9c+B61Bxen1p3lrcpw5ayGqbYzBcCzNorB 9ELOhpPnRgiDDeUn9/fztrOm1CSHZfdDyhuapNa/fGESucTv/8hZfMyf4gnkAxbo6CMv15Z7M YfEzsVECKTmnVwgiUQgoYCovQIvEeSC05IvIOscrWHfWtdvKWUqX8lNqzYl1+w/otpIv51KP8 HQqgqG2+dAOIgiQOdji4m03FVF1ScHg9LFHCw40XUw157LtxeR8mEiWvTSwQPqSAEdeZ1vbvL NoD38zmBEuaXeg2+9k27ezgs1cefecJDzOB1yQhT3qiXZZkc1Gykq6zLiacFfe25CFqhq++i7 +3UW4cfsMpdMMeBRN/ksoQhBYRtGKP5uBtN4hKbvx32Xbt31pmYtA/D+9UVvi4fUKIIQ366AE ViGxOQxXfB5miB+cleAbdjlFxGxKpP6t78xoZAyfGlmY+X9FXybZlIcCy1GXK8ikCIJuTcZk7 V0IE06nEeyzjj2eSM+R6dAI39o98HXrWBX94+PZ3Mzpz3p5TOlHIQNKvMbsuOjuhzSN+cHQL8 NCKRQWuqkxrxfXTadp+e2wapz/xpaqEroOf1HH4sRztLkDcUF7tNw3AFmw5b+RiZX4rb98P4K d6gSsuVfSylf4KufnJE7CnRdU6bLx2qtf2WM61PTwELtyPZ2hkZu7roWSdI7zwGpTRnZh9/Gw RsqreQ1QGpIrep1aYOPJLfvWx7lLhPenr9RIinGnYW3NCK9/sEPr++bdm3uigL4xRkgi4avQV LUintut4IeEhJICH0cAfs3A/j660AJM1b3VkR2TiXK393yjIPBZtwEaievE3igfgPt/XZT01h 39EkQfaRJDM0MzOwm2XMx8QbgEd+EQgImNCcj6xXvzce7yO0rgQ9h1gQgJkowT2F2sUQxO3nG 8DrfRjE+3RxHByyCmU+83AGUMxEcfhQA5vT6FCSZae4lRljDCscj1PE+08sEPemYVqoS4XohV xmvd2jLIm1cGIN+PnqFGdEX7/eJyVwbLtrS+8Nw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191006_082909_229330_966C9F19 X-CRM114-Status: GOOD ( 11.42 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.20 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wahrenst[at]gmx.net) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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, Catalin Marinas , linux-bluetooth@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Stefan Wahren , Will Deacon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The RPi 4 uses the hardware handshake lines for CYW43455, but the chip doesn't react to HCI requests during DT probe. The reason is the inproper handling of the RTS line during startup. According to the startup signaling sequence in the CYW43455 datasheet, the hosts RTS line must be driven after BT_REG_ON and BT_HOST_WAKE. Signed-off-by: Stefan Wahren --- drivers/bluetooth/hci_bcm.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.4 diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index 7646636..0f73f6a 100644 --- a/drivers/bluetooth/hci_bcm.c +++ b/drivers/bluetooth/hci_bcm.c @@ -445,9 +445,11 @@ static int bcm_open(struct hci_uart *hu) out: if (bcm->dev) { + hci_uart_set_flow_control(hu, true); hu->init_speed = bcm->dev->init_speed; hu->oper_speed = bcm->dev->oper_speed; err = bcm_gpio_set_power(bcm->dev, true); + hci_uart_set_flow_control(hu, false); if (err) goto err_unset_hu; } From patchwork Sun Oct 6 15:28:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11176417 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4739814DB for ; Sun, 6 Oct 2019 15:29:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 177BD2084B for ; Sun, 6 Oct 2019 15:29:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nU3zJwmr"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="hAJsRPyg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 177BD2084B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=0fjrs+PIMthtmucBjAhK4MHSy1MBtsaObzsRVLuh/Xw=; b=nU3zJwmrFZBs0hdyNDWgOamhIT KDAwwR6D78cge9JNpZxnLsQkELmwS+QuyRS22/YbhjDQJzcXcgf6sDXwoDZaXu+qa3az1lOu9L6FD Sspji1L6fVL74t4ZcqhXLmk+Cjkojn+iJksurLbYKjH7y+OsZ4M8g/P70jxEg6+pL9I9YEnhvdpD5 AN9zDliHLKvv2vLz346wrFbnIiZ85aQF5mSoTzt8BamjfMLxZOTnHCsyY0SxxYIo02WEwRs/PtJBw jSQ5DkmwqXSoGC/KzjFqq52VdmqBbh1A0np4NSRbnC/o08j2v7jMPRIbpsc/pXVNBd5n5iNX/Irxa JGzmg2mg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8T9-0007td-JX; Sun, 06 Oct 2019 15:29:11 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8T6-0007qz-0q for linux-arm-kernel@lists.infradead.org; Sun, 06 Oct 2019 15:29:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570375737; bh=Uiusfd++iO6W8WtYRF60ANQDODpBG+UQSmFz88xtJgk=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=hAJsRPygpz5yPJxWUAzlPKY8+matr0x7fsIjsmkXPg8wz97u2ol9vKp/9MWEHshpn sDrUJYE6N/SGya6tlaROjUmUWdR1MXEAS4E19A/ZZncuxhfE43UNDh7dtM4KJon0kp yHMMfFr85KdXCjXbocomutVGquJIgQc8JCGvK8vw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.116]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mg6Zq-1hc2cB10Aw-00hfKa; Sun, 06 Oct 2019 17:28:57 +0200 From: Stefan Wahren To: Marcel Holtmann , Johan Hedberg , Rob Herring , Mark Rutland , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden Subject: [PATCH V4 02/10] ARM: dts: bcm283x: Remove simple-bus from fixed clocks Date: Sun, 6 Oct 2019 17:28:20 +0200 Message-Id: <1570375708-26965-3-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> References: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:i+h4gvRfF9vHSRzrDVG9tj8BWytU3V7SOKB7jSlFNNT5OZnTdf7 zwcxT0kJKG6dK1uSFnDU+1PJ7uYF+10rUxWvssuotj32NMbuslu5fe0Y/XEZSbXXeubmRqz rmlCHfNnBnZR7Js398llpq1oPS5KKwKSmp7TAy4TptEdM8nyGHD4svOi7jP/z55k0c5Vxj3 4i9oDDVNso6y/PExitqsw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:qHIs3v19TaA=:uuLAVFU7rYjRbXHJzsYs5S liQTvF/wRD4kP3xO78s+ggITe7VaGMFOoaLDZjmU2kGptd7RVy/GovKC41JevdOJirYfLE7L3 xgRds8qqK3gVSpV21/kaREDJuPIECuqavMgtm6sr7PXYb4c/BwytDVhMOz4x3aX9/44zO8dZ0 VKEZtIUydQbFvCq+ZhzQN2r4tf34cnY1Yv0AZdy/Hf5yuxFro73Dot7WZB0LGyORENx9a4TB3 v6EXdmA1YECKdwNS4Sz0SpVEhnCHhE/gBGCKspR5OFSoDB09tyI+VVbkO4ZGFgdrZDRs2WsaN ncs9Hpl4HFfHrRHk0mSMosfJ8VAIMeOST3i22d7n5qUad9wiNoxsd4p1W4lIeQsZHed40D2fi uh2b2wUsjc+u0LucruIH1eoHow/qSe49f+GlJE5vj9FsIxDte3MNYK4gWatbdHf5xMUl98+Eh DP/YiQp2LbhGBYvLnNoy/+/GIcwZneocE++tTAXb6MzwPVpIpW8jTxTa45cKKkwoEM/s7xhY+ fqond8zdtib0lhkGzj6cAi8ynWNZCcIVZWgMfNA9h3uqsbPR/Td6SPJTrDbNwLAI4ixMZ8OQm F6OPKX50h16JBBayhb+wxCykybN42G9M4Z2pLDJprl77XNsEKC2g2qUUNDjkBbpVKrWnfbTkb BpWzDret0jbgiOMA4jUyEu/lcnhIMxf35enTCUTpcqmxDEC8G3EOmjgj/QHjwtGFsdhCDErqp ULlcgzhpeG3pHdDaiudy0Ez/P3s3bYeTEiuqb1LVbyxXmGG7d2s42UQId6q2rSY6Rj8uKWYBi +QiYY91Yo0/MNBDIUxVg9IEUGsDg8PHle27hfl5xiNfzt04azjO67f4T79+TlPJ5aS0FM+14k rqozmsu+1H/ymPrtK/yATVPB24z2I2ypR1B/o7eJDHDSe1znh+djpQYI0j4ulqfr8SMTM4zsR SbFVAh7C0K3bk2l1Nn7Fz18QFQrDkR85uA4uaFC4/Oe740VpfMDFpxMrTBfIrLySQaU9AlDYd cFXYsfZGaPtEqmZ4TehGwhvAz4nWMT5Ffu3vuQkWOk3ratwMGyT9iLgrlc0hYiah+/x7mDNRw ITSaaKFSX4EGnfBef7Fmb5Ws5//z3S8DLu4gXI5Yerqda57U4QETgfGznFu2BVi6CMuYxlGSB vVaHdVQ6O5APEM6iNMcYPWvX8G3P6gazxmVVQjuo74MrpNYVK/I+1HIANz4dFudE5hu27qYcj Rgnyj1ZLMJkQX2jEdR7BwLt84F0vQWu6KiGjp1g== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191006_082908_395823_FABAD404 X-CRM114-Status: GOOD ( 12.31 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.21 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wahrenst[at]gmx.net) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.21 listed in wl.mailspike.net] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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, Catalin Marinas , linux-bluetooth@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Stefan Wahren , Will Deacon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The fixed clocks doesn't form some kind of bus. So let's remove it. This fixes the follow DT schema warnings: clocks: clock@3:reg:0: [3] is too short clocks: clock@4:reg:0: [4] is too short clocks: $nodename:0: 'clocks' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' clocks: #size-cells:0:0: 0 is not one of [1, 2] clocks: 'ranges' is a required property clock@3: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+' clock@4: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/bcm283x.dtsi | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) -- 2.7.4 diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index 2d191fc..f16899d 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -650,22 +650,16 @@ }; clocks { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; - /* The oscillator is the root of the clock tree. */ - clk_osc: clock@3 { + clk_osc: clk-osc { compatible = "fixed-clock"; - reg = <3>; #clock-cells = <0>; clock-output-names = "osc"; clock-frequency = <19200000>; }; - clk_usb: clock@4 { + clk_usb: clk-usb { compatible = "fixed-clock"; - reg = <4>; #clock-cells = <0>; clock-output-names = "otg"; clock-frequency = <480000000>; From patchwork Sun Oct 6 15:28:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11176433 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 350BA76 for ; Sun, 6 Oct 2019 15:31:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 CDEC52080F for ; Sun, 6 Oct 2019 15:31:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="bIzUlMgf"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="lGdSiXeX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CDEC52080F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=q/cCQ8wQCydvI+uiory0/iMYkQa1MgRKxQkpsy3LLFU=; b=bIzUlMgfyuCS9xLMb+3QI9P0qS vAU7ki2eYaP7F7oXY9tVOioZzivlVnBpyeDYrivLiBCgDEaxkrsA6ODDS6whU06IfYuopO714UA22 KUl32sYdWRrC012/zGYdERCAag+bNbqzlupm48d1ZIjANVdqqG+vNZdd/m/kH9WvxMO0Svldwugjp FojiU4scCdw5Kvdf+RSPnFn2n+kp0HgKuT/NI8tlYDnuDoYTAtO4xmlu4hn2+R8tHHh3QQt4/uf7d 8dx0JaKg5xLfWQDa7LHLvq11v1xwCOQBGyRpRMwg9rKggjjoRZe4jvKhdRqZLgIC7l9GGFYSMi7b0 rCGf3dIg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8VS-0002br-C8; Sun, 06 Oct 2019 15:31:34 +0000 Received: from mout.gmx.net ([212.227.17.20]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8T6-0007r6-Sx for linux-arm-kernel@lists.infradead.org; Sun, 06 Oct 2019 15:29:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570375738; bh=/ScWQbBAyXuNKzjoeYet94tK8hr90mgTZg1PlOrDDcw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=lGdSiXeXnx05AcjF9FMoJ56Mi3xkP3i5CnjRD3vI6pAb475U2vcx9Vk8EiLGC6frp ebL2WcBtRC7OEq1VxhSoe43S94NtDZRpd8oElYHcm5lxxnGQ9GTVjftEV+mRqhj3uy /LNnnjc2C9GFPNjvEy1Xcmxvwqd/q7LU23E0l9/o= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.116]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MkYXm-1hpG1X3Mxa-00m7K4; Sun, 06 Oct 2019 17:28:57 +0200 From: Stefan Wahren To: Marcel Holtmann , Johan Hedberg , Rob Herring , Mark Rutland , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden Subject: [PATCH V4 03/10] ARM: dts: bcm283x: Remove brcm, bcm2835-pl011 compatible Date: Sun, 6 Oct 2019 17:28:21 +0200 Message-Id: <1570375708-26965-4-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> References: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:/zzvIW/HC4W+22ZxJXt2jd0PXF2oBqFI9Z/YdHJ6fAgP3DEamAL etDsm+3ZLBzk/bWktyG2CCSToz96TPhTYNfvL7qUMJbn4M78+Zf9R7CmfAmAnInf+iYyKf6 QDfXOxG+Zjbs0R2MNRs5IDQG3mmJ7O1DmMZI7id5X3LvppRGenJHUhwj3zRfKnZiqn4HlZ1 uoy0GZ0g5N2jTM0raklnA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:5cwYUFPMH/k=:9xAVsgzFqpsvBMT3K9weAj 3IpEWhFCTij5KtUp+zjBmo6OCZjOwHupUOJ6f9b5vDXV6FvFod2CRsWi/i1vzhxfFazA+B/g9 zFz/zeOUGLQ5/4FDGHUuwwNUOEh+pxqSyKmHrRXdSn1Ic3rV7yOiFUAaf9ubnYg1CWgp9jnVL zUv9TmqSWpQfJgDuPc7mOT6QIG77Lvdpuox4m/DAdqQUw/NPSgYJ6eOfZ+ywXeL0ia9PoMOOB xcOvf6hrSVPX7G/n56zsKSpsLGW8SD/Lkht+1zrKSwL1tUTd3FqUXfT21PNdzI6dxvf2Dxsel Tcf86iyJtLOnbOFUZRkmXsvXEzPddRA321PAK9c4mwd7C71XyphfyuYUNMFn1t0MNoo9XbpiA jDSxa0vwqDBhwncaGhJFcBpTs5oPlJmFuz3IGsRQI77c25NmJLTRdN9/6cc63hWE/ZxnK9XEq 6e3SS2K04XZgDUMnYVPG2El3n8SDMNMroEbiHsBNvxx9p7qYQX26+vLXBRXWBP8W7ouXLphnY IwmcDIAdtv4b6Mt0S3qJBKclG6AhZM5u6nEG4sYpipWtr9bqCPCCBv4eGScUZZw22J783ZpXC 6J7lyRZpLLUGs41nvH1LsdLtceFQhu1LB6oETSa7DwWG7Yy/2ZaGjOnJAPWwG+Ogv0tnhCEmt qnDnY1n4hmE53A4EX7EfFEvqwVrygjm/kq1DwUbZSv0zixA/TxU57uZzx9lCihoaFMm2wJ1zV igTeuPUt5As3ENrrEaWm0IYC33FRYupOZ5zBAKz8MM4Y8VArWzed/ifKUrmyH6Phemx5mjTeb 9PR0D4XawNKYsrwVppy4m9X1jV+pOIIFkQlrX+BmxZCk4geekWoxxZpPfNhB5IiueezKrfUX8 krFleZqIxmZcCIECJSvLr91aJOvmmH2MoYsb2W7FWLIRNx0Lu3IXuDxEtuYQI98xKRPtPs5qp /HC85BG7fpVp8tkkqLGpeZtp4BMlREr6MagO0CtW/5LMSh5qFOf2f6aoEhaHXafcTWy4Y+bf7 Mtn9nbP0zBc5Kzl2ydOyBHfVy4SJlClHCMjjL6cQ6H3/vR1DYwiIam1Ujc1g1CzfpUg5fH5VV j3ZEpn8mKtixipncktXPy0Bv8Hf2UFVOLwA4bBDp/BvYPH+Hz+xhhh3Fb4BpYcWz0f1j7AZXN 73prhErVUputtf6fnJlEmxdkYnsOvONemXkTq33E2i7l2hgCyA/1EaTKJI+oe3fahKeZgjbGK Gv/ymbi9JQQXyteBeSBoqLNgEV0Rt913NfSgy7A== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191006_082909_226518_C9C5B4E2 X-CRM114-Status: GOOD ( 12.43 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.20 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wahrenst[at]gmx.net) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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, Catalin Marinas , linux-bluetooth@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Stefan Wahren , Will Deacon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The downstream compatible brcm,bcm2835-pl011 hasn't been upstreamed yet. So remove it. Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/bcm283x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index f16899d..ae8296f 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -396,7 +396,7 @@ }; uart0: serial@7e201000 { - compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell"; + compatible = "arm,pl011", "arm,primecell"; reg = <0x7e201000 0x200>; interrupts = <2 25>; clocks = <&clocks BCM2835_CLOCK_UART>, From patchwork Sun Oct 6 15:28:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11176425 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ED8B576 for ; Sun, 6 Oct 2019 15:30:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 BBAAB20862 for ; Sun, 6 Oct 2019 15:30:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LzT5xmiZ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="LH8fDeT4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BBAAB20862 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=NLZW/KV1Zz3Ptt1LMZ8ZzV8O7eUkRElaV3efyBeBJF0=; b=LzT5xmiZAXoNuzsPam20Zu/Chl EDLJmL+BCzcz/jXW8R+cO/XkWDQeeKrkZVjfZCTguKoS+dSQ8WJTPk4PLp3Y+Zda6MUkOKo20WtwV QeNTCxj+nFJnYfLkasbDnxdFfa3U9lO7kDmdy1qdgW+EOY0/kyuLh3+FVM2jqCp3cKuaCFlvH9Che NOnxLN3xJz6YyvHjl3+dQSgz5RlqXHnEW1GNM+LS+r0WIUFINsJwNVQzxf80gR6Mu5queo+Q5j5lj 4i7iI4dqfd2iSKB6YkVS/7AWbxlEjhVFBJQgsUko3IfD3Jrz+JaeoHgO31dwHS1iXsaU3MZkR6u7g HjjAuT1Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8UE-0001YV-Hj; Sun, 06 Oct 2019 15:30:18 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8T6-0007r4-Jz for linux-arm-kernel@lists.infradead.org; Sun, 06 Oct 2019 15:29:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570375738; bh=ju7Bd+dM/7yFl2EXq/i/+T9p6cJbvttYXIH7HB3K4LA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=LH8fDeT4GfgVH00cDvsb1kbekm8YdfO51FNofLDUWw6lC7dyd7M4QvqBqkgnFvpHm 4IlQHQksM2A8/4ClTnbGhvqjncGkOxyF8wAqaqOADoVzhBIVErlKDOmTSycQQNa7uA EyprAz21yRksGHAvmHvwmLuE9msiv9wqA2ZFfiWo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.116]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MDhlf-1iQnld1TqZ-00AqlF; Sun, 06 Oct 2019 17:28:58 +0200 From: Stefan Wahren To: Marcel Holtmann , Johan Hedberg , Rob Herring , Mark Rutland , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden Subject: [PATCH V4 04/10] ARM: dts: bcm283x: Move BCM2835/6/7 specific to bcm2835-common.dtsi Date: Sun, 6 Oct 2019 17:28:22 +0200 Message-Id: <1570375708-26965-5-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> References: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:4NIJP0fCALGXVbg5Ca7qp1tnTZ23ApC1JYHc+sPxxgidiQh2sSF 5URwefKeIie0jnfNHFWJBqd0pkdFZOG645A/Ep2if5cT5jlaiw2GfLqIr4dyt51lqoQBbAF Hz3ixQWwPBCSdzoqQ1CNJ4qaVCji7w6x/eiebWlgJu6QG3VAH5vNoFYzHguyzGRozGfrp+B /7ZLUFqA/n4e2dSXkNb9g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:IEdddmybUzs=:SNyV8CtEtJbtFd7r+TgW/z Md26hoWwt8SznSVKeTsdQxP86+LnslK4sBZVqaE81bd08fbTtG5yurCgBqf39NETwcK+j+Mvz F43b/bpVoHyV+39bg8TtJdJv065J90TI4drIwgLeKZTWN5sELBKhCNnuVZy2CSsCqHC2ndcEy RWNGltJfOSDhQW4apaB312cFAxn+Xjja2o+cG7YHubsi1NUJp7mDwC4H7yPVeN7SXvQmlCDOv WJorNK80ovnQQFW9keDws4QmT+Ks1iU9wQmA7w/XANxlq+NFexoIJM6xhsJi93cohF7rJxJNf ivf/WbArM9uxx+P66kgkoxp5tp8b0wQtt1rXBAAuH6c3UyR5Wi0QfB11SfDWAMIOAKYGmYn3W o40vMJH00TjuCVMEUrsvjVyXO8Hg7nvuNQXq96pOCoX4ROTCA8X9P6Xx0wwR3tAy/JQy35sRa o5T1crGkmu3/oqSFhfG/suFy0NfCAK3M+aoBXvGWq5ZBAqK6I23bc1ZsWx3OXe8TyNbyqggsz WsEpGf2DlMcqb8Yo0MCVtrtf5xwybQaPENaBvmfPvZ5/9Sl9ul//zOs++Mrs0aNPG4QRagfkE h5EBHE5aACVSNhcPFOdaAcfR7ShCPw3uIwkH9uux5+I6Da8ezzhQjrGcTlngK3gsugdOi3t+U bw4Wet+BTOsrijnYd7uHH8RmRG027KDkjAATqtnQCOei7s8uMxYs1Z1Sjxu2C4cdEayjXhV6E upMHNZZneF9S11FK/wT4+s/23tL6N1L8Da0EvwiFpnoSNvz+wu3onFEIAtfK1y/9PbseneBDR LJm9HIS/gvHgdXh5tSkKJWKi/hfUm+NxFqVi2HHEkBnq7lOE+jc1DPm98APLl/LHv6hplwZgK BQQDvwPa65Fl6NWKMFhx8CtAOf1/bG5InWzUzkylZ9b1ucXpNbq0AHjEqRAP+ILYqLahzIQKE +kTKB++Hf1WhGtkwDqAM6ogUS7g5U88mc4hggtVOAMYpumN8bniKxmND0NB7GPTGvSZW2+iyP LrPXKckUqwBk6Kqg6QzxrP6zUGjq74qOCOpj2HPv/xFJ+OckZWWHB26BxTOxlRnahCxN/s2a7 KAAoN0F1JygAScKLZltMG5vn49SttDI93pWD22cCBiZHoJQnYQPAK1QWAu02bX4jXQd+N2vTT lC3NamHWLKP2hoiE4Fd/mcLNFJppBQ5sT9F6YYG2+40zlD+PPTGZ3ZZayYM4vNFut2+hcINFB FkEhwMeeIFccnOwH5LKtVEbvw7eBC+AHwgv7Y7A== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191006_082908_954102_C555DE5A X-CRM114-Status: GOOD ( 18.43 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.21 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.21 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wahrenst[at]gmx.net) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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, Catalin Marinas , linux-bluetooth@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Stefan Wahren , Will Deacon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org As preparation we want all common BCM2711 + BCM2835/6/7 functions in bcm283x.dtsi and all BCM2835/6/7 specific in the new bcm2835-common.dtsi. Since i2c2 is BCM2835 specific, we also need to move it to bcm2835-common.dtsi. Signed-off-by: Stefan Wahren Acked-by: Eric Anholt --- arch/arm/boot/dts/bcm2835-common.dtsi | 194 ++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/bcm2835-rpi.dtsi | 4 - arch/arm/boot/dts/bcm2835.dtsi | 1 + arch/arm/boot/dts/bcm2836.dtsi | 1 + arch/arm/boot/dts/bcm2837.dtsi | 1 + arch/arm/boot/dts/bcm283x.dtsi | 174 +----------------------------- 6 files changed, 198 insertions(+), 177 deletions(-) create mode 100644 arch/arm/boot/dts/bcm2835-common.dtsi -- 2.7.4 diff --git a/arch/arm/boot/dts/bcm2835-common.dtsi b/arch/arm/boot/dts/bcm2835-common.dtsi new file mode 100644 index 0000000..fe1ab40 --- /dev/null +++ b/arch/arm/boot/dts/bcm2835-common.dtsi @@ -0,0 +1,194 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* This include file covers the common peripherals and configuration between + * bcm2835, bcm2836 and bcm2837 implementations. + */ + +/ { + interrupt-parent = <&intc>; + + soc { + dma: dma@7e007000 { + compatible = "brcm,bcm2835-dma"; + reg = <0x7e007000 0xf00>; + interrupts = <1 16>, + <1 17>, + <1 18>, + <1 19>, + <1 20>, + <1 21>, + <1 22>, + <1 23>, + <1 24>, + <1 25>, + <1 26>, + /* dma channel 11-14 share one irq */ + <1 27>, + <1 27>, + <1 27>, + <1 27>, + /* unused shared irq for all channels */ + <1 28>; + interrupt-names = "dma0", + "dma1", + "dma2", + "dma3", + "dma4", + "dma5", + "dma6", + "dma7", + "dma8", + "dma9", + "dma10", + "dma11", + "dma12", + "dma13", + "dma14", + "dma-shared-all"; + #dma-cells = <1>; + brcm,dma-channel-mask = <0x7f35>; + }; + + intc: interrupt-controller@7e00b200 { + compatible = "brcm,bcm2835-armctrl-ic"; + reg = <0x7e00b200 0x200>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + pm: watchdog@7e100000 { + compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt"; + #power-domain-cells = <1>; + #reset-cells = <1>; + reg = <0x7e100000 0x114>, + <0x7e00a000 0x24>; + clocks = <&clocks BCM2835_CLOCK_V3D>, + <&clocks BCM2835_CLOCK_PERI_IMAGE>, + <&clocks BCM2835_CLOCK_H264>, + <&clocks BCM2835_CLOCK_ISP>; + clock-names = "v3d", "peri_image", "h264", "isp"; + system-power-controller; + }; + + pixelvalve@7e206000 { + compatible = "brcm,bcm2835-pixelvalve0"; + reg = <0x7e206000 0x100>; + interrupts = <2 13>; /* pwa0 */ + }; + + pixelvalve@7e207000 { + compatible = "brcm,bcm2835-pixelvalve1"; + reg = <0x7e207000 0x100>; + interrupts = <2 14>; /* pwa1 */ + }; + + thermal: thermal@7e212000 { + compatible = "brcm,bcm2835-thermal"; + reg = <0x7e212000 0x8>; + clocks = <&clocks BCM2835_CLOCK_TSENS>; + #thermal-sensor-cells = <0>; + status = "disabled"; + }; + + i2c2: i2c@7e805000 { + compatible = "brcm,bcm2835-i2c"; + reg = <0x7e805000 0x1000>; + interrupts = <2 21>; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + }; + + pixelvalve@7e807000 { + compatible = "brcm,bcm2835-pixelvalve2"; + reg = <0x7e807000 0x100>; + interrupts = <2 10>; /* pixelvalve */ + }; + + hdmi: hdmi@7e902000 { + compatible = "brcm,bcm2835-hdmi"; + reg = <0x7e902000 0x600>, + <0x7e808000 0x100>; + interrupts = <2 8>, <2 9>; + ddc = <&i2c2>; + clocks = <&clocks BCM2835_PLLH_PIX>, + <&clocks BCM2835_CLOCK_HSM>; + clock-names = "pixel", "hdmi"; + dmas = <&dma 17>; + dma-names = "audio-rx"; + status = "disabled"; + }; + + v3d: v3d@7ec00000 { + compatible = "brcm,bcm2835-v3d"; + reg = <0x7ec00000 0x1000>; + interrupts = <1 10>; + power-domains = <&pm BCM2835_POWER_DOMAIN_GRAFX_V3D>; + }; + + vc4: gpu { + compatible = "brcm,bcm2835-vc4"; + }; + }; +}; + +&cpu_thermal { + thermal-sensors = <&thermal>; +}; + +&gpio { + i2c_slave_gpio18: i2c_slave_gpio18 { + brcm,pins = <18 19 20 21>; + brcm,function = ; + }; + + jtag_gpio4: jtag_gpio4 { + brcm,pins = <4 5 6 12 13>; + brcm,function = ; + }; + + pwm0_gpio12: pwm0_gpio12 { + brcm,pins = <12>; + brcm,function = ; + }; + pwm0_gpio18: pwm0_gpio18 { + brcm,pins = <18>; + brcm,function = ; + }; + pwm0_gpio40: pwm0_gpio40 { + brcm,pins = <40>; + brcm,function = ; + }; + pwm1_gpio13: pwm1_gpio13 { + brcm,pins = <13>; + brcm,function = ; + }; + pwm1_gpio19: pwm1_gpio19 { + brcm,pins = <19>; + brcm,function = ; + }; + pwm1_gpio41: pwm1_gpio41 { + brcm,pins = <41>; + brcm,function = ; + }; + pwm1_gpio45: pwm1_gpio45 { + brcm,pins = <45>; + brcm,function = ; + }; +}; + +&i2s { + dmas = <&dma 2>, <&dma 3>; + dma-names = "tx", "rx"; +}; + +&sdhost { + dmas = <&dma 13>; + dma-names = "rx-tx"; +}; + +&spi { + dmas = <&dma 6>, <&dma 7>; + dma-names = "tx", "rx"; +}; diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi index 6c6a7f6..394c8a7 100644 --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi @@ -59,10 +59,6 @@ clock-frequency = <100000>; }; -&i2c2 { - status = "okay"; -}; - &usb { power-domains = <&power RPI_POWER_DOMAIN_USB>; }; diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi index a5c3824..53bf457 100644 --- a/arch/arm/boot/dts/bcm2835.dtsi +++ b/arch/arm/boot/dts/bcm2835.dtsi @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include "bcm283x.dtsi" +#include "bcm2835-common.dtsi" / { compatible = "brcm,bcm2835"; diff --git a/arch/arm/boot/dts/bcm2836.dtsi b/arch/arm/boot/dts/bcm2836.dtsi index c933e84..82d6c46 100644 --- a/arch/arm/boot/dts/bcm2836.dtsi +++ b/arch/arm/boot/dts/bcm2836.dtsi @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include "bcm283x.dtsi" +#include "bcm2835-common.dtsi" / { compatible = "brcm,bcm2836"; diff --git a/arch/arm/boot/dts/bcm2837.dtsi b/arch/arm/boot/dts/bcm2837.dtsi index beb6c50..9e95fee 100644 --- a/arch/arm/boot/dts/bcm2837.dtsi +++ b/arch/arm/boot/dts/bcm2837.dtsi @@ -1,4 +1,5 @@ #include "bcm283x.dtsi" +#include "bcm2835-common.dtsi" / { compatible = "brcm,bcm2837"; diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index ae8296f..addf3be 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -18,7 +18,6 @@ / { compatible = "brcm,bcm2835"; model = "BCM2835"; - interrupt-parent = <&intc>; #address-cells = <1>; #size-cells = <1>; @@ -36,8 +35,6 @@ polling-delay-passive = <0>; polling-delay = <1000>; - thermal-sensors = <&thermal>; - trips { cpu-crit { temperature = <80000>; @@ -73,68 +70,6 @@ interrupts = <1 11>; }; - dma: dma@7e007000 { - compatible = "brcm,bcm2835-dma"; - reg = <0x7e007000 0xf00>; - interrupts = <1 16>, - <1 17>, - <1 18>, - <1 19>, - <1 20>, - <1 21>, - <1 22>, - <1 23>, - <1 24>, - <1 25>, - <1 26>, - /* dma channel 11-14 share one irq */ - <1 27>, - <1 27>, - <1 27>, - <1 27>, - /* unused shared irq for all channels */ - <1 28>; - interrupt-names = "dma0", - "dma1", - "dma2", - "dma3", - "dma4", - "dma5", - "dma6", - "dma7", - "dma8", - "dma9", - "dma10", - "dma11", - "dma12", - "dma13", - "dma14", - "dma-shared-all"; - #dma-cells = <1>; - brcm,dma-channel-mask = <0x7f35>; - }; - - intc: interrupt-controller@7e00b200 { - compatible = "brcm,bcm2835-armctrl-ic"; - reg = <0x7e00b200 0x200>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - pm: watchdog@7e100000 { - compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt"; - #power-domain-cells = <1>; - #reset-cells = <1>; - reg = <0x7e100000 0x114>, - <0x7e00a000 0x24>; - clocks = <&clocks BCM2835_CLOCK_V3D>, - <&clocks BCM2835_CLOCK_PERI_IMAGE>, - <&clocks BCM2835_CLOCK_H264>, - <&clocks BCM2835_CLOCK_ISP>; - clock-names = "v3d", "peri_image", "h264", "isp"; - system-power-controller; - }; - clocks: cprman@7e101000 { compatible = "brcm,bcm2835-cprman"; #clock-cells = <1>; @@ -184,8 +119,7 @@ interrupt-controller; #interrupt-cells = <2>; - /* Defines pin muxing groups according to - * BCM2835-ARM-Peripherals.pdf page 102. + /* Defines common pin muxing groups * * While each pin can have its mux selected * for various functions individually, some @@ -263,15 +197,7 @@ brcm,pins = <44 45>; brcm,function = ; }; - i2c_slave_gpio18: i2c_slave_gpio18 { - brcm,pins = <18 19 20 21>; - brcm,function = ; - }; - jtag_gpio4: jtag_gpio4 { - brcm,pins = <4 5 6 12 13>; - brcm,function = ; - }; jtag_gpio22: jtag_gpio22 { brcm,pins = <22 23 24 25 26 27>; brcm,function = ; @@ -286,35 +212,6 @@ brcm,function = ; }; - pwm0_gpio12: pwm0_gpio12 { - brcm,pins = <12>; - brcm,function = ; - }; - pwm0_gpio18: pwm0_gpio18 { - brcm,pins = <18>; - brcm,function = ; - }; - pwm0_gpio40: pwm0_gpio40 { - brcm,pins = <40>; - brcm,function = ; - }; - pwm1_gpio13: pwm1_gpio13 { - brcm,pins = <13>; - brcm,function = ; - }; - pwm1_gpio19: pwm1_gpio19 { - brcm,pins = <19>; - brcm,function = ; - }; - pwm1_gpio41: pwm1_gpio41 { - brcm,pins = <41>; - brcm,function = ; - }; - pwm1_gpio45: pwm1_gpio45 { - brcm,pins = <45>; - brcm,function = ; - }; - sdhost_gpio48: sdhost_gpio48 { brcm,pins = <48 49 50 51 52 53>; brcm,function = ; @@ -410,8 +307,6 @@ reg = <0x7e202000 0x100>; interrupts = <2 24>; clocks = <&clocks BCM2835_CLOCK_VPU>; - dmas = <&dma 13>; - dma-names = "rx-tx"; status = "disabled"; }; @@ -419,10 +314,6 @@ compatible = "brcm,bcm2835-i2s"; reg = <0x7e203000 0x24>; clocks = <&clocks BCM2835_CLOCK_PCM>; - - dmas = <&dma 2>, - <&dma 3>; - dma-names = "tx", "rx"; status = "disabled"; }; @@ -431,8 +322,6 @@ reg = <0x7e204000 0x200>; interrupts = <2 22>; clocks = <&clocks BCM2835_CLOCK_VPU>; - dmas = <&dma 6>, <&dma 7>; - dma-names = "tx", "rx"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; @@ -448,18 +337,6 @@ status = "disabled"; }; - pixelvalve@7e206000 { - compatible = "brcm,bcm2835-pixelvalve0"; - reg = <0x7e206000 0x100>; - interrupts = <2 13>; /* pwa0 */ - }; - - pixelvalve@7e207000 { - compatible = "brcm,bcm2835-pixelvalve1"; - reg = <0x7e207000 0x100>; - interrupts = <2 14>; /* pwa1 */ - }; - dpi: dpi@7e208000 { compatible = "brcm,bcm2835-dpi"; reg = <0x7e208000 0x8c>; @@ -490,14 +367,6 @@ }; - thermal: thermal@7e212000 { - compatible = "brcm,bcm2835-thermal"; - reg = <0x7e212000 0x8>; - clocks = <&clocks BCM2835_CLOCK_TSENS>; - #thermal-sensor-cells = <0>; - status = "disabled"; - }; - aux: aux@7e215000 { compatible = "brcm,bcm2835-aux"; #clock-cells = <1>; @@ -587,16 +456,6 @@ status = "disabled"; }; - i2c2: i2c@7e805000 { - compatible = "brcm,bcm2835-i2c"; - reg = <0x7e805000 0x1000>; - interrupts = <2 21>; - clocks = <&clocks BCM2835_CLOCK_VPU>; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - vec: vec@7e806000 { compatible = "brcm,bcm2835-vec"; reg = <0x7e806000 0x1000>; @@ -605,26 +464,6 @@ status = "disabled"; }; - pixelvalve@7e807000 { - compatible = "brcm,bcm2835-pixelvalve2"; - reg = <0x7e807000 0x100>; - interrupts = <2 10>; /* pixelvalve */ - }; - - hdmi: hdmi@7e902000 { - compatible = "brcm,bcm2835-hdmi"; - reg = <0x7e902000 0x600>, - <0x7e808000 0x100>; - interrupts = <2 8>, <2 9>; - ddc = <&i2c2>; - clocks = <&clocks BCM2835_PLLH_PIX>, - <&clocks BCM2835_CLOCK_HSM>; - clock-names = "pixel", "hdmi"; - dmas = <&dma 17>; - dma-names = "audio-rx"; - status = "disabled"; - }; - usb: usb@7e980000 { compatible = "brcm,bcm2835-usb"; reg = <0x7e980000 0x10000>; @@ -636,17 +475,6 @@ phys = <&usbphy>; phy-names = "usb2-phy"; }; - - v3d: v3d@7ec00000 { - compatible = "brcm,bcm2835-v3d"; - reg = <0x7ec00000 0x1000>; - interrupts = <1 10>; - power-domains = <&pm BCM2835_POWER_DOMAIN_GRAFX_V3D>; - }; - - vc4: gpu { - compatible = "brcm,bcm2835-vc4"; - }; }; clocks { From patchwork Sun Oct 6 15:28:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11176421 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 51C5B14DB for ; Sun, 6 Oct 2019 15:29:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 2FCA02084B for ; Sun, 6 Oct 2019 15:29:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="D4uFNEB3"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="V5Apv0Zn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2FCA02084B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=4wZq0t8LevbnBlcvwtUeKJP3YyCdd8HTW5qWY31H5k0=; b=D4uFNEB3rFavn4dMYcjENpGpGL iqc0ZLCB+6NEaTygLclDT1GPkkb4Hp47vkzfitEJJKEyFBO9shBL8UiyyWxzs2592pFRlYww8SnBf Oox3P0gXLQ+gNxOxUMJhnv2f2ELqJKSd5aM+Ee9J8SurJgqEYYPwRwsuLuBD8A9yjr1sDkAQbVlK8 O4ZWGV0o/rKv3mBmgXrqT5oth264BhhheorFoAB2a1SizmMBR6IC/uiz0WAIQV6G1pTCQPU0w8uen k0vKwVeU9ZakugFhOtOYKElR9WOTB38KtBVkM4XyVCqIOGCyoZSkdHApudExrFPTPmDlRwdT+dgwi S/jy8Nvg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8TZ-0008Hq-IF; Sun, 06 Oct 2019 15:29:37 +0000 Received: from mout.gmx.net ([212.227.17.22]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8T6-0007r0-0h for linux-arm-kernel@lists.infradead.org; Sun, 06 Oct 2019 15:29:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570375739; bh=+Ntvzuy36h2lYmk3C1RzynnKi0efDfFW+hXy3gSJNSU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=V5Apv0ZnVeB+Z0U62pHHjUH0/QBc8NjkVjwqXAA3oP7rk/6xcZSFgNqrj1vedMT4x tjuGaUuVxED1ELO8a3X5eg3rX5Q/TtmLPrCqTKAYNEDrV6hfbFTdJHW4D5ZPo7Ees1 U+M0SEr6uN+Bj/JlGEGvKh8pKbPUKvzs0g6d67+0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.116]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MqJqN-1hmFsf41aN-00nSlR; Sun, 06 Oct 2019 17:28:59 +0200 From: Stefan Wahren To: Marcel Holtmann , Johan Hedberg , Rob Herring , Mark Rutland , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden Subject: [PATCH V4 05/10] dt-bindings: arm: Convert BCM2835 board/soc bindings to json-schema Date: Sun, 6 Oct 2019 17:28:23 +0200 Message-Id: <1570375708-26965-6-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> References: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:YtuTyqhExdNFIyIWtVu7QQoaNm/leC/Kp3ybCICd0REnOs2Fdq4 Sth3OQYqsSySzS0lhEiuIDbiCS2hm4Avy2AqfyTeIB4GZdS5AaHD9LLfwnyKbMfwUjjkQ5n OsTShr9FlhbLyzRPMAYvCX/ZqT8n7HJeC6nd3wcugImFENoko90NBzTN1hEE12o4uBfS3vV jaYO+FG4aWx3ye7AM/vKQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:YzL94UnfrVs=:9XH3OE9kOQvnndYTT1NWxV 9PVv6VqPNc7cbAvi/qXtKMIUQ5G6X9+L5aNY51myG6b20osLy66zaN0z5j67qZZgfhYZGSp+A rDaVBzqSsYSn5coGfEuWq11GJqXnsGneDAlUaKBQj4k5UxAV8/jGYStExPAXdr3M225lIBU45 VPCJnSvOLPhyD5+a9YLuJBLoUGSxDG4VgmlFkwHIRtcQ1sJEfBRzGWBYsCCDc08+IWV/0D9u1 fRxQDWS8/WQ09wU14N/6i807estmgnTrpGOL0Z2fNU1HC37xE9vinQtrMCCWCGwjdKPJCwscm +lBeGezAO7TZkMHZj+67abB6vpB+Z8Ra/j0f2KyqpxSRJoLhA0+sOEJQhELOPZL8Js3ujgMkn JXSbJuAhGrKQODzW3WoaUsLXnORbWGJQzazuQd6o7JTtySnnd9uhR1Wkq/SBuKQ1wXOL34VvM ReP5tcv4Zdtah2QrNI4yjpHNNTQGkMOVBwXovf7igrxQ6M9w38LabdLUW/B+9dfxisXKdiOFM fJg2P3jMMlo7SHo9fXeIGA6PW3VLuJYPbIg/gQIam0He3GJx6taNCXwOcv0djcIx8/szl4XSv BUa39+umcw2W0MerzCtIv8l1G0pVBQIUn/JbIb0rkxklcddcBYxzQTjRaE8jymwL8xUroyMHm mNlURIN1rZm3m4wfRt8OubSiKlDEByprr/gjuA/nJAxiljpu1VOLERF1TNRo1FLkAXrgOD1SF 4e7urSErBJOwvdeD9C3ytSmmUeN6gaKxmkR9+Xj7IkVdsjnah3zLgPX2MuPkIB3N6fTdp/CP3 0qIpxMDxiAe3ZFgIYIdaj7kd3CeskAdhF6YgMBM1EajCB8kVroUhNwA6fPEgY40VgU+mApRgQ q7kdFyBhMyvuoJA96QEKa7TJVbP4TrreE9xmBi77dozgZfSOP+be46s1xu+xDzjcKEsbUhDwX TfXqLOtHjsCN6CudGSpEHWTZCvFqA/+2iXKF55VeXWaG7fF2xmD5HBxK/eHmsT/82X4FL3GQD CnMOFxz3p4PlkVqK7ExdtETfr9RIpzEPcJC65uZEdMIIv75W1dVZvLcLF3hoSVXaubwzjnw/y Iep1hHQAONCfKCj9UZmFWVai4yTRHI0IDJh/ae3I+4ibRVquT9yA/Qnl0mxbV6QbemKbiP0hy 4q2iNQV2+bd6MGMI35ZqCHOR1R6PTFgAl4ve41nCRR/nQVpTQWjXiK3siTuenL42Nthfc436h Su8Dqg3Hhaoshus3GmV9gOpmf6iYtXytcfADqFg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191006_082908_396366_11586523 X-CRM114-Status: GOOD ( 13.70 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.22 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wahrenst[at]gmx.net) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.22 listed in wl.mailspike.net] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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, Catalin Marinas , linux-bluetooth@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Stefan Wahren , Will Deacon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Convert the BCM2835/6/7 SoC bindings to DT schema format using json-schema. All the other Broadcom boards are maintained by Florian Fainelli. Signed-off-by: Stefan Wahren Acked-by: Eric Anholt Reviewed-by: Rob Herring --- .../devicetree/bindings/arm/bcm/bcm2835.yaml | 48 ++++++++++++++++ .../devicetree/bindings/arm/bcm/brcm,bcm2835.txt | 67 ---------------------- 2 files changed, 48 insertions(+), 67 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt -- 2.7.4 diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml new file mode 100644 index 0000000..67bf9e2 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/bcm2835.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM2711/BCM2835 Platforms Device Tree Bindings + +maintainers: + - Eric Anholt + - Stefan Wahren + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: BCM2835 based Boards + items: + - enum: + - raspberrypi,model-a + - raspberrypi,model-a-plus + - raspberrypi,model-b + - raspberrypi,model-b-i2c0 # Raspberry Pi Model B (no P5) + - raspberrypi,model-b-rev2 + - raspberrypi,model-b-plus + - raspberrypi,compute-module + - raspberrypi,model-zero + - raspberrypi,model-zero-w + - const: brcm,bcm2835 + + - description: BCM2836 based Boards + items: + - enum: + - raspberrypi,2-model-b + - const: brcm,bcm2836 + + - description: BCM2837 based Boards + items: + - enum: + - raspberrypi,3-model-a-plus + - raspberrypi,3-model-b + - raspberrypi,3-model-b-plus + - raspberrypi,3-compute-module + - raspberrypi,3-compute-module-lite + - const: brcm,bcm2837 + +... diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt deleted file mode 100644 index 245328f..0000000 --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt +++ /dev/null @@ -1,67 +0,0 @@ -Broadcom BCM2835 device tree bindings -------------------------------------------- - -Raspberry Pi Model A -Required root node properties: -compatible = "raspberrypi,model-a", "brcm,bcm2835"; - -Raspberry Pi Model A+ -Required root node properties: -compatible = "raspberrypi,model-a-plus", "brcm,bcm2835"; - -Raspberry Pi Model B -Required root node properties: -compatible = "raspberrypi,model-b", "brcm,bcm2835"; - -Raspberry Pi Model B (no P5) -early model B with I2C0 rather than I2C1 routed to the expansion header -Required root node properties: -compatible = "raspberrypi,model-b-i2c0", "brcm,bcm2835"; - -Raspberry Pi Model B rev2 -Required root node properties: -compatible = "raspberrypi,model-b-rev2", "brcm,bcm2835"; - -Raspberry Pi Model B+ -Required root node properties: -compatible = "raspberrypi,model-b-plus", "brcm,bcm2835"; - -Raspberry Pi 2 Model B -Required root node properties: -compatible = "raspberrypi,2-model-b", "brcm,bcm2836"; - -Raspberry Pi 3 Model A+ -Required root node properties: -compatible = "raspberrypi,3-model-a-plus", "brcm,bcm2837"; - -Raspberry Pi 3 Model B -Required root node properties: -compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; - -Raspberry Pi 3 Model B+ -Required root node properties: -compatible = "raspberrypi,3-model-b-plus", "brcm,bcm2837"; - -Raspberry Pi Compute Module -Required root node properties: -compatible = "raspberrypi,compute-module", "brcm,bcm2835"; - -Raspberry Pi Compute Module 3 -Required root node properties: -compatible = "raspberrypi,3-compute-module", "brcm,bcm2837"; - -Raspberry Pi Compute Module 3 Lite -Required root node properties: -compatible = "raspberrypi,3-compute-module-lite", "brcm,bcm2837"; - -Raspberry Pi Zero -Required root node properties: -compatible = "raspberrypi,model-zero", "brcm,bcm2835"; - -Raspberry Pi Zero W -Required root node properties: -compatible = "raspberrypi,model-zero-w", "brcm,bcm2835"; - -Generic BCM2835 board -Required root node properties: -compatible = "brcm,bcm2835"; From patchwork Sun Oct 6 15:28:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11176437 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0911B139A for ; Sun, 6 Oct 2019 15:32:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 DA2A82080F for ; Sun, 6 Oct 2019 15:32:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="O2UGvvRc"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="dqiIxaTI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DA2A82080F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=1lAzNcuOFphgW9T4X4QGsKkqlX/GGIC3BYJJVUSiEM0=; b=O2UGvvRc4/+Gf/vw749fenfagI aHb/6Ggsj4TNiZzAeM1sf5qe/YBRTKpnn0c/jA0mRoWD7OWMl8uCBWffKo/ASW2hA40iaFYJgasCe Rya3oQppnYf4lBhEotktVZkmgFfiwTk7zDLnxq65cwRuQagzKfxNOj0/h8coPEF4+EKDCX3yV4NpJ KhhBp00NzKf/uCazoDn7xHzqwyezA1XkE/+Rys9gjYxGBNITHiyPnhmUK5Zdoag9uGRadHr1nSNZM KUu426g9QaEN5g/AbsVpZueN5EbbDhNO3d7mCBzpFWjUJ6aQJ4p/ay2AvoR71Vm6fPeHjRmNCofZx PFsVi8Tw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8W0-00033n-2E; Sun, 06 Oct 2019 15:32:08 +0000 Received: from mout.gmx.net ([212.227.17.20]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8T8-0007sL-20 for linux-arm-kernel@lists.infradead.org; Sun, 06 Oct 2019 15:29:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570375739; bh=64/G+U7l4YOPgIxQpEDvRKVpp256aIf2sojAAfNasOc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=dqiIxaTIzqDRObfmAZ3/di2XK9+3OEU2JonFN9ey/Laoq9Fxq/w+Srur/TtdXnQ7X y10p0KEzOJXYkCSMQB5O9Lc+natucVioJjmup7AAEsqEbJOaMZkriL5RbqeZNXbVz5 2Rv+6Ws8hwLt0GMlm4cd8vA3SfGoqgJHNie0IctQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.116]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M5fIQ-1i9zqz26w6-007E7Q; Sun, 06 Oct 2019 17:28:59 +0200 From: Stefan Wahren To: Marcel Holtmann , Johan Hedberg , Rob Herring , Mark Rutland , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden Subject: [PATCH V4 06/10] dt-bindings: arm: bcm2835: Add Raspberry Pi 4 to DT schema Date: Sun, 6 Oct 2019 17:28:24 +0200 Message-Id: <1570375708-26965-7-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> References: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:4tpMAFC283UicsXToFZeNTvuWl+GxKSv5sw8It1QDxTanTbHnJk COfkxhnv4HIrsDOQmGmeQNt97Qo0MHKklc3acFM90R6aqWcRsGQ++2msOWgh3EfA541+2hj FjV3dRDOXeoKadgMsQg2FAmpxtKgx887qCpb8QJkDq4AcQT1xI7ltJpAVx9CbWXqOXdbux3 zR3QJXFd3PnlKSJuNPlQA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:tJ+R1OyxgUg=:7zg9roUbN/AXkyc1NHRX6j 6mRU1cV9Nr9/RpjcIkOlaO1xfVwxSf+Y4g4CAACLDTwvko4kWOKiHllg6ru6skg/HPYtlJuUv oCDCOPVIYcEi4UGVx+KfdXSjLvI3u0eZGjaQnK4BncuHJrA7L8N6p/R7PlEVT+3X6QLZzHZpM oteHlhQAT+RVJRI3hSEPVJPNMGbgQQUdk2wCp0jG1XYSswoS/0JjziGiERRVWti4UgrsyUzhl qWQhb1b2fJmkx3Rku6OMnSsImHuRztqUI326DZRKB+obslXgKQ4dY0JxGSS0WnZtYJ6w8JbXD 9JdN2c5n52fWBDn14pKj/W+sD+/03D/NWXcR9GsNU+XEzmFx9pFZKxTV/4a65vTEgRg8Xi7ZY ea7TWlPwYXX6R0JbGsm9tKzfBBN2fYK66ThixOoRjpd0yZGtM+w1oWF8JXdi9Gdwasm91br8a Y6n7lIdVF8wK/c0z/NxuNV7JssNE/pc9cb3c987tZluEY33slN1lFdisWTxfGHE529IWdvZ3y pt/QvRgMGYSuvPdjoIWKFzADbbfWEuQQQXFuOUi5Gol2Bc7PDAtP812kpXMqa4LO8extUAqAJ bf2eeQKvEzvit0UHOFTP9IInB1xlmBd1mbME+m8wUBNHFy++NKaK2gtkt8tUQAl/HkYw89X4l sP4g+UwGfLMlv2heGbVR6uKqeieLrV3b+jN2eQeLfbbum6C0q6eF5eKoMwXRHqFBzFJgkErBo ATQfwftGGZ6U4m1/KcUf3v8rRzNn+X5KLuXGVnC7iNtladPQpkxCJSD9bto+u6P4iO1g5Qrjz KEJLraZX7ns0QDn79am7dA7O4jHxU4hefcgw0a8B0TT9vMKqOclLwKkYlA5yJsmKrZBvmovJs Ri+u7YUbIw4QJrZBt2tsltoDJSlbhGZrJBW07N3npTRs2U31ghu1mgGEKDD0Wondc/+9dpuYa cHeN58YgKLomhzymojOQAMDoUw6npCs6dGlsobae7xJW+Rqo45AUwWhMJ05swNl+DBmvr7H21 h9s1bsu9/i4WT4bwoub0vg16tcjGGvOqxlnp5KHd8YzFYNg0viLdJ1ptCB/q45/o2vpzdsV8h LIKcgm5RjRN/xqlERB5XX+Ze8JaQGP1pYviPoe5PQYcM/a8xdsWta0zyjvXKLjkoahuioUUm+ oUyOYZ6H/VNu9ZltXWsMt280DQLMiJGliyz4gmFb7gOLNfEcs0xGPvVN+uOhl+jZLaC/usN9l gzzDp40ViDlZYVO/tBWsFUmno7ycCLw/MQHwhHQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191006_082910_393356_E1D1F5E7 X-CRM114-Status: GOOD ( 10.57 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.20 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wahrenst[at]gmx.net) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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, Catalin Marinas , linux-bluetooth@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Stefan Wahren , Will Deacon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add new Raspberry Pi 4 to DT schema. Signed-off-by: Stefan Wahren Acked-by: Eric Anholt Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.7.4 diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml index 67bf9e2..dd52e29 100644 --- a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml +++ b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml @@ -15,6 +15,12 @@ properties: const: '/' compatible: oneOf: + - description: BCM2711 based Boards + items: + - enum: + - raspberrypi,4-model-b + - const: brcm,bcm2711 + - description: BCM2835 based Boards items: - enum: From patchwork Sun Oct 6 15:28:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11176419 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E19B4139A for ; Sun, 6 Oct 2019 15:29:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 BFA1B20835 for ; Sun, 6 Oct 2019 15:29:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZS1G3nXY"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="eY9NwglW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BFA1B20835 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=PEPZOa4ALIhQ08VimZXZQaeD8ohhMyqZZw00btdYqCY=; b=ZS1G3nXYCp24ET4ZJHBWl3PlmE 1Vd4F0aF/FwBKyMBrN+99zWCiQUXILOfK/fd5aj8AmYQadbW6i+BpjNKX+9KVKVLlzoxEfCsBpo8Q N/JfnyExOp/R4akTJF6jZbm8gyOkGnPU93v5bxsDAu5km0zhDtSvzy2TZtiYgUbW0cG20tUJyto/M kYiFh3S4szmgdbwn91AT95TVAYiK+ZwZv/B86tst7/GmJQK7Cffg6nJ27D+pbSgZXTUY53GCJpOmo OWE+KzLpvjB9z0YPpGRdreYSjTjRsAzq4qdRyhQEyhD2gIfb6bygr2ceKWQQbM3oj0rcQQ7cYzDqb WyHkkFZw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8TJ-00082F-G8; Sun, 06 Oct 2019 15:29:21 +0000 Received: from mout.gmx.net ([212.227.17.22]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8T6-0007r2-F2 for linux-arm-kernel@lists.infradead.org; Sun, 06 Oct 2019 15:29:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570375740; bh=UyrGE1hEHxmvjVmu+rXNNtvc/iHVMSlZ1dPfkiyXlWQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=eY9NwglWtAYr9lHdDp8njHDVJici7pUeMzmegaPe5W0YujtPVjEaLGDDGTt9tqRMU 0EudVGxdbG+bFFPxL7qd2ey1cF5jtrur4Pa3x6hcQtpILlc2tRx0wahIfeRkBc1xBt YlFX/dLRDr/s4bAUFhFuERSAmvscEZiV3c3rb1jg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.116]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MKsnF-1iXyWf0F0H-00LCrz; Sun, 06 Oct 2019 17:29:00 +0200 From: Stefan Wahren To: Marcel Holtmann , Johan Hedberg , Rob Herring , Mark Rutland , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden Subject: [PATCH V4 07/10] ARM: bcm: Add support for BCM2711 SoC Date: Sun, 6 Oct 2019 17:28:25 +0200 Message-Id: <1570375708-26965-8-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> References: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:2qyaG+54OdyPZ+qcVX9vMoaDfHU63alzpLvTBRaQorhtkLjwbL/ 6wRfS40TsUi5QHLfxCG58B3+CmCvjST8/4KsH08WqWK4NTr9xopfO0buFC1BF8PpmvZ3SDI QyGdY/4jfs0fo8iOSc+CBS0riI60MuUIRIGPh1xzTqs/6eYiYka6ISjBDpYzbneCqu5qJYU 2/uX4NnCll8YcYIcg3fdA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Q6+QKOcsmtA=:J+d7W1sRcDk4XLyAoAjG1C M/bUCBr+8wfhhVR/OXNueelGx7x1p9uVDPnTUe2DPRhHnyQodtWeXmpgH4soEgpsv4sFZ92vt qZ4tMKXnFlg9LU4lzQsYN11T96j2lnmRbOlyzkqk65NiTpNXJLIJ2ulzXQXAJ8udmEkRjcfFI VG9SWZGmmjTCElM/MvqiHJBfbJ7G1U3zy+ctT68IAb+qgwRnoQexB/l1R2c/UqmUvo1uIAdTs mVwuAAT9LeU7SQDOp1m16iEIXqLvc2SzB8r4M3BHl1lQej+VqTQBcu0B+mZoiuZjv6UZJsKWs Zw0NUiSv7o4KUWqTNNCzCAlCAXNXDhuGphAFm4ZOgSGx4w+ngcwU5/5dekT0/Ly/CZTJSjmKU px558yw2RrkfEdpIrkpakR07DYQB8Cvq34jggWlcTFwQxzfOITU+lOtamtHTRze/oQewhyqIW lcxAA1i0nScBorRIQR3mO+4wx9IY5zXim3PWxouc4cg0HhrFYTEC28KaJq76vRHxkz3xV8lAg hU0xnqJ2T5qFSqJv5wtTuwCBXbJKcP7u5PDvrwyBr4TabFijPkAeTlUiWTw4EuLNTPvHhJ94x ZDsLkO18EhJWTVvAm1g+mnfpAVIqhTEoxHr5drPhJATCNAF+d5S3CMwb5kUHj1595xkwjVceX kszj4+Hounp1rt/Hvkh2e457Pe625rj5WPi7Wn2QuP/nINZxPxev6CJYJKodrgWmbO/uUEQZ7 BZnAkNSIwyKvK4/cYnOuCmQ/1CX90eS53X03Mgqygwbrqxx1IhURdUScaRe51z9umikp3cBQY EDD/4y+kDmPfzO8OmSgsozKlLIXX5HBV9CnBtKqKTN97Yba83PGeZOuKiW8qYAsj96hYZAs8K 8s9CbVe3skddwnI+3RoOOY50iKe3ER22MRMyzO3DxpfTGMZRDYCKajt3ukF6pYO8Mf4JnhftM IWnweH08ZcJdS1Hd8d7y65bwLzmrj2a+IIHTfiT+mdxSyYWmUqkCezkTZs9CiiscT2X85kVp0 iYUaQaDoNSbawIxHrgwZRrxlIDdVQ8Y2+pva+cwhh6V7hF2j8EnL6qN+Lz9LfuwWrlfVAdUcG 4uckbe8x6v8xrUMwInvrPwZg5DBFnNvCvgzCa5kz9/VHNEFCyn/kfi+6Kf+fG//J/0D0HXzX7 uyhP4M1rGcZrRjFSHkOCmxXQk1DhWQ+l82K38orqNVgkHlYh48ya4qYrtfX7QwNbIHY1KjhDH gMbJU/CHiFq87yeRyUuorMbzFFk3Og03HZeZWRw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191006_082908_801115_D3532589 X-CRM114-Status: GOOD ( 17.11 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.22 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.22 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wahrenst[at]gmx.net) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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, Catalin Marinas , linux-bluetooth@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Stefan Wahren , Will Deacon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add the BCM2711 to ARCH_BCM2835, but use new machine board code because of the differences. Signed-off-by: Stefan Wahren Reviewed-by: Eric Anholt Acked-by: Florian Fanelli --- arch/arm/mach-bcm/Kconfig | 4 +++- arch/arm/mach-bcm/Makefile | 3 ++- arch/arm/mach-bcm/bcm2711.c | 24 ++++++++++++++++++++++++ arch/arm64/Kconfig.platforms | 5 +++-- 4 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 arch/arm/mach-bcm/bcm2711.c -- 2.7.4 diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig index 5e5f1fa..e4e25f2 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig @@ -161,6 +161,8 @@ config ARCH_BCM2835 select GPIOLIB select ARM_AMBA select ARM_ERRATA_411920 if ARCH_MULTI_V6 + select ARM_GIC if ARCH_MULTI_V7 + select ZONE_DMA if ARCH_MULTI_V7 select ARM_TIMER_SP804 select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7 select TIMER_OF @@ -169,7 +171,7 @@ config ARCH_BCM2835 select PINCTRL_BCM2835 select MFD_CORE help - This enables support for the Broadcom BCM2835 and BCM2836 SoCs. + This enables support for the Broadcom BCM2711 and BCM283x SoCs. This SoC is used in the Raspberry Pi and Roku 2 devices. config ARCH_BCM_53573 diff --git a/arch/arm/mach-bcm/Makefile b/arch/arm/mach-bcm/Makefile index b59c813..7baa8c9 100644 --- a/arch/arm/mach-bcm/Makefile +++ b/arch/arm/mach-bcm/Makefile @@ -42,8 +42,9 @@ obj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o obj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o # BCM2835 -obj-$(CONFIG_ARCH_BCM2835) += board_bcm2835.o ifeq ($(CONFIG_ARCH_BCM2835),y) +obj-y += board_bcm2835.o +obj-y += bcm2711.o ifeq ($(CONFIG_ARM),y) obj-$(CONFIG_SMP) += platsmp.o endif diff --git a/arch/arm/mach-bcm/bcm2711.c b/arch/arm/mach-bcm/bcm2711.c new file mode 100644 index 0000000..dbe2967 --- /dev/null +++ b/arch/arm/mach-bcm/bcm2711.c @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Stefan Wahren + */ + +#include + +#include + +#include "platsmp.h" + +static const char * const bcm2711_compat[] = { +#ifdef CONFIG_ARCH_MULTI_V7 + "brcm,bcm2711", +#endif +}; + +DT_MACHINE_START(BCM2711, "BCM2711") +#ifdef CONFIG_ZONE_DMA + .dma_zone_size = SZ_1G, +#endif + .dt_compat = bcm2711_compat, + .smp = smp_ops(bcm2836_smp_ops), +MACHINE_END diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 16d7614..63b463b 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -37,11 +37,12 @@ config ARCH_BCM2835 select PINCTRL select PINCTRL_BCM2835 select ARM_AMBA + select ARM_GIC select ARM_TIMER_SP804 select HAVE_ARM_ARCH_TIMER help - This enables support for the Broadcom BCM2837 SoC. - This SoC is used in the Raspberry Pi 3 device. + This enables support for the Broadcom BCM2837 and BCM2711 SoC. + These SoCs are used in the Raspberry Pi 3 and 4 devices. config ARCH_BCM_IPROC bool "Broadcom iProc SoC Family" From patchwork Sun Oct 6 15:28:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11176427 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9B76D76 for ; Sun, 6 Oct 2019 15:30:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 2FD0320862 for ; Sun, 6 Oct 2019 15:30:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="cdW/7hbO"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="SvVWbrKM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2FD0320862 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=mxNRs532jxJ6zOAoDYAt5adwMIK/IcEmEOHjhrV0irQ=; b=cdW/7hbOn4sAUqVfhD/8uWq3ji MPR+Tsj9nVPse35VNHJC6kLtiwx2wsUXCpS/GXc5AfxrNOO2EzXzD7Gsoz1SJyYZC2LPbdaf8ni+6 YpGqq5ig5PwOsB9uF5ZisBILia5r6SGyCksrNw15x+MQhW7No3SC0U+MB3yxfsMQBVoKWN3g0jHQn ZnGJchAin6YzG7ZBcc0AUBBKl9UELAmMz/hDu6n3qpx/KV4NuhNffStByoPjvoLd1QFNEoBf59Gy8 c1UDECnuLyJb8wzShYhkRPpBMa0KHCy+HWbGx9ift1SoAu4YJxYC3W71TSHMBtOxzIlg9fqd7gYM3 ZUSmharg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8UW-0001lb-K2; Sun, 06 Oct 2019 15:30:36 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8T6-0007r1-0s for linux-arm-kernel@lists.infradead.org; Sun, 06 Oct 2019 15:29:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570375741; bh=FkngokdC2rUS6EYd82B4YnpsaWxgmijFZFmYGpbP0VQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=SvVWbrKMKvLFjTTXtTF5wP+iwQBqsCv24EiNmlE3We+LImczzgQlELGoqlGqSNlk9 tKbGps8CTVV+CaMQwb6wNo2NTk1Mn7ME9+sj9Fq81N9HgwgOB8+YbK3FWKzr5L8vZQ hPVPNBcpUqt9QGFLVp6CFH3Rn+tw9HKEOLwjcgO0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.116]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MFsYx-1iKD7T2iEx-00HROr; Sun, 06 Oct 2019 17:29:00 +0200 From: Stefan Wahren To: Marcel Holtmann , Johan Hedberg , Rob Herring , Mark Rutland , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden Subject: [PATCH V4 08/10] ARM: dts: Add minimal Raspberry Pi 4 support Date: Sun, 6 Oct 2019 17:28:26 +0200 Message-Id: <1570375708-26965-9-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> References: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:4Wlm88GOz3AYHH9St1U2/DPD63GIidkjHqYNhlei15yLV3NenRb 55kqffLu4iznGaIVarPWo2HYlHz8m4P0nbj5nkVWRBnqbqgZiKvpdCigaRVUN9DxYtAQn3o /XBH+eqxEm02CVdcXyPIAwiI9cfMKcwm+3s5mcFoQciprrVc6iSqgLW8toRuRSuyk05ur6s OVekJfabgttT+bboogDOw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:5pfjuFdroGg=:cy6PnVTee79O/+daXKiWm6 kqyXtcPMVVqo0HBvXHlLcneqxFpsG1CD99dxVMgf5tFJ4Zzk98/npmf+Oivfv91Q3+POZCSTw HVsxhtTc1EyuPpa3uIswxsX0eT9G4B9rQUng+35oB3U9EmGqyHeqpFoomT+jF2OdvA3yBjYjZ oP1SMEj/57FHoAUnCpCT76OLKEgfsegdnt5FlqEPnYHLbWQUhL15rvhEa3gBit/QN+bdlGoIS efcsLpILP/oumw2dfAVbrHv3G6+7blNmQUZoQkVb2oTKV9u6ki5xAeETd/uTNFhp8xJY04SWn m/8/3qbJf3bTwXMswAaRTL7jBh69gr2u7NqRlJ+7dmaipa5CLRgEH98Es0XNtFd/i2KURUBUk qtxIYOM7s4+cgEH11LuSqHTjvSTfdmXN/aJXdOQHlwSgXenydNkRPi3LdhZZ9atqvnnrLTY+B sNjcUnLyT4s12JeuLMANEsvg0FeKrnod0eJgwUFV5Ua9PvHD2/MY+EMTc7vlqthv2iuCH5tEt nTYXNfz9fRvQlHbF01otzXIlUr+hBjG3LRmNzU1jLDNudu4Si2QuJ182ghoHylCb9pGounB9v WBG+5mV9HQ1KWtIeGxR3cHy1Rzoa+hwhkXKxvaSlQ2FFoIJiK8llJFoPnpTSi6lYJtxdJSJDm AX7JjzC2U8n2B60hnpMNS0m1mwKlxoPGu8YNvVzfC9xTChdzbBe3DWO1bSBZHa2bW8ciTGZ3s NC2oK5IYDZjq4icCYpf6VEJS1H6Oj/fvM7BxJzbFIS4DjqPJFKmEJUFGSp8dLBO+VPqhiBgMI n8ByYH6OqcxcNC9yVG866eBwIjfUNUTo6QqH/VEbGlu4qhfNO4hkgwmZDD0LZiFgD2lXpjcoc VcUWA69mmB5ZJKvtWy0tEoSXTbQnF1HYGDmdamFzKA3/pGHMa3GZFo2iM1s7ApOyb12jQWtdE 4vUW5q9pBYsZqEaeh08pKplgukzQCGg4F3oA6ikP8+A1Ak31SkvTqjYRF/QaQN+/ymtB7aTah iHpDqZzkxtUDEMT055UOdZXt8pIlt92ioZDFgu9iFyVWI8/Ua5vh5IqwD2RX1tJOAGBF8Fgq7 snOGBSwEF8CF8R7GjAFeOI6G3icrDvNr+gkaT9ijPxJfwcuJDDwpOlxIE6B+B/tKZbptdEfbP UUt/YEMdFw7vwRL0s4wzn3wFRw36tFhls0x3uM77dFeMM1Pl7lHekHKnAKw+8iXoFuhqpi4yU y9/sedqLwO1QU7NyVQZDUg4QPDHbkdhDQzF+Pjw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191006_082908_532967_6CDA45D4 X-CRM114-Status: GOOD ( 19.77 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.21 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.21 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wahrenst[at]gmx.net) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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, Catalin Marinas , linux-bluetooth@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Stefan Wahren , Will Deacon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This adds minimal support for the new Raspberry Pi 4 without the fancy stuff like GENET, PCIe, xHCI, 40 bit DMA and V3D. The RPi 4 is available in 3 different variants (1, 2 and 4 GB RAM), so leave the memory size to zero and let the bootloader take care of it. The DWC2 is still usable as peripheral via the USB-C port. Other differences to the Raspberry Pi 3: - additional GIC 400 Interrupt controller - new thermal IP and HWRNG - additional MMC interface (emmc2) - additional UART, I2C, SPI and PWM interfaces - clock stretching bug in I2C IP has been fixed Signed-off-by: Stefan Wahren Acked-by: Eric Anholt Acked-by: Florian Fanelli --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 123 ++++ arch/arm/boot/dts/bcm2711.dtsi | 844 ++++++++++++++++++++++ arch/arm/boot/dts/bcm283x-rpi-usb-peripheral.dtsi | 7 + arch/arm/boot/dts/bcm283x.dtsi | 4 +- 5 files changed, 977 insertions(+), 2 deletions(-) create mode 100644 arch/arm/boot/dts/bcm2711-rpi-4-b.dts create mode 100644 arch/arm/boot/dts/bcm2711.dtsi create mode 100644 arch/arm/boot/dts/bcm283x-rpi-usb-peripheral.dtsi -- 2.7.4 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index b21b3a6..21002cd 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -83,6 +83,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \ bcm2837-rpi-3-b.dtb \ bcm2837-rpi-3-b-plus.dtb \ bcm2837-rpi-cm3-io3.dtb \ + bcm2711-rpi-4-b.dtb \ bcm2835-rpi-zero.dtb \ bcm2835-rpi-zero-w.dtb dtb-$(CONFIG_ARCH_BCM_5301X) += \ diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts new file mode 100644 index 0000000..cccc1cc --- /dev/null +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts @@ -0,0 +1,123 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +#include "bcm2711.dtsi" +#include "bcm2835-rpi.dtsi" +#include "bcm283x-rpi-usb-peripheral.dtsi" + +/ { + compatible = "raspberrypi,4-model-b", "brcm,bcm2711"; + model = "Raspberry Pi 4 Model B"; + + chosen { + /* 8250 auxiliary UART instead of pl011 */ + stdout-path = "serial1:115200n8"; + }; + + /* Will be filled by the bootloader */ + memory@0 { + device_type = "memory"; + reg = <0 0 0>; + }; + + leds { + act { + gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; + }; + + pwr { + label = "PWR"; + gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; + }; + }; + + wifi_pwrseq: wifi-pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; + }; + + sd_io_1v8_reg: sd_io_1v8_reg { + compatible = "regulator-gpio"; + regulator-name = "vdd-sd-io"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + regulator-settling-time-us = <5000>; + gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>; + states = <1800000 0x1 + 3300000 0x0>; + status = "okay"; + }; +}; + +&firmware { + expgpio: gpio { + compatible = "raspberrypi,firmware-gpio"; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "BT_ON", + "WL_ON", + "PWR_LED_OFF", + "GLOBAL_RESET", + "VDD_SD_IO_SEL", + "CAM_GPIO", + "", + ""; + status = "okay"; + }; +}; + +&pwm1 { + pinctrl-names = "default"; + pinctrl-0 = <&pwm1_0_gpio40 &pwm1_1_gpio41>; + status = "okay"; +}; + +/* SDHCI is used to control the SDIO for wireless */ +&sdhci { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_gpio34>; + bus-width = <4>; + non-removable; + mmc-pwrseq = <&wifi_pwrseq>; + status = "okay"; + + brcmf: wifi@1 { + reg = <1>; + compatible = "brcm,bcm4329-fmac"; + }; +}; + +/* EMMC2 is used to drive the SD card */ +&emmc2 { + vqmmc-supply = <&sd_io_1v8_reg>; + broken-cd; + status = "okay"; +}; + +/* uart0 communicates with the BT module */ +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32>; + uart-has-rtscts; + status = "okay"; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + max-speed = <2000000>; + shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; + }; +}; + +/* uart1 is mapped to the pin header */ +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_gpio14>; + status = "okay"; +}; + +&vchiq { + interrupts = ; +}; diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi new file mode 100644 index 0000000..dfc035f --- /dev/null +++ b/arch/arm/boot/dts/bcm2711.dtsi @@ -0,0 +1,844 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "bcm283x.dtsi" + +#include +#include + +/ { + compatible = "brcm,bcm2711"; + + #address-cells = <2>; + #size-cells = <1>; + + interrupt-parent = <&gicv2>; + + soc { + /* + * Defined ranges: + * Common BCM283x peripherals + * BCM2711-specific peripherals + * ARM-local peripherals + */ + ranges = <0x7e000000 0x0 0xfe000000 0x01800000>, + <0x7c000000 0x0 0xfc000000 0x02000000>, + <0x40000000 0x0 0xff800000 0x00800000>; + /* Emulate a contiguous 30-bit address range for DMA */ + dma-ranges = <0xc0000000 0x0 0x00000000 0x3c000000>; + + /* + * This node is the provider for the enable-method for + * bringing up secondary cores. + */ + local_intc: local_intc@40000000 { + compatible = "brcm,bcm2836-l1-intc"; + reg = <0x40000000 0x100>; + }; + + gicv2: interrupt-controller@40041000 { + interrupt-controller; + #interrupt-cells = <3>; + compatible = "arm,gic-400"; + reg = <0x40041000 0x1000>, + <0x40042000 0x2000>, + <0x40044000 0x2000>, + <0x40046000 0x2000>; + interrupts = ; + }; + + dma: dma@7e007000 { + compatible = "brcm,bcm2835-dma"; + reg = <0x7e007000 0xb00>; + interrupts = , + , + , + , + , + , + , + /* DMA lite 7 - 10 */ + , + , + , + ; + interrupt-names = "dma0", + "dma1", + "dma2", + "dma3", + "dma4", + "dma5", + "dma6", + "dma7", + "dma8", + "dma9", + "dma10"; + #dma-cells = <1>; + brcm,dma-channel-mask = <0x07f5>; + }; + + pm: watchdog@7e100000 { + compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt"; + #power-domain-cells = <1>; + #reset-cells = <1>; + reg = <0x7e100000 0x114>, + <0x7e00a000 0x24>, + <0x7ec11000 0x20>; + clocks = <&clocks BCM2835_CLOCK_V3D>, + <&clocks BCM2835_CLOCK_PERI_IMAGE>, + <&clocks BCM2835_CLOCK_H264>, + <&clocks BCM2835_CLOCK_ISP>; + clock-names = "v3d", "peri_image", "h264", "isp"; + system-power-controller; + }; + + rng@7e104000 { + interrupts = ; + + /* RNG is incompatible with brcm,bcm2835-rng */ + status = "disabled"; + }; + + uart2: serial@7e201400 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x7e201400 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_UART>, + <&clocks BCM2835_CLOCK_VPU>; + clock-names = "uartclk", "apb_pclk"; + arm,primecell-periphid = <0x00241011>; + status = "disabled"; + }; + + uart3: serial@7e201600 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x7e201600 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_UART>, + <&clocks BCM2835_CLOCK_VPU>; + clock-names = "uartclk", "apb_pclk"; + arm,primecell-periphid = <0x00241011>; + status = "disabled"; + }; + + uart4: serial@7e201800 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x7e201800 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_UART>, + <&clocks BCM2835_CLOCK_VPU>; + clock-names = "uartclk", "apb_pclk"; + arm,primecell-periphid = <0x00241011>; + status = "disabled"; + }; + + uart5: serial@7e201a00 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x7e201a00 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_UART>, + <&clocks BCM2835_CLOCK_VPU>; + clock-names = "uartclk", "apb_pclk"; + arm,primecell-periphid = <0x00241011>; + status = "disabled"; + }; + + spi3: spi@7e204600 { + compatible = "brcm,bcm2835-spi"; + reg = <0x7e204600 0x0200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi4: spi@7e204800 { + compatible = "brcm,bcm2835-spi"; + reg = <0x7e204800 0x0200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi5: spi@7e204a00 { + compatible = "brcm,bcm2835-spi"; + reg = <0x7e204a00 0x0200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi6: spi@7e204c00 { + compatible = "brcm,bcm2835-spi"; + reg = <0x7e204c00 0x0200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c3: i2c@7e205600 { + compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c"; + reg = <0x7e205600 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c4: i2c@7e205800 { + compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c"; + reg = <0x7e205800 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c5: i2c@7e205a00 { + compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c"; + reg = <0x7e205a00 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c6: i2c@7e205c00 { + compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c"; + reg = <0x7e205c00 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + pwm1: pwm@7e20c800 { + compatible = "brcm,bcm2835-pwm"; + reg = <0x7e20c800 0x28>; + clocks = <&clocks BCM2835_CLOCK_PWM>; + assigned-clocks = <&clocks BCM2835_CLOCK_PWM>; + assigned-clock-rates = <10000000>; + #pwm-cells = <2>; + status = "disabled"; + }; + + emmc2: emmc2@7e340000 { + compatible = "brcm,bcm2711-emmc2"; + reg = <0x7e340000 0x100>; + interrupts = ; + clocks = <&clocks BCM2711_CLOCK_EMMC2>; + status = "disabled"; + }; + + hvs@7e400000 { + interrupts = ; + }; + }; + + arm-pmu { + compatible = "arm,cortex-a72-pmu", "arm,armv8-pmuv3"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + /* This only applies to the ARMv7 stub */ + arm,cpu-registers-not-fw-configured; + }; + + cpus: cpus { + #address-cells = <1>; + #size-cells = <0>; + enable-method = "brcm,bcm2836-smp"; // for ARM 32-bit + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + reg = <0>; + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x000000d8>; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + reg = <1>; + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x000000e0>; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + reg = <2>; + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x000000e8>; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + reg = <3>; + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x000000f0>; + }; + }; +}; + +&clk_osc { + clock-frequency = <54000000>; +}; + +&clocks { + compatible = "brcm,bcm2711-cprman"; +}; + +&cpu_thermal { + coefficients = <(-487) 410040>; +}; + +&dsi0 { + interrupts = ; +}; + +&dsi1 { + interrupts = ; +}; + +&gpio { + compatible = "brcm,bcm2711-gpio"; + interrupts = , + , + , + ; + + gpclk0_gpio49: gpclk0_gpio49 { + pin-gpclk { + pins = "gpio49"; + function = "alt1"; + bias-disable; + }; + }; + gpclk1_gpio50: gpclk1_gpio50 { + pin-gpclk { + pins = "gpio50"; + function = "alt1"; + bias-disable; + }; + }; + gpclk2_gpio51: gpclk2_gpio51 { + pin-gpclk { + pins = "gpio51"; + function = "alt1"; + bias-disable; + }; + }; + + i2c0_gpio46: i2c0_gpio46 { + pin-sda { + function = "alt0"; + pins = "gpio46"; + bias-pull-up; + }; + pin-scl { + function = "alt0"; + pins = "gpio47"; + bias-disable; + }; + }; + i2c1_gpio46: i2c1_gpio46 { + pin-sda { + function = "alt1"; + pins = "gpio46"; + bias-pull-up; + }; + pin-scl { + function = "alt1"; + pins = "gpio47"; + bias-disable; + }; + }; + i2c3_gpio2: i2c3_gpio2 { + pin-sda { + function = "alt5"; + pins = "gpio2"; + bias-pull-up; + }; + pin-scl { + function = "alt5"; + pins = "gpio3"; + bias-disable; + }; + }; + i2c3_gpio4: i2c3_gpio4 { + pin-sda { + function = "alt5"; + pins = "gpio4"; + bias-pull-up; + }; + pin-scl { + function = "alt5"; + pins = "gpio5"; + bias-disable; + }; + }; + i2c4_gpio6: i2c4_gpio6 { + pin-sda { + function = "alt5"; + pins = "gpio6"; + bias-pull-up; + }; + pin-scl { + function = "alt5"; + pins = "gpio7"; + bias-disable; + }; + }; + i2c4_gpio8: i2c4_gpio8 { + pin-sda { + function = "alt5"; + pins = "gpio8"; + bias-pull-up; + }; + pin-scl { + function = "alt5"; + pins = "gpio9"; + bias-disable; + }; + }; + i2c5_gpio10: i2c5_gpio10 { + pin-sda { + function = "alt5"; + pins = "gpio10"; + bias-pull-up; + }; + pin-scl { + function = "alt5"; + pins = "gpio11"; + bias-disable; + }; + }; + i2c5_gpio12: i2c5_gpio12 { + pin-sda { + function = "alt5"; + pins = "gpio12"; + bias-pull-up; + }; + pin-scl { + function = "alt5"; + pins = "gpio13"; + bias-disable; + }; + }; + i2c6_gpio0: i2c6_gpio0 { + pin-sda { + function = "alt5"; + pins = "gpio0"; + bias-pull-up; + }; + pin-scl { + function = "alt5"; + pins = "gpio1"; + bias-disable; + }; + }; + i2c6_gpio22: i2c6_gpio22 { + pin-sda { + function = "alt5"; + pins = "gpio22"; + bias-pull-up; + }; + pin-scl { + function = "alt5"; + pins = "gpio23"; + bias-disable; + }; + }; + i2c_slave_gpio8: i2c_slave_gpio8 { + pins-i2c-slave { + pins = "gpio8", + "gpio9", + "gpio10", + "gpio11"; + function = "alt3"; + }; + }; + + jtag_gpio48: jtag_gpio48 { + pins-jtag { + pins = "gpio48", + "gpio49", + "gpio50", + "gpio51", + "gpio52", + "gpio53"; + function = "alt4"; + }; + }; + + mii_gpio28: mii_gpio28 { + pins-mii { + pins = "gpio28", + "gpio29", + "gpio30", + "gpio31"; + function = "alt4"; + }; + }; + mii_gpio36: mii_gpio36 { + pins-mii { + pins = "gpio36", + "gpio37", + "gpio38", + "gpio39"; + function = "alt5"; + }; + }; + + pcm_gpio50: pcm_gpio50 { + pins-pcm { + pins = "gpio50", + "gpio51", + "gpio52", + "gpio53"; + function = "alt2"; + }; + }; + + pwm0_0_gpio12: pwm0_0_gpio12 { + pin-pwm { + pins = "gpio12"; + function = "alt0"; + bias-disable; + }; + }; + pwm0_0_gpio18: pwm0_0_gpio18 { + pin-pwm { + pins = "gpio18"; + function = "alt5"; + bias-disable; + }; + }; + pwm1_0_gpio40: pwm1_0_gpio40 { + pin-pwm { + pins = "gpio40"; + function = "alt0"; + bias-disable; + }; + }; + pwm0_1_gpio13: pwm0_1_gpio13 { + pin-pwm { + pins = "gpio13"; + function = "alt0"; + bias-disable; + }; + }; + pwm0_1_gpio19: pwm0_1_gpio19 { + pin-pwm { + pins = "gpio19"; + function = "alt5"; + bias-disable; + }; + }; + pwm1_1_gpio41: pwm1_1_gpio41 { + pin-pwm { + pins = "gpio41"; + function = "alt0"; + bias-disable; + }; + }; + pwm0_1_gpio45: pwm0_1_gpio45 { + pin-pwm { + pins = "gpio45"; + function = "alt0"; + bias-disable; + }; + }; + pwm0_0_gpio52: pwm0_0_gpio52 { + pin-pwm { + pins = "gpio52"; + function = "alt1"; + bias-disable; + }; + }; + pwm0_1_gpio53: pwm0_1_gpio53 { + pin-pwm { + pins = "gpio53"; + function = "alt1"; + bias-disable; + }; + }; + + rgmii_gpio35: rgmii_gpio35 { + pin-start-stop { + pins = "gpio35"; + function = "alt4"; + }; + pin-rx-ok { + pins = "gpio36"; + function = "alt4"; + }; + }; + rgmii_irq_gpio34: rgmii_irq_gpio34 { + pin-irq { + pins = "gpio34"; + function = "alt5"; + }; + }; + rgmii_irq_gpio39: rgmii_irq_gpio39 { + pin-irq { + pins = "gpio39"; + function = "alt4"; + }; + }; + rgmii_mdio_gpio28: rgmii_mdio_gpio28 { + pins-mdio { + pins = "gpio28", + "gpio29"; + function = "alt5"; + }; + }; + rgmii_mdio_gpio37: rgmii_mdio_gpio37 { + pins-mdio { + pins = "gpio37", + "gpio38"; + function = "alt4"; + }; + }; + + spi0_gpio46: spi0_gpio46 { + pins-spi { + pins = "gpio46", + "gpio47", + "gpio48", + "gpio49"; + function = "alt2"; + }; + }; + spi2_gpio46: spi2_gpio46 { + pins-spi { + pins = "gpio46", + "gpio47", + "gpio48", + "gpio49", + "gpio50"; + function = "alt5"; + }; + }; + spi3_gpio0: spi3_gpio0 { + pins-spi { + pins = "gpio0", + "gpio1", + "gpio2", + "gpio3"; + function = "alt3"; + }; + }; + spi4_gpio4: spi4_gpio4 { + pins-spi { + pins = "gpio4", + "gpio5", + "gpio6", + "gpio7"; + function = "alt3"; + }; + }; + spi5_gpio12: spi5_gpio12 { + pins-spi { + pins = "gpio12", + "gpio13", + "gpio14", + "gpio15"; + function = "alt3"; + }; + }; + spi6_gpio18: spi6_gpio18 { + pins-spi { + pins = "gpio18", + "gpio19", + "gpio20", + "gpio21"; + function = "alt3"; + }; + }; + + uart2_gpio0: uart2_gpio0 { + pin-tx { + pins = "gpio0"; + function = "alt4"; + bias-disable; + }; + pin-rx { + pins = "gpio1"; + function = "alt4"; + bias-pull-up; + }; + }; + uart2_ctsrts_gpio2: uart2_ctsrts_gpio2 { + pin-cts { + pins = "gpio2"; + function = "alt4"; + bias-pull-up; + }; + pin-rts { + pins = "gpio3"; + function = "alt4"; + bias-disable; + }; + }; + uart3_gpio4: uart3_gpio4 { + pin-tx { + pins = "gpio4"; + function = "alt4"; + bias-disable; + }; + pin-rx { + pins = "gpio5"; + function = "alt4"; + bias-pull-up; + }; + }; + uart3_ctsrts_gpio6: uart3_ctsrts_gpio6 { + pin-cts { + pins = "gpio6"; + function = "alt4"; + bias-pull-up; + }; + pin-rts { + pins = "gpio7"; + function = "alt4"; + bias-disable; + }; + }; + uart4_gpio8: uart4_gpio8 { + pin-tx { + pins = "gpio8"; + function = "alt4"; + bias-disable; + }; + pin-rx { + pins = "gpio9"; + function = "alt4"; + bias-pull-up; + }; + }; + uart4_ctsrts_gpio10: uart4_ctsrts_gpio10 { + pin-cts { + pins = "gpio10"; + function = "alt4"; + bias-pull-up; + }; + pin-rts { + pins = "gpio11"; + function = "alt4"; + bias-disable; + }; + }; + uart5_gpio12: uart5_gpio12 { + pin-tx { + pins = "gpio12"; + function = "alt4"; + bias-disable; + }; + pin-rx { + pins = "gpio13"; + function = "alt4"; + bias-pull-up; + }; + }; + uart5_ctsrts_gpio14: uart5_ctsrts_gpio14 { + pin-cts { + pins = "gpio14"; + function = "alt4"; + bias-pull-up; + }; + pin-rts { + pins = "gpio15"; + function = "alt4"; + bias-disable; + }; + }; +}; + +&i2c0 { + compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c"; + interrupts = ; +}; + +&i2c1 { + compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c"; + interrupts = ; +}; + +&mailbox { + interrupts = ; +}; + +&sdhci { + interrupts = ; +}; + +&sdhost { + interrupts = ; +}; + +&spi { + interrupts = ; +}; + +&spi1 { + interrupts = ; +}; + +&spi2 { + interrupts = ; +}; + +&system_timer { + interrupts = , + , + , + ; +}; + +&txp { + interrupts = ; +}; + +&uart0 { + interrupts = ; +}; + +&uart1 { + interrupts = ; +}; + +&usb { + interrupts = ; +}; + +&vec { + interrupts = ; +}; diff --git a/arch/arm/boot/dts/bcm283x-rpi-usb-peripheral.dtsi b/arch/arm/boot/dts/bcm283x-rpi-usb-peripheral.dtsi new file mode 100644 index 0000000..0ff0e9e --- /dev/null +++ b/arch/arm/boot/dts/bcm283x-rpi-usb-peripheral.dtsi @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 +&usb { + dr_mode = "peripheral"; + g-rx-fifo-size = <256>; + g-np-tx-fifo-size = <32>; + g-tx-fifo-size = <256 256 512 512 512 768 768>; +}; diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index addf3be..3caaa57 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -53,7 +53,7 @@ #address-cells = <1>; #size-cells = <1>; - timer@7e003000 { + system_timer: timer@7e003000 { compatible = "brcm,bcm2835-system-timer"; reg = <0x7e003000 0x1000>; interrupts = <1 0>, <1 1>, <1 2>, <1 3>; @@ -64,7 +64,7 @@ clock-frequency = <1000000>; }; - txp@7e004000 { + txp: txp@7e004000 { compatible = "brcm,bcm2835-txp"; reg = <0x7e004000 0x20>; interrupts = <1 11>; From patchwork Sun Oct 6 15:28:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11176435 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4B37476 for ; Sun, 6 Oct 2019 15:31:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 E0C402080F for ; Sun, 6 Oct 2019 15:31:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Fn7KqdjO"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="WLLtdTvT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E0C402080F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=i/9ZlcSWHQReHwWyvRWI6cVyrHRhHrrZzQXc2Y7V/FQ=; b=Fn7KqdjOy4DjhtyCIeSBCQYZAa ZyFGDUB2veHZPgh6hsSr++zAGhsPrbzz2gkX72l6iOc4pbZOq4+XDXj+6mtDJxBb+MjHNEh46r6RU uhrhr88+RtJZ2I6eia0ovAe3MUPEA+ly7KUPAOEJislSTkJDLBDIoXYhYMjsMYFBKOkhtGm+g6h13 MtSH//6L5pszsPC7SCGmN/0cFtPt8JZJc7ovs+DXBSOqo9zQfoUjKoFAH8uc/RD3KAB0cNfMhsTt2 hpA7ZJ705kUG3xyw7jEjU38OwkcCkakgaePSxPoxys3wd47FwNmapsjJdCYHNPUMWDNqy6knKLzhf 6VzJ+tvw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8Vi-0002pL-NV; Sun, 06 Oct 2019 15:31:50 +0000 Received: from mout.gmx.net ([212.227.17.22]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8T8-0007sR-4j for linux-arm-kernel@lists.infradead.org; Sun, 06 Oct 2019 15:29:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570375741; bh=zsRxR3IHUAe+a4FnhRTcZN5Fxop1p9dlP5W0ADx11B8=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=WLLtdTvTJVSL+C7Sg3DLZogPXOLnF+MYv7CISZw0w9AhGBQQkXBEHh3CiAi/fMM9i fQ4PYFejYVG2Qv18ROp4i/CZqOE87lJcyPttX35Zk09NI+rYu3ce8G8nYJwsqsl7+c OiC6nrqCpggfnUg/Yn5y7zVnS8J5EydkiV4RFMS0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.116]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MVNB1-1iiTAw0xd9-00SNc1; Sun, 06 Oct 2019 17:29:01 +0200 From: Stefan Wahren To: Marcel Holtmann , Johan Hedberg , Rob Herring , Mark Rutland , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden Subject: [PATCH V4 09/10] arm64: dts: broadcom: Add reference to RPi 4 B Date: Sun, 6 Oct 2019 17:28:27 +0200 Message-Id: <1570375708-26965-10-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> References: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:ON0gA9PtGkXWmbxKZqc2fzs/pNiWrzcX2ZwiwfEr8L7aCP6Vraf MZkposixV9lKWtxDmtArGEtW3UEjm7a8PIm8k4CLfsKgVT+mjgccEVQ0l/8UphnwlQYaYu/ loBqdLssKqpRC0NqlIUk6UXRRQfiPkZeuQVO6nmbPo0fA0VhzjCCGDhwDaK8tpt0qNHboMa g+0SJXehK1sEL8xls3SOw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:cyR+OKiBsl4=:94ywcr6Zbb8TdryMYPN/f0 yy4QaSlJETqCMaX6TaQ8d9Dih02qRCgksOtGfF4/qoZ+EW4DVb19ot/LGeMW+3jsux/MNWGFB zfmzKz75jlY0K62Inhkv+iY5hdEjjuhpUdMYL4LfRYJX5Mg2rraV/tytrNu4T7Suqis9S74d1 IVAMCmUDLbtZm/Av5Y5rWweGVEXhZESl+fNM5nLo6JnBayStg6xaabRu34lHgBRh3z2tAG4wd Oe6ESFIk+hRhh6X8zspv3Dj68JAK5wFNgaeJukx73zJVMZsQuo/5egXmqYqnNY1Xmz8mczISA FVXkosdmgvWEik8z+fjDTlkNRpgy9PzTgMqc2PAI+A1zC0KUACa7mZyiT7XUTSJJNu4oFMByf ImkBWcg8ME49HY2sCj+Jp68XpRfiuw5Ep99D/w1hfMzelQeKjl5J7GmWorZj4XyhxVq7jvfDs dZXO3Qo4FBYcjQcUF3yEGQT64Ey+WjUDSfU+tBrq1tXYIx4mMnUpLPMfofL8t0HxTlOgkFa8t AN9G6uO7i7P1pQ12DwQNXu0vuOxGLOrpaJw/K3sQxt69uj/YohXf1n7XRtqFAqqpmD6Ki97aH 27ZA/zFhNlFh+nx70AasuLf/p0Iy9UQmVCvad6DE8sgZDp3Vb19/ueORYarffg4mKRhJEqNEZ 1EAHZCObu1HLcsMp04ABq6zv/Y27QRKEi+2KWgfiIoRIAR9wMNUhTwFGXBq/WonutKnMhFlg3 db+1WjtuE516p884U/M8dpUapJksckKa9/FQquW9K4AcFKNChJRbdL1WW83hyFSjOM6ADshKf OXpqKppGs7OLMxIk97/FdH/nXSP1L4bjtO+tZMpVgY85fuo/6M7jUX4h6v1Z/W/6F+ve9UJRz 0YaQ+L23rP2vc4vXla5Zg5t6qLMV3nW0OHj3WHwYa8OhZF8NCeoXiGg8sg9AaCPgFvKjx/1JR eIUQGRGMxGK4Ql7VcDiaghHIIXIIxzJVZPprT1xKamKSp25dY863zQRGq4k+Mve5WI5ZcxF4r rVx65Mu6kauX5atmAvT5EAWl2pUriASTagEMXG11bq39CKcvl5jV9bwIexWozV7rKNjnSbCum fsR6t5hzUhQaGHgwYwMoche8O2rzMYj0OKdAp7+hoVPFU3lUhCctdqF1r5kHr9VvhUbS8eIjQ O6nqbtZJLfMsubFb5nB607FhdX5F8ZlSY8u8k6U8+55oy4mNWgJJ7EJte3h8fdTmO5SppiIf1 7o08mAP7lD3Q8ykESB2WfYD8vKrFBHOpxxtmRjw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191006_082910_474832_45FD173E X-CRM114-Status: GOOD ( 13.41 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.22 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.22 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wahrenst[at]gmx.net) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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, Catalin Marinas , linux-bluetooth@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Stefan Wahren , Will Deacon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This adds a reference to the dts of the Raspberry Pi 4 B, so we don't need to maintain the content in arm64. Signed-off-by: Stefan Wahren --- arch/arm64/boot/dts/broadcom/Makefile | 3 ++- arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts -- 2.7.4 diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile index d1d31cc..cb7de8d 100644 --- a/arch/arm64/boot/dts/broadcom/Makefile +++ b/arch/arm64/boot/dts/broadcom/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_BCM2835) += bcm2837-rpi-3-a-plus.dtb \ +dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-4-b.dtb \ + bcm2837-rpi-3-a-plus.dtb \ bcm2837-rpi-3-b.dtb \ bcm2837-rpi-3-b-plus.dtb \ bcm2837-rpi-cm3-io3.dtb diff --git a/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts new file mode 100644 index 0000000..d24c536 --- /dev/null +++ b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts @@ -0,0 +1,2 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "arm/bcm2711-rpi-4-b.dts" From patchwork Sun Oct 6 15:28:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11176429 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 38B6F139A for ; Sun, 6 Oct 2019 15:30:55 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 0A7C12080F for ; Sun, 6 Oct 2019 15:30:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="piQ7aNXH"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="hxvNdN3c" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0A7C12080F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=j05kzJR6x27dk0gXh59qnzdYXG0yBJSoZjo1MU3nEOE=; b=piQ7aNXHPfM0F2WU4Vf7pgeAb9 tXfR2/P1R7H7VXKLbJzJEi23QlOmcjENSZaW9QtEGyvDtFzF7dwWMBW8dfvFcBYzwwWD+skfBbJ2i 5vC9OEruKMwIc/7I8lIz9HQSXXhnBufsU6xSDv++POOlbtLNpn+TcSGN3TCHfPNwlb/uWMsORMFlB Yg2j6N4PmL/fh9QjFASwMPDo2KtxE5SRWVs5vQDvBjwTW4cSQp6y7ESsg6pVbZ1aVS4Zf6nlQyWXn 5jL9UDnJLdhMCD1mfaSeLAeo4szEzOJORmVsGj1pp6S5r7vhAMALgi/qAfn+ndZPZJoEGn03eYh4u NJggCeTg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8Uk-0001yq-6E; Sun, 06 Oct 2019 15:30:50 +0000 Received: from mout.gmx.net ([212.227.17.22]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iH8T6-0007r7-Pn for linux-arm-kernel@lists.infradead.org; Sun, 06 Oct 2019 15:29:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570375742; bh=8nLmfY08cK6Zl55bjH7dTnmxZSguSgPLd5QV3TA7wYk=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=hxvNdN3cgWjB8KXsNL3AJA/h0HrMQsxNVgxkn67YX9P3O85yaK66Xg4GDkyujhquG r+Q5rtxnyyE5AzoMXDqR1zuRAp4gTh8HzyZsyPf8wWlnF1IZM9umWu+2phyoyFDGkI oScytdho8IAXwbtOZfkH8Yafsu9kQjvKjwJqiM4M= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.116]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MuUjC-1hzCD13IIs-00rV5A; Sun, 06 Oct 2019 17:29:01 +0200 From: Stefan Wahren To: Marcel Holtmann , Johan Hedberg , Rob Herring , Mark Rutland , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden Subject: [PATCH V4 10/10] MAINTAINERS: Add BCM2711 to BCM2835 ARCH Date: Sun, 6 Oct 2019 17:28:28 +0200 Message-Id: <1570375708-26965-11-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> References: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:ho7aodY28Mw+u3YaTMCbHrrwJViCpFvXzIPn5PuSWIG7Bbv2UTu OR1+pZrBOm6bV5ikYjEeedAIsyfTNMfwEoqprQ+l3qbioT6oLRKnF4fEVMGIj9izfLmYXaf WX9PqoYLlF4TjOHooNRW1R27Xp1IDE4QoX9UooVWKGccxHn5AjpoSgfOuaALqItuyuNa4zi Cb/cOv6M7GGQ3c2ANavew== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:tkgwn1bGI14=:Z/hUYUhFbB+/CWHlJtJhjy 64j4o8dKT8/CpDRcbmWeUJeSORRlq5SUdvNpgM0XkF9RY2t3m/NyQmoLgKfR3NwSaktxB2yFN 1+/Kw+S2NFHQU1t6w2VDYeu1HHuREdL8/mLOZgoLaUT/NvAZkKx8+FM0WwtC7mKxN9xUpcAmH 0tJBUfY/zvyN0j1m1yNY3tqNqSQuNssUtNoTdyeFTI+t2toibKcVToo/xUat8X6J1PAP+MGiv ap7mPq987SFy03eVoEY3KRLlkMBn6ybJi7YqEA+JqojUPC5tqbjnlJcA6sX4m3cZsbu1p3Vs3 Tq/XMkTbMhMRvejd+vmIRH7Am85+zGBQdPSv1Wk6XVPyX6LxnnZdy/tz53CHfbdYxB3qtGJyB ZstGSRKXh5rlNC3t0A38SYDaxLD00Eu16VahKZYncxeO8JzTD8Cnqp5KJsGYzh1cJAxjshB0P 0/UtDt2Tz7zenal/IZFCbLLKCJwpE3u3w//rh6eCliMH9EhcqZwvqVTGMP1Azx1zJSy+9Lmys hho/syv7XoGoYzVFFP2lvE1ffF7mbxkFxOWsTJrx3Adjnh0zo6l/Dw9BSBDbYbxNao/8jehZK XTD2vxf3f/md7Kb+ZU+kkWM5dXMZZZPC2+OLkPPLDcdfF9OH5NLkwOiseyH4NyOJFID4oTer3 hl/WF4Dpn63BJrCtwuOI9FF8Wz4UFNXJ18cY9TDAJrW7b21d1qQkRdXtHw5DLjrYTrxKsWM8d lx4wS+Uo7ZPSYqpVi60pcIynaGyOJlFmmISd3ggqtv+S/ez/zBQ09QZDgsX11blkFyMTIfM89 X7ptvFmOYSD/4LsmvLpfGipY/uL5J1FxfkmgRNWTKrbbpqkU2FTvo6pRoSwWt5l167o9sVnAv 3PVZGUA8pq79Cr+ywDGV9t5n4u2UGXG01+/YXfmrITq166pWaY/CJ+FeUS3USh/FsWfOzpbup x//TWUiq44S6qdt1IdnmBp5fHyN930wYa+qwVfzDPqmrG5EsH19qu0PonzgJC8o/w9yZBVJKd XoZLfzajSojeDLI5OcSgQuCvggp8Q/TvIQppRi78sLqmFb5iPOr3BrB7i8rH26JKwYqW4vM2w oXypXu7CXaJgvW+1773xMm+WaDoQYraMEGKsA+bdwCdW3dSHz/XSo9F63SqPAk56XGC6OVuPu OSNp3MycHkjJk+TiypOg/AVuEhj/YzzFmV4uitB9okYN4uasf1i9Mzk+7lDhe9cpyZikSiTF7 RCVmcqpazxXs1bSyl4xe1Ocot5jmkHwyNUN/oTA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191006_082909_125735_E436FC2D X-CRM114-Status: GOOD ( 12.60 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.22 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.22 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wahrenst[at]gmx.net) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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, Catalin Marinas , linux-bluetooth@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Stefan Wahren , Will Deacon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Clarify that BCM2711 belongs to the BCM2835 ARCH. Signed-off-by: Stefan Wahren Acked-by: Eric Anholt --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/MAINTAINERS b/MAINTAINERS index 296de2b..14a939a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3187,7 +3187,7 @@ N: bcm216* N: kona F: arch/arm/mach-bcm/ -BROADCOM BCM2835 ARM ARCHITECTURE +BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE M: Eric Anholt M: Stefan Wahren L: bcm-kernel-feedback-list@broadcom.com @@ -3195,6 +3195,7 @@ L: linux-rpi-kernel@lists.infradead.org (moderated for non-subscribers) L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) T: git git://github.com/anholt/linux S: Maintained +N: bcm2711 N: bcm2835 F: drivers/staging/vc04_services