Skip to content

Instantly share code, notes, and snippets.

@pipcet
Last active June 8, 2021 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pipcet/8c4a019b2a9c6d242ef986c958cf051a to your computer and use it in GitHub Desktop.
Save pipcet/8c4a019b2a9c6d242ef986c958cf051a to your computer and use it in GitHub Desktop.
barebox configuration
#
# Automatically generated file; DO NOT EDIT.
# Barebox/arm64 2021.05.0 Configuration
#
CONFIG_ARM=y
CONFIG_ARM_LINUX=y
CONFIG_TEXT_BASE=0x0
#
# System Type
#
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_BCM283X is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_DAVINCI is not set
# CONFIG_ARCH_DIGIC is not set
# CONFIG_ARCH_EP93XX is not set
# CONFIG_ARCH_IMX is not set
# CONFIG_ARCH_LAYERSCAPE is not set
# CONFIG_ARCH_MVEBU is not set
# CONFIG_ARCH_MXS is not set
# CONFIG_ARCH_NOMADIK is not set
# CONFIG_ARCH_OMAP is not set
# CONFIG_ARCH_PXA is not set
# CONFIG_ARCH_ROCKCHIP is not set
# CONFIG_ARCH_SOCFPGA is not set
# CONFIG_ARCH_S3C24xx is not set
# CONFIG_ARCH_S5PCxx is not set
# CONFIG_ARCH_S3C64xx is not set
# CONFIG_ARCH_STM32MP is not set
# CONFIG_ARCH_VERSATILE is not set
# CONFIG_ARCH_VEXPRESS is not set
# CONFIG_ARCH_TEGRA is not set
# CONFIG_ARCH_UEMD is not set
# CONFIG_ARCH_ZYNQ is not set
# CONFIG_ARCH_ZYNQMP is not set
CONFIG_ARCH_ARM64_VIRT=y
#
# Processor Type
#
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_CPU_64=y
CONFIG_CPU_V8=y
CONFIG_CPU_64v8=y
#
# processor features
#
# CONFIG_BOOT_ENDIANNESS_SWITCH is not set
CONFIG_SYS_SUPPORTS_64BIT_KERNEL=y
CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
CONFIG_BOARD_ARM_VIRT=y
CONFIG_BOARD_ARM_GENERIC_DT=y
CONFIG_BOARD_ARM_GENERIC_DT_AARCH64=y
# end of System Type
CONFIG_64BIT=y
#
# ARM specific settings
#
CONFIG_ARM_EXCEPTIONS=y
# CONFIG_ARM_PSCI_CLIENT is not set
# end of ARM specific settings
CONFIG_GREGORIAN_CALENDER=y
CONFIG_HAS_KALLSYMS=y
CONFIG_HAS_CACHE=y
CONFIG_HAS_DMA=y
CONFIG_HAS_ARCH_SJLJ=y
CONFIG_BLOCK=y
CONFIG_FILETYPE=y
CONFIG_BINFMT=y
CONFIG_UIMAGE=y
CONFIG_LOGBUF=y
CONFIG_STDDEV=y
CONFIG_MENUTREE=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_USBGADGET_START=y
CONFIG_BOOT=y
#
# General Settings
#
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_BANNER=y
CONFIG_MEMINFO=y
CONFIG_ENVIRONMENT_VARIABLES=y
CONFIG_GLOBALVAR=y
CONFIG_NVVAR=y
#
# memory layout
#
CONFIG_HAVE_PBL_IMAGE=y
CONFIG_HAVE_PBL_MULTI_IMAGES=y
CONFIG_HAVE_IMAGE_COMPRESSION=y
CONFIG_PBL_IMAGE=y
CONFIG_PBL_MULTI_IMAGES=y
CONFIG_PBL_RELOCATABLE=y
CONFIG_BOARD_GENERIC_DT=y
CONFIG_IMAGE_COMPRESSION=y
# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
CONFIG_IMAGE_COMPRESSION_LZO=y
# CONFIG_IMAGE_COMPRESSION_GZIP is not set
# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
# CONFIG_IMAGE_COMPRESSION_NONE is not set
# CONFIG_MMU is not set
CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
CONFIG_STACK_SIZE=0x8000
CONFIG_MALLOC_SIZE=0x400000
# end of memory layout
CONFIG_EXPERIMENTAL=y
CONFIG_MALLOC_DLMALLOC=y
# CONFIG_MALLOC_TLSF is not set
# CONFIG_KALLSYMS is not set
CONFIG_RELOCATABLE=y
# CONFIG_PANIC_HANG is not set
CONFIG_PROMPT="barebox:"
CONFIG_BAUDRATE=115200
CONFIG_CBSIZE=1024
CONFIG_FIRMWARE=y
CONFIG_SHELL_HUSH=y
# CONFIG_SHELL_SIMPLE is not set
# CONFIG_SHELL_NONE is not set
CONFIG_GLOB=y
CONFIG_GLOB_SORT=y
CONFIG_PROMPT_HUSH_PS2="> "
CONFIG_HUSH_FANCY_PROMPT=y
CONFIG_CMDLINE_EDITING=y
CONFIG_AUTO_COMPLETE=y
CONFIG_MENU=y
CONFIG_PASSWORD=y
CONFIG_PASSWORD_DEFAULT=""
CONFIG_PASSWD_SUM_MD5=y
# CONFIG_PASSWD_SUM_SHA1 is not set
# CONFIG_PASSWD_SUM_SHA256 is not set
# CONFIG_PASSWD_SUM_SHA512 is not set
# CONFIG_PASSWD_CRYPTO_PBKDF2 is not set
CONFIG_DYNAMIC_CRC_TABLE=y
CONFIG_ERRNO_MESSAGES=y
CONFIG_TIMESTAMP=y
CONFIG_BOOTM=y
# CONFIG_BOOTM_SHOW_TYPE is not set
# CONFIG_BOOTM_VERBOSE is not set
# CONFIG_BOOTM_INITRD is not set
# CONFIG_BOOTM_OFTREE is not set
# CONFIG_BOOTM_AIMAGE is not set
# CONFIG_BOOTM_ELF is not set
# CONFIG_BOOTM_FITIMAGE is not set
# CONFIG_FLEXIBLE_BOOTARGS is not set
CONFIG_BAREBOX_UPDATE=y
# CONFIG_SYSTEM_PARTITIONS is not set
CONFIG_IMD=y
# CONFIG_IMD_TARGET is not set
# CONFIG_KERNEL_INSTALL_TARGET is not set
CONFIG_CONSOLE_FULL=y
# CONFIG_CONSOLE_SIMPLE is not set
# CONFIG_CONSOLE_NONE is not set
# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
CONFIG_CONSOLE_ACTIVATE_ALL=y
# CONFIG_CONSOLE_ACTIVATE_NONE is not set
# CONFIG_CONSOLE_ALLOW_COLOR is not set
CONFIG_PBL_CONSOLE=y
# CONFIG_CONSOLE_RATP is not set
CONFIG_PARTITION=y
CONFIG_PARTITION_DISK=y
CONFIG_PARTITION_DISK_DOS=y
CONFIG_PARTITION_DISK_EFI=y
CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y
CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y
CONFIG_ENV_HANDLING=y
CONFIG_DEFAULT_ENVIRONMENT=y
# CONFIG_DEFAULT_COMPRESSION_GZIP is not set
CONFIG_DEFAULT_COMPRESSION_NONE=y
# CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW is not set
# CONFIG_DEFAULT_ENVIRONMENT_GENERIC is not set
CONFIG_DEFAULT_ENVIRONMENT_PATH=""
# CONFIG_BAREBOXENV_TARGET is not set
# CONFIG_BAREBOXCRC32_TARGET is not set
CONFIG_POLLER=y
CONFIG_BTHREAD=y
CONFIG_STATE=y
# CONFIG_STATE_CRYPTO is not set
# CONFIG_STATE_BACKWARD_COMPATIBLE is not set
CONFIG_BOOTCHOOSER=y
# CONFIG_RESET_SOURCE is not set
#
# OP-TEE loading
#
# CONFIG_BOOTM_OPTEE is not set
# CONFIG_PBL_OPTEE is not set
# end of OP-TEE loading
# end of General Settings
#
# Debugging
#
CONFIG_COMPILE_LOGLEVEL=6
CONFIG_DEFAULT_LOGLEVEL=7
# CONFIG_DEBUG_INITCALLS is not set
# CONFIG_PBL_BREAK is not set
# CONFIG_UBSAN is not set
CONFIG_HAVE_ARCH_KASAN=y
CONFIG_CC_HAS_KASAN_GENERIC=y
# CONFIG_COMPILE_TEST is not set
# end of Debugging
CONFIG_DDR_SPD=y
CONFIG_COMMAND_SUPPORT=y
CONFIG_COMPILE_HASH=y
#
# Commands
#
#
# Information
#
CONFIG_CMD_ARM_CPUINFO=y
CONFIG_CMD_DEVINFO=y
CONFIG_CMD_DMESG=y
CONFIG_CMD_DRVINFO=y
CONFIG_CMD_HELP=y
CONFIG_LONGHELP=y
CONFIG_CMD_IOMEM=y
CONFIG_CMD_IMD=y
CONFIG_CMD_MEMINFO=y
CONFIG_CMD_LSPCI=y
CONFIG_CMD_VERSION=y
CONFIG_CMD_POLLER=y
CONFIG_CMD_BTHREAD=y
CONFIG_CMD_SLICE=y
# end of Information
#
# Boot
#
CONFIG_CMD_BOOT=y
CONFIG_CMD_BOOTM=y
CONFIG_CMD_GO=y
CONFIG_CMD_LOADB=y
CONFIG_CMD_LOADS=y
CONFIG_CMD_LOADY=y
CONFIG_CMD_RESET=y
CONFIG_CMD_SAVES=y
CONFIG_CMD_UIMAGE=y
CONFIG_CMD_BOOTCHOOSER=y
# end of Boot
#
# Partition
#
CONFIG_CMD_PARTITION=y
CONFIG_CMD_AUTOMOUNT=y
CONFIG_CMD_MOUNT=y
CONFIG_CMD_UMOUNT=y
# end of Partition
#
# Environment
#
CONFIG_CMD_NV=y
CONFIG_CMD_EXPORT=y
CONFIG_CMD_DEFAULTENV=y
CONFIG_CMD_GLOBAL=y
CONFIG_CMD_LOADENV=y
CONFIG_CMD_PRINTENV=y
CONFIG_CMD_MAGICVAR=y
CONFIG_CMD_MAGICVAR_HELP=y
CONFIG_CMD_SAVEENV=y
CONFIG_CMD_SETENV=y
# end of Environment
#
# File
#
CONFIG_CMD_BASENAME=y
CONFIG_CMD_CAT=y
CONFIG_CMD_CD=y
CONFIG_CMD_CP=y
CONFIG_CMD_CMP=y
CONFIG_CMD_DIGEST=y
CONFIG_CMD_DIRNAME=y
CONFIG_CMD_FILETYPE=y
CONFIG_CMD_LN=y
CONFIG_CMD_LS=y
CONFIG_CMD_MD5SUM=y
CONFIG_CMD_MKDIR=y
CONFIG_CMD_PWD=y
CONFIG_CMD_READLINK=y
CONFIG_CMD_RM=y
CONFIG_CMD_RMDIR=y
CONFIG_CMD_SHA1SUM=y
CONFIG_CMD_SHA224SUM=y
CONFIG_CMD_SHA256SUM=y
CONFIG_CMD_SHA384SUM=y
CONFIG_CMD_SHA512SUM=y
CONFIG_CMD_UNCOMPRESS=y
# end of File
#
# Shell scripting
#
CONFIG_CMD_FALSE=y
CONFIG_CMD_GETOPT=y
CONFIG_CMD_LET=y
CONFIG_CMD_MSLEEP=y
CONFIG_CMD_READF=y
CONFIG_CMD_SLEEP=y
CONFIG_CMD_TEST=y
CONFIG_CMD_TRUE=y
# end of Shell scripting
#
# Console and Framebuffer interaction
#
CONFIG_CMD_CLEAR=y
CONFIG_CMD_ECHO=y
CONFIG_CMD_ECHO_E=y
CONFIG_CMD_EDIT=y
CONFIG_CMD_LOGIN=y
CONFIG_CMD_MENU=y
CONFIG_CMD_MENU_MANAGEMENT=y
CONFIG_CMD_MENUTREE=y
CONFIG_CMD_PASSWD=y
CONFIG_PASSWD_MODE_HIDE=y
# CONFIG_PASSWD_MODE_STAR is not set
# CONFIG_PASSWD_MODE_CLEAR is not set
CONFIG_CMD_SPLASH=y
CONFIG_CMD_FBTEST=y
CONFIG_CMD_READLINE=y
CONFIG_CMD_TIMEOUT=y
# end of Console and Framebuffer interaction
#
# Memory
#
# CONFIG_CMD_CRC is not set
CONFIG_CMD_MD=y
CONFIG_CMD_MEMCMP=y
CONFIG_CMD_MEMCPY=y
CONFIG_CMD_MEMSET=y
# CONFIG_CMD_MEMTEST is not set
# CONFIG_CMD_MEMTESTER is not set
# CONFIG_CMD_MM is not set
CONFIG_CMD_MW=y
# end of Memory
#
# Hardware manipulation
#
CONFIG_CMD_CLK=y
# CONFIG_CMD_DETECT is not set
# CONFIG_CMD_FLASH is not set
CONFIG_CMD_I2C=y
CONFIG_CMD_POWEROFF=y
# CONFIG_CMD_SPI is not set
CONFIG_CMD_USB=y
CONFIG_CMD_USBGADGET=y
# end of Hardware manipulation
#
# Miscellaneous
#
CONFIG_CMD_2048=y
CONFIG_CMD_BAREBOX_UPDATE=y
CONFIG_CMD_BLOBGEN=y
CONFIG_CMD_FIRMWARELOAD=y
CONFIG_CMD_OF_DIFF=y
CONFIG_CMD_OF_DUMP=y
CONFIG_CMD_OF_NODE=y
CONFIG_CMD_OF_PROPERTY=y
CONFIG_CMD_OF_DISPLAY_TIMINGS=y
CONFIG_CMD_OF_FIXUP_STATUS=y
CONFIG_CMD_OF_OVERLAY=y
CONFIG_CMD_OFTREE=y
CONFIG_CMD_TIME=y
CONFIG_CMD_STATE=y
CONFIG_CMD_DHRYSTONE=y
CONFIG_CMD_SPD_DECODE=y
CONFIG_CMD_SEED=y
# end of Miscellaneous
# end of Commands
# CONFIG_NET is not set
#
# Drivers
#
CONFIG_OFTREE=y
CONFIG_OFTREE_MEM_GENERIC=y
CONFIG_DTC=y
CONFIG_OFDEVICE=y
CONFIG_OF_BAREBOX_DRIVERS=y
CONFIG_OF_BAREBOX_ENV_IN_FS=y
CONFIG_OF_OVERLAY=y
# CONFIG_OF_OVERLAY_LIVE is not set
# CONFIG_AIODEV is not set
CONFIG_ARM_AMBA=y
#
# serial drivers
#
# CONFIG_SERIAL_DEV_BUS is not set
# CONFIG_SERIAL_AMBA_PL011 is not set
# CONFIG_DRIVER_SERIAL_NS16550 is not set
# CONFIG_DRIVER_SERIAL_CADENCE is not set
# CONFIG_SERIAL_SIFIVE is not set
# end of serial drivers
#
# SPI drivers
#
CONFIG_SPI=y
# CONFIG_SPI_MEM is not set
# end of SPI drivers
CONFIG_I2C=y
#
# I2C Hardware Bus support
#
# CONFIG_I2C_DESIGNWARE is not set
# CONFIG_I2C_MV64XXX is not set
CONFIG_I2C_APPLE=y
# end of I2C Hardware Bus support
# CONFIG_I2C_MUX is not set
# CONFIG_MTD is not set
CONFIG_DISK=y
# CONFIG_DISK_WRITE is not set
#
# drive types
#
# CONFIG_DISK_ATA is not set
# CONFIG_DISK_AHCI is not set
#
# interface types
#
# CONFIG_DISK_INTF_PLATFORM_IDE is not set
CONFIG_USB=y
CONFIG_USB_HOST=y
# CONFIG_USB_DWC2_HOST is not set
# CONFIG_USB_DWC2_GADGET is not set
CONFIG_USB_DWC3=y
# CONFIG_USB_DWC3_HOST is not set
# CONFIG_USB_DWC3_GADGET is not set
CONFIG_USB_DWC3_DUAL_ROLE=y
CONFIG_USB_DWC3_OF_SIMPLE=y
CONFIG_USB_EHCI=y
CONFIG_USB_OHCI=y
CONFIG_USB_XHCI=y
# CONFIG_USB_ULPI is not set
CONFIG_USB_OTGDEV=y
CONFIG_USB_STORAGE=y
#
# USB Miscellaneous drivers
#
# CONFIG_USB_HUB_USB251XB is not set
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_AUTOSTART=y
#
# USB Gadget drivers
#
# CONFIG_USB_GADGET_DFU is not set
CONFIG_USB_GADGET_SERIAL=y
# CONFIG_USB_GADGET_FASTBOOT is not set
# CONFIG_USB_MUSB is not set
CONFIG_VIDEO=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_DRIVER_VIDEO_BOCHS_PCI is not set
# CONFIG_DRIVER_VIDEO_BOCHS_ISA is not set
CONFIG_DRIVER_VIDEO_SIMPLEFB_CLIENT=y
# CONFIG_DRIVER_VIDEO_SIMPLEFB is not set
# CONFIG_DRIVER_VIDEO_EDID is not set
# CONFIG_DRIVER_VIDEO_BACKLIGHT is not set
#
# Video encoder chips
#
# CONFIG_DRIVER_VIDEO_MTL017 is not set
# CONFIG_DRIVER_VIDEO_SIMPLE_PANEL is not set
# CONFIG_SOUND is not set
# CONFIG_MCI is not set
CONFIG_HAVE_CLK=y
CONFIG_CLKDEV_LOOKUP=y
CONFIG_COMMON_CLK=y
CONFIG_COMMON_CLK_OF_PROVIDER=y
#
# Clocksource
#
CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
# CONFIG_CLOCKSOURCE_DW_APB_TIMER is not set
# end of Clocksource
#
# Multifunction device drivers
#
# CONFIG_MFD_ACT8846 is not set
# CONFIG_MFD_DA9053 is not set
# CONFIG_MFD_DA9063 is not set
# CONFIG_MFD_LP3972 is not set
# CONFIG_MFD_MC13XXX is not set
# CONFIG_MFD_MC34704 is not set
# CONFIG_MFD_MC9SDZ60 is not set
# CONFIG_MFD_STMPE is not set
# CONFIG_MFD_SYSCON is not set
# CONFIG_MFD_TWL4030 is not set
# CONFIG_MFD_TWL6030 is not set
# CONFIG_MFD_STPMIC1 is not set
# CONFIG_MFD_ATMEL_FLEXCOM is not set
# end of Multifunction device drivers
#
# Misc devices
#
# CONFIG_SRAM is not set
# CONFIG_STATE_DRV is not set
CONFIG_DEV_MEM=y
# CONFIG_UBOOTVAR is not set
CONFIG_APPLE_DART=y
CONFIG_APPLE_MBOX=y
# end of Misc devices
# CONFIG_LED is not set
#
# EEPROM support
#
# CONFIG_EEPROM_AT25 is not set
# CONFIG_EEPROM_AT24 is not set
# end of EEPROM support
#
# Input device support
#
# CONFIG_KEYBOARD_USB is not set
# CONFIG_INPUT_SPECIALKEYS is not set
# end of Input device support
# CONFIG_WATCHDOG is not set
# CONFIG_PWM is not set
# CONFIG_HWRNG is not set
#
# DMA support
#
# end of DMA support
# CONFIG_W1 is not set
#
# Pin controllers
#
CONFIG_PINCTRL=y
# CONFIG_PINCTRL_SINGLE is not set
# end of Pin controllers
# CONFIG_NVMEM is not set
#
# Bus devices
#
# end of Bus devices
# CONFIG_REGULATOR is not set
#
# Remoteproc drivers
#
# CONFIG_REMOTEPROC is not set
# end of Remoteproc drivers
# CONFIG_RESET_CONTROLLER is not set
CONFIG_HW_HAS_PCI=y
#
# PCI bus options
#
CONFIG_PCI=y
CONFIG_PCI_DEBUG=y
# end of PCI bus options
# CONFIG_RTC_CLASS is not set
#
# Firmware Drivers
#
# end of Firmware Drivers
# CONFIG_GENERIC_PHY is not set
# CONFIG_CRYPTO_HW is not set
#
# Memory controller drivers
#
# end of Memory controller drivers
#
# i.MX SoC drivers
#
# end of i.MX SoC drivers
#
# NVME Support
#
CONFIG_NVME_CORE=y
CONFIG_BLK_DEV_NVME=y
CONFIG_BLK_DEV_NVME_APPLE=y
# end of NVME Support
# CONFIG_POWER_RESET_SYSCON is not set
# CONFIG_POWER_RESET_SYSCON_POWEROFF is not set
CONFIG_VIRTIO_MENU=y
# CONFIG_VIRTIO_MMIO is not set
# CONFIG_VIRTIO_PCI is not set
# end of Drivers
#
# Filesystem support
#
CONFIG_FS=y
CONFIG_FS_LEGACY=y
#
# Some selected filesystems still use the legacy FS API.
#
#
# Consider updating them.
#
CONFIG_FS_AUTOMOUNT=y
CONFIG_FS_CRAMFS=y
CONFIG_FS_EXT4=y
CONFIG_FS_RAMFS=y
CONFIG_FS_DEVFS=y
CONFIG_FS_FAT=y
# CONFIG_FS_FAT_WRITE is not set
# CONFIG_FS_FAT_LFN is not set
CONFIG_FS_BPKFS=y
CONFIG_FS_UIMAGEFS=y
CONFIG_FS_PSTORE=y
# CONFIG_FS_PSTORE_CONSOLE is not set
# CONFIG_FS_PSTORE_RAMOOPS is not set
CONFIG_FS_SQUASHFS=y
CONFIG_SQUASHFS_ZLIB=y
#
# LZ4 support disabled
#
#
# LZO support disabled
#
#
# XZ support disabled
#
#
# ZSTD support disabled
#
# end of Filesystem support
#
# Library routines
#
CONFIG_PARAMETER=y
CONFIG_UNCOMPRESS=y
CONFIG_ZLIB=y
# CONFIG_BZLIB is not set
# CONFIG_LZ4_DECOMPRESS is not set
# CONFIG_ZSTD_DECOMPRESS is not set
# CONFIG_XZ_DECOMPRESS is not set
CONFIG_BASE64=y
CONFIG_GENERIC_FIND_NEXT_BIT=y
CONFIG_PROCESS_ESCAPE_SEQUENCE=y
# CONFIG_LZO_DECOMPRESS is not set
CONFIG_FNMATCH=y
CONFIG_QSORT=y
CONFIG_XYMODEM=y
CONFIG_LIBFDT=y
# CONFIG_RATP is not set
# CONFIG_ALLOW_PRNG_FALLBACK is not set
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC8 is not set
#
# Library gui routines
#
CONFIG_IMAGE_RENDERER=y
CONFIG_2D_PRIMITIVES=y
# CONFIG_BMP is not set
# CONFIG_PNG is not set
# end of Library gui routines
CONFIG_FONTS=y
CONFIG_FONT_8x16=y
CONFIG_FONT_8x8=y
CONFIG_FONT_7x14=y
CONFIG_FONT_MINI_4x6=y
CONFIG_FONT_CUSTOM_16X=y
CONFIG_FONT_6x8=y
# CONFIG_BAREBOX_LOGO is not set
CONFIG_PRINTF_UUID=y
# CONFIG_NLS is not set
CONFIG_BLOBGEN=y
CONFIG_ARCH_HAS_STACK_DUMP=y
CONFIG_ARCH_HAS_DATA_ABORT_MASK=y
CONFIG_ARCH_HAS_ZERO_PAGE=y
# end of Library routines
#
# Crypto support
#
CONFIG_CRC32=y
CONFIG_CRC_ITU_T=y
CONFIG_DIGEST=y
CONFIG_MD5=y
CONFIG_SHA1=y
CONFIG_SHA224=y
CONFIG_SHA256=y
CONFIG_SHA384=y
CONFIG_SHA512=y
# CONFIG_DIGEST_CRC32_GENERIC is not set
CONFIG_DIGEST_MD5_GENERIC=y
CONFIG_DIGEST_SHA1_GENERIC=y
CONFIG_DIGEST_SHA224_GENERIC=y
CONFIG_DIGEST_SHA256_GENERIC=y
CONFIG_DIGEST_SHA384_GENERIC=y
CONFIG_DIGEST_SHA512_GENERIC=y
# CONFIG_DIGEST_HMAC_GENERIC is not set
# CONFIG_DIGEST_SHA1_ARM is not set
# CONFIG_DIGEST_SHA256_ARM is not set
# CONFIG_CRYPTO_KEYSTORE is not set
# end of Crypto support
#
# Firmware files
#
CONFIG_EXTRA_FIRMWARE_DIR="firmware"
# end of Firmware files
#
# Host Tools
#
# CONFIG_COMPILE_HOST_TOOLS is not set
# end of Host Tools
// SPDX-License-Identifier: GPL-2.0+ OR MIT
/*
* Apple Mac mini (M1, 2020)
*
* target-type: J274
*
* Copyright The Asahi Linux Contributors
*/
/dts-v1/;
#include "t8103.dtsi"
/ {
compatible = "apple,j274", "apple,t8103", "apple,arm-platform";
model = "Apple Mac mini (M1, 2020)";
aliases {
serial0 = &serial0;
};
chosen {
#address-cells = <2>;
#size-cells = <2>;
ranges;
stdout-path = "serial0";
};
memory@800000000 {
device_type = "memory";
reg = <0x8 0 0x2 0>; /* To be filled by loader */
};
};
&serial0 {
status = "okay";
};
// SPDX-License-Identifier: GPL-2.0+ OR MIT
/*
* Apple T8103 "M1" SoC
*
* Other names: H13G, "Tonga"
*
* Copyright The Asahi Linux Contributors
*/
#include <dt-bindings/interrupt-controller/apple-aic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pinctrl/apple.h>
#include <dt-bindings/spmi/spmi.h>
/ {
compatible = "apple,t8103", "apple,arm-platform";
#address-cells = <2>;
#size-cells = <2>;
framebuffer0: framebuffer@0 {
compatible = "apple,simple-framebuffer", "simple-framebuffer";
reg = <0x0b 0xdf438000 0x00 0x3e80000>;
format = "x2r10g10b10";
height = <0x640>;
stride = <0x2800>;
width = <0xa00>;
status = "okay";
};
cpus {
#address-cells = <2>;
#size-cells = <0>;
cpu0: cpu@0 {
compatible = "apple,icestorm";
device_type = "cpu";
reg = <0x0 0x0>;
enable-method = "spin-table";
cpu-release-addr = <0 0>; /* To be filled by loader */
};
cpu1: cpu@1 {
compatible = "apple,icestorm";
device_type = "cpu";
reg = <0x0 0x1>;
enable-method = "spin-table";
cpu-release-addr = <0 0>; /* To be filled by loader */
};
cpu2: cpu@2 {
compatible = "apple,icestorm";
device_type = "cpu";
reg = <0x0 0x2>;
enable-method = "spin-table";
cpu-release-addr = <0 0>; /* To be filled by loader */
};
cpu3: cpu@3 {
compatible = "apple,icestorm";
device_type = "cpu";
reg = <0x0 0x3>;
enable-method = "spin-table";
cpu-release-addr = <0 0>; /* To be filled by loader */
};
cpu4: cpu@10100 {
compatible = "apple,firestorm";
device_type = "cpu";
reg = <0x0 0x10100>;
enable-method = "spin-table";
cpu-release-addr = <0 0>; /* To be filled by loader */
};
cpu5: cpu@10101 {
compatible = "apple,firestorm";
device_type = "cpu";
reg = <0x0 0x10101>;
enable-method = "spin-table";
cpu-release-addr = <0 0>; /* To be filled by loader */
};
cpu6: cpu@10102 {
compatible = "apple,firestorm";
device_type = "cpu";
reg = <0x0 0x10102>;
enable-method = "spin-table";
cpu-release-addr = <0 0>; /* To be filled by loader */
};
cpu7: cpu@10103 {
compatible = "apple,firestorm";
device_type = "cpu";
reg = <0x0 0x10103>;
enable-method = "spin-table";
cpu-release-addr = <0 0>; /* To be filled by loader */
};
};
timer {
compatible = "arm,armv8-timer";
interrupt-parent = <&aic>;
interrupt-names = "hyp-phys", "hyp-virt", "phys", "virt";
interrupts = <AIC_FIQ AIC_TMR_HV_PHYS IRQ_TYPE_LEVEL_HIGH>,
<AIC_FIQ AIC_TMR_HV_VIRT IRQ_TYPE_LEVEL_HIGH>,
<AIC_FIQ AIC_TMR_GUEST_PHYS IRQ_TYPE_LEVEL_HIGH>,
<AIC_FIQ AIC_TMR_GUEST_VIRT IRQ_TYPE_LEVEL_HIGH>;
};
clk24: clock-24m {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <24000000>;
clock-output-names = "clk24";
};
soc {
compatible = "simple-bus";
#address-cells = <2>;
#size-cells = <2>;
ranges;
nonposted-mmio;
aic: interrupt-controller@23b100000 {
compatible = "apple,t8103-aic", "apple,aic";
#interrupt-cells = <3>;
interrupt-controller;
reg = <0x2 0x3b100000 0x0 0x8000>;
};
serial0: serial@235200000 {
compatible = "apple,s5l-uart";
reg = <0x2 0x35200000 0x0 0x1000>;
reg-io-width = <4>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 605 IRQ_TYPE_LEVEL_HIGH>;
/*
* TODO: figure out the clocking properly, there may
* be a third selectable clock.
*/
clocks = <&clk24>, <&clk24>;
clock-names = "uart", "clk_uart_baud0";
status = "disabled";
};
gpio_clk: clock@23b700130 {
compatible = "apple,pmgr-clk-gate";
reg = <0x2 0x3b700130 0x0 0x8>;
#clock-cells = <0>;
};
pinctrl: pinctrl@23c100000 {
compatible = "apple,t8103-pinctrl", "apple,pinctrl";
reg = <0x2 0x3c100000 0x0 0x100000>;
clocks = <&gpio_clk>;
gpio-controller;
#gpio-cells = <2>;
gpio-ranges = <&pinctrl 0 0 212>;
i2c0_pins: i2c0_pins {
pinmux = <APPLE_PINMUX(188, 1)>,
<APPLE_PINMUX(192, 1)>;
};
pcie_pins: pcie-pins {
pinmux = <APPLE_PINMUX(150, 1)>,
<APPLE_PINMUX(151, 1)>,
<APPLE_PINMUX(32, 1)>;
};
};
sio_busif_clk: clock@23b7001c0 {
compatible = "apple,pmgr-clk-gate";
reg = <0x2 0x3b7001c0 0x0 0x8>;
#clock-cells = <0>;
clocks = <&clk24>;
};
sio_clk: clock@23b7001c8 {
compatible = "apple,pmgr-clk-gate";
reg = <0x2 0x3b7001c8 0x0 0x8>;
#clock-cells = <0>;
clocks = <&sio_busif_clk>;
};
i2c0_clk: clock@23b7001f0 {
compatible = "apple,pmgr-clk-gate";
reg = <0x2 0x3b7001f0 0x0 0x8>;
#clock-cells = <0>;
clocks = <&sio_clk>;
};
i2c0: i2c@20a110000 {
compatible = "apple,i2c-v0";
reg = <0x2 0x35010000 0x0 0x4000>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 627 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&i2c0_clk>;
pinctrl-0 = <&i2c0_pins>;
pinctrl-names = "default";
#address-cells = <0x1>;
#size-cells = <0x0>;
hpm0: hpm@38 {
compatible = "ti,tps6598x";
reg = <0x38>;
};
hpm1: hpm@3f {
compatible = "ti,tps6598x";
reg = <0x3f>;
};
};
imx_clk: clock@23b7001b8 {
compatible = "apple,pmgr-clk-gate";
reg = <0x2 0x3b7001b8 0x0 0x8>;
#clock-cells = <0>;
};
pcie_aux_clk: clock@23b700348 {
compatible = "apple,pmgr-clk-gate";
reg = <0x2 0x3b700348 0x0 0x8>;
#clock-cells = <0>;
clocks = <&imx_clk>;
};
pcie_core_clk: clock@23b7003e8 {
compatible = "apple,pmgr-clk-gate";
reg = <0x2 0x3b7003e8 0x0 0x8>;
#clock-cells = <0>;
clocks = <&pcie_aux_clk>;
};
pcie_ref_clk: clock@23b7001a0 {
compatible = "apple,pmgr-clk-gate";
reg = <0x2 0x3b7001a0 0x0 0x8>;
#clock-cells = <0>;
};
ans_clk: clock@23b7003f0 {
compatible = "apple,pmgr-clk-gate";
reg = <0x2 0x3b7003f0 0x0 0x8>;
#clock-cells = <0>;
clocks = <&pcie_aux_clk>;
};
ans_st_clk: clock@23b700418 {
compatible = "apple,pmgr-clk-gate";
reg = <0x2 0x3b700418 0x0 0x8>;
#clock-cells = <0>;
clocks = <&ans_clk>;
};
smc_mbox: mbox@23e400000 {
compatible = "apple,iop-mailbox-m1";
reg = <0x2 0x3e400000 0x0 0x20000>;
#mbox-cells = <1>;
endpoints = <32>;
};
smc: smc@23e050000 {
compatible = "apple,smc-m1";
reg = <0x2 0x3e050000 0x0 0x4000>;
mboxes = <&smc_mbox 32>;
gpio-controller;
#gpio-cells = <2>;
gpio-13 = <0x00800000>;
};
ans@27bcc0000 {
compatible = "apple,nvme-m1";
reg = <0x2 0x7bcc0000 0x0 0x40000>,
<0x2 0x7bc50000 0x0 0x4000>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 590 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ans_st_clk>;
mboxes = <&ans_mbox 32>;
};
ans_mbox: mbox@277400000 {
compatible = "apple,iop-mailbox-m1";
reg = <0x2 0x77400000 0x0 0x20000>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 583 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 586 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ans_st_clk>;
#mbox-cells = <1>;
endpoints = <32>;
};
dart0: dart@681008000 {
compatible = "apple,dart-m1";
reg = <0x6 0x81008000 0x0 0x4000>;
#iommu-cells = <1>;
clocks = <&pcie_core_clk>;
sid-mask = <0xffff>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 696 IRQ_TYPE_LEVEL_HIGH>;
};
dart1: dart@682008000 {
compatible = "apple,dart-m1";
reg = <0x6 0x82008000 0x0 0x4000>;
#iommu-cells = <1>;
clocks = <&pcie_core_clk>;
sid-mask = <0xffff>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 699 IRQ_TYPE_LEVEL_HIGH>;
};
dart2: dart@683008000 {
compatible = "apple,dart-m1";
reg = <0x6 0x83008000 0x0 0x4000>;
#iommu-cells = <1>;
clocks = <&pcie_core_clk>;
sid-mask = <0xffff>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 702 IRQ_TYPE_LEVEL_HIGH>;
};
pcie0: pcie@690000000 {
compatible = "apple,t8103-pcie", "apple,pcie",
"apple,pcie-m1";
reg = <0x6 0x90000000 0x0 0x1000000>,
<0x6 0x80000000 0x0 0x4000>,
<0x6 0x8c000000 0x0 0x4000>,
<0x6 0x81000000 0x0 0x8000>,
<0x6 0x82000000 0x0 0x8000>,
<0x6 0x83000000 0x0 0x8000>;
reg-names = "config", "rc", "phy", "port0",
"port1", "port2";
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 695 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 698 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 701 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 704 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 705 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 706 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 707 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 708 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 709 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 710 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 711 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 712 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 713 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 714 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 715 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 716 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 717 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 718 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 719 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 720 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 721 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 722 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 723 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 724 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 725 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 726 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 727 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 728 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 729 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 730 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 731 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 732 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 733 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 734 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 735 IRQ_TYPE_LEVEL_HIGH>;
msi-controller;
msi-parent = <&pcie0>;
msi-ranges = <704 32>;
iommu-map = <0x100 &dart0 1 1>,
<0x200 &dart1 1 1>,
<0x300 &dart2 1 1>;
iommu-map-mask = <0xff00>;
bus-range = <0 3>;
#address-cells = <3>;
#size-cells = <2>;
ranges = <0x43000000 0x6 0xa0000000 0x6 0xa0000000
0x0 0x20000000>,
<0x02000000 0x0 0xc0000000 0x6 0xc0000000
0x0 0x40000000>;
clocks = <&pcie_core_clk>, <&pcie_aux_clk>,
<&pcie_ref_clk>;
pinctrl-0 = <&pcie_pins>;
pinctrl-names = "default";
device_type = "pci";
pci@0,0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
pwren-gpios = <&smc 13 0>;
reset-gpios = <&pinctrl 152 0>;
max-link-speed = <2>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
pci@1,0 {
device_type = "pci";
reg = <0x800 0x0 0x0 0x0 0x0>;
reset-gpios = <&pinctrl 153 0>;
max-link-speed = <2>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
pci@2,0 {
device_type = "pci";
reg = <0x1000 0x0 0x0 0x0 0x0>;
reset-gpios = <&pinctrl 33 0>;
max-link-speed = <1>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
atc1_common: clock@23b700448 {
compatible = "apple,pmgr-clk-gate";
reg = <0x2 0x3b700448 0x0 0x8>;
#clock-cells = <0>;
clocks = <&clk24>;
};
atc1_usb_aon: clock@23d280090 {
compatible = "apple,pmgr-clk-gate";
reg = <0x2 0x3d280090 0x0 0x8>;
#clock-cells = <0>;
clocks = <&atc1_common>;
};
atc1_usb: clock@23d2800a0 {
compatible = "apple,pmgr-clk-gate";
reg = <0x2 0x3d2800a0 0x0 0x8>;
#clock-cells = <0>;
clocks = <&atc1_usb_aon>;
};
usb_dart1: usb_dart1@502f00000 {
compatible = "apple,dart-m1";
reg = <0x5 0x02f00000 0x0 0x80000>,
<0x5 0x02f80000 0x0 0x4000>;
#iommu-cells = <1>;
clocks = <&atc1_usb>;
sid-mask = <11>;
sid-remap = <0 1>;
};
usb_drd1: usb_drd1@502280000 {
compatible = "apple,dwc3-m1";
reg = <0x5 0x00000000 0x0 0x1000000>,
<0x5 0x02000000 0x0 0x1000000>;
reg-names = "atcphy", "usbcore";
clocks = <>;
#address-cells = <2>;
#size-cells = <2>;
ranges;
};
usbdrd_dwc3_1: dwc3@502280000 {
compatible = "snps,dwc3";
reg = <0x5 0x02280000 0x0 0x100000>;
#address-cells = <1>;
#size-cells = <0>;
};
reboot@23d2b0000 {
compatible = "apple,reboot-v0";
reg = <0x2 0x3d2b0000 0x0 0x4000>;
};
spmi@23d0d8000 {
compatible = "apple,t8103-spmi", "apple,spmi";
reg = <0x2 0x3d0d9300 0x0 0x100>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 343 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <2>;
#size-cells = <0>;
pmu@f {
compatible = "apple,sera-pmu";
reg = <0xf SPMI_USID>;
};
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment