Kever Yang | 0d3d783 | 2016-07-19 21:16:59 +0800 | [diff] [blame] | 1 | if ROCKCHIP_RK3399 |
| 2 | |
| 3 | choice |
| 4 | prompt "RK3399 board select" |
| 5 | |
Peter Robinson | 6404bb6 | 2020-01-08 03:56:11 +0000 | [diff] [blame] | 6 | config TARGET_CHROMEBOOK_BOB |
| 7 | bool "Asus Flip C101PA Chromebook (RK3399)" |
Simon Glass | 8251e03 | 2020-07-19 13:55:58 -0600 | [diff] [blame] | 8 | select HAS_ROM |
| 9 | select ROCKCHIP_SPI_IMAGE |
Peter Robinson | 6404bb6 | 2020-01-08 03:56:11 +0000 | [diff] [blame] | 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 | |
Marty E. Plummer | b20a8dac | 2021-12-24 16:43:46 +0300 | [diff] [blame^] | 17 | config 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 Yang | 0d3d783 | 2016-07-19 21:16:59 +0800 | [diff] [blame] | 28 | config TARGET_EVB_RK3399 |
| 29 | bool "RK3399 evaluation board" |
| 30 | help |
Thomas Hebb | fd37f24 | 2019-11-13 18:18:03 -0800 | [diff] [blame] | 31 | 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 Yang | 0d3d783 | 2016-07-19 21:16:59 +0800 | [diff] [blame] | 34 | |
Peter Robinson | 6a349e7 | 2020-04-20 20:27:36 +0100 | [diff] [blame] | 35 | config 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 | |
Klaus Goger | 8103993 | 2017-04-07 19:13:38 +0200 | [diff] [blame] | 42 | config TARGET_PUMA_RK3399 |
| 43 | bool "Theobroma Systems RK3399-Q7 (Puma)" |
| 44 | help |
| 45 | The RK3399-Q7 (Puma) is a system-on-module (designed and |
| 46 | marketed by Theobroma Systems) featuring the Rockchip RK3399 |
| 47 | in a Qseven-compatible form-factor (running of a single 5V |
| 48 | supply and exposing its external interfaces on a MXM-230 |
| 49 | connector). |
| 50 | |
| 51 | Key features of the RK3399-Q7 include: |
| 52 | * on-module USB 3.0 hub (2x USB 3.0 host + 1x USB 2.0 host) |
| 53 | * USB 3.0 dual-role |
| 54 | * on-module Micrel KSZ9031 GbE PHY |
| 55 | * on-module eMMC (up to 256GB configurations available) |
| 56 | * on-module DDR3 (1GB, 2GB and 4GB configurations available) |
| 57 | * HDMI, eDP, MIPI-DSI, MIPI-DSI/CSI and MIPI-CSI |
| 58 | * SPI, I2C, I2S, UART, GPIO, ... |
| 59 | |
Manivannan Sadhasivam | 6f219a1 | 2018-09-28 00:32:59 +0530 | [diff] [blame] | 60 | config TARGET_ROCK960_RK3399 |
| 61 | bool "Vamrs Limited Rock960 board family" |
| 62 | help |
| 63 | Support for Rock960 board family by Vamrs Limited. This board |
| 64 | family consists of Rock960 (Consumer Edition) and Ficus |
| 65 | (Enterprise Edition) 96Boards. |
| 66 | |
| 67 | Common features implemented on both boards: |
| 68 | * Rockchip RK3399 SoC (2xCortex A72, 4xCortex A53, ARM Mali T860MP4) |
| 69 | * 16/32GB eMMC, uSD slot |
| 70 | * HDMI/DP/MIPI |
| 71 | * 20-pin low speed and 40-pin high speed expanders, 6 LED, 3 buttons |
| 72 | |
| 73 | Additional features of Rock960: |
| 74 | * 2GiB/4GiB LPDDR3 RAM |
| 75 | * 1x USB 3.0 type A, 1x USB 2.0 type A (host mode only), |
| 76 | 1x USB 3.0 type C OTG |
| 77 | |
| 78 | Additional features of Ficus: |
| 79 | * 2GiB/4GiB DDR3 RAM |
| 80 | * Ethernet |
| 81 | * Dual SATA |
| 82 | * 2x USB 3.0 type A, 2x USB 2.0 type A (host mode only), |
| 83 | 1x USB 3.0 type C OTG |
| 84 | |
Vasily Khoruzhick | da2f45a | 2019-11-09 11:24:50 -0800 | [diff] [blame] | 85 | config TARGET_ROCKPRO64_RK3399 |
| 86 | bool "Pine64 Rockpro64 board" |
| 87 | help |
| 88 | Rockro64 is SBC produced by Pine64. Key features: |
| 89 | |
| 90 | * Rockchip RK3399 |
| 91 | * 2/4GB Dual-Channel LPDDR3 |
| 92 | * SD card slot |
| 93 | * eMMC socket |
| 94 | * 128Mb SPI Flash |
| 95 | * Gigabit ethernet |
| 96 | * PCIe 4X slot |
| 97 | * WiFI/BT module socket |
| 98 | * HDMI In/Out, DP, MIPI DSI/CSI, eDP |
| 99 | * USB 3.0, 2.0 |
| 100 | * USB Type C power and data |
| 101 | * GPIO expansion ports |
| 102 | * DC 12V/2A |
| 103 | |
Suniel Mahesh | f1cd07b | 2020-02-03 19:20:04 +0530 | [diff] [blame] | 104 | config TARGET_ROC_PC_RK3399 |
| 105 | bool "Firefly ROC-RK3399-PC board" |
| 106 | help |
| 107 | ROC-RK3399-PC is SBC produced by Firefly. Key features: |
| 108 | |
| 109 | * Rockchip RK3399 |
| 110 | * 4GB Dual-Channel LPDDR4 64-bit |
| 111 | * SD card slot |
| 112 | * eMMC socket |
| 113 | * 16MB SPI Flash |
| 114 | * Gigabit ethernet |
| 115 | * PCIe |
| 116 | * HDMI In/Out, DP, MIPI DSI/CSI, eDP |
| 117 | * USB 3.0, 2.0 |
| 118 | * USB Type C power and data |
| 119 | * GPIO expansion ports |
| 120 | * wide voltage input(5V-15V), dual cell battery |
| 121 | * Wifi/BT accessible via expansion board M.2 |
| 122 | |
Kever Yang | 0d3d783 | 2016-07-19 21:16:59 +0800 | [diff] [blame] | 123 | endchoice |
| 124 | |
Kever Yang | 70e558d | 2019-07-09 22:14:20 +0800 | [diff] [blame] | 125 | config ROCKCHIP_BOOT_MODE_REG |
| 126 | default 0xff320300 |
| 127 | |
Kever Yang | 0d3d783 | 2016-07-19 21:16:59 +0800 | [diff] [blame] | 128 | config SYS_SOC |
Kever Yang | 3a8dcfb | 2019-03-28 11:01:24 +0800 | [diff] [blame] | 129 | default "rk3399" |
Kever Yang | 0d3d783 | 2016-07-19 21:16:59 +0800 | [diff] [blame] | 130 | |
| 131 | config SYS_MALLOC_F_LEN |
Kever Yang | df19770 | 2019-07-09 22:14:23 +0800 | [diff] [blame] | 132 | default 0x4000 |
Kever Yang | 0d3d783 | 2016-07-19 21:16:59 +0800 | [diff] [blame] | 133 | |
Kever Yang | 09583db | 2019-07-09 22:14:26 +0800 | [diff] [blame] | 134 | config SPL_LIBCOMMON_SUPPORT |
| 135 | default y |
| 136 | |
| 137 | config SPL_LIBGENERIC_SUPPORT |
| 138 | default y |
| 139 | |
Kever Yang | f781d10 | 2019-07-09 22:14:19 +0800 | [diff] [blame] | 140 | config TPL_LDSCRIPT |
| 141 | default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds" |
| 142 | |
| 143 | config TPL_MAX_SIZE |
| 144 | default 188416 |
| 145 | |
| 146 | config TPL_STACK |
| 147 | default 0xff8effff |
| 148 | |
| 149 | config TPL_TEXT_BASE |
| 150 | default 0xff8c2000 |
| 151 | |
Kever Yang | 133f85c | 2019-10-18 15:54:15 +0800 | [diff] [blame] | 152 | config SPL_STACK_R_ADDR |
| 153 | default 0x04000000 |
| 154 | |
Jagan Teki | e704301 | 2020-01-09 14:22:19 +0530 | [diff] [blame] | 155 | if BOOTCOUNT_LIMIT |
| 156 | |
| 157 | config BOOTCOUNT_BOOTLIMIT |
| 158 | default 3 |
| 159 | |
| 160 | config SYS_BOOTCOUNT_ADDR |
| 161 | default 0xff3100f0 # PMU_SYS_REG0 |
| 162 | |
| 163 | endif # BOOTCOUNT_LIMIT |
| 164 | |
Peter Robinson | 6404bb6 | 2020-01-08 03:56:11 +0000 | [diff] [blame] | 165 | source "board/firefly/roc-pc-rk3399/Kconfig" |
| 166 | source "board/google/gru/Kconfig" |
Peter Robinson | 6a349e7 | 2020-04-20 20:27:36 +0100 | [diff] [blame] | 167 | source "board/pine64/pinebook-pro-rk3399/Kconfig" |
Peter Robinson | 6404bb6 | 2020-01-08 03:56:11 +0000 | [diff] [blame] | 168 | source "board/pine64/rockpro64_rk3399/Kconfig" |
Kever Yang | 0d3d783 | 2016-07-19 21:16:59 +0800 | [diff] [blame] | 169 | source "board/rockchip/evb_rk3399/Kconfig" |
Klaus Goger | 8103993 | 2017-04-07 19:13:38 +0200 | [diff] [blame] | 170 | source "board/theobroma-systems/puma_rk3399/Kconfig" |
Manivannan Sadhasivam | 6f219a1 | 2018-09-28 00:32:59 +0530 | [diff] [blame] | 171 | source "board/vamrs/rock960_rk3399/Kconfig" |
Kever Yang | 0d3d783 | 2016-07-19 21:16:59 +0800 | [diff] [blame] | 172 | |
| 173 | endif |