diff options
author | John Crispin <blogic@openwrt.org> | 2015-07-17 12:48:39 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-07-17 12:48:39 +0000 |
commit | 5557174f793f95c1026b5412e721daa083a77e24 (patch) | |
tree | f7241e26cb7a88d2490021a1c2053c088d4a5256 /target/linux/brcm2708/patches-4.1/0118-bcm2835-Switch-to-firmware-driver.patch | |
parent | 0ac89d02198acd85904e22559a0936c70fbfb294 (diff) | |
download | master-187ad058-5557174f793f95c1026b5412e721daa083a77e24.tar.gz master-187ad058-5557174f793f95c1026b5412e721daa083a77e24.tar.bz2 master-187ad058-5557174f793f95c1026b5412e721daa083a77e24.zip |
brcm2708: add linux 4.1 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46399 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm2708/patches-4.1/0118-bcm2835-Switch-to-firmware-driver.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.1/0118-bcm2835-Switch-to-firmware-driver.patch | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.1/0118-bcm2835-Switch-to-firmware-driver.patch b/target/linux/brcm2708/patches-4.1/0118-bcm2835-Switch-to-firmware-driver.patch new file mode 100644 index 0000000000..a3393b1c02 --- /dev/null +++ b/target/linux/brcm2708/patches-4.1/0118-bcm2835-Switch-to-firmware-driver.patch @@ -0,0 +1,54 @@ +From 04f82e046133586649c9c9c72b565c2dbccf0e97 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org> +Date: Fri, 26 Jun 2015 14:39:21 +0200 +Subject: [PATCH 118/121] bcm2835: Switch to firmware driver +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +defconfig: enable BCM2835_MBOX, RASPBERRYPI_FIRMWARE and BCM_VCIO. + +Add firmware node and change mailbox node in Device Tree. + +Signed-off-by: Noralf Trønnes <noralf@tronnes.org> +--- + arch/arm/boot/dts/bcm2835.dtsi | 3 ++- + arch/arm/configs/bcm2835_defconfig | 3 +++ + 2 files changed, 5 insertions(+), 1 deletion(-) + +--- a/arch/arm/boot/dts/bcm2835.dtsi ++++ b/arch/arm/boot/dts/bcm2835.dtsi +@@ -62,9 +62,10 @@ + }; + + mailbox: mailbox@7e00b800 { +- compatible = "brcm,bcm2708-vcio"; ++ compatible = "brcm,bcm2835-mbox"; + reg = <0x7e00b880 0x40>; + interrupts = <0 1>; ++ #mbox-cells = <0>; + }; + + gpio: gpio@7e200000 { +--- a/arch/arm/configs/bcm2835_defconfig ++++ b/arch/arm/configs/bcm2835_defconfig +@@ -568,6 +568,7 @@ CONFIG_HW_RANDOM_BCM2835=m + CONFIG_RAW_DRIVER=y + CONFIG_BRCM_CHAR_DRIVERS=y + CONFIG_BCM_VC_CMA=y ++CONFIG_BCM_VCIO=y + CONFIG_BCM_VC_SM=y + CONFIG_I2C=y + CONFIG_I2C_CHARDEV=m +@@ -1064,9 +1065,11 @@ CONFIG_FB_FLEX=m + CONFIG_FB_TFT_FBTFT_DEVICE=m + CONFIG_MAILBOX=y + CONFIG_BCM2708_MBOX=y ++CONFIG_BCM2835_MBOX=y + # CONFIG_IOMMU_SUPPORT is not set + CONFIG_EXTCON=m + CONFIG_EXTCON_ARIZONA=m ++CONFIG_RASPBERRYPI_FIRMWARE=y + CONFIG_EXT2_FS=y + CONFIG_EXT2_FS_XATTR=y + CONFIG_EXT2_FS_POSIX_ACL=y |