dts: bindings: add binding for zephyr,sdmmc-disk
Add binding for zephyr sdmmc disk device, which uses the SD
subsystem to manage an SD memory card.
Fixes #46410
Fixes #46266
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
diff --git a/dts/bindings/sd/sd-device.yaml b/dts/bindings/sd/sd-device.yaml
new file mode 100644
index 0000000..81dbc70
--- /dev/null
+++ b/dts/bindings/sd/sd-device.yaml
@@ -0,0 +1,7 @@
+# Copyright 2022 NXP
+
+# Fields common to all SD devices
+
+on-bus: sd
+
+include: [base.yaml]
diff --git a/dts/bindings/sd/zephyr,sdmmc-disk.yaml b/dts/bindings/sd/zephyr,sdmmc-disk.yaml
new file mode 100644
index 0000000..bdf84a8
--- /dev/null
+++ b/dts/bindings/sd/zephyr,sdmmc-disk.yaml
@@ -0,0 +1,9 @@
+description: |
+ Zephyr MMC disk node. A binding with this compatible present within an SD
+ host controller device node indicates that an SDMMC disk is attached to that
+ SD bus. This binding will enable that disk to be used with the disk driver
+ API and any subsystems that utilize it.
+
+compatible: "zephyr,sdmmc-disk"
+
+include: [sd-device.yaml]
diff --git a/dts/bindings/sdhc/sdhc.yaml b/dts/bindings/sdhc/sdhc.yaml
index 312f970..e033eec 100644
--- a/dts/bindings/sdhc/sdhc.yaml
+++ b/dts/bindings/sdhc/sdhc.yaml
@@ -5,6 +5,8 @@
include: base.yaml
+bus: sd
+
properties:
max-current-330:
type: int