summaryrefslogtreecommitdiff
path: root/zephyr/boards/arm/npcx9/npcx9m7f.dts
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/boards/arm/npcx9/npcx9m7f.dts')
-rw-r--r--zephyr/boards/arm/npcx9/npcx9m7f.dts62
1 files changed, 30 insertions, 32 deletions
diff --git a/zephyr/boards/arm/npcx9/npcx9m7f.dts b/zephyr/boards/arm/npcx9/npcx9m7f.dts
index 0083f2da6f..2f02cb9887 100644
--- a/zephyr/boards/arm/npcx9/npcx9m7f.dts
+++ b/zephyr/boards/arm/npcx9/npcx9m7f.dts
@@ -9,39 +9,37 @@
#include <nuvoton/npcx9m7f.dtsi>
#include "npcx9.dtsi"
-/ {
- /*
- * The NPCX9m7F includes 384 kB of code RAM, and 1 MB flash. Padding
- * is added to make the image the same size as the internal flash. This
- * is required to support the flashrom tool which requires an image that
- * matches the full internal flash size.
- */
- binman {
- wp-ro {
- /*
- * wp-ro must match a block protect region supported by
- * by the internal flash device. In practice, that's
- * 512 KiB starting at address 0.
- */
- offset = <0x0>;
- size = <0x80000>;
- };
- ec-rw {
- offset = <0x80000>;
- size = <0x50000>;
- rw-fw {
- rw-fwid {
- /* Fix the lcoation of the FWID to the
- * last 32 bytes of the flash. This
- * ensures the RW entries in the FMAP
- * stored in the RO section of flash
- * are always correct.
- */
- offset = <(0x50000 - 32)>;
- };
+/*
+ * The NPCX9m7F includes 384 kB of code RAM, and 1 MB flash. Padding
+ * is added to make the image the same size as the internal flash. This
+ * is required to support the flashrom tool which requires an image that
+ * matches the full internal flash size.
+ */
+&binman {
+ wp-ro {
+ /*
+ * wp-ro must match a block protect region supported by
+ * by the internal flash device. In practice, that's
+ * 512 KiB starting at address 0.
+ */
+ offset = <0x0>;
+ size = <0x80000>;
+ };
+ ec-rw {
+ offset = <0x80000>;
+ size = <0x50000>;
+ rw-fw {
+ rw-fwid {
+ /* Fix the lcoation of the FWID to the
+ * last 32 bytes of the flash. This
+ * ensures the RW entries in the FMAP
+ * stored in the RO section of flash
+ * are always correct.
+ */
+ offset = <(0x50000 - 32)>;
};
};
- pad-byte = <0xff>;
- pad-after = <0x30000>;
};
+ pad-byte = <0xff>;
+ pad-after = <0x30000>;
};