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