File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 8
8
#include "fsl_clock.h"
9
9
#include <soc.h>
10
10
#include <fsl_glikey.h>
11
+ #if DT_NODE_HAS_STATUS (DT_NODELABEL (pmc_tmpsns ), okay )
12
+ #include "fsl_romapi_otp.h"
13
+ #endif
11
14
12
15
/*!< System oscillator settling time in us */
13
16
#define SYSOSC_SETTLING_US 220U
@@ -544,6 +547,12 @@ void board_early_init_hook(void)
544
547
CLOCK_EnableClock (kCLOCK_Acmp0 );
545
548
RESET_ClearPeripheralReset (kACMP0_RST_SHIFT_RSTn );
546
549
#endif
550
+
551
+ #if DT_NODE_HAS_STATUS (DT_NODELABEL (pmc_tmpsns ), okay )
552
+ POWER_DisablePD (kPDRUNCFG_PD_PMC_TEMPSNS );
553
+ POWER_ApplyPD ();
554
+ otp_init (SystemCoreClock );
555
+ #endif
547
556
}
548
557
549
558
static void GlikeyWriteEnable (GLIKEY_Type * base , uint8_t idx )
Original file line number Diff line number Diff line change 9
9
#include <zephyr/dt-bindings/misc/nxp_rtxxx_dsp_ctrl.h>
10
10
11
11
/ {
12
+ aliases {
13
+ die-temp0 = &pmc_tmpsns;
14
+ };
15
+
12
16
cpus {
13
17
#address-cells = <1>;
14
18
#size-cells = <0>;
1105
1109
interrupts = <17 0>;
1106
1110
status = "disabled";
1107
1111
};
1112
+
1113
+ mbox4: mailbox@189000 {
1114
+ #mbox-cells = <1>;
1115
+
1116
+ compatible = "nxp,mbox-imx-mu";
1117
+ reg = <0x189000 0x1000>;
1118
+
1119
+ interrupts = <31 0>;
1120
+ rx-channels = <4>;
1121
+
1122
+ status = "disabled";
1123
+ };
1124
+
1125
+ pmc_tmpsns: pmc-tmpsns {
1126
+ compatible = "nxp,pmc-tmpsns";
1127
+ status = "disabled";
1128
+ };
1129
+ };
1130
+
1131
+ &systick {
1132
+ /*
1133
+ * RT700 cm33_cpu0 relies by default on the OS Timer for system
1134
+ * clock implementation, so the SysTick node is not to be enabled.
1135
+ */
1136
+ status = "disabled";
1108
1137
};
1109
1138
1110
1139
&xspi0 {
You can’t perform that action at this time.
0 commit comments