[PATCH v4 4/5] dt-bindings: memory: allwinner: add sunxi DRAM type constants
James Hilliard
james.hilliard1 at gmail.com
Fri Mar 27 21:09:15 CET 2026
Add numeric DRAM type constants for the Allwinner DRAM
bindings so H616 DT nodes can describe the dram-type property
without using string values.
Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
---
include/dt-bindings/memory/sunxi-dram.h | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 include/dt-bindings/memory/sunxi-dram.h
diff --git a/include/dt-bindings/memory/sunxi-dram.h b/include/dt-bindings/memory/sunxi-dram.h
new file mode 100644
index 00000000000..c0a3201123a
--- /dev/null
+++ b/include/dt-bindings/memory/sunxi-dram.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
+
+#ifndef _DT_BINDINGS_MEMORY_SUNXI_DRAM_H
+#define _DT_BINDINGS_MEMORY_SUNXI_DRAM_H
+
+#define SUNXI_DRAM_TYPE_DDR3 3
+#define SUNXI_DRAM_TYPE_DDR4 4
+#define SUNXI_DRAM_TYPE_LPDDR3 7
+#define SUNXI_DRAM_TYPE_LPDDR4 8
+
+#endif
--
2.43.0
More information about the U-Boot
mailing list