From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796373583; b=h7tO31FX4uWsJYuPV9jIaJHmWy7+ajQVvMK4R8XZIxGTbr1fP+sGQcqe1cj5h54QbQVt Lp/xLPLizq4FjPfCGYfQoQl32n2ukwqxkRsiT2RvRCBkTtd1wWFR5YzxRHzIIIFwoMw5v WPixMQfZ1z7JfcGjnmxIl8JfT8hIgFUP9Bta+ezFWLBcTgnHYmmK4fiJcaktJVw9iDHhz AvjJttokOM8dWC7CZhsAmxsp9Mx6tjNwHbpqNpO668th+I6WvVn3BInuNEikFrdo42qo5 uCoZ1ASFpwHFZq3ohQ3+m3U9/96/90QFbmx9o9+Now42JRl8VZS3DqE8zeo+5Iv56Ng== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796373583; h=DMARC-Filter:Received:Received:DKIM-Signature:Message-ID:Date: MIME-Version:User-Agent:Subject:To:Cc:References:Content-Language: From:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=ZsQhEsf0jWMRgcLAIhYbpGhHuj+2rYHyt0S75/ayN+o=; b=bF1SYCkOby9Rw0Bkg+xYfs7scTJkaLNyGkFwzSnsHynQ8v+AmtYhYB7r1MLS+uN72zeR wt7WLPxoPjr4g9XZJFNZ6V5cYeNJ6hs+q2qUcUyjWUDb9y7OmZo8ik3w3JpKhdCqnH9// R1FnOtJrGA969MsuHcDx3ZAENzV/OIvJ1jeEXdu2vyPW38vA0r9ARX7YGmmGaU3Q2KI02 Rku8bIVZMZMae3T9uU+2Z0eai+RuEjg5prT8lBom73VdI84CsfkBAsuIv5NxxB4POtAET abY0zjlbmxseE5UNm9qSqRKKnES324zaKU7MOlUXw2XdlmDLlzgjnvbTu3kSROJ3Vqw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=anWovB0T; arc=none smtp.remote-ip=217.140.110.172 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BD03606A6A2; Fri, 4 Dec 2026 08:39:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4BD03606A6A2 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=anWovB0T Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6600C14BF; Fri, 4 Dec 2026 00:39:38 -0800 (PST) Received: from [192.168.178.24] (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 298833F86F; Fri, 4 Dec 2026 00:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796373581; bh=k/04+FTH1C+YUaJnTp8taCAwJO5Y84D59N+A+Bxos4k=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=anWovB0Tl8ScWjvaErV3XJ3yBprRZllSSYeEK4Y5wOMjb+3ORlNgrxxcuKzYB4Xhe G/9Eo863oiGeN9BZZgiGhi2Al6ZS9f/HBjLuLKrBteWb6ApMXpsMGSvXp4vi3ZKLfm osPstFF4RMshtEQklv9Pd9rZsAO1VPYkuzyNL35w= Message-ID: <7d9eb9dd-7c37-45f3-aaec-70356e080cc8@arm.com> Date: Fri, 4 Dec 2026 09:39:35 +0100 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 5/5] arm64: dts: allwinner: add Radxa Cubie A7A board To: wens@kernel.org, Enzo Adriano Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, jernej.skrabec@gmail.com, samuel@sholland.org, Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Junhui Liu , Jerome Brunet , Pablo Mazzini , Vinicius Pedrosa , Alexander Sverdlin , Jun Yan , Lukas Schmid , Cristian Filipescu , Norman Herms , Daniel Golle , Alastair D'Silva References: <20261203-a733-cubie-a7s-dt-v7-0@gmail.com> <20261203-a733-cubie-a7s-dt-v7-5@gmail.com> Content-Language: en-GB From: Andre Przywara In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, On 12/4/26 04:18, Chen-Yu Tsai wrote: > On Fri, Dec 4, 2026 at 1:31 AM Enzo Adriano wrote: >> >> From: Andre Przywara >> >> The Radxa Cubie A7A is a single board computer using the Allwinner A733 >> SoC. It features: >> - Allwinner A733 SoC (6*Arm Cortex-A55 + 2*Arm Cortex-A76) >> - Imagination BXM-4-64 MC1 GPU and 3 TOPS NPU >> - 2-16 GiB LPDDR5 DRAM >> - AXP318W PMIC >> - eMMC and UFS socket >> - single lane PCIe 3.0 via FPC connector >> - microSD card slot >> - bootable SPI NOR flash >> - HDMI 2.0 and MIPI-DSI connector >> - MIPI-CSI camera connector >> - GBit Ethernet socket, with optional POE support >> - unknown Bluetooth and WiFi >> - USB-C 2.0 OTG port (also primary power supply) >> - USB-A 3.1 host port >> - 3* USB-A 2.0 host ports (via hub) >> - 40 pin GPIO connector >> >> Add initial support for the peripherals we have DT bindings for so far, >> including UART, PMIC, SD card, some EEPROM and an external RTC chip. >> The PMIC rails assignment has been determined by the schematic. >> >> Signed-off-by: Andre Przywara >> [enzo: use BLDO1 for vcc-pk as Jerome found, constrain ELDO1 to >> 0.87-1.12 V as agreed for LPDDR5 VDD2L, rename the 32 kHz clock node, >> drop cap-sdio-irq and always-on from SWOUT2 and the fixed regulators, >> use interrupts-extended and a level-low RTC interrupt, sort nodes and >> drop unused labels] >> Signed-off-by: Enzo Adriano >> --- > > [...] > >> + dcdc7 { >> + /* Voltage set by DRAM init routine */ >> + regulator-name = "vcc-dram"; >> + regulator-min-microvolt = <1050000>; >> + regulator-max-microvolt = <1100000>; > > This is vcc-dram on the SoC side and VDD2H on the LPDDR5 DRAM side. Ah yes, can you put that in the comment, please, while applying? > There's no given range for the SoC side, but for VDD2H it is 1.01 ~ 1.12V, > and nominally at 1.05V. Yeah, good point, I don't think it's critical, but if you are it, please feel free to adjust. > At least we should align the max with the other boards at 1.12V? Not sure > why the bootloader is pushing it so hard though. If nothing else comes up > I can fix it while applying. > >> + regulator-always-on; >> + }; >> + >> + dcdc8 { >> + regulator-name = "vcc-ufs-io"; >> + regulator-min-microvolt = <1200000>; >> + regulator-max-microvolt = <1200000>; >> + }; >> + >> + reg_dcdc9: dcdc9 { >> + regulator-name = "eldo-input"; >> + /* >> + * The schematic says 1.25V, but the >> + * granularity of DCDC9 is 20mV in this range. >> + */ >> + regulator-min-microvolt = <1240000>; >> + regulator-max-microvolt = <1260000>; >> + }; >> + >> + dldo1 { >> + regulator-name = "vcc-efuse"; >> + regulator-min-microvolt = <1800000>; >> + regulator-max-microvolt = <1800000>; >> + regulator-always-on; >> + }; >> + >> + dldo6 { >> + regulator-name = "vcc-ufs"; >> + regulator-min-microvolt = <2500000>; >> + regulator-max-microvolt = <2500000>; >> + }; >> + >> + eldo1 { >> + regulator-name = "vcc09-lpddr5"; >> + regulator-min-microvolt = <870000>; >> + regulator-max-microvolt = <1120000>; >> + regulator-always-on; > > And just FTR, this is VDD2L, which is either 0.87-0.97V, nominally 0.9V, > for dual power rail operation, or the same as VDD2H for single rail operation. Yes, we figured the same in the discussion about the A7S. I used the name given on the schematic. And the range is the union of the VDD2H and VDD2L range, to cater for all cases. If you don't mind, feel free to add a comment to that effect. Cheers, Andre