From patchwork Wed Sep 12 16:42:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Phil Elwell X-Patchwork-Id: 10598075 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 32364920 for ; Wed, 12 Sep 2018 16:43:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FFA2283AD for ; Wed, 12 Sep 2018 16:43:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 13C2C283C5; Wed, 12 Sep 2018 16:43:12 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 97A05283AD for ; Wed, 12 Sep 2018 16:43:11 +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:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bPn4mS6QT3QFSQDz6iMcCu/VjBJJUx+5+DJqEzHjEQQ=; b=N/WDGvytGBMC0y vsKPSS7/AAsCJsdLfvV98x2T0n9rpuKsCLXCmAjbJ37gsaCw7RMfAP4DbWbnDJSNM9G2I9nXQ9PI1 7Gi0vSWx4RRPU3x6gBKNiYcpuuOkcP9NqHUGOpwqlOjm917mr2avajMOcCbHQ2khuWo/ezOrQL/qB oGV992oAXi44jyf+JIWVlHGQ6kDqq3HmL3YYNujbffUc4+foJMHGPnHa0gUOJlJ+AJc9UqE+FDAco BQPcYt85Q81fI45SJhP3t2jWeeBb1gniWez09X/Ur0qE3GTTQeNb6/wAkVXXsGv5+VXVy/iPVxCTW NKd/YUz1nabcy4Oq64IA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g08EE-0005tJ-PI; Wed, 12 Sep 2018 16:42:58 +0000 Received: from mx07-00252a01.pphosted.com ([62.209.51.214]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g08E8-0005qo-JU for linux-arm-kernel@lists.infradead.org; Wed, 12 Sep 2018 16:42:55 +0000 Received: from pps.filterd (m0102628.ppops.net [127.0.0.1]) by mx07-00252a01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8CGgfS4011101 for ; Wed, 12 Sep 2018 17:42:41 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.org; h=from : to : subject : date : message-id : in-reply-to : references; s=pp; bh=ZUEXG7F1JCUoYAq4wu87QxxFi6dluWSMdM7X9sAM51c=; b=cKcLVM24TGxC5m9WUp/vv+9gQSiJNajM9e9kqXYZ2y17X8maYDkysnYBSHVsObtyWjWp l4DNJvBIXGowUzNOBpy28qAximDH/G9dAcvzOGd1K+6mmDSxpQPYKbA6Cv3NCR3mQCe+ FC6Hw2w1WYfP/QngyJaU/os5NAUy6pTiRYKXbtwgWZuVYOuQdzpqli5ZC1y34elMGLAt FtV2e5HFf2xQb3n3ejuMtiOeHbndLXy7RxyLDF1jc4cLupEbHAJK4g97LJuHwlOcognU 36r8LzCW9oTbe1QSiBPap1bEucKE5BkKR0ojGm+A5AakpQxGNSMs80CFiv3TZoRx/E0P uw== Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by mx07-00252a01.pphosted.com with ESMTP id 2mc3u0j2y2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK) for ; Wed, 12 Sep 2018 17:42:41 +0100 Received: by mail-wr1-f69.google.com with SMTP id 51-v6so2404481wra.18 for ; Wed, 12 Sep 2018 09:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=ZUEXG7F1JCUoYAq4wu87QxxFi6dluWSMdM7X9sAM51c=; b=Rfl7veCKU8LgRntfG/OOIVH0dpsnygFlGzrf56ct1gEkpqGbnzlgWchizHgy3ckeGo FBHzl/AllSPXIwi6cfZxkTuEanrHfP7FX+/dh28MqyOPcVMVur7DbceGnU4y373PblgZ F6BLF///1wsqH23Nv8nFeLCrvnfYvH/ZpgWYryMxLIIbEJn49n/2O/Gk6l9WFdcYyZSO UepUQsKejtJc5gJc+H/M8+gGohrb7l3IBM+UQkibfrXz9PDpmFSxm1upO3OBWzChMUq/ xj/s90UxhS3bGJb2Wg9EiWXDCdO8c9VC1O1xRedBY7weew+k+B7Pff5v8MDgvdGu5PXL qLWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=ZUEXG7F1JCUoYAq4wu87QxxFi6dluWSMdM7X9sAM51c=; b=Kf749UNCM539NdjV2fmgPvgjwkFO3PEwlj267NOsY0W8lDX95GXEVgXzJkTebzg5WK Iy+Gr47N38C4y6fLyE0zXpWqG/7+paNaKjEmdpnW9fvZCk0LQV6+f4RrhBALgXcuqk4q o7KSmgMGY2eDdlTDVF6X2ZXCdlTSLwHYspLb8sIEKErVq+02+Eh0Fv/nn5dEo1nst8lk 7KF++qU6Ypzm+K5xMF39QiT9yjsc6IT5fGnoaxRA6BLnpYI6tnukDKbxpKzLDk0cqFz8 rVDT8kUxIMCQtT1Zuxvs6GK+m5b32ZlumL25wg1oYqT9cN5iofh8d/mtM+w7MQXEvth7 jYTg== X-Gm-Message-State: APzg51AgkcQtYR7lqA0SyyqU4hTH4PMBhiNli5vQyAxJnrHMp4U1Hq97 TiV//fFYbRBDgHXkzUjz9hb8pMQrWlNUxDtje/ADL4DiY/oj743e1jUEzgf6zjKt8ZTLWRXkeA2 0+naqLwzLQ0+UZO52Tur0+i3ybr7uiGycS64= X-Received: by 2002:adf:9227:: with SMTP id 36-v6mr2268285wrj.275.1536770561006; Wed, 12 Sep 2018 09:42:41 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdao/cPUQzpRuhF2Ni/Q+W8V66e6p9+pd0VUzbAijooL2Ls1iy27HV1O5rvhsmeEI0z77abL9w== X-Received: by 2002:adf:9227:: with SMTP id 36-v6mr2268261wrj.275.1536770560722; Wed, 12 Sep 2018 09:42:40 -0700 (PDT) Received: from buildbot.pitowers.org ([2a00:2381:fdf7:14:e45c:95a2:cfa0:31e0]) by smtp.gmail.com with ESMTPSA id 75-v6sm3709420wml.21.2018.09.12.09.42.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 12 Sep 2018 09:42:40 -0700 (PDT) From: Phil Elwell To: Rob Herring , Stefan Wahren , Greg Kroah-Hartman , Phil Elwell , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, Russell King , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com Subject: [PATCH 1/2] staging/vc04_services: Derive g_cache_line_size Date: Wed, 12 Sep 2018 17:42:33 +0100 Message-Id: <1536770554-107314-2-git-send-email-phil@raspberrypi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536770554-107314-1-git-send-email-phil@raspberrypi.org> References: <1536770554-107314-1-git-send-email-phil@raspberrypi.org> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-09-12_09:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180912_094252_973962_64F189A3 X-CRM114-Status: GOOD ( 23.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 The ARM coprocessor registers include dcache line size, but there is no function to expose this value. Rather than create a new one, use the read_cpuid_id function to derive the correct value, which is 32 for BCM2835 and 64 for BCM2836/7. Signed-off-by: Phil Elwell --- .../interface/vchiq_arm/vchiq_2835_arm.c | 24 +++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c index e767209..3537f60 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #define TOTAL_SLOTS (VCHIQ_SLOT_ZERO_SLOTS + 2 * 32) @@ -81,13 +82,15 @@ static void __iomem *g_regs; * VPU firmware, which determines the required alignment of the * offsets/sizes in pagelists. * - * Modern VPU firmware looks for a DT "cache-line-size" property in - * the VCHIQ node and will overwrite it with the actual L2 cache size, + * Previous VPU firmware looked for a DT "cache-line-size" property in + * the VCHIQ node and would overwrite it with the actual L2 cache size, * which the kernel must then respect. That property was rejected - * upstream, so we have to use the VPU firmware's compatibility value - * of 32. + * upstream, so we now rely on both sides to "do the right thing" independently + * of the other. To improve backwards compatibility, this new behaviour is + * signalled to the firmware by the use of a corrected "reg" property on the + * relevant Device Tree node. */ -static unsigned int g_cache_line_size = 32; +static unsigned int g_cache_line_size; static unsigned int g_fragments_size; static char *g_fragments_base; static char *g_free_fragments; @@ -127,6 +130,17 @@ int vchiq_platform_init(struct platform_device *pdev, VCHIQ_STATE_T *state) if (err < 0) return err; + /* + * The tempting L1_CACHE_BYTES macro doesn't work in the case of + * a kernel built with bcm2835_defconfig running on a BCM2836/7 + * processor, hence the need for a runtime check. The dcache line size + * is encoded in one of the coprocessor registers, but there is no + * convenient way to access it short of embedded assembler, hence + * the use of read_cpuid_id(). The following test evaluates to true + * on a BCM2835 showing that it is ARMv6-ish, whereas + * cpu_architecture() will indicate that it is an ARMv7. + */ + g_cache_line_size = ((read_cpuid_id() & 0x7f000) == 0x7b000) ? 32 : 64; g_fragments_size = 2 * g_cache_line_size; /* Allocate space for the channels in coherent memory */ From patchwork Wed Sep 12 16:42:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Phil Elwell X-Patchwork-Id: 10598079 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 5A38E1575 for ; Wed, 12 Sep 2018 16:44:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 481B528479 for ; Wed, 12 Sep 2018 16:44:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C2502983B; Wed, 12 Sep 2018 16:44:39 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 B280A28479 for ; Wed, 12 Sep 2018 16:44:38 +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:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6ifHBOOPn82ZZe4A495eFdXoiIsjU1lz9SPb8dkpNmI=; b=p+kKEnCs6EHGTh 5mT8lQS/81IoOh8vcXYCyVttyzbyJvu+8EnhcVjB1LgriQeWI+McTmr1//cUg2cdVuYJP1EK5fFP7 Up9JIrLbwaeLATIvrnMiypjEoBITvaH7Z0Q8gHxk95jp/XJd2x+Dxslph3gdwcfyBaChJcqrR4ZhO stLKNROetQyMmRStjsQ6uia9azMdbkqP1J01IZUH1mQrlAk7+gQ7pRFLLcWOBlzgpMfopM3E+sZji yn16K7ng+KoHPzYptwflW24hapAXsKmMaUAMLpdQE/pKZq6lW09/0rCrUf43sgcQIyiUytR/7O0SL oO1UxHfK2HI1aK7CN87Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g08Fd-0006T0-NP; Wed, 12 Sep 2018 16:44:25 +0000 Received: from mx08-00252a01.pphosted.com ([91.207.212.211]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g08EB-0005r3-9q for linux-arm-kernel@lists.infradead.org; Wed, 12 Sep 2018 16:42:58 +0000 Received: from pps.filterd (m0102629.ppops.net [127.0.0.1]) by mx08-00252a01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8CGggtD018667 for ; Wed, 12 Sep 2018 17:42:42 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.org; h=from : to : subject : date : message-id : in-reply-to : references; s=pp; bh=z77Hw7RhaQANK9GBQIBsd4SsWhvtK3aO6UWx9IONEHU=; b=VjPsJEwx1SxDjgeGUvW562D38Z2o2A7FmyCQuyBoYfEHfdjgYBA4MhrOkocKS5e6fZuw w1GcJNZQAxUoAoUFwqYIpbTrI6o3NEa7M1O6O4OKtqg+VOmSj9PLs1S+a7jWdZsiYXVg 2VR/PNxWm6ZYwC+74KSdC3VCyntn6/JYc276wtYCWu26Vh4HnCaKDZ4tIGJ4radt6Hfk gjN02JnNEsOXGVAjbmyPlnmfheqcYybPfZEYF51/802veB5MDihLMsjPCOB1x/Tv+On5 WYO4mlYEdE9OBX3K9Ler6a6tXJik/w+7EXfPz4/BjpODOklpqAVDNFV25dFLiewgfYVU 4g== Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by mx08-00252a01.pphosted.com with ESMTP id 2mc2wft4cg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK) for ; Wed, 12 Sep 2018 17:42:42 +0100 Received: by mail-wr1-f70.google.com with SMTP id i11-v6so2434977wrr.10 for ; Wed, 12 Sep 2018 09:42:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=z77Hw7RhaQANK9GBQIBsd4SsWhvtK3aO6UWx9IONEHU=; b=ZwxNnLLLtos8eGO/1yL1fmtsuesgn2H4sgOrpSY83NUktaqe9nW4M+ZglkAaZAkxG7 i/+6l8T39HYdbyYMOLMfZ5lWw1PIPHqN6DQZ3+F0zmIys/583gA3nttolAJDj6mZhlGx cVD1wb85Q59m6kg37a6FEuQ4rd4MWyzJGcQEW4qjg1IAIMkvkOlB3Doro8Z7CvNYKzvC sKMJZwj6/ruVxGKiUO1c33eCUTBz/Mq2TAY9N5OxAT+8BBmYyg+aa9oM4kw0dMg2K+0a 3sXPEW+GCdP8Vu3QcIU8woloXXzn6wOKLoydOy61gwG6h3CLcDTL8cpjzo7fRAoVGXej s6oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=z77Hw7RhaQANK9GBQIBsd4SsWhvtK3aO6UWx9IONEHU=; b=aCXbJ/smvnnTd73A4WT/vvGIBibqx/XJ7uL8Z5yj4gjwBYSXcke6i7iS1IiRKioBKO c/EGdVApOmeCOPhVcaUFzOQ1muBoG2pLL//yz2QAWqyk026OrOR2Qx5n/mH/ZGkboGO1 X4VPkVW1sjpl+tP2KS3iH8oOn1Z3bN4a8weOfwtDy2EyHHMYhEDDkaIkHkdi2yTpMAnq G4zKch4XXZGMrHiazJS1mTwfjjYt3MwlbHVVWJouLhaBMcNuc9xOSMVOUEIwwsZ+Ozt/ nVsKok6oeKb0sF2pXjiKlLxawW9bwzhMcRx2Omg/3cdBqiCP06677+ow/BI6jI40/mEs LKrw== X-Gm-Message-State: APzg51B0No0tDXP19UfPyG7Ga6y8QWjwx+tsovRI+HSQ6y+OF06d5LEb LX+eoS29MzvShLsiys89tQQXLjW0hb9neVcdqwtI82x+9owv0gHzE1bxelM2uuL0vIMIDh2Gxgr Bpu6QDVJ/8gRCrir+mws5+F0Wtj5f54ZxkGI= X-Received: by 2002:a1c:8dd1:: with SMTP id p200-v6mr2362771wmd.145.1536770561928; Wed, 12 Sep 2018 09:42:41 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaP4I7w6f9zjvlIiC0TUA22x7XjM1auDvfOJ4xwWB23Q3CxKTV8iVRTsyVjk/4ZhVD0hFqBGw== X-Received: by 2002:a1c:8dd1:: with SMTP id p200-v6mr2362756wmd.145.1536770561667; Wed, 12 Sep 2018 09:42:41 -0700 (PDT) Received: from buildbot.pitowers.org ([2a00:2381:fdf7:14:e45c:95a2:cfa0:31e0]) by smtp.gmail.com with ESMTPSA id 75-v6sm3709420wml.21.2018.09.12.09.42.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 12 Sep 2018 09:42:41 -0700 (PDT) From: Phil Elwell To: Rob Herring , Stefan Wahren , Greg Kroah-Hartman , Phil Elwell , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, Russell King , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com Subject: [PATCH 2/2] ARM: dts: bcm283x: Correct mailbox register sizes Date: Wed, 12 Sep 2018 17:42:34 +0100 Message-Id: <1536770554-107314-3-git-send-email-phil@raspberrypi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536770554-107314-1-git-send-email-phil@raspberrypi.org> References: <1536770554-107314-1-git-send-email-phil@raspberrypi.org> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-09-12_09:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180912_094255_633579_E2BC4BF3 X-CRM114-Status: GOOD ( 17.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 The size field in a Device Tree "reg" property is encoded in bytes, not words. Signed-off-by: Phil Elwell --- arch/arm/boot/dts/bcm2835-rpi.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi index cb2d6d7..c481eab 100644 --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi @@ -32,7 +32,7 @@ mailbox@7e00b840 { compatible = "brcm,bcm2835-vchiq"; - reg = <0x7e00b840 0xf>; + reg = <0x7e00b840 0x3c>; interrupts = <0 2>; }; };