[PATCH] arm64: dts: imx8mp: Add SNVS LPGPR
Alexander Stein
alexander.stein at ew.tq-group.com
Tue Aug 23 22:51:49 PDT 2022
Hello Marek,
Am Dienstag, 23. August 2022, 18:56:02 CEST schrieb Marek Vasut:
> Add SNVS LPGPR bindings to MX8M Plus, the LPGPR is used to store
> e.g. boot counter.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> ---
> Cc: Fabio Estevam <festevam at denx.de>
> Cc: Marcel Ziswiler <marcel.ziswiler at toradex.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Rob Herring <robh+dt at kernel.org>
> Cc: Shawn Guo <shawnguo at kernel.org>
> Cc: NXP Linux Team <linux-imx at nxp.com>
> Cc: devicetree at vger.kernel.org
> To: linux-arm-kernel at lists.infradead.org
> ---
> arch/arm64/boot/dts/freescale/imx8mp.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index
> f7adcb2c14880..21689e9e68170 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> @@ -478,6 +478,11 @@ snvs_pwrkey: snvs-powerkey {
> wakeup-source;
> status = "disabled";
> };
> +
> + snvs_lpgpr: snvs-lpgpr {
> + compatible =
"fsl,imx8mp-snvs-lpgpr",
> +
"fsl,imx7d-snvs-lpgpr";
> + };
> };
>
> clk: clock-controller at 30380000 {
Do you have any information that the i.MX8M Plus actually has the HPLR
register (at offset 0)? This is used in snvs_lpgpr_write. I can't find it in
the RM, although GPR_SL is referenced in LPGPRx register description.
Best regards,
Alexander
More information about the linux-arm-kernel
mailing list