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 <[email protected]> --- 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

