Skip to content

Add BCM2708_UNCOMPRESS_INFO option #887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
9ed79c5
Main bcm2708 linux port
popcornmix May 12, 2013
9e257f0
Add bcm2708_gpio driver
popcornmix Oct 8, 2014
89b6965
Add quick config.
popcornmix May 7, 2013
dae06d9
Add dwc_otg driver
popcornmix May 1, 2013
691dbe2
bcm2708 watchdog driver
popcornmix May 1, 2013
6299fec
Add non-mainline source for rtl8192cu wireless driver version v4.0.2_…
popcornmix Sep 3, 2012
4428972
rtl8192cu: Add PID for D-Link DWA 131
popcornmix Feb 10, 2015
fba2065
Speed up console framebuffer imageblit function
hglm Jun 20, 2013
1943d40
fbdev: add FBIOCOPYAREA ioctl
ssvb Jun 17, 2013
0825d6c
bcm2708 framebuffer driver
popcornmix May 1, 2013
e5daa4c
bcm2708 vchiq driver
popcornmix Jul 2, 2013
398fb14
vchiq: Avoid high load when blocked and unkillable
popcornmix May 12, 2014
230bcf7
cma: Add vc_cma driver to enable use of CMA
popcornmix Jul 2, 2013
d923064
bcm2708: alsa sound driver
popcornmix Mar 26, 2012
7c40713
Add hwrng (hardware random number generator) driver
popcornmix Jul 2, 2013
faecf11
lirc: added support for RaspberryPi GPIO
Jun 16, 2012
24c50e8
Add cpufreq driver
popcornmix Jul 2, 2013
104423e
Added hwmon/thermal driver for reporting core temperature. Thanks Dorian
popcornmix Mar 26, 2013
52d4ad1
Allow mac address to be set in smsc95xx
popcornmix Mar 26, 2013
fd66e50
Add Chris Boot's i2c and spi drivers.
popcornmix Nov 4, 2013
539d7aa
Perform I2C combined transactions when possible
cbeytas Jun 24, 2013
1006623
enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (a…
popcornmix May 8, 2013
f88b402
Added Device IDs for August DVB-T 205
popcornmix Jul 2, 2013
4b63235
config: add missing options from 3.6.y kernel
popcornmix Apr 12, 2013
0ac8d0a
config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cos…
popcornmix Dec 18, 2013
14723de
Add FIQ patch to dwc_otg driver. Enable with dwc_otg.fiq_fix_enable=1…
popcornmix Jul 2, 2013
2366300
dwc_otg: fiq_fsm: Base commit for driver rewrite
Mar 19, 2014
9042597
bcm2835: add v4l2 camera device
Jan 30, 2013
e56350b
V4L2: Fixes from 6by9
Dec 9, 2013
6c3742e
dmaengine: Add support for BCM2708
koalo Nov 22, 2013
05dc79a
ASoC: Add support for BCM2708
koalo Nov 22, 2013
dfe5c28
ASoC: Add support for PCM5102A codec
koalo Nov 22, 2013
35c994b
BCM2708: Add I2S support to board file
koalo Nov 22, 2013
8b3eb48
ASoC: Add support for HifiBerry DAC
koalo Nov 22, 2013
6c9636d
BCM2708: Add HifiBerry DAC to board file
koalo Nov 22, 2013
c94c272
BCM2708: Add I2S and DMA support to default config
koalo Dec 2, 2013
45ff33a
ASoC: BCM2708: Add support for RPi-DAC
koalo Dec 6, 2013
640f1c3
ASoC: wm8804: Implement MCLK configuration options, add 32bit support…
Jan 15, 2014
63ae552
ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patc…
Jan 15, 2014
9fc7466
BCM2708: Added support for HiFiBerry Digi board Board initalization b…
Jan 16, 2014
99ce64d
BCM2708: Added HiFiBerry Digi configuration option It will be compile…
Jan 16, 2014
f8e6146
ASoC: wm8804: Set idle_bias_off to false Idle bias has been change to…
Jan 16, 2014
3ceca41
Add IQaudIO Sound Card support for Raspberry Pi
Mar 8, 2014
fe68b56
Set a limit of 0dB on Digital Volume Control
hmbedded Mar 2, 2015
e115fcc
vmstat: Workaround for issue where dirty page count goes negative
popcornmix Jun 18, 2014
c0af718
dwc_otg: Fix various issues with root port and transaction errors
Jun 20, 2014
8df02f5
fiq_fsm: Implement hack for Split Interrupt transactions
Jun 20, 2014
7912c51
spi-bcm2708: Prepare for Common Clock Framework migration
notro Jul 6, 2014
a5cff69
BCM2708: Migrate to the Common Clock Framework
notro Jul 6, 2014
4272b49
BCM2708: Add core Device Tree support
notro Jul 9, 2014
804f19b
BCM2708: armctrl: Add IRQ Device Tree support
notro Jul 9, 2014
7407d89
BCM2708: use pinctrl-bcm2835
notro Jul 10, 2014
6cb8a5d
spi: bcm2708: add device tree support
notro Jul 27, 2014
3906c37
i2c: bcm2708: add device tree support
notro Jul 29, 2014
3482cfc
hid: Reduce default mouse polling interval to 60Hz
popcornmix Jul 14, 2014
877e44d
usb: core: make overcurrent messages more prominent
Jul 24, 2014
17c8281
vcsm: VideoCore shared memory service for BCM2835
Jul 22, 2014
885ae67
Revert "ARM: dma: Use dma_pfn_offset for dma address translation"
popcornmix Aug 7, 2014
30079cc
MMC: added alternative MMC driver
weiszg Aug 15, 2014
eb2f344
mmc: Disable CMD23 transfers on all cards
Jan 13, 2015
b7c9929
Added support for HiFiBerry DAC+
Aug 4, 2014
6350929
Added driver for HiFiBerry Amp amplifier add-on board
Aug 4, 2014
39b73d5
Improve __copy_to_user and __copy_from_user performance
Oct 13, 2014
8b0c5c9
bcm2708: Allow option card devices to be configured via DT
Sep 1, 2014
a33b4b8
Adding Device Tree support for some RPi audio cards
Nov 12, 2014
366d92b
fdt: Add support for the CONFIG_CMDLINE_EXTEND option
Dec 5, 2014
5c9883d
config: Enable device tree
popcornmix Nov 25, 2014
f877f08
DT: Add overrides to enable i2c0, i2c1, spi and i2s
Dec 16, 2014
5e79d11
lirc-rpi: Add device tree support, and a suitable overlay
Dec 18, 2014
fce3079
Fix the activity LED in DT mode
Jan 6, 2015
4b411f4
Adding w1-gpio device tree overlays
Jan 15, 2015
8233580
TAS5713: return error if initialisation fails
Jan 23, 2015
a22202d
scripts/dtc: Update to upstream version with overlay patches
Jan 23, 2015
6203382
BCM2708_DT: Build the overlays as well
Jan 23, 2015
1723d47
Add device tree overlay for HiFiBerry Amp/Amp+
Jan 25, 2015
23d961f
Add pps-gpio DT overlay
Jan 26, 2015
3ebd1c5
I2C: Only register the I2C device for the current board revision
XECDesign Sep 3, 2014
f27a559
Added support to reserve/enable a GPIO pin to be used from pps-gpio m…
tjko Oct 30, 2014
4b8c22c
BCM2708_DT: Correct length of the peripheral space
Jan 26, 2015
32c3dd8
BCM2708_DT: Add pcf8523-rtc overlay
Jan 28, 2015
710004d
Add a parameter to turn off SPDIF output if no audio is playing
Jan 31, 2015
bbe9ed1
bugfix for 32kHz sample rate, was missing
Feb 1, 2015
8472da3
Update ds1307 driver for device-tree support
ryco-dev Feb 1, 2015
30b021b
Add device-tree overlay for ds1307
ryco-dev Feb 1, 2015
da3ba12
Add 2709 platform for Raspberry Pi 2
popcornmix May 7, 2013
5d583aa
BCM270x_DT: Add pwr_led, and the required "input" trigger
Feb 6, 2015
56514cf
bcm2709: Simplify and strip down IRQ handler
popcornmix Jun 20, 2014
c60beaf
dwc_otg: FIQ support on SMP. Set up FIQ stack and handler on Core 0 o…
Sep 24, 2014
f4ff719
dwc_otg: introduce fiq_fsm_spin(un|)lock()
Sep 26, 2014
711d922
fiq_fsm: fix build on bcm2708 and bcm2709 platforms
Jan 22, 2015
449badc
dwc_otg: put some barriers back where they should be for UP
Jan 22, 2015
fa0da44
mach_bcm2709: Add Mailbox resources to USB driver
Jan 22, 2015
0c482e2
bcm2709/dwc_otg: Setup FIQ on core 1 if >1 core active
Jan 22, 2015
19280bf
bcm2709: Port pps-gpio and i2c patches
Jan 26, 2015
1d0bd61
bcm2709: Also accept the 2708 machine ID
popcornmix Jan 28, 2015
7d0c160
BCM2709_DT: Fix bad merge
Feb 2, 2015
cc93d92
HiFiBerry Amp: fix device-tree problems
Feb 3, 2015
d3ed6b3
BCM270x_DT: Add i2c0_baudrate and i2c1_baudrate parameters
Feb 3, 2015
a84a396
pinctrl-bcm2835: bcm2835_gpio_direction_output must set the value
Feb 4, 2015
fac0e68
w1-gpio: Sort out the pullup/parasitic power tangle
Feb 4, 2015
fc07219
dwc_otg: fixup read-modify-write in critical paths
Feb 4, 2015
6831538
i2c_bcm2708: Fix clock reference counting
Feb 5, 2015
79206e7
Add device-tree overlay for pcf2127
Feb 6, 2015
9a7b44d
BCM2708_VCIO : Add automatic creation of device node
trevd Aug 25, 2014
09ae871
Fix grabbing lock from atomic context in i2c driver
Feb 1, 2015
b4b07da
Fix LED "input" trigger implementation for 3.19
Feb 12, 2015
dd92a9a
fiq_fsm: Falling out of the state machine isn't fatal
Feb 12, 2015
6e0e294
platform: Remove bcmrpi_small_defconfig
popcornmix Feb 15, 2015
78e1d82
platform: Remove bcmrpi_sdcard_defconfig
popcornmix Feb 15, 2015
da5d9ff
Create bmp085_i2c-sensor-overlay.dts and update Makefile
h616 Feb 15, 2015
78c5ae0
lirc-rpi: use getnstimeofday instead of read_current_timer
Feb 16, 2015
b328598
vc_cma: Make the vc_cma area the default contiguous DMA area
Feb 18, 2015
9b58278
config: extra options
popcornmix Feb 18, 2015
53b0364
char/vc_cma: fix build with LPAE enabled
yann-morin-1998 Feb 18, 2015
98d47e5
pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53
Feb 24, 2015
abb813f
perf: Add support for performance counter interrupt and enable in DT
popcornmix Feb 25, 2015
435003c
pinctrl: squash
popcornmix Feb 26, 2015
9af4734
pinctrl-bcm2835: Only request the interrupts listed in the DTB
Feb 26, 2015
ce0adc1
serial/amba-pl011: Activate TX IRQ passively
Feb 27, 2015
06935a1
serial/amba-pl011: Leave the TX IRQ alone when the UART is not open
Feb 27, 2015
2248c38
staging: fbtft: core support
tpetazzoni Dec 31, 2014
0f4ca56
staging: fbtft: add fb_agm1264k-fl driver
tpetazzoni Dec 31, 2014
f8cf635
staging: fbtft: add fb_bd663474 driver
tpetazzoni Dec 31, 2014
663daf9
staging: fbtft: add fb_hx8340bn driver
tpetazzoni Dec 31, 2014
fbaad75
staging: fbtft: add fb_hx8347d driver
tpetazzoni Dec 31, 2014
39657d3
staging: fbtft: add fb_hx8353d driver
tpetazzoni Dec 31, 2014
b3e28eb
staging: fbtft: add fb_ili9320 driver
tpetazzoni Dec 31, 2014
6491be1
staging: fbtft: add fb_ili9325 driver
tpetazzoni Dec 31, 2014
61683bf
staging: fbtft: add fb_ili9340 driver
tpetazzoni Dec 31, 2014
e8f12f8
staging: fbtft: add fb_ili9341 driver
tpetazzoni Dec 31, 2014
bbd5b5d
staging: fbtft: add fb_ili9481 driver
tpetazzoni Dec 31, 2014
2e544f7
staging: fbtft: add fb_ili9486 driver
tpetazzoni Dec 31, 2014
48c9d84
staging: fbtft: add fb_pcd8544 driver
tpetazzoni Dec 31, 2014
244241c
staging: fbtft: add fb_ra8875 driver
tpetazzoni Dec 31, 2014
3fc66b8
staging: fbtft: add fb_s6d02a1 driver
tpetazzoni Dec 31, 2014
9a729ad
staging: fbtft: add fb_s6d1121 driver
tpetazzoni Dec 31, 2014
4a86b2d
staging: fbtft: add fb_ssd1289 driver
tpetazzoni Dec 31, 2014
857e553
staging: fbtft: add fb_ssd1306 driver
tpetazzoni Dec 31, 2014
e651279
staging: fbtft: add fb_ssd1331 driver
tpetazzoni Dec 31, 2014
1248946
staging: fbtft: add fb_ssd1351 driver
tpetazzoni Dec 31, 2014
29321d9
staging: fbtft: add fb_st7735r driver
tpetazzoni Dec 31, 2014
2b47999
staging: fbtft: add fb_tinylcd driver
tpetazzoni Dec 31, 2014
6cb0e21
staging: fbtft: add fb_tls8204 driver
tpetazzoni Dec 31, 2014
d2e519a
staging: fbtft: add fb_uc1701 driver
tpetazzoni Dec 31, 2014
d0ce053
staging: fbtft: add fb_upd161704 driver
tpetazzoni Dec 31, 2014
543a3e2
staging: fbtft: add fb_watterott driver
tpetazzoni Dec 31, 2014
0d9f402
staging: fbtft: add flexfb driver
tpetazzoni Dec 31, 2014
c724a5e
staging: fbtft: add fbtft_device driver
tpetazzoni Dec 31, 2014
e9f13d5
staging: fbtft: remove ARCH_BCM2708 optimization
notro Jan 20, 2015
8f6c481
staging: fbtft: fix allyesconfig build
Jan 23, 2015
4318c2a
staging: fbtft: fbtft-core mark functions static
kadamski Jan 22, 2015
3a20492
staging: flexfb: Remove initialization to 0
replay Jan 25, 2015
717598e
staging: fbtft: fix space required after that ';'
heba-aamer Jan 27, 2015
393aeb9
staging: fbtft: fix spaces required around that '='
heba-aamer Jan 27, 2015
ecd2b07
staging: fbtft: fix spaces required around that '<'
heba-aamer Jan 27, 2015
700261f
staging: fbtft: fix Macros with complex values should be enclosed in …
heba-aamer Jan 27, 2015
2df3e31
staging: fbtft: fix do not initialise statics to 0 or NULL
heba-aamer Jan 27, 2015
86f7636
staging: fbtft: remove redundant .owner
heba-aamer Jan 28, 2015
fc4123b
config: enable FBTFT drivers
notro Feb 18, 2015
9f606d1
Create generic i2c-rtc overlay for supporting ds1307, ds3231, pcf2127…
jburgess777 Feb 17, 2015
87173bc
dts: overlay: add support for rpi-display
notro Feb 26, 2015
cfcb562
dts: overlay: add support for HY28A display
notro Feb 26, 2015
9388293
dts: overlay: add support for HY28B display
notro Feb 26, 2015
b8a4657
dts: overlay: add support for PiScreen display
notro Feb 26, 2015
e4885a1
BCM2835-V4L2: Fix compliance test failures
6by9 Feb 26, 2015
5985601
vchiq_arm: Complete support for SYNCHRONOUS mode
Feb 25, 2015
a997a64
enc28j60: Add device tree compatible string and an overlay
Feb 27, 2015
4b08566
dts: overlay: add support for Adafruit PiTFT
notro Feb 27, 2015
9390ad2
enable compiling spi-bcm2835 and add overlay to allow us to load the …
msperl Mar 2, 2015
95a644a
dts: overlay: add support for MZ61581 display
notro Mar 7, 2015
87700d2
dts: overlay: piscreen: set speed to 24MHz
notro Mar 7, 2015
c5c12ad
dts: overlay: rpi-display: pullup irq gpio
notro Mar 7, 2015
7898fd9
squash: bcm2709 remove configs
popcornmix Mar 7, 2015
cc6dffb
config: Remove CONFIG_USB_UAS as it does not work
popcornmix Mar 11, 2015
c71cb29
bcm2708: Make ioctl logging quieter
popcornmix Mar 17, 2015
2dae3c6
config: recreate with savedefconfig
popcornmix Mar 20, 2015
35bb7f3
Add BCM2708_UNCOMPRESS_INFO option
kylefrombullex Mar 13, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
60 changes: 60 additions & 0 deletions Documentation/video4linux/bcm2835-v4l2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@

BCM2835 (aka Raspberry Pi) V4L2 driver
======================================

1. Copyright
============

Copyright © 2013 Raspberry Pi (Trading) Ltd.

2. License
==========

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

3. Quick Start
==============

You need a version 1.0 or later of v4l2-ctl, available from:
git://git.linuxtv.org/v4l-utils.git

$ sudo modprobe bcm2835-v4l2

Turn on the overlay:

$ v4l2-ctl --overlay=1

Turn off the overlay:

$ v4l2-ctl --overlay=0

Set the capture format for video:

$ v4l2-ctl --set-fmt-video=width=1920,height=1088,pixelformat=4

(Note: 1088 not 1080).

Capture:

$ v4l2-ctl --stream-mmap=3 --stream-count=100 --stream-to=somefile.h264

Stills capture:

$ v4l2-ctl --set-fmt-video=width=2592,height=1944,pixelformat=3
$ v4l2-ctl --stream-mmap=3 --stream-count=1 --stream-to=somefile.jpg

List of available formats:

$ v4l2-ctl --list-formats
39 changes: 39 additions & 0 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,23 @@ config ARCH_AT91
This enables support for systems based on Atmel
AT91RM9200, AT91SAM9 and SAMA5 processors.

config ARCH_BCM2708
bool "Broadcom BCM2708 family"
select CPU_V6
select ARM_AMBA
select HAVE_SCHED_CLOCK
select NEED_MACH_GPIO_H
select NEED_MACH_MEMORY_H
select COMMON_CLK
select ARCH_HAS_CPUFREQ
select GENERIC_CLOCKEVENTS
select ARM_ERRATA_411920
select MACH_BCM2708
select VC4
select FIQ
help
This enables support for Broadcom BCM2708 boards.

config ARCH_CLPS711X
bool "Cirrus Logic CLPS711x/EP721x/EP731x-based"
select ARCH_REQUIRE_GPIOLIB
Expand Down Expand Up @@ -774,6 +791,26 @@ config ARCH_OMAP1
help
Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)

