blob: f99415280356599f27e20ea26600421075d95011 [file] [log] [blame]
Kever Yanga381bcf2016-07-19 21:16:59 +08001if ROCKCHIP_RK3399
2
3choice
4 prompt "RK3399 board select"
5
6config TARGET_EVB_RK3399
7 bool "RK3399 evaluation board"
8 help
Thomas Hebb32f2ca22019-11-13 18:18:03 -08009 RK3399evb is a evaluation board for Rockchip RK3399,
10 with full function and physical connectors support like Type-C ports,
11 USB.0 host ports, LVDS, JTAG, MAC, SD card, HDMI, USB-to-serial...
Kever Yanga381bcf2016-07-19 21:16:59 +080012
Klaus Gogera13110a2017-04-07 19:13:38 +020013config TARGET_PUMA_RK3399
14 bool "Theobroma Systems RK3399-Q7 (Puma)"
15 help
16 The RK3399-Q7 (Puma) is a system-on-module (designed and
17 marketed by Theobroma Systems) featuring the Rockchip RK3399
18 in a Qseven-compatible form-factor (running of a single 5V
19 supply and exposing its external interfaces on a MXM-230
20 connector).
21
22 Key features of the RK3399-Q7 include:
23 * on-module USB 3.0 hub (2x USB 3.0 host + 1x USB 2.0 host)
24 * USB 3.0 dual-role
25 * on-module Micrel KSZ9031 GbE PHY
26 * on-module eMMC (up to 256GB configurations available)
27 * on-module DDR3 (1GB, 2GB and 4GB configurations available)
28 * HDMI, eDP, MIPI-DSI, MIPI-DSI/CSI and MIPI-CSI
29 * SPI, I2C, I2S, UART, GPIO, ...
30
Manivannan Sadhasivam1bad5e12018-09-28 00:32:59 +053031config TARGET_ROCK960_RK3399
32 bool "Vamrs Limited Rock960 board family"
33 help
34 Support for Rock960 board family by Vamrs Limited. This board
35 family consists of Rock960 (Consumer Edition) and Ficus
36 (Enterprise Edition) 96Boards.
37
38 Common features implemented on both boards:
39 * Rockchip RK3399 SoC (2xCortex A72, 4xCortex A53, ARM Mali T860MP4)
40 * 16/32GB eMMC, uSD slot
41 * HDMI/DP/MIPI
42 * 20-pin low speed and 40-pin high speed expanders, 6 LED, 3 buttons
43
44 Additional features of Rock960:
45 * 2GiB/4GiB LPDDR3 RAM
46 * 1x USB 3.0 type A, 1x USB 2.0 type A (host mode only),
47 1x USB 3.0 type C OTG
48
49 Additional features of Ficus:
50 * 2GiB/4GiB DDR3 RAM
51 * Ethernet
52 * Dual SATA
53 * 2x USB 3.0 type A, 2x USB 2.0 type A (host mode only),
54 1x USB 3.0 type C OTG
55
Simon Glass9e921162019-01-21 14:53:36 -070056config TARGET_CHROMEBOOK_BOB
57 bool "Asus Flip C101PA Chromebook (RK3399)"
58 help
59 Bob is a small RK3299-based device similar in apperance to Minnie.
60 It has two USB 3.0 type-C ports, 4GB of SDRAM, WiFi and a 10.1",
61 1280x800 display. It uses its USB ports for both power and external
62 display. It includes a Chrome OS EC (Cortex-M3) to provide access to
63 the keyboard and battery functions.
64
Vasily Khoruzhickde43ca72019-11-09 11:24:50 -080065config TARGET_ROCKPRO64_RK3399
66 bool "Pine64 Rockpro64 board"
67 help
68 Rockro64 is SBC produced by Pine64. Key features:
69
70 * Rockchip RK3399
71 * 2/4GB Dual-Channel LPDDR3
72 * SD card slot
73 * eMMC socket
74 * 128Mb SPI Flash
75 * Gigabit ethernet
76 * PCIe 4X slot
77 * WiFI/BT module socket
78 * HDMI In/Out, DP, MIPI DSI/CSI, eDP
79 * USB 3.0, 2.0
80 * USB Type C power and data
81 * GPIO expansion ports
82 * DC 12V/2A
83
Kever Yanga381bcf2016-07-19 21:16:59 +080084endchoice
85
Kever Yang476dcb62019-07-09 22:14:20 +080086config ROCKCHIP_BOOT_MODE_REG
87 default 0xff320300
88
Kever Yanga381bcf2016-07-19 21:16:59 +080089config SYS_SOC
Kever Yangb1b449b2019-03-28 11:01:24 +080090 default "rk3399"
Kever Yanga381bcf2016-07-19 21:16:59 +080091
92config SYS_MALLOC_F_LEN
Kever Yangd0ae3bc2019-07-09 22:14:23 +080093 default 0x4000
Kever Yanga381bcf2016-07-19 21:16:59 +080094
Kever Yanga13f8702019-07-09 22:14:26 +080095config SPL_LIBCOMMON_SUPPORT
96 default y
97
98config SPL_LIBGENERIC_SUPPORT
99 default y
100
Kever Yangc83b5a22019-07-09 22:14:19 +0800101config TPL_LDSCRIPT
102 default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
103
104config TPL_MAX_SIZE
105 default 188416
106
107config TPL_STACK
108 default 0xff8effff
109
110config TPL_TEXT_BASE
111 default 0xff8c2000
112
Kever Yang006ab582019-10-18 15:54:15 +0800113config SPL_STACK_R_ADDR
114 default 0x04000000
115
Jagan Tekiefebc8e2020-01-09 14:22:19 +0530116if BOOTCOUNT_LIMIT
117
118config BOOTCOUNT_BOOTLIMIT
119 default 3
120
121config SYS_BOOTCOUNT_ADDR
122 default 0xff3100f0 # PMU_SYS_REG0
123
124endif # BOOTCOUNT_LIMIT
125
Kever Yanga381bcf2016-07-19 21:16:59 +0800126source "board/rockchip/evb_rk3399/Kconfig"
Klaus Gogera13110a2017-04-07 19:13:38 +0200127source "board/theobroma-systems/puma_rk3399/Kconfig"
Manivannan Sadhasivam1bad5e12018-09-28 00:32:59 +0530128source "board/vamrs/rock960_rk3399/Kconfig"
Simon Glass9e921162019-01-21 14:53:36 -0700129source "board/google/gru/Kconfig"
Vasily Khoruzhickde43ca72019-11-09 11:24:50 -0800130source "board/pine64/rockpro64_rk3399/Kconfig"
Kever Yanga381bcf2016-07-19 21:16:59 +0800131
132endif