Merge branch '2022-03-25-assorted-updates' into next
[platform/kernel/u-boot.git] / arch / arm / mach-rockchip / rk3399 / Kconfig
1 if ROCKCHIP_RK3399
2
3 choice
4         prompt "RK3399 board select"
5
6 config TARGET_CHROMEBOOK_BOB
7         bool "Asus Flip C101PA Chromebook (RK3399)"
8         select HAS_ROM
9         select ROCKCHIP_SPI_IMAGE
10         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
17 config TARGET_EVB_RK3399
18         bool "RK3399 evaluation board"
19         help
20           RK3399evb is a evaluation board for Rockchip RK3399,
21           with full function and physical connectors support like Type-C ports,
22           USB.0 host ports, LVDS, JTAG, MAC, SD card, HDMI, USB-to-serial...
23
24 config TARGET_PINEBOOK_PRO_RK3399
25         bool "Pinebook Pro"
26         help
27           Pinebook Pro is a laptop based on the Rockchip rk3399 SoC
28           with 4Gb RAM, onboard eMMC, USB-C, a USB3 and USB2 port,
29           1920*1080 screen and all the usual laptop features.
30
31 config TARGET_PUMA_RK3399
32         bool "Theobroma Systems RK3399-Q7 (Puma)"
33         help
34           The RK3399-Q7 (Puma) is a system-on-module (designed and
35           marketed by Theobroma Systems) featuring the Rockchip RK3399
36           in a Qseven-compatible form-factor (running of a single 5V
37           supply and exposing its external interfaces on a MXM-230
38           connector).
39
40           Key features of the RK3399-Q7 include:
41            * on-module USB 3.0 hub (2x USB 3.0 host + 1x USB 2.0 host)
42            * USB 3.0 dual-role
43            * on-module Micrel KSZ9031 GbE PHY
44            * on-module eMMC (up to 256GB configurations available)
45            * on-module DDR3 (1GB, 2GB and 4GB configurations available)
46            * HDMI, eDP, MIPI-DSI, MIPI-DSI/CSI and MIPI-CSI
47            * SPI, I2C, I2S, UART, GPIO, ...
48
49 config TARGET_ROCK960_RK3399
50         bool "Vamrs Limited Rock960 board family"
51         help
52           Support for Rock960 board family by Vamrs Limited. This board
53           family consists of Rock960 (Consumer Edition) and Ficus
54           (Enterprise Edition) 96Boards.
55
56           Common features implemented on both boards:
57            * Rockchip RK3399 SoC (2xCortex A72, 4xCortex A53, ARM Mali T860MP4)
58            * 16/32GB eMMC, uSD slot
59            * HDMI/DP/MIPI
60            * 20-pin low speed and 40-pin high speed expanders, 6 LED, 3 buttons
61
62           Additional features of Rock960:
63            * 2GiB/4GiB LPDDR3 RAM
64            * 1x USB 3.0 type A, 1x USB 2.0 type A (host mode only),
65              1x USB 3.0 type C OTG
66
67           Additional features of Ficus:
68            * 2GiB/4GiB DDR3 RAM
69            * Ethernet
70            * Dual SATA
71            * 2x USB 3.0 type A, 2x USB 2.0 type A (host mode only),
72              1x USB 3.0 type C OTG
73
74 config TARGET_ROCKPRO64_RK3399
75         bool "Pine64 Rockpro64 board"
76         help
77           Rockro64 is SBC produced by Pine64. Key features:
78
79            * Rockchip RK3399
80            * 2/4GB Dual-Channel LPDDR3
81            * SD card slot
82            * eMMC socket
83            * 128Mb SPI Flash
84            * Gigabit ethernet
85            * PCIe 4X slot
86            * WiFI/BT module socket
87            * HDMI In/Out, DP, MIPI DSI/CSI, eDP
88            * USB 3.0, 2.0
89            * USB Type C power and data
90            * GPIO expansion ports
91            * DC 12V/2A
92
93 config TARGET_ROC_PC_RK3399
94         bool "Firefly ROC-RK3399-PC board"
95         help
96           ROC-RK3399-PC is SBC produced by Firefly. Key features:
97
98            * Rockchip RK3399
99            * 4GB Dual-Channel LPDDR4 64-bit
100            * SD card slot
101            * eMMC socket
102            * 16MB SPI Flash
103            * Gigabit ethernet
104            * PCIe
105            * HDMI In/Out, DP, MIPI DSI/CSI, eDP
106            * USB 3.0, 2.0
107            * USB Type C power and data
108            * GPIO expansion ports
109            * wide voltage input(5V-15V), dual cell battery
110            * Wifi/BT accessible via expansion board M.2
111
112 endchoice
113
114 config ROCKCHIP_BOOT_MODE_REG
115         default 0xff320300
116
117 config SYS_SOC
118         default "rk3399"
119
120 config SYS_MALLOC_F_LEN
121         default 0x4000
122
123 config SPL_LIBCOMMON_SUPPORT
124         default y
125
126 config SPL_LIBGENERIC_SUPPORT
127         default y
128
129 config TPL_LDSCRIPT
130         default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
131
132 config TPL_MAX_SIZE
133         default 188416
134
135 config TPL_STACK
136         default 0xff8effff
137
138 config TPL_TEXT_BASE
139         default 0xff8c2000
140
141 config SPL_STACK_R_ADDR
142         default 0x04000000
143
144 if BOOTCOUNT_LIMIT
145
146 config BOOTCOUNT_BOOTLIMIT
147         default 3
148
149 config SYS_BOOTCOUNT_ADDR
150         default 0xff3100f0      # PMU_SYS_REG0
151
152 endif # BOOTCOUNT_LIMIT
153
154 source "board/firefly/roc-pc-rk3399/Kconfig"
155 source "board/google/gru/Kconfig"
156 source "board/pine64/pinebook-pro-rk3399/Kconfig"
157 source "board/pine64/rockpro64_rk3399/Kconfig"
158 source "board/rockchip/evb_rk3399/Kconfig"
159 source "board/theobroma-systems/puma_rk3399/Kconfig"
160 source "board/vamrs/rock960_rk3399/Kconfig"
161
162 endif