blob: 04a84e2f6a04db4b9051bf58554488565e9a3c54 [file] [log] [blame]
Kever Yang0d3d7832016-07-19 21:16:59 +08001if ROCKCHIP_RK3399
2
3choice
4 prompt "RK3399 board select"
5
Peter Robinson6404bb62020-01-08 03:56:11 +00006config TARGET_CHROMEBOOK_BOB
7 bool "Asus Flip C101PA Chromebook (RK3399)"
Simon Glass8251e032020-07-19 13:55:58 -06008 select HAS_ROM
9 select ROCKCHIP_SPI_IMAGE
Peter Robinson6404bb62020-01-08 03:56:11 +000010 help
11 Bob is a small RK3299-based device similar in apperance to Minnie.
12 It has two USB 3.0 type-C ports, 4GB of SDRAM, WiFi and a 10.1",
13 1280x800 display. It uses its USB ports for both power and external
14 display. It includes a Chrome OS EC (Cortex-M3) to provide access to
15 the keyboard and battery functions.
16
Marty E. Plummerb20a8dac2021-12-24 16:43:46 +030017config TARGET_CHROMEBOOK_KEVIN
18 bool "Samsung Chromebook Plus (RK3399)"
19 select HAS_ROM
20 select ROCKCHIP_SPI_IMAGE
21 help
22 Kevin is a RK3399-based convertible chromebook. It has two USB 3.0
23 Type-C ports, 4GB of SDRAM, WiFi and a 12.3" 2400x1600 display. It
24 uses its USB ports for both power and external display. It includes
25 a Chromium OS EC (Cortex-M3) to provide access to the keyboard and
26 battery functions.
27
Kever Yang0d3d7832016-07-19 21:16:59 +080028config TARGET_EVB_RK3399
29 bool "RK3399 evaluation board"
30 help
Thomas Hebbfd37f242019-11-13 18:18:03 -080031 RK3399evb is a evaluation board for Rockchip RK3399,
32 with full function and physical connectors support like Type-C ports,
33 USB.0 host ports, LVDS, JTAG, MAC, SD card, HDMI, USB-to-serial...
Kever Yang0d3d7832016-07-19 21:16:59 +080034
Peter Robinson6a349e72020-04-20 20:27:36 +010035config TARGET_PINEBOOK_PRO_RK3399
36 bool "Pinebook Pro"
37 help
38 Pinebook Pro is a laptop based on the Rockchip rk3399 SoC
39 with 4Gb RAM, onboard eMMC, USB-C, a USB3 and USB2 port,
40 1920*1080 screen and all the usual laptop features.
41
Peter Robinson0b437a02022-12-31 09:24:00 +000042config TARGET_PINEPHONE_PRO_RK3399
43 bool "PinePhone Pro"
44 help
45 PinePhone Pro is a phone based on a variant of the Rockchip
46 rk3399 SoC with 4Gb RAM, onboard eMMC, USB-C, headphone jack,
47 720x1440 screen and a Quectel 4G/LTE modem.
48
Klaus Goger81039932017-04-07 19:13:38 +020049config TARGET_PUMA_RK3399
50 bool "Theobroma Systems RK3399-Q7 (Puma)"
51 help
52 The RK3399-Q7 (Puma) is a system-on-module (designed and
53 marketed by Theobroma Systems) featuring the Rockchip RK3399
54 in a Qseven-compatible form-factor (running of a single 5V
55 supply and exposing its external interfaces on a MXM-230
56 connector).
57
58 Key features of the RK3399-Q7 include:
59 * on-module USB 3.0 hub (2x USB 3.0 host + 1x USB 2.0 host)
60 * USB 3.0 dual-role
61 * on-module Micrel KSZ9031 GbE PHY
62 * on-module eMMC (up to 256GB configurations available)
63 * on-module DDR3 (1GB, 2GB and 4GB configurations available)
64 * HDMI, eDP, MIPI-DSI, MIPI-DSI/CSI and MIPI-CSI
65 * SPI, I2C, I2S, UART, GPIO, ...
66
Manivannan Sadhasivam6f219a12018-09-28 00:32:59 +053067config TARGET_ROCK960_RK3399
68 bool "Vamrs Limited Rock960 board family"
69 help
70 Support for Rock960 board family by Vamrs Limited. This board
71 family consists of Rock960 (Consumer Edition) and Ficus
72 (Enterprise Edition) 96Boards.
73
74 Common features implemented on both boards:
75 * Rockchip RK3399 SoC (2xCortex A72, 4xCortex A53, ARM Mali T860MP4)
76 * 16/32GB eMMC, uSD slot
77 * HDMI/DP/MIPI
78 * 20-pin low speed and 40-pin high speed expanders, 6 LED, 3 buttons
79
80 Additional features of Rock960:
81 * 2GiB/4GiB LPDDR3 RAM
82 * 1x USB 3.0 type A, 1x USB 2.0 type A (host mode only),
83 1x USB 3.0 type C OTG
84
85 Additional features of Ficus:
86 * 2GiB/4GiB DDR3 RAM
87 * Ethernet
88 * Dual SATA
89 * 2x USB 3.0 type A, 2x USB 2.0 type A (host mode only),
90 1x USB 3.0 type C OTG
91
Jonas Karlman1ef12412024-03-12 23:36:14 +000092config TARGET_ROCKPI4_RK3399
93 bool "Radxa ROCK Pi 4 board"
94 help
95 Support for ROCK Pi 4 board family by Radxa.
96
Vasily Khoruzhickda2f45a2019-11-09 11:24:50 -080097config TARGET_ROCKPRO64_RK3399
98 bool "Pine64 Rockpro64 board"
99 help
100 Rockro64 is SBC produced by Pine64. Key features:
101
102 * Rockchip RK3399
103 * 2/4GB Dual-Channel LPDDR3
104 * SD card slot
105 * eMMC socket
106 * 128Mb SPI Flash
107 * Gigabit ethernet
108 * PCIe 4X slot
109 * WiFI/BT module socket
110 * HDMI In/Out, DP, MIPI DSI/CSI, eDP
111 * USB 3.0, 2.0
112 * USB Type C power and data
113 * GPIO expansion ports
114 * DC 12V/2A
115
Suniel Maheshf1cd07b2020-02-03 19:20:04 +0530116config TARGET_ROC_PC_RK3399
117 bool "Firefly ROC-RK3399-PC board"
118 help
119 ROC-RK3399-PC is SBC produced by Firefly. Key features:
120
121 * Rockchip RK3399
122 * 4GB Dual-Channel LPDDR4 64-bit
123 * SD card slot
124 * eMMC socket
125 * 16MB SPI Flash
126 * Gigabit ethernet
127 * PCIe
128 * HDMI In/Out, DP, MIPI DSI/CSI, eDP
129 * USB 3.0, 2.0
130 * USB Type C power and data
131 * GPIO expansion ports
132 * wide voltage input(5V-15V), dual cell battery
133 * Wifi/BT accessible via expansion board M.2
134
Kever Yang0d3d7832016-07-19 21:16:59 +0800135endchoice
136
Kever Yang70e558d2019-07-09 22:14:20 +0800137config ROCKCHIP_BOOT_MODE_REG
138 default 0xff320300
139
Johan Jonkerf6fc8952022-04-09 18:55:02 +0200140config ROCKCHIP_STIMER_BASE
141 default 0xff8680a0
142
Kever Yang0d3d7832016-07-19 21:16:59 +0800143config SYS_SOC
Kever Yang3a8dcfb2019-03-28 11:01:24 +0800144 default "rk3399"
Kever Yang0d3d7832016-07-19 21:16:59 +0800145
Jonas Karlmand19d6e72024-03-02 19:16:14 +0000146config ROCKCHIP_COMMON_STACK_ADDR
147 default y
148
Kever Yang0d3d7832016-07-19 21:16:59 +0800149config SYS_MALLOC_F_LEN
Jonas Karlmand19d6e72024-03-02 19:16:14 +0000150 default 0x4000 if !SPL_SHARES_INIT_SP_ADDR
Kever Yang0d3d7832016-07-19 21:16:59 +0800151
Kever Yang09583db2019-07-09 22:14:26 +0800152config SPL_LIBCOMMON_SUPPORT
153 default y
154
155config SPL_LIBGENERIC_SUPPORT
156 default y
157
Kever Yangf781d102019-07-09 22:14:19 +0800158config TPL_LDSCRIPT
159 default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
160
Kever Yangf781d102019-07-09 22:14:19 +0800161config TPL_STACK
162 default 0xff8effff
163
164config TPL_TEXT_BASE
165 default 0xff8c2000
166
Kever Yang133f85c2019-10-18 15:54:15 +0800167config SPL_STACK_R_ADDR
Jonas Karlmand19d6e72024-03-02 19:16:14 +0000168 default 0x04000000 if !SPL_SHARES_INIT_SP_ADDR
Kever Yang133f85c2019-10-18 15:54:15 +0800169
Jagan Tekie7043012020-01-09 14:22:19 +0530170if BOOTCOUNT_LIMIT
171
172config BOOTCOUNT_BOOTLIMIT
173 default 3
174
175config SYS_BOOTCOUNT_ADDR
176 default 0xff3100f0 # PMU_SYS_REG0
177
178endif # BOOTCOUNT_LIMIT
179
Peter Robinson6404bb62020-01-08 03:56:11 +0000180source "board/firefly/roc-pc-rk3399/Kconfig"
181source "board/google/gru/Kconfig"
Peter Robinson6a349e72020-04-20 20:27:36 +0100182source "board/pine64/pinebook-pro-rk3399/Kconfig"
Peter Robinson0b437a02022-12-31 09:24:00 +0000183source "board/pine64/pinephone-pro-rk3399/Kconfig"
Peter Robinson6404bb62020-01-08 03:56:11 +0000184source "board/pine64/rockpro64_rk3399/Kconfig"
Jonas Karlman1ef12412024-03-12 23:36:14 +0000185source "board/radxa/rockpi4-rk3399/Kconfig"
Kever Yang0d3d7832016-07-19 21:16:59 +0800186source "board/rockchip/evb_rk3399/Kconfig"
Klaus Goger81039932017-04-07 19:13:38 +0200187source "board/theobroma-systems/puma_rk3399/Kconfig"
Manivannan Sadhasivam6f219a12018-09-28 00:32:59 +0530188source "board/vamrs/rock960_rk3399/Kconfig"
Kever Yang0d3d7832016-07-19 21:16:59 +0800189
190endif