diff options
Diffstat (limited to 'arch/xtensa/dts/virt-u-boot.dtsi')
-rw-r--r-- | arch/xtensa/dts/virt-u-boot.dtsi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/xtensa/dts/virt-u-boot.dtsi b/arch/xtensa/dts/virt-u-boot.dtsi new file mode 100644 index 00000000000..22b4683e761 --- /dev/null +++ b/arch/xtensa/dts/virt-u-boot.dtsi @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2024 Jiaxun Yang <jiaxun.yang@flygoat.com> + */ + +#include <config.h> + +/ { + memory@0 { + device_type = "memory"; +#if XCHAL_HAVE_PTP_MMU + reg = <0x00000000 CFG_SYS_SDRAM_SIZE>; +#else + reg = <CFG_SYS_MEMORY_BASE CFG_SYS_SDRAM_SIZE>; +#endif + }; +}; |