File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 971
971
#wuc-cells = <1>;
972
972
};
973
973
974
+ bbram: bb-ram@f02200 {
975
+ #address-cells = <1>;
976
+ #size-cells = <1>;
977
+ compatible = "ite,it8xxx2-bbram";
978
+ status = "okay";
979
+ reg = <0x00f02200 0x80>;
980
+ };
981
+
974
982
i2cbase: i2cbase@f04100 {
975
983
compatible = "ite,it51xxx-i2cbase";
976
984
reg = <0x00f04100 1
Original file line number Diff line number Diff line change @@ -339,6 +339,24 @@ struct gctrl_it51xxx_regs {
339
339
#define gctrl_ite_ec_regs gctrl_it51xxx_regs
340
340
#define GCTRL_ITE_EC_REGS_BASE GCTRL_IT51XXX_REGS_BASE
341
341
342
+ /**
343
+ *
344
+ * (22xxh) Battery-backed SRAM (BRAM) registers
345
+ *
346
+ */
347
+ #ifndef __ASSEMBLER__
348
+ /* Battery backed RAM indices. */
349
+ #define BRAM_MAGIC_FIELD_OFFSET 0x7c
350
+
351
+ enum bram_indices {
352
+ /* This field is used to indicate BRAM is valid or not. */
353
+ BRAM_IDX_VALID_FLAGS0 = BRAM_MAGIC_FIELD_OFFSET ,
354
+ BRAM_IDX_VALID_FLAGS1 ,
355
+ BRAM_IDX_VALID_FLAGS2 ,
356
+ BRAM_IDX_VALID_FLAGS3
357
+ };
358
+ #endif /* !__ASSEMBLER__ */
359
+
342
360
/**
343
361
*
344
362
* (42xxh) SMBus Interface for target (SMB) registers
You can’t perform that action at this time.
0 commit comments