summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/rockchip-rk3568-bpi-r2pro/lowlevel.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: Rockchip: rk3568: use rk3568_barebox_entry()Sascha Hauer2023-04-051-22/+3
| | | | | | | There is a rk3568 specific entry function for barebox now, switch the existing boards over to use it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Rockchip: Move mach header files to include/mach/rockchipSascha Hauer2023-03-061-3/+3
| | | | | | | | | | Currently arch specific headers can be included with possible as there won't be a single mach anymore. Move all Rockchip specific header files to include/mach/rockchip/ to prepare for multi-arch support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Rockchip: Add FIXME comment to io domain setupSascha Hauer2022-09-221-0/+4
| | | | | | | | | | | | | | | | We have a io-domain driver for rockchip boards which correctly configures the io domain voltages, but currently there is no way to make sure the io-domain driver is probed before its consumers. To be on the safe side keep the io domain setup in the lowlevel code for now, but add a comment that it should be removed once this issue is resolved. To solve this issue we need a phandle from the consumers to the io domain node. We could add this in barebox locally, but decided to wait until the upstream dts files have them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rockchip: fix iodomain for r2pro V1.0Frank Wunderlich2022-05-161-3/+6
| | | | | | | | | | | | | Current code sets vccio4 and vccio6 both to 1v8. R2Pro v1.0 needs 3v3 setting on vccio4, else gmac0 (switch for lan-ports) will be damaged. IO-domain is per default 3v3 so only vccio6 needs to be set to 1v8 and clear this bit in the 3v3 register. Fixes: 8ba96c5942d6 ("ARM: rockchip: add BPI-R2-Pro V00 board") Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Link: https://lore.barebox.org/20220514155609.8306-1-linux@fw-web.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Rockchip: Add rk3568 BananaPi R2 Pro board supportFrank Wunderlich2022-02-111-0/+49
This adds support for the BananaPi R2 Pro board. It is basicly a copy of rk3568 evb board but with slightly modified DTS. Added GPIO-Leds to dts and modified the hw-detection a bit. Tested features so far are: - 1st stage booting - Network - SD card and Emmc - usb (1.1 and 3 work, usb2 not working) - power LED (green) Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Link: https://lore.barebox.org/20220211091354.11573-1-linux@fw-web.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>