26 Mar, 2020
1 commit
-
Use syscon API to get grf base instead of get from dts.
Signed-off-by: Kever Yang
Reviewed-by: Simon Glass
19 Feb, 2020
1 commit
-
roc-pc-rk3399 board has one user button & three user LED's. Currently
we don't have any code support for these devices. Since button and LED's are
specific to roc-pc-rk3399 board, split it into its own board file and add code
support here.Signed-off-by: Suniel Mahesh
Reviewed-by: Kever Yang
06 Dec, 2019
1 commit
-
This is a core board named Core-PX30-JD4 with a mainboard from Firefly,
name it as firefly-px30 for now.
This board can re-use the dts of PX30, the only difference is the UART IO,
the firefly use UART2 M1 while evb use UART2 M0.Signed-off-by: Kever Yang
03 Dec, 2019
3 commits
-
Signed-off-by: Thomas Hebb
-
These functions do not use driver model but are still used. Move them to a
new eeprom.h header file.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
A number of board function belong in init.h with the others. Move them.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
17 Nov, 2019
5 commits
-
Support tinker-s board. The board is equivalent of tinker board
except of emmc.TODO:
- support of usb current burst when the board is powered from pcSigned-off-by: Michael Trimarchi
Reviewed-by: Kever Yang -
Add support for rk3308 evaluation board.
Signed-off-by: Andy Yan
Reviewed-by: Kever Yang -
rockpro64 needs to setup I/O domains in order for USB to work in u-boot.
Since we currently don't have a driver to do that, split it into its own
board file and initialize I/O domains here.Signed-off-by: Vasily Khoruzhick
Reviewed-by: Kever Yang -
roc-rk3399-pc_defconfig is committed in below
commit ("rockchip: rk3399:
Add ROC-RK3399-PC support")which doesn't follow the existing defconfigs on rk3399.
So, rename as followed with other rk3399 defconfigs.
Cc: Levin Du
Signed-off-by: Jagan Teki
Reviewed-by: Kever Yang -
The px30 evb is an evaluation board for the px30 together with a dsi-
connected display. This adds board and config files for it.Signed-off-by: Heiko Stuebner
Reviewed-by: Kever Yang
10 Nov, 2019
1 commit
-
Specification
- Rockchip RK3399
- LPDDR4
- TF sd scard slot
- eMMC
- M.2 B-Key for 4G LTE
- AP6256 for WiFi + BT
- Gigabit ethernet
- HDMI out
- 40 pin header
- USB 2.0 x 2
- USB 3.0 x 1
- USB 3.0 Type-C x 1
- TYPE-C Power supplyCommit details of rk3399-leez-p710.dts sync from linus tree for Linux 5.4-rc1:
"arm64: dts: rockchip: Add dts for Leez RK3399 P710 SBC"
(sha1: fc702ed49a8668a17343811ee28214d845bfc5e6)Signed-off-by: Andy Yan
Reviewed-by: Kever Yang
23 Aug, 2019
1 commit
-
Since there is no one using this board, remove it.
Signed-off-by: Kever Yang
19 Aug, 2019
1 commit
-
Add initial support for ROC-RK3399-PC board.
Specification
- Rockchip RK3399
- LPDDR4 4GiB
- eMMC slot
- SD card slot
- RTL8211E 1Gbps
- HDMI Out, DP, MIPI DSI/CSI, EDP
- PCIe M.2
- USB 2.0, USB-3.0
- USB C TypeCommit details of rk3399-roc-pc.dts sync from Linux v5.2:
"arm64: dts: rockchip: add support for ROC-RK3399-PC board"
(sha1: 8bb878cf20ae10809c36db96993bfce7026d062b)Signed-off-by: Levin Du
Reviewed-by: Kever Yang
12 Aug, 2019
2 commits
-
This header file is now only used by files that access internal
environment features. Drop it from various places where it is not needed.Acked-by: Joe Hershberger
Signed-off-by: Simon Glass -
Move env_set() over to the new header file.
Acked-by: Joe Hershberger
Signed-off-by: Simon Glass
05 Aug, 2019
3 commits
-
Add devicetree support for Khadas Edge-Captain.
Khadas Captain is the carrier board for Khadas Edge.Specification
- Rockchip RK3399
- Dual-Channel 2GB/4GB LPDDR4
- SD card slot
- Onboard 16GB/32GB/128GB eMMC
- RTL8211FD 1Gbps
- AP6356S/AP6398S WiFI/BT
- HDMI Out, DP, MIPI DSI/CSI, eDP
- USB 3.0, 2.0
- USB Type C power and data
- GPIO expansion ports
- Full 4 Lane M.2 Socket
- 16MB SPI Flash
- IR
- Programmable MCUCommit details of rk3399-khadas-edge-*.dts sync from Linux 5.3-rc2:
"arm64: dts: rockchip: Add support for Khadas Edge/Edge-V/Captain boards"
(sha1: c2aacceedc86af87428d998e23a1aca24fd8aa2e)Signed-off-by: Nick Xie
Tested-by: Chris Webb
Reviewed-by: Kever Yang -
Add devicetree support for Khadas Edge-V.
Khadas Edge-V is a Khadas VIM form factor Rockchip RK3399 board.Specification
- Rockchip RK3399
- Dual-Channel 2GB/4GB LPDDR4
- SD card slot
- Onboard 16GB/32GB/128GB eMMC
- RTL8211FD 1Gbps
- AP6356S/AP6398S WiFI/BT
- HDMI Out, DP, MIPI DSI/CSI, eDP
- USB 3.0, 2.0
- USB Type C power and data
- GPIO expansion ports
- Full 4 Lane M.2 Socket
- 16MB SPI Flash
- IR
- Programmable MCUCommit details of rk3399-khadas-edge-*.dts sync from Linux 5.3-rc2:
"arm64: dts: rockchip: Add support for Khadas Edge/Edge-V/Captain boards"
(sha1: c2aacceedc86af87428d998e23a1aca24fd8aa2e)Signed-off-by: Nick Xie
Reviewed-by: Kever Yang -
Add devicetree support for Khadas Edge.
Khadas Edge is an expandable Rockchip RK3399 board with goldfinger.Specification
- Rockchip RK3399
- Dual-Channel 2GB/4GB LPDDR4
- Onboard 16GB/32GB/128GB eMMC
- RTL8211FD 1Gbps
- AP6356S/AP6398S WiFI/BT
- HDMI Out, DP
- USB 3.0, 2.0
- USB Type C power and data
- 16MB SPI Flash
- Programmable MCUCommit details of rk3399-khadas-edge-*.dts sync from Linux 5.3-rc2:
"arm64: dts: rockchip: Add support for Khadas Edge/Edge-V/Captain boards"
(sha1: c2aacceedc86af87428d998e23a1aca24fd8aa2e)Signed-off-by: Nick Xie
Tested-by: Chris Webb
Reviewed-by: Kever Yang
29 Jul, 2019
8 commits
-
Use common board file for board_init() and board_late_init(),
for Rockchip SoCs have very similar process.Signed-off-by: Kever Yang
-
Use common board file for board_init() and board_late_init(),
for Rockchip SoCs have very similar process.Signed-off-by: Kever Yang
-
Handle per-board init in board_early_init_f() and use the
common board_init() for per-platform board init later.Signed-off-by: Kever Yang
-
Use common board file for board_init() and board_late_init(),
for Rockchip SoCs have very similar process.Signed-off-by: Kever Yang
-
Use common board file for board_init() and board_late_init(),
for Rockchip SoCs have very similar process.Signed-off-by: Kever Yang
Tested-by: Matwey V. Kornilov -
The rk3288_detect_reset_reason() is per-SoC operation, move
it to rk3288.c, and extend the rk_board_late_init() with
rk3288_board_late_init() to make all the board works fine
as before.Signed-off-by: Kever Yang
-
dram_init_banksize() can be common used by all SoCs, move it into
sdram_common.cSigned-off-by: Kever Yang
-
Use "snps,dwc2" for compatible name and and common variable
names so that we can share the common code for all SoCs.Signed-off-by: Kever Yang
20 Jul, 2019
2 commits
-
make_fit_atf.py no longer requires pyelftools, and nothing else in the
rockchip build requires it either, so remove references to installing it
from the documentation.Signed-off-by: Chris Webb
Reviewed-by: Kever Yang -
Prefer to use dts config instead, remove all board_boot_order()
for rk3288 boards.Signed-off-by: Kever Yang
26 Jun, 2019
4 commits
-
The new common rockchip pinctrl driver does not support explicit
requests for a particular pinctrl function. As a result, the
board_init() function bails out early before enabling the boot-on
regulators. Fix this by simply removing the request for pwm0, pwm2
and pwm3. The generic DM code already does the necessary
configuration if necessary.Reported-by: Levin Du
Signed-of-by: Mark Kettenis -
Support common spl_board_init by moving code from puma
board file into, common rk3399-board-spl.c.Part of the code has sysreset-gpio, regulators_enable_boot_on
but right now only puma board is using this with relevant
config options rest remains common for all targets.Signed-off-by: Jagan Teki
Reviewed-by: Kever Yang -
preloader_console_init is used for printing SPL boot banner that
usually called from spl_board_init.The current spl_board_init in evb and rock960 is enabling explicit
pinctrl, debug uart prior to calling preloader_console_init which
eventually not required since board_init_f is already enabled
debug uart.So, drop those explicit enablement calls from spl_board_init of
evb, rock960.Tested this by enabling CONFIG_SPL_BOARD_INIT and adding
u-boot,dm-pre-reloc property for uart node.Signed-off-by: Jagan Teki
Reviewed-by: Kever Yang -
The ROCK64 is a credit card size SBC based on Rockchip RK3328
Quad-Core ARM Cortex A53.This series allow building u-boot SPL and u-boot.itb for Rock64
board. The proprietary TPL is stil required for deploy:./tools/mkimage -n rk3328 -T rksd \
-d ./rkbin/bin/rk33/rk3328_ddr_333MHz_v1.16.bin idbloader.img
cat ./spl/u-boot-spl.bin >> idbloader.img
dd if=idbloader.img of=/dev/sdcard seek=64 conv=notrunc
dd if=u-boot.itb of=/dev/sdcard seek=16384 conv=notruncSigned-off-by: Matwey V. Kornilov
Reviewed-by: Kever Yang
30 May, 2019
3 commits
-
Add initial support for Rock PI 4 board.
Specification
- Rockchip RK3399
- LPDDR4
- eMMC
- SD card slot
- RTL8211E 1Gbps
- HDMI In/Out, DP, MIPI DSI/CSI
- PCIe M.2
- USB 2.0, USB-3.0
- USB C TypeCommit details of rk3399-rock-pi-4.dts sync from Linux 5.1-rc2:
"arm64: dts: rockchip: add ROCK Pi 4 DTS support"
(sha1: 1b5715c602fda7b812af0e190eddcce2812e5417)Signed-off-by: Akash Gajjar
Signed-off-by: Jagan Teki
Reviewed-by: Kever Yang -
Add initial support for Rockpro64 board.
Specification
- Rockchip RK3399
- 2/4GB Dual-Channel LPDDR3
- SD card slot
- eMMC socket
- 128Mb SPI Flash
- Gigabit ethernet
- PCIe 4X slot
- WiFI/BT module socket
- HDMI In/Out, DP, MIPI DSI/CSI, eDP
- USB 3.0, 2.0
- USB Type C power and data
- GPIO expansion ports
- DC 12V/2ACommit details of rk3399-rockpro64.dts sync from Linux 5.1-rc2:
"arm64: dts: rockchip: rockpro64 dts add usb regulator"
(sha1: 6db644c79c8d45d73b56bc389aebd85fc3679beb)'Akash' has sent an initial patch before, so I keep him as board
maintainer and I'm co-maintainer based on our conversation.Signed-off-by: Akash Gajjar
Signed-off-by: Jagan Teki
Reviewed-by: Kever Yang -
Add initial support for Nanopi NEO4 board.
Specification
- Rockchip RK3399
- 1GB DDR3-1866
- SD card slot
- eMMC Socket
- RTL8211E 1Gbps
- AP6212 WiFI/BT
- HDMI In/Out, DP, MIPI CSI
- USB 3.0, 2.0
- USB Type C power and data
- GPIO expansion ports
- DC 5V/3ACommit details of rk3399-nanopi-neo4.dts sync from Linux:
"arm64: dts: rockchip: Add Nanopi NEO4 initial support"
(sha1: 092470b537f19788d957aed12d835a179b606014)Signed-off-by: Jagan Teki
Reviewed-by: Kever Yang
09 May, 2019
2 commits
-
Add initial support for Nanopc T4 board.
Specification
- Rockchip RK3399
- Dual-Channel 4GB LPDDR3-1866
- SD card slot
- 16GB eMMC
- RTL8211E 1Gbps
- AP6356S WiFI/BT
- HDMI In/Out, DP, MIPI DSI/CSI, eDP
- USB 3.0, 2.0
- USB Type C power and data
- GPIO expansion ports
- DC 12V/2ACommit details of rk3399-nanopc-t4.dts sync from Linux 5.1-rc2:
"arm64: dts: rockchip: Add NanoPC-T4 IR receiver"
(sha1: 95658e21b1707ad7844f873db2fdaa295109a5a3)Tested-by: Daniel Gröber
Signed-off-by: Jagan Teki
Reviewed-by: Kever Yang -
Add initial support for Nanopi M4 board.
Specification
- Rockchip RK3399
- Dual-Channel 4GB LPDDR3-1866
- SD card slot
- eMMC socket
- RTL8211E 1Gbps
- AP6356S WiFI/BT
- HDMI In/Out, DP, MIPI DSI/CSI
- USB 3.0 x4
- USB Type C power and data
- GPIO1, GPIO2 expansion ports
- DC5V/3ACommit details of rk3399-nanopi-m4.dts sync from Linux 5.1-rc2:
"arm64: dts: rockchip: Refine nanopi4 differences"
(sha1: c62ffaf5026d0b7633e62b2cea8450b5543c349a)Signed-off-by: Jagan Teki
Reviewed-by: Kever Yang
Reviewed-by: Philipp Tomsich
08 May, 2019
1 commit
-
Detail of step by step to bring up the board with OP-TEE support.
Signed-off-by: Kever Yang
01 May, 2019
1 commit
-
Rockchip use 'arch-rockchip' instead of arch-$(SOC) as common
header file path, so that we can get the correct path directly.Signed-off-by: Kever Yang
Reviewed-by: Philipp Tomsich