raspberrypi4.conf: Add machine definition
[AGL/meta-agl.git] / meta-agl-bsp / conf / machine / raspberrypi4.conf
1 #@TYPE: Machine
2 #@NAME: RaspberryPi 4 Development Board (32bit)
3 #@DESCRIPTION: Machine configuration for the RaspberryPi 4 in 32 bit mode
4
5 DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4"
6 require conf/machine/include/tune-cortexa7.inc
7 include conf/machine/include/rpi-base.inc
8
9 MACHINE_EXTRA_RRECOMMENDS += "\
10     linux-firmware-rpidistro-bcm43455 \
11     bluez-firmware-rpidistro-bcm4345c0-hcd \
12 "
13
14 # 'l' stands for LPAE
15 SDIMG_KERNELIMAGE ?= "kernel7l.img"
16 UBOOT_MACHINE = "rpi_4_32b_config"
17 SERIAL_CONSOLES ?= "115200;ttyS0"
18
19 MACHINE_FEATURES_append = " vc4graphics"
20 VC4DTBO ?= "vc4-fkms-v3d"
21
22 RPI_KERNEL_DEVICETREE_OVERLAYS_remove_raspberrypi4 = "overlays/lirc-rpi.dtbo"
23 RPI_KERNEL_DEVICETREE_OVERLAYS_append_raspberrypi4 = " overlays/mcp2515-can0.dtbo overlays/vc4-fkms-v3d.dtbo"
24 RPI_KERNEL_DEVICETREE_remove_raspberrypi4 = "bcm2708-rpi-0-w.dtb"
25 RPI_KERNEL_DEVICETREE_append_raspberrypi4 = " bcm2708-rpi-zero-w.dtb bcm2711-rpi-4-b.dtb"