From patchwork Tue Mar 7 08:20:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 1753008 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Zqyd+oHg; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PW7g70cWsz1yWx for ; Tue, 7 Mar 2023 19:20:35 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CCE3885AAA; Tue, 7 Mar 2023 09:20:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Zqyd+oHg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C307585AAA; Tue, 7 Mar 2023 09:20:29 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D77DC8587C for ; Tue, 7 Mar 2023 09:20:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=neil.armstrong@linaro.org Received: by mail-wr1-x42c.google.com with SMTP id g3so11253163wri.6 for ; Tue, 07 Mar 2023 00:20:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678177226; h=to:content-transfer-encoding:mime-version:message-id:date:subject :from:from:to:cc:subject:date:message-id:reply-to; bh=8IY//EFR9Naxv4UZVVC/BSwaqu/lDvK2UCnXVDE65eI=; b=Zqyd+oHg3eXRUPfzj5cx2NrS89wgaR7YE2R1J10qmtG3LRVkb8YDSnQIcJoAjLJud+ QwHlBGdrdJlmIgejojn2Z7gWFcs4pa0DsfuQLAyFZCZs7gYeDlJdpdfKLeEOPKfkTOsY JTilCCvZMXJmrwoXA/Nmr8iHv1SOdehsWo9pMbYSc5aAuB+Np5DInp+wZKX58TABtOXN ZhHFop0v1dJrDwD52CmZQA1MQ5odj/1keFXXb8m0P4MowDy+2h42tauy1PpCKuW+cuyD l5pzDtnhuffpm1eHUuHWVkrker0ME9tpODKaKFcP1pQdtGZNm9kXGZ/Ri8TzaWJ7lSR7 1wNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678177226; h=to:content-transfer-encoding:mime-version:message-id:date:subject :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8IY//EFR9Naxv4UZVVC/BSwaqu/lDvK2UCnXVDE65eI=; b=DQvY8qTI2pJn51HdAXvk4kVKW9AzUcTTaIv/CmL4sWh+y6QYBx7RJfcR8zgksccCtT rYTlboIZ4ejhJITLZkdSaXl1OL75l5VukkdGizyLWRJPrQaH5Z0FBZlrK12YsGh8Kb1A AVyInD/xaIXU3Jrn+hxEVRLZjMjFuXBoQQpHUVzEjzNZouc6YIHS9lUOrx+SpciDi6Wm owu/8bdhysuwBc3h8a+8FMmPBVSc0bXmKm1S/bpx5jP5YmkjFspZXXNLj3kU1g5PxUpq FkDdwYnaUDwMpyFRkOV/msn57q0dZEVeVGSbd8EzAJ5uw2RvphZx/K8QFvdIcs6prZ2Q jz1w== X-Gm-Message-State: AO0yUKX1+c4KPvvgOu0WQUFz3L7ZGdM1IqPbP0+CbqXwzFZi1MLn0nGa GchIoUCw9IpOcLqK0kWdz+xBOS7ohrNGcEM2RzXG5A== X-Google-Smtp-Source: AK7set+2Hbs/qu+qQbiOiedYJmQ//jDLRLg7pEbhf3ucXXBVTeUtNY1LHNfSfBFga8ltqf/PMWXR0w== X-Received: by 2002:adf:e302:0:b0:2ca:c865:51c4 with SMTP id b2-20020adfe302000000b002cac86551c4mr8800057wrj.0.1678177226356; Tue, 07 Mar 2023 00:20:26 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id x9-20020a5d60c9000000b002c70d97af78sm11681510wrt.85.2023.03.07.00.20.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 00:20:26 -0800 (PST) From: Neil Armstrong Subject: [PATCH 0/2] ARM: meson: Add initial support for BPI-CM4 module with BPI-CM4IO baseboard Date: Tue, 07 Mar 2023 09:20:23 +0100 Message-Id: <20230307-u-boot-cm4-v1-0-43f5a393cd37@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAMfzBmQC/x2NQQqDMBAAvyJ77kLWWJR+RXpI4loXbCKJiiD+3 cXjDAxzQuEsXOBTnZB5lyIpKtCrgjC5+GOUQRlqU1tjTYsb+pRWDP8GyRJ19B462xJo4F1h9Nn FMGkSt3lWuWQe5XgO/fe6bmK+DJhxAAAA To: u-boot@lists.denx.de, u-boot-amlogic@groups.io, Neil Armstrong X-Mailer: b4 0.12.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Add support for both the BananaPi BPI-CM4 module and the BananaPi baseboard which is compatible with the RaspberryPi CM4IO baseboard. The BananaPi BPI-CM4 module follows the CM4 specifications at [1], but with a single HDMI port and a single DSI output. The current CM4IO baseboard DT should work fine on the Raspberry CM4 baseboard and other derivatives baseboards, but proper DT should be written for other baseboards. The DT is imported from the submission done at [2] and applied at [3]. [1] https://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf [2] https://lore.kernel.org/all/20230303-topic-amlogic-upstream-bpi-cm4-v2-0-2ecfde76fc4d@linaro.org/ [3] https://git.kernel.org/amlogic/c/0262f2736978b1763363224698f47112a148dab0 Signed-off-by: Neil Armstrong --- Neil Armstrong (2): ARM: dts: import initial DT for BPI-CM4 module with BPI-CM4IO baseboard ARM: meson: Add initial support for BPI-CM4 module with BPI-CM4IO baseboard arch/arm/dts/Makefile | 1 + .../dts/meson-g12b-bananapi-cm4-cm4io-u-boot.dtsi | 6 + arch/arm/dts/meson-g12b-bananapi-cm4-cm4io.dts | 165 +++++++++ arch/arm/dts/meson-g12b-bananapi-cm4.dtsi | 388 +++++++++++++++++++++ board/amlogic/u200/MAINTAINERS | 1 + configs/bananapi-cm4-cm4io_defconfig | 84 +++++ doc/board/amlogic/index.rst | 1 + 7 files changed, 646 insertions(+) --- base-commit: b08ffdffdce95e267e782366f4a77bf6b5537b28 change-id: 20230307-u-boot-cm4-1311815d8371 Best regards,