Skip to content

Commit cea2a8a

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>
1 parent dbd0876 commit cea2a8a

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/clock/at91.h>
1616
#include <dt-bindings/dma/at91.h>
1717
#include <dt-bindings/gpio/gpio.h>
18+
#include <dt-bindings/nvmem/microchip,otpc.h>
1819

1920
/ {
2021
model = "Microchip SAMA7G5 family SoC";
@@ -1131,6 +1132,17 @@
11311132
reg = <0xe3804000 0x1000>;
11321133
};
11331134

1135+
otpc: otpc@e8c00000 {
1136+
compatible = "microchip,sama7g5-otpc", "syscon";
1137+
reg = <0xe8c00000 0x100>;
1138+
#address-cells = <1>;
1139+
#size-cells = <1>;
1140+
1141+
temperature_calib: calib@1 {
1142+
reg = <OTP_PKT(1) OTP_PKT_SAMA7G5_TEMP_CALIB_LEN>;
1143+
};
1144+
};
1145+
11341146
gic: interrupt-controller@e8c11000 {
11351147
compatible = "arm,cortex-a7-gic";
11361148
#interrupt-cells = <3>;

0 commit comments

Comments
 (0)