ARM: dts: at91: sama7g5: add otpc node
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 26 Oct 2022 12:41:05 +0000 (15:41 +0300)
committerClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 1 Nov 2022 10:27:33 +0000 (12:27 +0200)
Add OTPC node along with temperature calibration cell.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20221026124114.985876-3-claudiu.beznea@microchip.com
arch/arm/boot/dts/sama7g5.dtsi

index 7bd8ae8..b154356 100644 (file)
@@ -15,6 +15,7 @@
 #include <dt-bindings/dma/at91.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/mfd/at91-usart.h>
+#include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>
 
 / {
        model = "Microchip SAMA7G5 family SoC";
                        reg = <0xe3804000 0x1000>;
                };
 
+               otpc: efuse@e8c00000 {
+                       compatible = "microchip,sama7g5-otpc", "syscon";
+                       reg = <0xe8c00000 0x100>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       temperature_calib: calib@1 {
+                               reg = <OTP_PKT(1) 76>;
+                       };
+               };
+
                gic: interrupt-controller@e8c11000 {
                        compatible = "arm,cortex-a7-gic";
                        #interrupt-cells = <3>;