From 77a00027c3b2172ee1779e298ebe206dde02b87a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Wed, 8 Feb 2017 00:31:09 +0100 Subject: brcm2708: bcm2709: add support for Raspberry Pi 3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- target/linux/brcm2708/bcm2709/config-4.9 | 2 +- target/linux/brcm2708/bcm2709/target.mk | 5 +++-- target/linux/brcm2708/image/Makefile | 7 ++++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/target/linux/brcm2708/bcm2709/config-4.9 b/target/linux/brcm2708/bcm2709/config-4.9 index 6c6fefc696..9828c042eb 100644 --- a/target/linux/brcm2708/bcm2709/config-4.9 +++ b/target/linux/brcm2708/bcm2709/config-4.9 @@ -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 diff --git a/target/linux/brcm2708/bcm2709/target.mk b/target/linux/brcm2708/bcm2709/target.mk index c0679c79bc..be4f459af9 100644 --- a/target/linux/brcm2708/bcm2709/target.mk +++ b/target/linux/brcm2708/bcm2709/target.mk @@ -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 diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile index a7993de468..440408b4f7 100644 --- a/target/linux/brcm2708/image/Makefile +++ b/target/linux/brcm2708/image/Makefile @@ -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 -- cgit v1.2.3