brcm2708: bcm2709: add support for Raspberry Pi 3

This adds support for Raspberry Pi 3 on the bcm2709 subtarget, in order to
keep 32 bit image support when 64 bit support is added on bcm2710 subtarget.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
Álvaro Fernández Rojas 2017-02-08 00:31:09 +01:00
parent de1f83097a
commit 77a00027c3
3 changed files with 8 additions and 6 deletions

View file

@ -179,7 +179,7 @@ CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GPIOLIB=y
# CONFIG_GPIO_BCM_VIRT is not set
CONFIG_GPIO_BCM_VIRT=y
CONFIG_GPIO_SYSFS=y
CONFIG_HANDLE_DOMAIN_IRQ=y
CONFIG_HARDIRQS_SW_RESEND=y

View file

@ -1,12 +1,13 @@
#
# Copyright (C) 2015 OpenWrt.org
# Copyright (C) 2017 LEDE project
#
SUBTARGET:=bcm2709
BOARDNAME:=BCM2709 based boards
BOARDNAME:=BCM2709/BCM2710 32 bit based boards
CPU_TYPE:=cortex-a7
CPU_SUBTYPE:=neon-vfpv4
define Target/Description
Build firmware image for Broadcom BCM2709 SoC devices.
Build firmware image for Broadcom BCM2709/BCM2710 32 bit SoC devices.
endef

View file

@ -1,6 +1,6 @@
#
# Copyright (C) 2012-2015 OpenWrt.org
# Copyright (C) 2016 LEDE project
# Copyright (C) 2016-2017 LEDE project
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -63,8 +63,9 @@ ifeq ($(SUBTARGET),bcm2708)
endif
define Device/rpi-2
DEVICE_TITLE := Raspberry Pi 2 B
DEVICE_DTS := bcm2709-rpi-2-b
DEVICE_TITLE := Raspberry Pi 2B/3B/3CM
DEVICE_DTS := bcm2709-rpi-2-b bcm2710-rpi-3-b bcm2710-rpi-cm3
DEVICE_PACKAGES := brcmfmac-firmware-43430-sdio kmod-brcmfmac wpad-mini
endef
ifeq ($(SUBTARGET),bcm2709)
TARGET_DEVICES += rpi-2