config ARCH_BCM2709
bool "Broadcom BCM2709 family"
select ARCH_HAS_BARRIERS if SMP
select CPU_V7
select HAVE_SMP
select ARM_AMBA
select MIGHT_HAVE_CACHE_L2X0
select HAVE_SCHED_CLOCK
select NEED_MACH_MEMORY_H
select NEED_MACH_IO_H
select COMMON_CLK
select ARCH_HAS_CPUFREQ
select GENERIC_CLOCKEVENTS
select MACH_BCM2709
select VC4
select FIQ
# select ZONE_DMA
help
This enables support for Broadcom BCM2709 boards.

endchoice

menu "Multiple platform selection"
Expand Down Expand Up @@ -962,6 +999,8 @@ source "arch/arm/plat-versatile/Kconfig"
source "arch/arm/mach-vt8500/Kconfig"

source "arch/arm/mach-w90x900/Kconfig"
source "arch/arm/mach-bcm2708/Kconfig"
source "arch/arm/mach-bcm2709/Kconfig"

source "arch/arm/mach-zynq/Kconfig"

Expand Down
8 changes: 8 additions & 0 deletions arch/arm/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -1107,6 +1107,14 @@ choice
options; the platform specific options are deprecated
and will be soon removed.

config DEBUG_BCM2708_UART0
bool "Broadcom BCM2708 UART0 (PL011)"
depends on MACH_BCM2708
help
Say Y here if you want the debug print routines to direct
their output to UART 0. The port must have been initialised
by the boot-loader before use.

