mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
xilinx: versal-net: Add mini eMMC 5.1 configuration
Add support for Versal NET mini eMMC 5.1 configuration. Add device tree and defconfig. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com> Link: https://lore.kernel.org/r/20230614121351.21521-4-ashok.reddy.soma@amd.com Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
parent
38e0fc06b2
commit
37688da586
3 changed files with 128 additions and 0 deletions
|
@ -416,6 +416,7 @@ dtb-$(CONFIG_ARCH_VERSAL) += \
|
||||||
xilinx-versal-virt.dtb
|
xilinx-versal-virt.dtb
|
||||||
dtb-$(CONFIG_ARCH_VERSAL_NET) += \
|
dtb-$(CONFIG_ARCH_VERSAL_NET) += \
|
||||||
versal-net-mini.dtb \
|
versal-net-mini.dtb \
|
||||||
|
versal-net-mini-emmc.dtb \
|
||||||
versal-net-mini-ospi-single.dtb \
|
versal-net-mini-ospi-single.dtb \
|
||||||
versal-net-mini-qspi-single.dtb \
|
versal-net-mini-qspi-single.dtb \
|
||||||
xilinx-versal-net-virt.dtb
|
xilinx-versal-net-virt.dtb
|
||||||
|
|
64
arch/arm/dts/versal-net-mini-emmc.dts
Normal file
64
arch/arm/dts/versal-net-mini-emmc.dts
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
|
/*
|
||||||
|
* dts file for Xilinx Versal NET Mini eMMC Configuration
|
||||||
|
*
|
||||||
|
* (C) Copyright 2023, Advanced Micro Devices, Inc.
|
||||||
|
*
|
||||||
|
* Michal Simek <michal.simek@amd.com>
|
||||||
|
* Ashok Reddy Soma <ashok.reddy.soma@amd.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
|
/ {
|
||||||
|
compatible = "xlnx,versal-net-mini";
|
||||||
|
#address-cells = <2>;
|
||||||
|
#size-cells = <2>;
|
||||||
|
model = "Xilinx Versal NET MINI eMMC";
|
||||||
|
|
||||||
|
aliases {
|
||||||
|
serial0 = &dcc;
|
||||||
|
mmc0 = &sdhci1;
|
||||||
|
};
|
||||||
|
|
||||||
|
chosen {
|
||||||
|
stdout-path = "serial0:115200";
|
||||||
|
};
|
||||||
|
|
||||||
|
memory@0 {
|
||||||
|
device_type = "memory";
|
||||||
|
reg = <0 0 0 0x20000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
clk200: clk200 {
|
||||||
|
compatible = "fixed-clock";
|
||||||
|
#clock-cells = <0>;
|
||||||
|
clock-frequency = <200000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
dcc: dcc {
|
||||||
|
compatible = "arm,dcc";
|
||||||
|
status = "okay";
|
||||||
|
bootph-all;
|
||||||
|
};
|
||||||
|
|
||||||
|
amba: amba {
|
||||||
|
bootph-all;
|
||||||
|
compatible = "simple-bus";
|
||||||
|
#address-cells = <2>;
|
||||||
|
#size-cells = <2>;
|
||||||
|
ranges;
|
||||||
|
|
||||||
|
sdhci1: sdhci@f1050000 {
|
||||||
|
compatible = "xlnx,versal-net-emmc";
|
||||||
|
status = "okay";
|
||||||
|
non-removable;
|
||||||
|
disable-wp;
|
||||||
|
bus-width = <8>;
|
||||||
|
reg = <0 0xf1050000 0 0x10000>;
|
||||||
|
clock-names = "clk_xin", "clk_ahb";
|
||||||
|
clocks = <&clk200>, <&clk200>;
|
||||||
|
xlnx,mio-bank = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
63
configs/xilinx_versal_net_mini_emmc_defconfig
Normal file
63
configs/xilinx_versal_net_mini_emmc_defconfig
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
CONFIG_ARM=y
|
||||||
|
CONFIG_SYS_CONFIG_NAME="xilinx_versal_net_mini"
|
||||||
|
CONFIG_COUNTER_FREQUENCY=100000000
|
||||||
|
CONFIG_ARCH_VERSAL_NET=y
|
||||||
|
CONFIG_TEXT_BASE=0x10000
|
||||||
|
CONFIG_SYS_MALLOC_LEN=0x80000
|
||||||
|
CONFIG_NR_DRAM_BANKS=1
|
||||||
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
||||||
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x10000
|
||||||
|
CONFIG_ENV_SIZE=0x80
|
||||||
|
CONFIG_DEFAULT_DEVICE_TREE="versal-net-mini-emmc"
|
||||||
|
CONFIG_SYS_PROMPT="Versal NET> "
|
||||||
|
# CONFIG_PSCI_RESET is not set
|
||||||
|
CONFIG_SYS_LOAD_ADDR=0x8000000
|
||||||
|
# CONFIG_EXPERT is not set
|
||||||
|
CONFIG_REMAKE_ELF=y
|
||||||
|
# CONFIG_AUTOBOOT is not set
|
||||||
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||||
|
# CONFIG_DISPLAY_CPUINFO is not set
|
||||||
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
|
# CONFIG_BOARD_LATE_INIT is not set
|
||||||
|
# CONFIG_CMDLINE_EDITING is not set
|
||||||
|
# CONFIG_AUTO_COMPLETE is not set
|
||||||
|
# CONFIG_SYS_LONGHELP is not set
|
||||||
|
# CONFIG_CMD_BDI is not set
|
||||||
|
# CONFIG_CMD_CONSOLE is not set
|
||||||
|
# CONFIG_CMD_BOOTD is not set
|
||||||
|
# CONFIG_CMD_BOOTM is not set
|
||||||
|
# CONFIG_CMD_BOOTI is not set
|
||||||
|
# CONFIG_CMD_ELF is not set
|
||||||
|
# CONFIG_CMD_FDT is not set
|
||||||
|
# CONFIG_CMD_GO is not set
|
||||||
|
# CONFIG_CMD_RUN is not set
|
||||||
|
# CONFIG_CMD_IMI is not set
|
||||||
|
# CONFIG_CMD_XIMG is not set
|
||||||
|
# CONFIG_CMD_EXPORTENV is not set
|
||||||
|
# CONFIG_CMD_IMPORTENV is not set
|
||||||
|
# CONFIG_CMD_EDITENV is not set
|
||||||
|
# CONFIG_CMD_SAVEENV is not set
|
||||||
|
# CONFIG_CMD_ENV_EXISTS is not set
|
||||||
|
# CONFIG_CMD_CRC32 is not set
|
||||||
|
# CONFIG_CMD_LOADB is not set
|
||||||
|
# CONFIG_CMD_LOADS is not set
|
||||||
|
CONFIG_CMD_MMC=y
|
||||||
|
# CONFIG_CMD_ECHO is not set
|
||||||
|
# CONFIG_CMD_ITEST is not set
|
||||||
|
# CONFIG_CMD_SOURCE is not set
|
||||||
|
# CONFIG_CMD_SETEXPR is not set
|
||||||
|
CONFIG_CMD_FAT=y
|
||||||
|
CONFIG_CMD_FS_GENERIC=y
|
||||||
|
CONFIG_OF_EMBED=y
|
||||||
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
|
# CONFIG_NET is not set
|
||||||
|
# CONFIG_DM_WARN is not set
|
||||||
|
# CONFIG_DM_DEVICE_REMOVE is not set
|
||||||
|
CONFIG_MMC_HS200_SUPPORT=y
|
||||||
|
CONFIG_MMC_SDHCI=y
|
||||||
|
CONFIG_MMC_SDHCI_ZYNQ=y
|
||||||
|
CONFIG_ARM_DCC=y
|
||||||
|
CONFIG_FAT_WRITE=y
|
||||||
|
# CONFIG_GZIP is not set
|
||||||
|
# CONFIG_EFI_LOADER is not set
|
||||||
|
# CONFIG_LMB is not set
|
Loading…
Reference in a new issue