[PATCH v2 1/2] dt-bindings: memory: allwinner: add sunxi DRAM type constants

James Hilliard james.hilliard1 at gmail.com
Sat Mar 14 07:02:48 CET 2026


Add constants for the Allwinner DRAM type values used by the H616 DRAM
profile binding. This allows U-Boot DRAM profile nodes to describe
allwinner,dram-type numerically instead of using string literals.

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