endchoice

config DEBUG_EXYNOS_UART
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000
machine-$(CONFIG_ARCH_AT91) += at91
machine-$(CONFIG_ARCH_AXXIA) += axxia
machine-$(CONFIG_ARCH_BCM) += bcm
machine-$(CONFIG_ARCH_BCM2708) += bcm2708
machine-$(CONFIG_ARCH_BCM2709) += bcm2709
machine-$(CONFIG_ARCH_BERLIN) += berlin
machine-$(CONFIG_ARCH_CLPS711X) += clps711x
machine-$(CONFIG_ARCH_CNS3XXX) += cns3xxx
Expand Down
42 changes: 42 additions & 0 deletions arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,40 @@ dtb-$(CONFIG_ARCH_AT91) += at91-sama5d4ek.dtb

dtb-$(CONFIG_ARCH_ATLAS6) += atlas6-evb.dtb
dtb-$(CONFIG_ARCH_AXXIA) += axm5516-amarillo.dtb

# Raspberry Pi
ifeq ($(CONFIG_BCM2708_DT),y)
RPI_DT_OVERLAYS=y
endif
ifeq ($(CONFIG_BCM2709_DT),y)
RPI_DT_OVERLAYS=y
endif
dtb-$(CONFIG_BCM2708_DT) += bcm2708-rpi-b.dtb
dtb-$(CONFIG_BCM2708_DT) += bcm2708-rpi-b-plus.dtb
dtb-$(CONFIG_BCM2709_DT) += bcm2709-rpi-2-b.dtb
dtb-$(RPI_DT_OVERLAYS) += bmp085_i2c-sensor-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += ds1307-rtc-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += enc28j60-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += i2c-rtc-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += hifiberry-dac-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += hifiberry-dacplus-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += hifiberry-digi-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += hifiberry-amp-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += hy28a-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += hy28b-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += iqaudio-dac-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += iqaudio-dacplus-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += lirc-rpi-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += mz61581-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += pcf2127-rtc-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += pcf8523-rtc-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += piscreen-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += pitft28-resistive-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += pps-gpio-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += rpi-display-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += w1-gpio-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += w1-gpio-pullup-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += spi-bcm2835-overlay.dtb
dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb
dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b-plus.dtb
dtb-$(CONFIG_ARCH_BCM_5301X) += \
Expand Down Expand Up @@ -556,7 +590,15 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt6589-aquaris5.dtb \
mt8127-moose.dtb \
mt8135-evbp1.dtb

