From patchwork Wed Jul 17 21:16:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11048247 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 09A58112C for ; Wed, 17 Jul 2019 21:17:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC244285EE for ; Wed, 17 Jul 2019 21:17:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF4A128785; Wed, 17 Jul 2019 21:17:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 44A32285EE for ; Wed, 17 Jul 2019 21:17:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=VOHp/cJZHev2xNkL/uHaJKZYQsIwgYIbFFNkd4/55gc=; b=H7g R9jXi2EUg4dCZ7HBybDf6ukUMucT8hJGZiFeWs4D/ThnplB0r2iKkChIIBv8gkB0cftIAS6Wmq2DZ cErNTDlwl5H7H02aQ6r2q+CM+BKqRJdbiWh9Pco/utYYeiTUKBrxMNoXGQwU6of/lnLhFiihgJ0mk LNQIbKf4YmjAYUd35PTIAwGng6T3J1P3eW8rCKaoIyALpZFHMxWSGPhpo9AMhTIsH1Y9Az+zgo37O ZF1JHJ5Olz69dDn2LTCq3V+O4AGJar4BG/qnN1KqPwFegdtAarPB6cag6vMftqQqp+FNjBx2z+FqS a7FJ4viKSQfy1pZ0qlgezuC9q10u7Dg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hnrIg-0001QG-BQ; Wed, 17 Jul 2019 21:17:22 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hnrIN-0001Dd-EB; Wed, 17 Jul 2019 21:17:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1563398201; bh=WCvMKXDBWKXwnYHjZMMZNVbZNpb2SQ/h74IatwOILpk=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=RYXo/GhcP+xozWXeTehL1uwbCDeDlTOaSV14YnuDlhIJldgkr31zreeYY/MBWiDI2 RW9Bjjn6Gqpkk9yf6XKvauY5ZTSe6tKELH4SFWDaM1F/ZYsiHqR7N1q7s89s6ra0aS TC7AIUqDGpyrR9D8ljnmD8Nca4wVejQ96F+D3q2I= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.103]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MHGCu-1hjTYm3k6S-00DJu3; Wed, 17 Jul 2019 23:16:41 +0200 From: Stefan Wahren To: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Nicolas Saenz Julienne , Rob Herring , Mark Rutland , Linus Walleij , Michael Turquette , Stephen Boyd , Ulf Hansson , Adrian Hunter , Mark Brown Subject: [PATCH RFC 14/18] HACK: pinctrl: bcm2835: Implement legacy pull for BCM7211 Date: Wed, 17 Jul 2019 23:16:00 +0200 Message-Id: <1563398164-2679-1-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 X-Provags-ID: V03:K1:3Te/qeP21f9Rlc/FvaGmfk05uRVCEXdDCLUdyTOaML1i2CWISmx XsU6ceFsnjyCWvHrPFjmeN5YEbj6ypngSKgMDbdNYO0EST/XX4/0zWfBDUzm0kY9sVuIyVZ etPg0G6Gzbm6zWI7aezIyQbQFzRZPRsAuz7OnIZ8Def+486AOqMEPNk/6jr6KYO53Mw6/8A Sw8ZgS1ywrYcvSoLFRwbw== X-UI-Out-Filterresults: notjunk:1;V03:K0:YQPbP2QatIQ=:jAgQW5+YLaCVzPLRmLvRXZ HQVphSNed/dOaajpvSpFRpjyvabuS7tokZHaSH4QI1nx5Ukgvgm0A6IFmiMLLZbZNwjKwYktg JEf4uzGEQ12wXteboPRpHHwl9Oi8Wn4gKg9OkCZsZ2srH3cn9+WSCmUrXnLJXUddG3DW1KzL1 VCqqf179CwpyRSy9UrmlHIeKClcg7as4EAKBy+IpBiiry2zi1J/7TheWvrRlPyXSutpTNmYoR Xkg7EyeLehQGcgXUguPBOBH7GHpp64xNECZnNaoyHEgycxrXelt/H+/9fXVMdEWl/3MWcCVeI K7tr4WyPZNziH2NCIHkTpDTaZfS7fgR5woJCnXKaOoDXaq5i5/snax0I1fgUCaXQUlJQcKbMZ lNuBFuHLaTmuccQJra7xP3eUDaOtDKBg9hFqn23gpbVsnUVEXMzbTFZd2ooM+GITBg3vdglcm 8WBs4F1GxC+qCDWamXLIzEGjFBEZ5suz3cmetGEofocxNdwXjrDvm06H9asSKnzd8gktYWdAv Xmd9zhwrK68AF6gwm16hu78TCXtgUbM32MgRm/rKG0CAnaK5aJtcTO7wdWIo+2UmlYhfbqI7w kzX1b2l1cdGR8HmxiyrseE248yuhV6HyCMki8zVBrYm0zOwpNbXU9UrMizgyIfgsDalRLpU9n jlrGSHn6t6KBeGSH5KnLRRJcKLd9aDa5LdnfsJSaQQHa90S622Y2BgXPeI040W/QwV8HZfz7+ D2vmkxwuEADRtrYcP3ZKK3lXxeIBJyClQF9350VQ9o0ZlU7/Kgo4u30+YVDMdMAh0CLaeUaIa yLIVznRpuYoBySsmivoObLoGD0F7yKwGJjCFDB0rpAbuFDHTgierIvME8So3+ojb4ibUO2Qet Pc5GM9clwdcmGRwQPYojLS7jXz10LFB1eGDEKxuHb4mTCYdgQy1mUhijKg60KLrCYim5klt0Q PjazMync97qId3f1O3U0oYCmEJPYZyF8b3BU7lND2uwLvCxjbDDF8XlMWjZOhWzFTy1/3E4QY cUiB2sM+yZokwxfgZTeOtiBVw4Vg/Noru1+y9vdHojUa0c3s16g15G2kJXXTquK22THEWrytj FqIZ4RrDtCGQj0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190717_141703_799940_B4EB6B4B X-CRM114-Status: GOOD ( 11.08 ) 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: bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This temporay hack is necessary to make the BCM2838/7211 work with the legacy pull configuration. The better approach is to convert all affected DTS files to the generic bias control. Signed-off-by: Stefan Wahren --- drivers/pinctrl/bcm/pinctrl-bcm2835.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.7.4 diff --git a/drivers/pinctrl/bcm/pinctrl-bcm2835.c b/drivers/pinctrl/bcm/pinctrl-bcm2835.c index 7f7cc5c..56161b6 100644 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c @@ -1003,6 +1003,13 @@ static int bcm7211_pinconf_set(struct pinctrl_dev *pctldev, /* convert to 7211 value */ switch (param) { + case BCM2835_PINCONF_PARAM_PULL: + /* convert legacy brcm,pull */ + if (arg == BCM2835_PUD_UP) + arg = BCM7211_PINCONFIG_PULL_UP; + else if (arg == BCM2835_PUD_DOWN) + arg = BCM7211_PINCONFIG_PULL_DOWN; + break; case PIN_CONFIG_BIAS_DISABLE: arg = BCM7211_PINCONFIG_PULL_NONE; break; From patchwork Wed Jul 17 21:16:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11048251 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9E976912 for ; Wed, 17 Jul 2019 21:18:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8CA28285EE for ; Wed, 17 Jul 2019 21:18:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8005628785; Wed, 17 Jul 2019 21:18:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6FF24285EE for ; Wed, 17 Jul 2019 21:18:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type: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=FRZyTuyUa3zIwm2v1jjMnWq5vjlsTwMm/Ypbiu8+gp0=; b=csJk8NYQjq1apC+Lsp/+PDgqzl O4Xc9ohh2+Y2tXQkl3x2fY0Ytd2hVz3O4iNiyJ/7Zq2ghaghp5x3j6nxMX18Qe1rqdsOmaPAzKFP/ MZ9a1PWIBTWhlgKgMqIqGZutzaHz6+dugq9DVv2xicLjp6KAMCV5BKgItAhmA4LtLwhaGtbgSgNfF 7ogO93BNKhj+I+OVaTony/iX9SbFCdljCr3vwBPwthkpGgGAqM1TjHa/SnK0ZcdimeQnK+Vj0bZoJ tch+G9pSjiMs7gdBhMYrEdjrj03JpWuVeL/qaIpeOeP9L2ij/swpJqQT0IxGwSy0jjH1ExlnOgYt0 G2qz3DTA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hnrJI-0001vA-Q1; Wed, 17 Jul 2019 21:18:01 +0000 Received: from mout.gmx.net ([212.227.17.22]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hnrIN-0001EB-Cw; Wed, 17 Jul 2019 21:17:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1563398203; bh=RKyYi3D865CoXi/SiII5f3nwe9zwmjhv+nfFs4qsZsU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=XfwEdH662eBbsfJZC2I0u14+ymNnigc191V10m3c+7yrrJc7qQoJYe9g2UUIH/8Gr XANagLGRmTdDjcDRfDhL17cbMrfQhgfZV8nrymxVmjCN93AKjx0SNEhtWKxHbsPBN5 BcMHBNxQTbMSOM7t5SpdF0aqh01ZzTQm6vYYjtjc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.103]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MTABT-1hseWL3UfX-00UZVA; Wed, 17 Jul 2019 23:16:42 +0200 From: Stefan Wahren To: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Nicolas Saenz Julienne , Rob Herring , Mark Rutland , Linus Walleij , Michael Turquette , Stephen Boyd , Ulf Hansson , Adrian Hunter , Mark Brown Subject: [PATCH RFC 15/18] spi: bcm2835: enable shared interrupt support Date: Wed, 17 Jul 2019 23:16:01 +0200 Message-Id: <1563398164-2679-2-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563398164-2679-1-git-send-email-wahrenst@gmx.net> References: <1563398164-2679-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:iSeXsKsBYm+LpY7gMh3HRn6IhH4JlouvRmjBtpI5n9cMlxi2Jpd jUFtjIx3cAC6SaO8iKGQ8TUsmP/Zs6HfzxNbslS7Nlfjo+ledFO3K+iffwXySpZxHqpxaoI d3F6YJP/s2NdiX3L5PAypP5EejYpNzsaE0Hq5N5W+wvBwNoIO/AO+zpy423FHl0m84wIQAR 3jy8KGRzma+2U4LR1WvuA== X-UI-Out-Filterresults: notjunk:1;V03:K0:6DeFpctAVQA=:SXWwWKJLfO5X7+yGEdIS9d D89FO3nbE7+Tzf1dZCT3v1tJpaXjmzCkf3Q3+YyyJAGlL1cIovUMT+fE2qi1AHwQK4LUzE4d2 CHyo+sekxF1bbSVOAnAqfPcgOF16BThqBTUJbeYgWIb2K5jOF2yHiToAQ3xkdojkxTW/T0nwd sjPe01nTNy2ubg3Lb+2OMC0pifDOxpBj8DK+2uGls7x6cYmmldELscsqc9a0BNsnt8qzGZBTE 2s/pQ9/hpPd3lG2DvgLO/P0NqUouXbb11Y4W7CTnH6NhjRLJqHUTt0iNcaDcWddZ3/DDuMflA HDF8qNwaueGdiPP8k75V0pP08+H+LnK1zgGmvYLGdcFF9ToaUAwHmWtBCK0yh1RzZdLCgaDEl ISkvjqCrBzhZ2EGWWFYlmcLjxtVIwQGpZJP7QBdUq6jP815fz/keHu8ckGcGaQ3wOHjuA6im0 Y0Tbayl8owC7JzDQBcj0euQdnj3CnpZN5cdfTk+Jse6eTk8kF/HFg7NfhUQkdZGSmBog4Z4ra w4XNFI/AeEj63Iad57alapf623FJlMQHnV5ddE1ksch8v7av27tsXKftLgfBMubNyY7YYXbAy b6UU4ckBmAesMI027+fhRpiYnen2r65c5WfPgLNRPeSs7gKswgFBuryPtALIFE7OVjEkOLJ+V Tlm5XNmKl2s/3yf4LpQu+CBlOFUnyxbxEifqNWZlRN7x+wCMCsOqdr8BSrJf/6bv91n/9Vy7i rwLiHr1YpOogY3bbcpYKwX45jR6rD216vISnsgQmHIJG7YatfGC69Hn+3ZdAwIshttJUg8zZa ecL+3U3wGpvqV4Z2LvD+X+228r6tX8bSv2l37q6wW0fji2s8NOoczmjvLlJLPsM+IaphkLLGw FqtFkbaN4HLFFMdzs0M6hf8TDrE/4xtMPTOW7/mbYB/j6CfCna0hIqMHLeaXMPSufmFCRs9lX kGvDIlpB1ZOUj+yK/AvHpNgYDyE5MJ6WD7oYmX89R61wUAL2kTebBVIKQHJB0GswpTGUGtP+z hy1KyMSEAL/04g9tOQs5o0qiVpVgZv1aCgqRWwr0YNNpA2OqGpSvsvTRz1q3LiaNyTeNcmBcT SnlX4+mpESUhH8= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190717_141703_776246_CA203EC8 X-CRM114-Status: GOOD ( 13.54 ) 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: Martin Sperl , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Martin Sperl The new BCM2838 share one interrupt for multiple instances of the BCM2835 SPI controller. So this enables shared interrupt support for them. Signed-off-by: Martin Sperl Signed-off-by: Stefan Wahren --- drivers/spi/spi-bcm2835.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/drivers/spi/spi-bcm2835.c b/drivers/spi/spi-bcm2835.c index 6f243a9..50969ae 100644 --- a/drivers/spi/spi-bcm2835.c +++ b/drivers/spi/spi-bcm2835.c @@ -346,6 +346,10 @@ static irqreturn_t bcm2835_spi_interrupt(int irq, void *dev_id) if (bs->tx_len && cs & BCM2835_SPI_CS_DONE) bcm2835_wr_fifo_blind(bs, BCM2835_SPI_FIFO_SIZE); + /* check if we got interrupt enabled */ + if (!(bcm2835_rd(bs, BCM2835_SPI_CS) & BCM2835_SPI_CS_INTR)) + return IRQ_NONE; + /* Read as many bytes as possible from FIFO */ bcm2835_rd_fifo(bs); /* Write as many bytes as possible to FIFO */ @@ -1028,8 +1032,8 @@ static int bcm2835_spi_probe(struct platform_device *pdev) bcm2835_wr(bs, BCM2835_SPI_CS, BCM2835_SPI_CS_CLEAR_RX | BCM2835_SPI_CS_CLEAR_TX); - err = devm_request_irq(&pdev->dev, bs->irq, bcm2835_spi_interrupt, 0, - dev_name(&pdev->dev), ctlr); + err = devm_request_irq(&pdev->dev, bs->irq, bcm2835_spi_interrupt, + IRQF_SHARED, dev_name(&pdev->dev), ctlr); if (err) { dev_err(&pdev->dev, "could not request IRQ: %d\n", err); goto out_clk_disable; From patchwork Wed Jul 17 21:16:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11048249 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 744501510 for ; Wed, 17 Jul 2019 21:17:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62E6A285EE for ; Wed, 17 Jul 2019 21:17:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 568CA28785; Wed, 17 Jul 2019 21:17:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0D00E285EE for ; Wed, 17 Jul 2019 21:17:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type: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=iyr3pGsV8pcZ00c98uObaR/srNyfY0OE2wPdV+AXr0o=; b=ekcyvpz/HECTT6zdJ71vG23L0E 0SqnzZqPfVFSaHbx/XNBEeRmhJgn6DMQ5w9AJB2WYGyxTsIyOn1/4SWx30ohA4O1UNsrda8adgjzL eKV7DQ9obdpdULBwHyhB5x2AlJMt9sKNqsozwdbOmAiiLR1QD7fSO1AwgEyA51EQqpMwKYgQ/YRsa atjEjl3Z9PKy0iSBhPaqfKA8L+7D1k8qHuaJjDXzDwnwA9LkPW1Pphpi7/TfkZV9Tu2oW6C02ZT4/ TrbdwMEjm5coHnM0CYdHJSDE5l4QcrLfea8sGfiOq8aLPu7ys+bPuthBGJidP9c5pTfqWEQsvh+U7 uNkMhqUA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hnrIx-0001ep-Dz; Wed, 17 Jul 2019 21:17:39 +0000 Received: from mout.gmx.net ([212.227.17.22]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hnrIN-0001Dc-Cv; Wed, 17 Jul 2019 21:17:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1563398203; bh=LTN0HSSI5O84aRWQCFFBZShgiwADaHIgqZLGgH80QLk=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=IfokEAObdk3cmA8JOXpKQ31t7znZlysWMfUoeDS/qY5kP8JF39w+w3XY+FcBC4ULQ yRdFWGdDiLC/q1eaUHR/IgiQHiW7hg9TI3MWAlSSqYCdZsLpCFCYk6xjDT/7AawBh1 ODtPHE4tqrDMGooUvbW+wXRllr/9gzrNP0t4UDKs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.103]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N7zBb-1iZNn61ssF-0150mi; Wed, 17 Jul 2019 23:16:43 +0200 From: Stefan Wahren To: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Nicolas Saenz Julienne , Rob Herring , Mark Rutland , Linus Walleij , Michael Turquette , Stephen Boyd , Ulf Hansson , Adrian Hunter , Mark Brown Subject: [PATCH RFC 16/18] dt-bindings: bcm: Add Raspberry Pi 4 B Date: Wed, 17 Jul 2019 23:16:02 +0200 Message-Id: <1563398164-2679-3-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563398164-2679-1-git-send-email-wahrenst@gmx.net> References: <1563398164-2679-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:d/yZbsOlzSyZBTRlB2M8Un8gpglFVFFhS8Ez2Z9E7G3aHPy4yZy 25F5MiAFimkxSvzbrqSXAW13A0xtKSXgnRGsE+ejT/PTByXeWdcjcZmaKbhi3mr6zu9Wd4t qL10gp/+b0jT1Um78HTCjhqpcvIyP8t6LDtoBKJxesxNavfe14QLv8W0hYHYSOPQo9iEQd+ Pge/9p6voMMO59FcmyjjA== X-UI-Out-Filterresults: notjunk:1;V03:K0:iXIF18yLKcM=:hE9gMbXNL9kLJHHqhUTcOa 6pNJs3Y2HotB9qAl+9bpwZBh5c+tpeTW0bPaw9fD5xMxe/jXSXkASH1Ogr0Fi+GM2PTkSJF+n WpPCwkddDv7KKAojOFLRPerTUb7mlh0d/8M+V/FliM5KJU/LxtyyvnPzQht9yWBiZMUWgVxyU rOzyE2LLRlHQWIVghEXo+5+sMkduOs3X4AYW70IYYxnTg4Nkm8XaDxcNynr+hDwkmVKr5ku+c /iMAbca9Rh95rdpEW5en/RByGioKHa4fzux7V9lw8jCyWY8nrf5Z3inU7Yq1LmR2IZSGD/TNi bs+cl0v1MQEvreK+ccQzVE0VddYLNJu9N/3jtUChW1tICsmqFGJpGhzBGejnZ1yzaxMioN2UK YcPzk4TGZUsSxzLb9aHMuh06KG/BeIP3LJYZNeSWKEI6yZiALnk0WA2EX/OEy4cF6+kPbd47v mLp9T/VtmS74o/hOVgmSCxNm9EYijPncnS9T5ofaxyxULpuArHJZzMW9YzGM2aSskgNEZhV67 I4zwsc9i3TnB7U3/7jAP0oInEnVMl1SFz+A/O9AZjK76qO6wgQtJQOl8Drs9sa0CkvP6uVmBK VD+RcE6VnIfpm0vHyknS/3w5O37fCPLRKMGvDcAxiyZQcSbFrQUWOa+peJHJgfADjLJazz9pA 3NoYQfalEGVQUvK7wnqixjg82hcNFSXPbUdt33MbMIgmBWM+/GQU+T+2a52I3n49xobHZNHIQ 4BCWut/+43n2/IV79rTdRCZGP3kFBmVi88DK557vryk4mn6Ats1JwX6K6hmhfdOu3i/nHR4qo z2+BnrJLwBMl68g2csici2cqSEpASaL/JWJ5U17Z9+RZ4RJuFKemXb1h29Ah82uCIwMTgbvI7 e10UzxE997F9CFZRxKoSxXpki/1E0frrxmGJtJDFrEM9Dncv+mnAuiXtcGHo9nN2qmDUnlj9y qp0NWwqz2Fj8kv7RRXc4fo+dxtiqHol3a47d7tILlGxGaQcvExesKZxIJZ4ropktCq0NyGJby REGuwEfIJvOaRZpANSibg8f4aC+Zna9IAINkOJDpfcU46d76LHqmcdJt991ogmpNrqYXlDRKR pHHDytPhBdzy30= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190717_141703_763468_E254F02E X-CRM114-Status: GOOD ( 10.59 ) 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: bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the root properties for the Raspberry Pi 4 B. Signed-off-by: Stefan Wahren --- Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt | 4 ++++ 1 file changed, 4 insertions(+) -- 2.7.4 diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt index 245328f..d031e10 100644 --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt @@ -54,6 +54,10 @@ Raspberry Pi Compute Module 3 Lite Required root node properties: compatible = "raspberrypi,3-compute-module-lite", "brcm,bcm2837"; +Raspberry Pi 4 Model B +Required root node properties: +compatible = "raspberrypi,4-model-b", "brcm,bcm2838"; + Raspberry Pi Zero Required root node properties: compatible = "raspberrypi,model-zero", "brcm,bcm2835"; From patchwork Wed Jul 17 21:16:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11048245 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 128EC1510 for ; Wed, 17 Jul 2019 21:17:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 00336285EE for ; Wed, 17 Jul 2019 21:17:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E76F228785; Wed, 17 Jul 2019 21:17:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8FDAD285EE for ; Wed, 17 Jul 2019 21:17:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type: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=4ukgYYq11kZs2UlCItdU8vwhSRpxINs50EC9LBQ+9Aw=; b=AlAcoaTapMT7JIfylyB936m5V5 wW0xy0aj1xH+UDtm+wtN5aTg92ApVIiUj7zSxO9lwixCpKI6lfc88p9tiBhcpAtgiqvGYzu9u/npz D2ju3pAetqYpcfEC2R4LwCE8R7OoExy8sPFajQYeMsGbZRJkBMEHdN111imK510OEmL0OJMAVSrnt 7efNugcMJr0h6lbuihPxkfXj4YbfLlNK3uOJGRMwppyketorbSjZJ+pkr7AE3qmS8Ywb/DyJBmwpz OK/vlenbnQyIs1bAy5jZ2RfE4nGxvJ4d9mnVPEh5+RWjEtHDK8vuzsg6rfIm/A1P1inz3OUHsYJ8Q IM1IvPQw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hnrIQ-0001Fa-Gu; Wed, 17 Jul 2019 21:17:06 +0000 Received: from mout.gmx.net ([212.227.17.20]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hnrIJ-0001Dm-QT; Wed, 17 Jul 2019 21:17:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1563398204; bh=fREBtBg7sZfzJBkFnnARV5PEuICAISLMSAnEApBpou4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=hQznyks2J9SpbCNv68dtEnthtgzojNVz/aiF+FsqihNUYjW4GgKvF+jqZ1Eh2xgv+ q85wU8cuN1yU0nM/QL6bKSBXUhiX3veHXqO11LHssWbhLvnpYIUJhwxTrZEwrTVQxf gq+bFwgOmosL8vYx7Muh997yWl7ZRrQfHDebPX5s= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.103]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mwfac-1igEMA2BiM-00y71Z; Wed, 17 Jul 2019 23:16:44 +0200 From: Stefan Wahren To: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Nicolas Saenz Julienne , Rob Herring , Mark Rutland , Linus Walleij , Michael Turquette , Stephen Boyd , Ulf Hansson , Adrian Hunter , Mark Brown Subject: [PATCH RFC 17/18] ARM: bcm2835: Add bcm2838 compatible string Date: Wed, 17 Jul 2019 23:16:03 +0200 Message-Id: <1563398164-2679-4-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563398164-2679-1-git-send-email-wahrenst@gmx.net> References: <1563398164-2679-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:4O5FG2QQYS1bGis5sD73IOq0vtEuXq4ABLhxJfBsvHpy5QW8XeB fEY1oj6Fo+oughF0R4bIPpZ1yky0lTF0OVpHndEG7I64fuAat0F81LYoDrzI56Nz9k32PlU Jv0MD3Fbq/Jci/MQ+UmFxOdFLfmBaTO+bCYFbYjcGwYD/uyZOfAjUVITbJqvNr9yTvbr53e 4lIRN+RT7zt7Wwg51jL5Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:uWzBgLjwJHw=:PekcwSJXA0xNgabM5LDP6Q YdYL7zs1jquVf4LlsWB6S+3qqC1jOwO2oMSAfWpl6xBt6ph/3qjTY0vsZb7QmfL+M6lJKzEKm Rq+VixvKrPu/ifBcKA83WnbYi727OS1fH/j7Akn1xbO7nCAIT+oeH9WbpwQ5Y5js9d4hSs+EZ Q/NMx1qhPm16LoQLa7HS93ZAHTHza+umlrPLiVcgTQIhpHnM9kKjklI8FJgMjijDhxrFgleV4 9z949kmXVTXlWVhGL4jZhF8xLdOI74ILJnvpFBtayjlGnxPXhXzVn/UY9I8XIOtIrnLnxyOvV s/e16wdrESutKGKmpe2egtHzY2R0caPDuhk0ur+uMZNy86n5DzRbn5dpsDym1IoqTsf//9+kt AdP/HADU8RFxaV4cWCreMFqpZrhCocg1hxMArLLGRa3+XjJAA5mHG4nP8em+yV6rXivyXvOwl TcnJxRnjXj0aHTAxN6q2wn3FCqCwKvXnAwWpmL8flJJ1/lFqrDBEB92u6pQFXDM+XoBc4kNUD Vs+hrQn04hkll3RUY6OONfYStPsYMykZHo+p07qmAmNSw4apeQNPL6OtLjl8pUMFulUOgEVPp CYNdLcaCos/UUG/c1nrJOgnMH4shQEB/x/Dwvz08VDlRtq2nLL/GB/wkhjuYTkkwG9Yw7i+/W 3WEWRyUlY+Uq4dRghkWHfOzuU/4Om9XjlxiZQjN05VRf9awvrrnuJ1Ne+AMBgfX33SBbAW4Fw oVtsP+Ew4gVbT+bD3X4lfasRjDVfsYuXyefWEaLYQevTtTA7QxrDPfPSlM8xEUkgH5RWeSRIf MR5FWxDzWud9qlugQsPOCjDtVBAKB9lyPP+7B3W5Mhez4EfqEqKuVHhwPBCeS25EqvRx+qhHA Fw5YTBccXSRUadSfBn6RjMq4SkMIeQ2qYRUeR/35M/WwDTzTsJxPfTuaHduwijKfq5BmFnx43 rKbWkkUwydIMpLIC4Zq8x3wEeO6U2q7W8M5TgBB4ciegmgofwfDn8/krD8rA+hnGDdtjW0tpq wxbK3XH70WmHKaI55PEiwl9FooHBYdEZaVeduT7Oq9diErFCv1c7UbSiteloriPMbOGUR637m 9CWLN2xPi9IEg0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190717_141700_197592_1CB00D29 X-CRM114-Status: GOOD ( 12.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Phil Elwell , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, 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 X-Virus-Scanned: ClamAV using ClamSMTP From: Phil Elwell This adds support for the new BCM2838 SoC found on the Raspberry Pi 4. Signed-off-by: Phil Elwell --- arch/arm/mach-bcm/board_bcm2835.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/arch/arm/mach-bcm/board_bcm2835.c b/arch/arm/mach-bcm/board_bcm2835.c index d2b31a9..578eaaa 100644 --- a/arch/arm/mach-bcm/board_bcm2835.c +++ b/arch/arm/mach-bcm/board_bcm2835.c @@ -19,6 +19,7 @@ static const char * const bcm2835_compat[] = { #ifdef CONFIG_ARCH_MULTI_V7 "brcm,bcm2836", "brcm,bcm2837", + "brcm,bcm2838", #endif NULL }; From patchwork Wed Jul 17 21:16:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11048253 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A0673912 for ; Wed, 17 Jul 2019 21:18:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C27E285EE for ; Wed, 17 Jul 2019 21:18:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7BE9628785; Wed, 17 Jul 2019 21:18:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 337E4285EE for ; Wed, 17 Jul 2019 21:18:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type: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=weZ5nndPuSHgA3/utiE+87TZs8E39g+MqLcvHWOPS8s=; b=nsWE27WIPPCgJguxSPsFW+XBki SSVaCbWd1cu94s8kYEArpAfvM//AUOFmFYLIocc6RnqoZP8ACUA18DY106eritwQm6eBu5MBzYOuj hac/jb9sxQ7Sr3W3kN2vCEFfez2zbqBYpZmwQ7aAhW/VoBlEX87Smc7zDW8YwVwOKKMyP9mryV/6K icBHQqnC5kSy6E/KMBO6tKhGM/84sH6XWZF3P59BNW7KiSjKVDgEuDJAk6DImJC7iqWmiFgKC1Fk3 atWra7HHhS9p4oYfHQteVDQuTdraBWqxBKOlYWLc7Uzcta6Hgr+Z9Y6zrnKw76mbAp0xWOKkAL+gh mFrYCs8A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hnrJX-00028Z-Eg; Wed, 17 Jul 2019 21:18:15 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hnrIN-0001Df-EA; Wed, 17 Jul 2019 21:17:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1563398205; bh=bSYFgUu/4JeP8msNoZWiKGC2pDgFVOf6Lukqj0GJzsE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=duPMAyDe/2jCAFn510PKgyeqT9+ULQZbqYbZOYAxnU3YsCsHvqEXqydo5LL0D5mBp VXGlAftlXguTmdJpTdwUpeXMXa3/SziFkP8mEYeQPSFATJJ91Yf1WZiir6ACfqhZU0 L/Mp1vBKjW/8dryYWWgm7f7LfPyD1tI66wM+9l8U= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.103]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M5QFB-1hmUNU0blF-001Rn0; Wed, 17 Jul 2019 23:16:45 +0200 From: Stefan Wahren To: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Nicolas Saenz Julienne , Rob Herring , Mark Rutland , Linus Walleij , Michael Turquette , Stephen Boyd , Ulf Hansson , Adrian Hunter , Mark Brown Subject: [PATCH RFC 18/18] ARM: dts: Add minimal Raspberry Pi 4 support Date: Wed, 17 Jul 2019 23:16:04 +0200 Message-Id: <1563398164-2679-5-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563398164-2679-1-git-send-email-wahrenst@gmx.net> References: <1563398164-2679-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:rWg3M2l410PPVZfUzKaqA1oHkNDPQxfVfWVccbuCG4t3CCKVfqg nj8p9xXJFsYfk/9XzX/iFybCDyBWqPGNfhSQazXiAz/eFGFyVDh/d1EoNLxO3J/ijWudswH EbYLAFdCet59cV88NiR9D5QDI82c3unZLsEEnjlFXBObtyU1qRkTLfmxW9nFIL1DDshkO+c HmWz/Q60W6DcreKripcMQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:O5Zsf6KDDFY=:D2BfwnHP8C7CYJwsQR/SPZ ez5keMt5btrWmwUwXAfNOxJfMA5TWghJS4v1ROUt2IHjZCnTc2dfULkokavNjnEcia5zpJIOg 86qcrUXCjpuY9+gg9ZoFN5/FL8NVjcJnAoPwR8beXUOo1sg9MQRWkJYrhB/qAGSKU7kSzIAqL aAWsWuoxM3XCP+RogtWOe29dAQbW7xm882cyfSCTNb9aSrvs7lkxuVuigs+WMRMtXnooZ2hvz nzE2JEV6ocj3WPw9T0rMIj1DIlKr/CLt3O6kdj9WGX/GQocb/YyypBQ/kPJmEMvUYcuyZ313V D4kKUCgTAFkRTCGDCrYC+U1JxEC1hd3qKqsGs7NvyCUpc58r6+Y6wlk0Fd9NoESFX9nbKL8/R aAcjK2XunCidwCVr6XVUMc3oT+PSTIMmrCPN/MomJ62Q4Zmhs67D+HgSoVH7vUTqnjMZG8juI fLV2Bx0Pp4+zUwRLtIUkTNzPlUQaXavxyeJHVYD3Ff1Q6fX3ZCsFYKLBpa9/10yhh2tKJk9R4 qgmTm1XgVbpzO9V1XtYmhssbxipgUcmNwBS/pZP6giNfw7oVxsqiw4qqX/3FBGZcPcwI20e8v F8p0vTI+T6e2rJXGmiJNDGQqXCAPbHwi5GAxl1Hh+rl0/ih6p4tkBFRit06t8NQIwI82k2txL wnYibqF6fIfvKJ4FPYKOuuIayATM8BLIsE8AqQHeh1iIondI/PqEqKY6LhbjwZWgR+Wk//iqv TYlRJOdTJFYjl6YeThqyOZZHZe+88wSg1OY47ucfc8y8j6WBrYRQRzRoOU87ZTyjurk669frc iuT+JyTC99c3Zikq3FLPp5gT4ZzjYKXx8wCt6YuHMQEvfABLhcBHXIuG7izx11nXJhvd2pyhW MRgnkqKGBGODepKybloUG0bdh1zpB+8ffwd0szI0FFw66RQc0XFUlpxMqjNHOS7gvsMheaqu3 UAymr8wIiak4Fr05PYirRbISYDIlaOQy88gLGvKOi+Ki/VywXzQ8CYREPo5vpSEr08qvFb1GG KA/rP2JtZJb268vS2dsQeGNkQJZqhU+cZ5YpFG1o4fttnoWr7Hk8DTACDQFrRcoiwBpiVeMeO fZqgnNTqABjajc= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190717_141703_963579_539E45B0 X-CRM114-Status: GOOD ( 18.05 ) 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: bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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. 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 Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm2838-rpi-4-b.dts | 120 +++++++ arch/arm/boot/dts/bcm2838.dtsi | 657 ++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/bcm283x.dtsi | 2 +- 4 files changed, 779 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/bcm2838-rpi-4-b.dts create mode 100644 arch/arm/boot/dts/bcm2838.dtsi -- 2.7.4 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 9159fa2..7ec9c90 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 \ + bcm2838-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/bcm2838-rpi-4-b.dts b/arch/arm/boot/dts/bcm2838-rpi-4-b.dts new file mode 100644 index 0000000..38308d4 --- /dev/null +++ b/arch/arm/boot/dts/bcm2838-rpi-4-b.dts @@ -0,0 +1,120 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +#include "bcm2838.dtsi" +#include "bcm2835-rpi.dtsi" + +/ { + compatible = "raspberrypi,4-model-b", "brcm,bcm2838"; + model = "Raspberry Pi 4 Model B"; + + chosen { + /* 8250 auxiliary UART instead of pl011 */ + stdout-path = "serial1:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0 0 0x00000000>; + }; + + 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 &gpclk2_gpio43>; + 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/bcm2838.dtsi b/arch/arm/boot/dts/bcm2838.dtsi new file mode 100644 index 0000000..e004d70 --- /dev/null +++ b/arch/arm/boot/dts/bcm2838.dtsi @@ -0,0 +1,657 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "bcm283x.dtsi" + +#include +#include + +/ { + compatible = "brcm,bcm2838"; + + #address-cells = <2>; + #size-cells = <1>; + + interrupt-parent = <&gicv2>; + + soc { + 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>; + + local_intc: local_intc@40000000 { + compatible = "brcm,bcm2836-l1-intc"; + reg = <0x40000000 0x100>; + }; + + gicv2: gic400@40041000 { + interrupt-controller; + #interrupt-cells = <3>; + compatible = "arm,gic-400"; + reg = <0x40041000 0x1000>, + <0x40042000 0x2000>, + <0x40044000 0x2000>, + <0x40046000 0x2000>; + }; + + dma: dma@7e007000 { + compatible = "brcm,bcm2835-dma"; + reg = <0x7e007000 0xb00>; + interrupts = , + , + , + , + , + , + , + , /* dmalite 7 */ + , /* dmalite 8 */ + , /* dmalite 9 */ + ; /* dmalite 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 { + reg = <0x7e100000 0x114>, + <0x7e00a000 0x24>, + <0x7ec11000 0x20>; + }; + + rng@7e104000 { + interrupts = ; + + /* RNG is incompatible to 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"; + }; + + spi@7e204000 { + reg = <0x7e204000 0x0200>; + interrupts = ; + }; + + 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,bcm2835-i2c"; + reg = <0x7e205600 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c4: i2c@7e205800 { + compatible = "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,bcm2835-i2c"; + reg = <0x7e205a00 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c6: i2c@7e205c00 { + compatible = "brcm,bcm2835-i2c"; + reg = <0x7e205c00 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + pixelvalve@7e206000 { + interrupts = ; + }; + + pixelvalve@7e207000 { + interrupts = ; + }; + + 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,bcm2838-emmc2"; + reg = <0x7e340000 0x100>; + interrupts = ; + clocks = <&clocks BCM2838_CLOCK_EMMC2>; + status = "disabled"; + }; + + hvs@7e400000 { + interrupts = ; + }; + + pixelvalve@7e807000 { + interrupts = ; + }; + }; + + arm-pmu { + /* + * N.B. the A72 PMU support only exists in arch/arm64, hence + * the fallback to the A53 version. + */ + compatible = "arm,cortex-a72-pmu", "arm,cortex-a53-pmu"; + interrupts = , + , + , + ; + }; + + timer { + compatible = "arm,armv7-timer"; + interrupts = , + , + , + ; + arm,cpu-registers-not-fw-configured; + always-on; + }; + + 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,bcm2838-cprman"; +}; + +&cpu_thermal { + coefficients = <(-487) 410040>; +}; + +&dsi0 { + interrupts = ; +}; + +&dsi1 { + interrupts = ; +}; + +&gpio { + compatible = "brcm,bcm2838-gpio"; + interrupts = , + , + , + ; + + gpclk0_gpio49: gpclk0_gpio49 { + brcm,pins = <49>; + brcm,function = ; + bias-disable; + }; + gpclk1_gpio50: gpclk1_gpio50 { + brcm,pins = <50>; + brcm,function = ; + bias-disable; + }; + gpclk2_gpio51: gpclk2_gpio51 { + brcm,pins = <51>; + brcm,function = ; + bias-disable; + }; + + i2c0_gpio46: i2c0_gpio46 { + brcm,pins = <46 47>; + brcm,function = ; + }; + i2c1_gpio46: i2c1_gpio46 { + brcm,pins = <46 47>; + brcm,function = ; + }; + i2c3_gpio2: i2c3_gpio2 { + brcm,pins = <2 3>; + brcm,function = ; + }; + i2c3_gpio4: i2c3_gpio4 { + brcm,pins = <4 5>; + brcm,function = ; + }; + i2c4_gpio6: i2c4_gpio6 { + brcm,pins = <6 7>; + brcm,function = ; + }; + i2c4_gpio8: i2c4_gpio8 { + brcm,pins = <8 9>; + brcm,function = ; + }; + i2c5_gpio10: i2c5_gpio10 { + brcm,pins = <10 11>; + brcm,function = ; + }; + i2c5_gpio12: i2c5_gpio12 { + brcm,pins = <12 13>; + brcm,function = ; + }; + i2c6_gpio0: i2c6_gpio0 { + brcm,pins = <0 1>; + brcm,function = ; + }; + i2c6_gpio22: i2c6_gpio22 { + brcm,pins = <22 23>; + brcm,function = ; + }; + i2c_slave_gpio8: i2c_slave_gpio8 { + brcm,pins = <8 9 10 11>; + brcm,function = ; + }; + + jtag_gpio48: jtag_gpio48 { + brcm,pins = <48 49 50 51 52 53>; + brcm,function = ; + }; + + mii_gpio28: mii_gpio28 { + brcm,pins = <28 29 30 31>; + brcm,function = ; + }; + mii_gpio36: mii_gpio36 { + brcm,pins = <36 37 38 39>; + brcm,function = ; + }; + + pcm_gpio50: pcm_gpio50 { + brcm,pins = <50 51 52 53>; + brcm,function = ; + }; + + pwm0_0_gpio12: pwm0_0_gpio12 { + brcm,pins = <12>; + brcm,function = ; + }; + pwm0_0_gpio18: pwm0_0_gpio18 { + brcm,pins = <18>; + brcm,function = ; + }; + pwm1_0_gpio40: pwm1_0_gpio40 { + brcm,pins = <40>; + brcm,function = ; + }; + pwm0_1_gpio13: pwm0_1_gpio13 { + brcm,pins = <13>; + brcm,function = ; + }; + pwm0_1_gpio19: pwm0_1_gpio19 { + brcm,pins = <19>; + brcm,function = ; + }; + pwm1_1_gpio41: pwm1_1_gpio41 { + brcm,pins = <41>; + brcm,function = ; + }; + pwm0_1_gpio45: pwm0_1_gpio45 { + brcm,pins = <45>; + brcm,function = ; + }; + pwm0_0_gpio52: pwm0_0_gpio52 { + brcm,pins = <52>; + brcm,function = ; + bias-disable; + }; + pwm0_1_gpio53: pwm0_1_gpio53 { + brcm,pins = <53>; + brcm,function = ; + bias-disable; + }; + + /* The following group consists of: + * RGMII_START_STOP + * RGMII_RX_OK + */ + rgmii_gpio35: rgmii_gpio35 { + brcm,pins = <35 36>; + brcm,function = ; + }; + rgmii_irq_gpio34: rgmii_irq_gpio34 { + brcm,pins = <34>; + brcm,function = ; + }; + rgmii_irq_gpio39: rgmii_irq_gpio39 { + brcm,pins = <39>; + brcm,function = ; + }; + rgmii_mdio_gpio28: rgmii_mdio_gpio28 { + brcm,pins = <28 29>; + brcm,function = ; + }; + rgmii_mdio_gpio37: rgmii_mdio_gpio37 { + brcm,pins = <37 38>; + brcm,function = ; + }; + + spi0_gpio46: spi0_gpio46 { + brcm,pins = <46 47 48 49>; + brcm,function = ; + }; + spi2_gpio46: spi2_gpio46 { + brcm,pins = <46 47 48 49 50>; + brcm,function = ; + }; + spi3_gpio0: spi3_gpio0 { + brcm,pins = <0 1 2 3>; + brcm,function = ; + }; + spi4_gpio4: spi4_gpio4 { + brcm,pins = <4 5 6 7>; + brcm,function = ; + }; + spi5_gpio12: spi5_gpio12 { + brcm,pins = <12 13 14 15>; + brcm,function = ; + }; + spi6_gpio18: spi6_gpio18 { + brcm,pins = <18 19 20 21>; + brcm,function = ; + }; + + uart2_gpio0: uart2_gpio0 { + pin-tx { + brcm,pins = <0>; + brcm,function = ; + bias-disable; + }; + pin-rx { + brcm,pins = <1>; + brcm,function = ; + bias-pull-up; + }; + }; + uart2_ctsrts_gpio2: uart2_ctsrts_gpio2 { + pin-cts { + brcm,pins = <2>; + brcm,function = ; + bias-pull-up; + }; + pin-rts { + brcm,pins = <3>; + brcm,function = ; + bias-disable; + }; + }; + uart3_gpio4: uart3_gpio4 { + pin-tx { + brcm,pins = <4>; + brcm,function = ; + bias-disable; + }; + pin-rx { + brcm,pins = <5>; + brcm,function = ; + bias-pull-up; + }; + }; + uart3_ctsrts_gpio6: uart3_ctsrts_gpio6 { + pin-cts { + brcm,pins = <6>; + brcm,function = ; + bias-pull-up; + }; + pin-rts { + brcm,pins = <7>; + brcm,function = ; + bias-disable; + }; + }; + uart4_gpio8: uart4_gpio8 { + pin-tx { + brcm,pins = <8>; + brcm,function = ; + bias-disable; + }; + pin-rx { + brcm,pins = <9>; + brcm,function = ; + bias-pull-up; + }; + }; + uart4_ctsrts_gpio10: uart4_ctsrts_gpio10 { + pin-cts { + brcm,pins = <10>; + brcm,function = ; + bias-pull-up; + }; + pin-rts { + brcm,pins = <11>; + brcm,function = ; + bias-disable; + }; + }; + uart5_gpio12: uart5_gpio12 { + pin-tx { + brcm,pins = <12>; + brcm,function = ; + bias-disable; + }; + pin-rx { + brcm,pins = <13>; + brcm,function = ; + bias-pull-up; + }; + }; + uart5_ctsrts_gpio14: uart5_ctsrts_gpio14 { + pin-cts { + brcm,pins = <14>; + brcm,function = ; + bias-pull-up; + }; + pin-rts { + brcm,pins = <15>; + brcm,function = ; + bias-disable; + }; + }; +}; + +&vec { + interrupts = ; +}; + +&usb { + interrupts = ; +}; + +&hdmi { + interrupts = , + ; +}; + +&uart1 { + interrupts = ; +}; + +&spi1 { + interrupts = ; +}; + +&spi2 { + interrupts = ; +}; + +&sdhci { + interrupts = ; +}; + +&i2c0 { + interrupts = ; +}; + +&i2c1 { + interrupts = ; +}; + +&i2c2 { + interrupts = ; +}; + +&mailbox { + interrupts = ; +}; + +&sdhost { + interrupts = ; +}; + +&uart0 { + interrupts = ; +}; + +&txp { + interrupts = ; +}; diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index 1104e4c..8dbddff 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>; - txp@7e004000 { + txp: txp@7e004000 { compatible = "brcm,bcm2835-txp"; reg = <0x7e004000 0x20>; interrupts = <1 11>;