File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2025 Renesas Electronics Corporation
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ /**
8+ * @brief Option setting header file for Renesas RX26T
9+ */
10+
11+ #include <zephyr/devicetree.h>
12+
13+ /*
14+ * Option-Setting Memory for the RX. This region of memory (located in flash)
15+ * determines the state of the MCU after reset and can not be changed on runtime
16+ *
17+ * All registers are set to 0xffffffff by default, which are "safe" settings.
18+ * Please refer to the Renesas RX Group User's Manual before changing any of
19+ * the values as some changes can be permanent or lock access to the device.
20+ *
21+ */
22+
23+ /* Endian Select Register (MDE) at 0x00120064
24+ *
25+ * b2 to b0: endian select between (0 0 0) for big endian and (1 1 1) for little
26+ * endian.
27+ * b6 to b4: bank mode select between (0 0 0) for dual mode and (1 1 1) for linear mode
28+ * all other bits are reserved and have to be set to 1
29+ */
30+ #define SOC_RX_MDE (0xFFFFFFFFUL) /* little endian */
31+
32+ /* Option Function Select Register 0 (OFS0)
33+ * This section sets the IWDT (Independent Watchdog Timer) behavior immediately after reset
34+ * by programming the OFS0 register. When enabled, IWDT starts counting automatically
35+ * starts after a reset.
36+ */
37+ #define SOC_RX_OFS0 (0xFFFFFFFFUL)
38+
39+ /* Option Function Select Register 1 (OFS1) (Voltage detection and HOCO)
40+ */
41+ #define SOC_RX_OFS1 (0xFFFFFFFFUL)
You can’t perform that action at this time.
0 commit comments