#@TYPE: Machine
#@NAME: ultra96-zynqmp
#@DESCRIPTION: Machine support for Ultra96 Evaluation Board.
#

SOC_VARIANT = 'eg'

require conf/machine/zynqmp-generic.conf

# Add board compatibility override
MACHINEOVERRIDES .= ":ultra96"

KERNEL_DEVICETREE = "xilinx/zynqmp-zcu100-revC.dtb"

# Affects meta-xilinx-tools xsctyaml.bbclass related items
YAML_SERIAL_CONSOLE_STDIN ?= "psu_uart_1"
YAML_SERIAL_CONSOLE_STDOUT ?= "psu_uart_1"

YAML_COMPILER_FLAGS:append = " -DBOARD_SHUTDOWN_PIN=2 -DBOARD_SHUTDOWN_PIN_STATE=0 "

# Enable bluetooth and wifi module
MACHINE_ESSENTIAL_EXTRA_RDEPENDS:append = " linux-firmware-wl18xx linux-firmware-ti-bt-wl180x"