targets += dtbs dtbs_install
targets += $(dtb-y)

endif

always := $(dtb-y)
clean-files := *.dtb

# Enable fixups to support overlays on BCM2708 platforms
ifeq ($(RPI_DT_OVERLAYS),y)
DTC_FLAGS ?= -@
endif
117 changes: 117 additions & 0 deletions arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
/dts-v1/;

/include/ "bcm2708.dtsi"

/ {
compatible = "brcm,bcm2708";
model = "Raspberry Pi Model B+";

aliases {
soc = &soc;
spi0 = &spi0;
i2c0 = &i2c0;
i2c1 = &i2c1;
i2s = &i2s;
gpio = &gpio;
intc = &intc;
leds = &leds;
sound = &sound;
};

sound: sound {
};
};

&gpio {
spi0_pins: spi0_pins {
brcm,pins = <7 8 9 10 11>;
brcm,function = <4>; /* alt0 */
};

i2c0_pins: i2c0 {
brcm,pins = <0 1>;
brcm,function = <4>;
};

i2c1_pins: i2c1 {
brcm,pins = <2 3>;
brcm,function = <4>;
};

i2s_pins: i2s {
brcm,pins = <18 19 20 21>;
brcm,function = <4>; /* alt0 */
};
};

&spi0 {
pinctrl-names = "default";
pinctrl-0 = <&spi0_pins>;

spidev@0{
compatible = "spidev";
reg = <0>; /* CE0 */
#address-cells = <1>;
#size-cells = <0>;
spi-max-frequency = <500000>;
};

spidev@1{
compatible = "spidev";
reg = <1>; /* CE1 */
#address-cells = <1>;
#size-cells = <0>;
spi-max-frequency = <500000>;
};
};

&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
clock-frequency = <100000>;
};

&i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
clock-frequency = <100000>;
};

&i2s {
#sound-dai-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&i2s_pins>;
};

&leds {
act_led: act {
label = "led0";
linux,default-trigger = "mmc0";
gpios = <&gpio 47 0>;
};

pwr_led: pwr {
label = "led1";
linux,default-trigger = "input";
gpios = <&gpio 35 0>;
};
};

/ {
__overrides__ {
i2s = <&i2s>,"status";
spi = <&spi0>,"status";
i2c0 = <&i2c0>,"status";
i2c1 = <&i2c1>,"status";
i2c0_baudrate = <&i2c0>,"clock-frequency:0";
i2c1_baudrate = <&i2c1>,"clock-frequency:0";

act_led_gpio = <&act_led>,"gpios:4";
act_led_activelow = <&act_led>,"gpios:8";
act_led_trigger = <&act_led>,"linux,default-trigger";

pwr_led_gpio = <&pwr_led>,"gpios:4";
pwr_led_activelow = <&pwr_led>,"gpios:8";
pwr_led_trigger = <&pwr_led>,"linux,default-trigger";
};
};
Loading