Skip to content

Commit eeb3a55

Browse files
TomChang19fabiobaltieri
authored andcommitted
dts: arm: npcx: add device node for ram lock
This commit adds a RAM lock node for both NPCX9 and NPCX4. Then, the user can use this node to configure the RAM lock settings. Signed-off-by: Tom Chang <[email protected]>
1 parent a1dce20 commit eeb3a55

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

dts/arm/nuvoton/npcx/npcx4.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,13 @@
515515
#size-cells = <0>;
516516
instance-id = <0x20>;
517517
};
518+
519+
ramlock0: ramlock@4000c02e {
520+
compatible = "syscon";
521+
reg = <0x4000c02e 0x153>;
522+
reg-io-width = <1>;
523+
status = "disabled";
524+
};
518525
};
519526

520527
soc-if {

dts/arm/nuvoton/npcx/npcx9.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,13 @@
409409
#reset-cells = <1>;
410410
status = "disabled";
411411
};
412+
413+
ramlock0: ramlock@4000c02e {
414+
compatible = "syscon";
415+
reg = <0x4000c02e 0x52>;
416+
reg-io-width = <1>;
417+
status = "disabled";
418+
};
412419
};
413420

414421
soc-id {

0 commit comments

Comments
 (0)