From nobody Fri Dec 19 20:14:16 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32FFD182F1E; Sun, 24 Mar 2024 23:49:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711324189; cv=none; b=RcdD74nEdYV+FFsE5NMbdpoIahKyeVPpBAK0ezZpSF3m4cLke7w6ddeavCVDcyC7jiSz+3PSDN2SujZEKTTxelJ9flU1dgkA7Lhz5IzEp3rRb58KaTg8R544nONWOhDMnZnZ9+UnghNd6Qvq75oMkpv0hf07xabl8Ovqqavo0f4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711324189; c=relaxed/simple; bh=nmx0U2KmulJ7xDHIJW5s6GGwnezIqUNiH+3mH1f/4gk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gAhFdo6J9mSxAryhAxAFZ6Zm0cTKXLovazodpoL1yl67nCNmimpoc8ZIOkP0QIBtIISoceKRj2sEeSxYlqzgfovPnFgXFtNm7MngQP73ZOry/sNWDeihw+T87jz5cxnERX0hTH08Ap/ayKVeamnKEoYvz6ZBTPkETbz8njRAfRo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RiC0yUEE; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RiC0yUEE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6CCD0C433F1; Sun, 24 Mar 2024 23:49:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711324188; bh=nmx0U2KmulJ7xDHIJW5s6GGwnezIqUNiH+3mH1f/4gk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RiC0yUEEWFr22TOn6xOUxzvkbMJeV0xoOObD4Cx14gxW/s37jOt3vEDBpmTXQxfuV rFf21/JoCE5kBE/G5dv+FerOJSoyqxmE6MW6BJWYDLwGs1WyMljVQzi+lPG/kWq7au jJMwsqriz8/o+ACs2UtzRZNRRyXhN2Ca4mmK3yjGgR7ML70jIXHheFPsD6pmrEWb3a 9Oubb6mNdfLEkYaSeOEnsvoqIL9iDq6+T/s6HXIfkDloonehA/7aq2uViLIfagf8Aj GqU2CNtGC9HIy76gYNvSVcxuu/y1Hpp5D6lLkXZz9OhAX98xGlRu1ZXWLLla8/WumJ LL8BlCSB9F0UA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Michael Klein , Maxime Ripard , Sasha Levin Subject: [PATCH 5.4 177/183] ARM: dts: sun8i-h2-plus-bananapi-m2-zero: add regulator nodes vcc-dram and vcc1v2 Date: Sun, 24 Mar 2024 19:46:30 -0400 Message-ID: <20240324234638.1355609-178-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324234638.1355609-1-sashal@kernel.org> References: <20240324234638.1355609-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Michael Klein [ Upstream commit 23e85be1ec81647374055f731488cc9a7c013a5c ] Add regulator nodes vcc-dram and vcc1v2 to the devicetree. These regulators correspond to U4 and U5 in the schematics: http://forum.banana-pi.org/t/bpi-m2-zero-schematic-diagram-public/4111 Signed-off-by: Michael Klein Signed-off-by: Maxime Ripard Link: https://lore.kernel.org/r/20201130183841.136708-1-michael@fossekall.de Stable-dep-of: 4a0e7f2decbf ("netfilter: nf_tables: do not compare internal= table flags on updates") Signed-off-by: Sasha Levin --- .../dts/sun8i-h2-plus-bananapi-m2-zero.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/ar= m/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts index 4c6704e4c57ec..74d5732c412ba 100644 --- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts +++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts @@ -62,6 +62,30 @@ reg_vdd_cpux: vdd-cpux-regulator { states =3D <1100000 0>, <1300000 1>; }; =20 + reg_vcc_dram: vcc-dram { + compatible =3D "regulator-fixed"; + regulator-name =3D "vcc-dram"; + regulator-min-microvolt =3D <1500000>; + regulator-max-microvolt =3D <1500000>; + regulator-always-on; + regulator-boot-on; + enable-active-high; + gpio =3D <&r_pio 0 9 GPIO_ACTIVE_HIGH>; /* PL9 */ + vin-supply =3D <®_vcc5v0>; + }; + + reg_vcc1v2: vcc1v2 { + compatible =3D "regulator-fixed"; + regulator-name =3D "vcc1v2"; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + regulator-always-on; + regulator-boot-on; + enable-active-high; + gpio =3D <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */ + vin-supply =3D <®_vcc5v0>; + }; + wifi_pwrseq: wifi_pwrseq { compatible =3D "mmc-pwrseq-simple"; reset-gpios =3D <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */ --=20 2.43.0