Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3031712pxb; Mon, 18 Oct 2021 06:59:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwP/EfVja5QlVPbHFOLz11xVXHTSnnjETNGfKsUM73bQymLiLWV48s4iReikeGdpmWKJksg X-Received: by 2002:a17:906:fb08:: with SMTP id lz8mr30985263ejb.45.1634565551334; Mon, 18 Oct 2021 06:59:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634565551; cv=none; d=google.com; s=arc-20160816; b=N5eG0ub3X90KoqsAy398XBYnz9mAyh/fejdTbrZtVIS73a4xhNPKgtgvJYt2eD5DrD nhoHXp7OON8sZ3yGk1jDhdEqpug1OUuGyxP3MuSy3Zb7Pn1qH4iVZD2LLdJSccw9Pk21 V9h7ZRcMYUeMoPHICa305fuvVPgsmUO/4UttyHAhdYaa7I/Fh+BCmV8eGQYX74qo85qK RUII/IxCvoe1NDO2Q2Hk7tvawqLKEkmwY65uNW12FpKIlUnT0U+PbVsiDtK3E65zd1aT E7USm05R4eg6fGuBBEF9NjyEZ2dgWdtmNpmEbR7Tcc9n/wSOoWtCvUmf/mCm6QjbgEXS bsUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=TnSvfVLfZunepDVVbowKANgSSBpj8dEwTihfkkctKtQ=; b=ntybhoFO1pTiOrbqojGFbGxO29OP/uxjRi74tY71T1jlwsE/lNGYLYPrrFQsymSRmR lVZNtLnDU5ogKxQM0kL82zwz6jVAoWDszHNnTD4fL1IuEWBIpgxGCwDzGcZ+rHzcKM9h iti/kz+YMJ6FhsQ+gevR/611deRuVgdA3st+HTG98RzUune9Qpr1wU8fNRA8lrma6y9E 6RRRlF8TXin2I5k1FucekHi1vINg7g7xNk9ENz/puGwTKo/lQjlBd+2ZQLbyTAXsOmGk K5/sfYCj12lkuWBy5eq9YZ7jnCSkiJTLvDjpGbi5DaZCl7xEEMiKmrOqTciLKEO9/1CN a8zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hx94Zoik; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 16si18395909ejd.683.2021.10.18.06.58.45; Mon, 18 Oct 2021 06:59:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hx94Zoik; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233711AbhJRN7H (ORCPT + 99 others); Mon, 18 Oct 2021 09:59:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:57384 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232993AbhJRN5A (ORCPT ); Mon, 18 Oct 2021 09:57:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DD9D86140B; Mon, 18 Oct 2021 13:40:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634564441; bh=ApDastnvPLq2YFZ2J2d8fh7UgJoGtFenx9l778amDpI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hx94ZoikoQYgNi63TY9il4CRE7vHGuNuiI9BBtqdITemj6ZFGGfxBIKENRzhsXWDT yzMMgKNG9w+36lTuGpHRQpko0gT/kKCTcOoqB40UiQIGT+p5ni4W/8w94BplQF7eti asloglDWnw7EMPvmGTJ5WcPR96BZ5QrO3N1b5t2Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mateusz Kwiatkowski , Stefan Wahren , Nicolas Saenz Julienne Subject: [PATCH 5.14 090/151] ARM: dts: bcm283x: Fix VEC address for BCM2711 Date: Mon, 18 Oct 2021 15:24:29 +0200 Message-Id: <20211018132343.607079864@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211018132340.682786018@linuxfoundation.org> References: <20211018132340.682786018@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mateusz Kwiatkowski commit 9287e91e9019d4bc1018adb55ab791ae672e0b14 upstream. The VEC has a different address (0x7ec13000) on the BCM2711 (used in e.g. Raspberry Pi 4) compared to BCM283x (e.g. Pi 3 and earlier). This was erroneously not taken account for. Definition of the VEC in the devicetrees had to be moved from bcm283x.dtsi to bcm2711.dtsi and bcm2835-common.dtsi to allow for this differentiation. Fixes: 7894bdc6228f ("ARM: boot: dts: bcm2711: Add BCM2711 VEC compatible") Signed-off-by: Mateusz Kwiatkowski Signed-off-by: Stefan Wahren Link: https://lore.kernel.org/r/1626980528-3835-1-git-send-email-stefan.wahren@i2se.com Signed-off-by: Nicolas Saenz Julienne Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/bcm2711.dtsi | 8 ++++++++ arch/arm/boot/dts/bcm2835-common.dtsi | 8 ++++++++ arch/arm/boot/dts/bcm283x.dtsi | 8 -------- 3 files changed, 16 insertions(+), 8 deletions(-) --- a/arch/arm/boot/dts/bcm2711.dtsi +++ b/arch/arm/boot/dts/bcm2711.dtsi @@ -300,6 +300,14 @@ status = "disabled"; }; + vec: vec@7ec13000 { + compatible = "brcm,bcm2711-vec"; + reg = <0x7ec13000 0x1000>; + clocks = <&clocks BCM2835_CLOCK_VEC>; + interrupts = ; + status = "disabled"; + }; + dvp: clock@7ef00000 { compatible = "brcm,brcm2711-dvp"; reg = <0x7ef00000 0x10>; --- a/arch/arm/boot/dts/bcm2835-common.dtsi +++ b/arch/arm/boot/dts/bcm2835-common.dtsi @@ -106,6 +106,14 @@ status = "okay"; }; + vec: vec@7e806000 { + compatible = "brcm,bcm2835-vec"; + reg = <0x7e806000 0x1000>; + clocks = <&clocks BCM2835_CLOCK_VEC>; + interrupts = <2 27>; + status = "disabled"; + }; + pixelvalve@7e807000 { compatible = "brcm,bcm2835-pixelvalve2"; reg = <0x7e807000 0x100>; --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -464,14 +464,6 @@ status = "disabled"; }; - vec: vec@7e806000 { - compatible = "brcm,bcm2835-vec"; - reg = <0x7e806000 0x1000>; - clocks = <&clocks BCM2835_CLOCK_VEC>; - interrupts = <2 27>; - status = "disabled"; - }; - usb: usb@7e980000 { compatible = "brcm,bcm2835-usb"; reg = <0x7e980000 0x10000>;