summaryrefslogtreecommitdiff
path: root/zephyr/dts
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/dts')
-rw-r--r--zephyr/dts/bindings/cros_flash/cros-flash-controller.yaml12
-rw-r--r--zephyr/dts/bindings/cros_flash/nuvoton,npcx-cros-flash.yaml24
2 files changed, 36 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/cros_flash/cros-flash-controller.yaml b/zephyr/dts/bindings/cros_flash/cros-flash-controller.yaml
new file mode 100644
index 0000000000..b9c8a9f149
--- /dev/null
+++ b/zephyr/dts/bindings/cros_flash/cros-flash-controller.yaml
@@ -0,0 +1,12 @@
+# Copyright 2020 Google LLC
+# SPDX-License-Identifier: Apache-2.0
+
+# Common fields for Chrome OS flash devices
+
+include: base.yaml
+
+bus: crosflash
+
+properties:
+ label:
+ required: true
diff --git a/zephyr/dts/bindings/cros_flash/nuvoton,npcx-cros-flash.yaml b/zephyr/dts/bindings/cros_flash/nuvoton,npcx-cros-flash.yaml
new file mode 100644
index 0000000000..23c0f92c9c
--- /dev/null
+++ b/zephyr/dts/bindings/cros_flash/nuvoton,npcx-cros-flash.yaml
@@ -0,0 +1,24 @@
+# Copyright 2020 Google LLC
+# SPDX-License-Identifier: Apache-2.0
+
+description: Nuvoton, NPCX-cros-flash node
+
+compatible: "nuvoton,npcx-cros-flash"
+
+include: cros-flash-controller.yaml
+
+properties:
+ reg:
+ required: true
+
+ clocks:
+ required: true
+
+ size:
+ type: int
+ required: true
+
+ pinctrl-0:
+ type: phandles
+ required: true
+ description: configurations of pinmux controllers