arm: rockchip: switch to mainline dts for bpi-r2-pro
Subsystems (2)
PATCH v2 1/1 arm: rockchip: switch to mainline dts for bpi-r2-pro
From: Frank Wunderlich <[email protected]>
Use mainline DTS for Bananapi R2 Pro like the other rk356x devices.
Xhci0 has to be set to host again, as board has no id-pin to switch between otg and hostmode.
Signed-off-by Frank Wunderlich <[email protected]>
---
v2:
- fixed patch to apply on master
--- .../arm/boards/pine64-quartz64/sdram-init.bin | Bin 0 -> 59392 bytes .../boards/rockchip-rk3568-bpi-r2pro/board.c | 5 +- .../rockchip-rk3568-bpi-r2pro/sdram-init.bin | Bin 0 -> 59392 bytes .../boards/rockchip-rk3568-evb/sdram-init.bin | Bin 0 -> 59392 bytes arch/arm/configs/rk3568_defconfig | 144 +++++ arch/arm/dts/rk3568-bpi-r2-pro.dts | 522 +----------------- build.sh | 60 ++ 7 files changed, 208 insertions(+), 523 deletions(-) create mode 100644 arch/arm/boards/pine64-quartz64/sdram-init.bin create mode 100644 arch/arm/boards/rockchip-rk3568-bpi-r2pro/sdram-init.bin create mode 100644 arch/arm/boards/rockchip-rk3568-evb/sdram-init.bin create mode 100644 arch/arm/configs/rk3568_defconfig create mode 100755 build.sh
arch/arm/boards/pine64-quartz64/sdram-init.bin new file binary +0 -0
arch/arm/boards/rockchip-rk3568-bpi-r2pro/board.c +3 -2
@@ -28,8 +28,9 @@ static int rk3568_bpi_r2pro_probe(struct device_d *dev)else of_device_enable_path ("/chosen/environment-emmc" ); -rk3568_bbu_mmc_register ("emmc" ,BBU_HANDLER_FLAG_DEFAULT ,"/dev/emmc" ); -rk3568_bbu_mmc_register ("sd" ,0 ,"/dev/sd" ); +rk3568_bbu_mmc_register ("sd" ,0 ,"/dev/mmc0" ); +rk3568_bbu_mmc_register ("emmc" ,BBU_HANDLER_FLAG_DEFAULT , +"/dev/mmc1" );return 0 ; }
arch/arm/boards/rockchip-rk3568-bpi-r2pro/sdram-init.bin new file binary +0 -0
arch/arm/boards/rockchip-rk3568-evb/sdram-init.bin new file binary +0 -0
arch/arm/configs/rk3568_defconfig new file +144 -0
144 lines not on this page · raw message
arch/arm/dts/rk3568-bpi-r2-pro.dts +1 -521
552 lines not on this page · raw message
build.sh new file +60 -0
60 lines not on this page · raw message
Signature · 1 line
2.34.1