diff mbox series

ARM: dts: lan966x: Add otp support

Message ID 20220916194946.2869510-1-horatiu.vultur@microchip.com
State New
Headers show
Series ARM: dts: lan966x: Add otp support | expand

Commit Message

Horatiu Vultur Sept. 16, 2022, 7:49 p.m. UTC
Add OTP (one time programmable) support.
The both lan966x SocS (lan9662 and lan9668) have the same OTP IP.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
---
 arch/arm/boot/dts/lan966x.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Claudiu Beznea Oct. 26, 2022, 7:42 a.m. UTC | #1
Hi, Horatiu,

I will postpone this until [1] or [2] is applied.

Thank you,
Claudiu Beznea

[1]
https://lore.kernel.org/all/20220928195112.630351-1-horatiu.vultur@microchip.com/
[2]
https://lore.kernel.org/all/20221025072217.3715634-1-claudiu.beznea@microchip.com/

On 16.09.2022 22:49, Horatiu Vultur wrote:
> Add OTP (one time programmable) support.
> The both lan966x SocS (lan9662 and lan9668) have the same OTP IP.
> 
> Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
> ---
>  arch/arm/boot/dts/lan966x.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/lan966x.dtsi b/arch/arm/boot/dts/lan966x.dtsi
> index 23665a0429906..784caba369485 100644
> --- a/arch/arm/boot/dts/lan966x.dtsi
> +++ b/arch/arm/boot/dts/lan966x.dtsi
> @@ -163,6 +163,11 @@ port7: port@7 {
>  			};
>  		};
>  
> +		otp: otp@e0021000 {
> +			compatible = "microchip,lan9668-otpc", "microchip,lan9662-otpc";
> +			reg = <0xe0021000 0x300>;
> +		};
> +
>  		flx0: flexcom@e0040000 {
>  			compatible = "atmel,sama5d2-flexcom";
>  			reg = <0xe0040000 0x100>;
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/lan966x.dtsi b/arch/arm/boot/dts/lan966x.dtsi
index 23665a0429906..784caba369485 100644
--- a/arch/arm/boot/dts/lan966x.dtsi
+++ b/arch/arm/boot/dts/lan966x.dtsi
@@ -163,6 +163,11 @@  port7: port@7 {
 			};
 		};
 
+		otp: otp@e0021000 {
+			compatible = "microchip,lan9668-otpc", "microchip,lan9662-otpc";
+			reg = <0xe0021000 0x300>;
+		};
+
 		flx0: flexcom@e0040000 {
 			compatible = "atmel,sama5d2-flexcom";
 			reg = <0xe0040000 0x100>;