Skip to content

Commit 54b60b6

Browse files
committed
ARM: dts: at91: sama7g5: add otpc node
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
1 parent 2bdae2d commit 54b60b6

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

arch/arm/boot/dts/sama7g5.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <dt-bindings/dma/at91.h>
1616
#include <dt-bindings/gpio/gpio.h>
1717
#include <dt-bindings/mfd/at91-usart.h>
18+
#include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>
1819

1920
/ {
2021
model = "Microchip SAMA7G5 family SoC";
@@ -939,6 +940,17 @@
939940
reg = <0xe3804000 0x1000>;
940941
};
941942

943+
otpc: efuse@e8c00000 {
944+
compatible = "microchip,sama7g5-otpc", "syscon";
945+
reg = <0xe8c00000 0x100>;
946+
#address-cells = <1>;
947+
#size-cells = <1>;
948+
949+
temperature_calib: calib@1 {
950+
reg = <OTP_PKT(1) 76>;
951+
};
952+
};
953+
942954
gic: interrupt-controller@e8c11000 {
943955
compatible = "arm,cortex-a7-gic";
944956
#interrupt-cells = <3>;

0 commit comments

Comments
 (0)