summaryrefslogtreecommitdiff
path: root/zephyr/include/cros/nuvoton
diff options
context:
space:
mode:
authorYuval Peress <peress@chromium.org>2021-09-08 00:25:50 -0600
committerCommit Bot <commit-bot@chromium.org>2021-09-10 17:48:12 +0000
commit316b2b4456aa78d986b675dabe547b73c59a7097 (patch)
treee17a852dbeebb05fb06355573b6551791db97569 /zephyr/include/cros/nuvoton
parentca19275b9e9b86056783525bda71f610d798bd2b (diff)
downloadchrome-ec-316b2b4456aa78d986b675dabe547b73c59a7097.tar.gz
zephyr: driver: bbram: Migrate to upstream driver
Migrate the BBRAM driver to the upstream version. BRANCH=none BUG=b:195843756 TEST=zmake testall Cq-Depend: chromium:3147080 Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I441e58f94c4874e268aad36df2f036a88187801b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3147230 Tested-by: Yuval Peress <peress@google.com> Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Yuval Peress <peress@google.com>
Diffstat (limited to 'zephyr/include/cros/nuvoton')
-rw-r--r--zephyr/include/cros/nuvoton/npcx.dtsi15
1 files changed, 4 insertions, 11 deletions
diff --git a/zephyr/include/cros/nuvoton/npcx.dtsi b/zephyr/include/cros/nuvoton/npcx.dtsi
index 8e7b8a7973..1121dcf0a9 100644
--- a/zephyr/include/cros/nuvoton/npcx.dtsi
+++ b/zephyr/include/cros/nuvoton/npcx.dtsi
@@ -62,17 +62,6 @@
soc {
- bbram: bb-ram@400af000 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "nuvoton,npcx-cros-bbram";
- status = "okay";
- reg = <0x400af000 0x80
- 0x400af100 0x1>;
- reg-names = "memory", "status";
- label = "BBRAM";
- };
-
cros_kb_raw: cros-kb-raw@400a3000 {
compatible = "nuvoton,npcx-cros-kb-raw";
reg = <0x400a3000 0x2000>;
@@ -160,3 +149,7 @@
&cpu0 {
cpu-power-states = <&suspend_to_idle_instant &suspend_to_idle_normal>;
};
+
+&bbram {
+ status = "okay";
+};