From patchwork Sat Aug 7 11:06:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 12424319 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7113C4338F for ; Sat, 7 Aug 2021 11:10: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 9165460F9F for ; Sat, 7 Aug 2021 11:10:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9165460F9F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=i2se.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc: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=z8DXXK8OPHuhLpgERiKKstJ7VgOZRKL+PuYRawn8Z5s=; b=BnF4tBF2Keb1K+ nVYGeeVFo5x3iKX+7Un8G70R+QO4DvyQHKuAcfbwwoauH9gq351uCktprMDqEzBCcNVObohyE7Csp NaRCS4FC7Fj484FUy/RxAp0lt8/DOI3CwBtdSDcjEhg4UX8z7mrIl5O2kbRnQFEEMhetYDl3T4yP0 hRB9lvOjET0iFtT1VXhrCfdTygOwAlRSVvfIrvVSaKV/XBPhDac7bhppO5uZ6g17NgYb0daDMI4jd B2/dkSaWO7koDS8IXv9jKQRt8hbtXUSQAl0qHqElYO82vMmsAemtXK6+BFVAOo+sDfwBupgaehuDm oPttdYzb7+BjIE/StNjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mCKBg-00Ed1Q-F4; Sat, 07 Aug 2021 11:08:20 +0000 Received: from mout.kundenserver.de ([212.227.126.130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mCKAi-00Ecj1-JI; Sat, 07 Aug 2021 11:07:24 +0000 Received: from localhost.localdomain ([37.4.249.97]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MJVU0-1mRe5r2OGO-00JoSb; Sat, 07 Aug 2021 13:07:07 +0200 From: Stefan Wahren To: Rob Herring , Nicolas Saenz Julienne , Florian Fainelli , Adrian Hunter , Ulf Hansson Cc: Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , iivanov@suse.de, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH V2 00/10] ARM: dts: Add Raspberry Pi CM4 & CM4 IO Board support Date: Sat, 7 Aug 2021 13:06:31 +0200 Message-Id: <1628334401-6577-1-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 X-Provags-ID: V03:K1:cn0kz0To6yBNIprAf5qZusQ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AC64BnUQfkRb+ZH4jJgeyQxVhSinq/2i6LwBqzmjR+nXRSTHCeRyl09wV ibaBP/xaEnFH1Jnz8XAQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210807_040721_084753_237F85BA X-CRM114-Status: GOOD ( 12.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series add support for the Raspberry Pi Compute Module 4 and its IO board. Changes in V2: - drop emmc2bus patch as it affects userspace (thanks to Marc Zyngier) - tested with CM4 and integrate sdhci patches from Nicolas (just include kHz fixups) - add Rob's Acked-by - add HS200 property to emmc2 node for a slight performance gain - move antenna comment to the proper position Nicolas Saenz Julienne (2): mmc: sdhci-iproc: Cap min clock frequency on BCM2711 mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711 Stefan Wahren (8): ARM: dts: bcm2711: fix MDIO #address- and #size-cells ARM: dts: bcm2711-rpi-4-b: fix sd_io_1v8_reg regulator states dt-bindings: display: bcm2835: add optional property power-domains ARM: dts: bcm283x-rpi: Move Wifi/BT into separate dtsi dt-bindings: arm: bcm2835: Add Raspberry Pi Compute Module 4 ARM: dts: Add Raspberry Pi Compute Module 4 ARM: dts: Add Raspberry Pi Compute Module 4 IO Board arm64: dts: broadcom: Add reference to RPi CM4 IO Board .../devicetree/bindings/arm/bcm/bcm2835.yaml | 1 + .../bindings/display/brcm,bcm2835-dsi0.yaml | 3 + .../bindings/display/brcm,bcm2835-hdmi.yaml | 3 + .../bindings/display/brcm,bcm2835-v3d.yaml | 3 + .../bindings/display/brcm,bcm2835-vec.yaml | 3 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 42 ++----- arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts | 138 +++++++++++++++++++++ arch/arm/boot/dts/bcm2711-rpi-cm4.dtsi | 113 +++++++++++++++++ arch/arm/boot/dts/bcm2711.dtsi | 4 +- arch/arm/boot/dts/bcm2835-rpi-zero-w.dts | 31 ++--- arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts | 36 ++---- arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts | 36 ++---- arch/arm/boot/dts/bcm2837-rpi-3-b.dts | 36 ++---- arch/arm/boot/dts/bcm283x-rpi-wifi-bt.dtsi | 34 +++++ arch/arm64/boot/dts/broadcom/Makefile | 1 + .../arm64/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts | 2 + drivers/mmc/host/sdhci-iproc.c | 21 +++- 18 files changed, 366 insertions(+), 142 deletions(-) create mode 100644 arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts create mode 100644 arch/arm/boot/dts/bcm2711-rpi-cm4.dtsi create mode 100644 arch/arm/boot/dts/bcm283x-rpi-wifi-bt.dtsi create mode 100644 arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts