[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e01ed1d6-32e5-4e0d-a4f3-01acde843b5a@tuxon.dev>
Date: Mon, 17 Feb 2025 11:10:36 +0200
From: Claudiu Beznea <claudiu.beznea@...on.dev>
To: Alexander Dahl <ada@...rsis.com>
Cc: Nicolas Ferre <nicolas.ferre@...rochip.com>,
Ryan Wanner <ryan.wanner@...rochip.com>,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Subject: Re: [PATCH v2 13/16] ARM: dts: microchip: sam9x60: Add OTPC node
On 11.02.2025 08:53, Alexander Dahl wrote:
> The One-Time Programmable (OTP) Memory Controller (OTPC) is the secure
> interface between the system and the OTP memory. It also features the
> Unique Product ID (UID) registers containing a unique serial number.
>
> See datasheet (DS60001579G) sections "7. Memories" and "23. OTP Memory
> Controller (OTPC)" for reference.
>
> Signed-off-by: Alexander Dahl <ada@...rsis.com>
> ---
>
> Notes:
> v2:
> - squashed with patch adding the clock properties
>
> arch/arm/boot/dts/microchip/sam9x60.dtsi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/boot/dts/microchip/sam9x60.dtsi b/arch/arm/boot/dts/microchip/sam9x60.dtsi
> index 1724b79967a17..af859f0b83a0f 100644
> --- a/arch/arm/boot/dts/microchip/sam9x60.dtsi
> +++ b/arch/arm/boot/dts/microchip/sam9x60.dtsi
> @@ -15,6 +15,7 @@
> #include <dt-bindings/clock/microchip,sam9x60-pmc.h>
> #include <dt-bindings/mfd/at91-usart.h>
> #include <dt-bindings/mfd/atmel-flexcom.h>
> +#include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>
This is not needed, atm.
>
> / {
> #address-cells = <1>;
> @@ -157,6 +158,15 @@ sdmmc1: sdio-host@...00000 {
> status = "disabled";
> };
>
> + otpc: efuse@...00000 {
> + compatible = "microchip,sam9x60-otpc", "syscon";
> + reg = <0xeff00000 0xec>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + clocks = <&pmc PMC_TYPE_CORE SAM9X60_PMC_MAIN_RC>, <&pmc PMC_TYPE_PERIPHERAL 46>;
> + clock-names = "main_rc_osc", "otpc_clk";
> + };
> +
> apb {
> compatible = "simple-bus";
> #address-cells = <1>;
Powered by blists - more mailing lists