summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm283x
Commit message (Collapse)AuthorAgeFilesLines
* ARM: rpi: add board revision for Compute Module 3+Tomaz Solc2019-03-271-0/+1
| | | | | | | | | | | Raspberry Pi Compute Module 3+ was released in January 2019. Source for the new board revision code: https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md Signed-off-by: Tomaz Solc <tomaz.solc@tablix.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rpi: Add mini UART debug_ll supportSascha Hauer2019-03-061-0/+37
| | | | | | | The raspberry pi 3 comes up with the mini UART as default, so allow to use it for debug_ll output. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rpi: move debug UART Kconfig settingsSascha Hauer2019-03-062-24/+8
| | | | | | | | | | | | In contrast to other architectures, R.Pi debug UART config was placed under the "System Type" menu, not under the "Debugging -> low-level debugging port". This made this setting easy to miss when enabling low level debug mesages. While at it use the existing base address defines rather than defining them again in Kconfig. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* debug_ll: Move pl011 header file to architecture independent placeSascha Hauer2019-03-061-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rpi: Move UART base address definitions to header fileSascha Hauer2019-03-061-0/+4
| | | | | | Move defines to header file to make them reusable. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rpi: Add device tree for Compute Module 3.Tomaz Solc2019-02-191-0/+6
| | | | | | | Compute Module needs "no-sd" property on the MMC interface otherwise mci-bcm2835 hangs on SD card probe. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rpi: complete new revision schemeMoritz Augsburger2019-02-051-16/+26
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rpi: move clks into board specific rpi-commonRouven Czerwinski2019-02-051-19/+0
| | | | | | | | | | | | We don't know if the firmware running on the raspberry pi is the same firmware which is running on all bcm283x devices. Therefore move the console clock initialization into the rpi-common.c board file. A future commit will use this function to retrieve the miniuart clock from the raspberry pi firmware. No functional changes. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/checkpatch'Sascha Hauer2018-12-071-0/+2
|\
| * Add Raspberry Pi Zero W BoardChris Fiege2018-11-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | The Raspberry Pi Zero W is basically a Raspberry Pi 1 B+ but on a smaller PCB and with Bluetooth and WiFi. See: https://elinux.org/RPi_Hardware This patch adds support for Raspberry Pi Zero W to barebox. Signed-off-by: Chris Fiege <chris@tinyhost.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | multiple/raspberry-pi: fix clkdevs for raspberry piRouven Czerwinski2018-11-291-2/+2
|/ | | | | | | | | Commit 7e497d48acbd1184e3f6bd23bd16dfae84dd1129 introduced a name change which breaks support for the fixed clkdev for uart and sdhci for RPI. Use clkdev_add_physbase instead to be independant from the device tree names. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rpi: add raspberry pi 3 supportLucas Stach2018-11-052-0/+7
| | | | | | | | | This adds basic support at the same feature level as the other supported raspberry pi boards. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Tested-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rpi: add revision IDs for Pi 3 Model B and Pi ZeroEnrico Joerns2018-11-051-0/+4
| | | | | | | Signed-off-by: Enrico Joerns <ejo@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Tested-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* watchdog: implement bcm2835 watchdogLucas Stach2018-02-093-123/+1
| | | | | | | Move out of architecture code and add some real watchdog functionality. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rpi: switch to DT probe and multi-image buildLucas Stach2017-03-024-62/+5
| | | | | | | | This commit switches the RaspberryPi arch over to probe Barebox from the builtin DT and enables multi-image builds. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rpi: move debug UART base selection to KconfigLucas Stach2017-03-022-1/+25
| | | | | | | To let the user select the right base, when building multi-image. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rpi: always build relocatable imageLucas Stach2017-03-021-1/+1
| | | | | | | | Makes more space available for the malloc area and will allow to switch to multi-image later on. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rpi: convert watchdog/reset to regular driverLucas Stach2017-03-025-21/+84
| | | | | | | This way it can be probed from DT later on. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rpi: convert mailbox interface to regular driverLucas Stach2017-03-024-20/+61
| | | | | | | In prepareation for devicetree probing. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: bcm283x: add rpi2 supportAlexander Aring2016-01-073-3/+24
| | | | | | | | This patch adds Raspberry Pi 2 support in barebox. The features should be the same like the current RPi status in barebox. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bcm283x: mbox: align to cachesizeAlexander Aring2016-01-041-1/+3
| | | | | | | | | | | | This patch change the align of mbox stack resource to 32. The reason is that I had some experience with bcm2836 and the mbox implementation, after setting the align to 64(on bcm2836) the issues was gone. I found these values inside the u-boot implementation, they use 32 (bcm2835) and 64 (bcm2836). Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bcm2835: introduce mach-bcm283xAlexander Aring2016-01-049-0/+936
This patch changes the most part of mach-bcm2835 to mach-bcm283x. This prepares to add RPi2 support which is a bcm2836. This patch changes the Kconfig entry namens to BCM283X for drivers only. These drivers should working the same in bcm2836. While updating defconfig I added LED support/trigger option. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>