From patchwork Mon Oct 17 10:01:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 13008498 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 7776DC43217 for ; Mon, 17 Oct 2022 10:02:54 +0000 (UTC) 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=5m0p3iKzVNHFb8YHzIPWvfgdwR8V4uF26nJUY7++s/o=; b=iX/yLbHnmEmtA+ vXxLttvd2Pt2OpfLnvOodrlSL+xDoQEM4eVYnVBcCbPbF4yJzdbOvFY4Wrfa9S8y3otvYq6dSF8/G orAXxzGaD3lAIcaG5PfRjPTRRYayVeVctiu6pq8ck7/HqJPDOEvf/49kKEDXNcIrhc61Qc0+6+FF3 T/o3PhR+f1UhjoBUdLaVUy0iJIzxq3CjzMYOjdkiu0d+zwIjQwcCEjKbkZNW5oK6vodR3ZwMdmlyX eRa0JZeAdZqYQqJ957rvdKnfJWjAplKAFsiYSXge9r7Khy4HWLQhaJjZTEmhJyLRwzVcTbAzBir/r x4tKMqfNTJfXoJARsOqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okMwW-00AC0M-1t; Mon, 17 Oct 2022 10:01:56 +0000 Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1okMwR-00AByS-T3; Mon, 17 Oct 2022 10:01:54 +0000 Received: (Authenticated sender: foss@0leil.net) by mail.gandi.net (Postfix) with ESMTPSA id 1C4F7E0006; Mon, 17 Oct 2022 10:01:34 +0000 (UTC) From: Quentin Schulz To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, heiko@sntech.de, foss+kernel@0leil.net Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Quentin Schulz Subject: =?unknown-8bit?q?=5BPATCH_v2_0/2=5D_add_support_for_Theobroma_Syste?= =?unknown-8bit?q?ms_PX30-=C2=B5Q7_=28Ringneck=29_with_Haikou_devkit?= Date: Mon, 17 Oct 2022 12:01:14 +0200 Message-Id: <20220930-upstream-ringneck-v2-0-6671694b6934@theobroma-systems.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221017_030152_292550_C2436DE0 X-CRM114-Status: GOOD ( 13.79 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Quentin Schulz The PX30-uQ7 (Ringneck) SoM is a µQseven-compatible (40mmx70mm, MXM-230 connector) system-on-module from Theobroma Systems[1], featuring the Rockchip PX30. It provides the following feature set: * up to 4GB DDR4 * up to 128GB on-module eMMC (with 8-bit 1.8V interface) * SD card (on a baseboard) via edge connector * Fast Ethernet with on-module TI DP83825I PHY * MIPI-DSI/LVDS * MIPI-CSI * USB - 1x USB 2.0 dual-role - 3x USB 2.0 host * on-module STM32 Cortex-M0 companion controller, implementing: - low-power RTC functionality (ISL1208 emulation) - fan controller (AMC6821 emulation) - USB<->CAN bridge controller * on-module Espressif ESP32 for Bluetooth + 2.4GHz WiFi * on-module NXP SE05x Secure Element [1] https://www.theobroma-systems.com/som-product/px30-%C2%B5q7/ The Espressif ESP32 support is not added in this patch series as there'll be some challenges around the Device Tree bindings that will require its own patch series and discussion. MIPI-DSI/CSI "consumers" will come later with an adapter board once it is designed. Cheers, Quentin v2: - changed GPIO used for sleep and wake buttons since v1.2 HW rework (v1.1 was engineering sample), - changed GPIO used for PHY reset since v1.2 HW rework (v1.1 was engineering sample), - enabled saradc used for module voltage feedback and module HW version identifier, - updated vccio_sd for 1.8V-3.3V operation instead of forced 3V, - enabled SDR12, SDR25 and SDR50 for SD card controller, - added vqmmc supply for SD card controller, - removed SW_BOOT_ALT addition to the input SW events in favor of a GPIO input hog, - renamed model property in DT to use u instead of µ since dtc didn't like it, - renamed haikou-keys DT node name into gpio-keys to match DT standard expectation, - renamed gpio-keys entries with lowercase and dash characters only, - added button- or switch- prefix for gpio-keys, - removed label for GPIO LEDs in favor of function and color properties, - renamed regulator DT node names to be suffixed with -regulator as per DT standard expectation, - added GPIO hog for BIOS_DISABLE/BOOT_ALT override pin (makes sure that the lines to eMMC and SPI-flashes are working even if the hardware switch disabled them at boot), - renamed pmic_int DT node name into pmic-int, - removed a couple of redundant status = okay, - added Acked-By for dt-bindings, - replaced µ with u in dt-bindings description just for consistency, To: Rob Herring To: Krzysztof Kozlowski To: Heiko Stuebner Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Quentin Schulz --- Quentin Schulz (2): arm64: dts: rockchip: add PX30-µQ7 (Ringneck) SoM with Haikou baseboard dt-bindings: arm: rockchip: add Theobroma Systems PX30-µQ7 (Ringneck) with Haikou .../devicetree/bindings/arm/rockchip.yaml | 5 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/px30-ringneck-haikou.dts | 232 +++++++++++++ arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi | 382 +++++++++++++++++++++ 4 files changed, 620 insertions(+) --- base-commit: 26cd4fe5a20016bed96fce28e19115f238ce3a36 change-id: 20220930-upstream-ringneck-6cef0c09cd86 Best regards,