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=1796373584; b=3wnwD5kddRMz0/+2zlNBHVNlSyo8KL75UiGKusv8+6oLVc70VrBYydo1RSF+smCxlYt0 mmENndhg1MhW6NNe5o5ZbYBCCHaNEe7a0daT+MqDy6rfvaaPQbwLmhudTMnIBYoqoX7aB udn1Kv4NqMmUwMFJgOq4pbydR73X3FErMX+gQ9fqj/fDOUx3p7JnimyG6TCIhDfyqxolW 4srAhICJd8ZsTkPu5aew8E2KQsdDU/vincn2FFSraJI0Z5wUFI40xBpr8lgRN85OsyvYP hTgsdEgc/4qpjuAb/MwcasWZExnmuXUlr0TcKJB81zCrkqJXZF40HV821YXjSV+sfng== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796373584; 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=O7qoXm0R6TPp2ejiuwVolrPZbLjpX+BcGle2XHxMo31Od007f4ZUahna2AeylN9WgltR RgN6u2wekykOmkR1nrStxraT+xB3wLnmEJ8UqKJQvalW2mtKXvBxvtJ//JoZhJG8GUJQV OBB8Xzokz5V5lUpLZ7vv0mmUumU6pRDRsy1pvqukAjI8vEvJDQsnSE6N5TMcGaAny1/nr MOmNOz8JjuNPbPYHnJcdcvUSYMBzBVR7d26T6rDOAC5+G0NocnOcqOHPGZrJePX+oAXZb NeX66WfL0KZ7c7X0ezD9YMqw0zNbvL3sTC/dBnwoosvge2haiy+P79DXIZiwibhofIg== 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 4BC9B606A69D for ; Fri, 4 Dec 2026 08:39:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4BC9B606A69D 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: linux-sunxi@lists.linux.dev 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