Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 1 | if ROCKCHIP_RK3288 |
| 2 | |
Kever Yang | 06ff5fc | 2019-07-09 22:14:15 +0800 | [diff] [blame] | 3 | choice |
| 4 | prompt "RK3288 board select" |
| 5 | |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 6 | config TARGET_CHROMEBOOK_JERRY |
| 7 | bool "Google/Rockchip Veyron-Jerry Chromebook" |
Simon Glass | 88315f7 | 2020-07-19 13:55:57 -0600 | [diff] [blame] | 8 | select HAS_ROM |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 9 | select BOARD_LATE_INIT |
Simon Glass | 88315f7 | 2020-07-19 13:55:57 -0600 | [diff] [blame] | 10 | select ROCKCHIP_SPI_IMAGE |
Simon Glass | ec3be54 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 11 | help |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 12 | Jerry is a RK3288-based clamshell device with 2 USB 3.0 ports, |
| 13 | HDMI, an 11.9 inch EDP display, micro-SD card, touchpad and |
| 14 | WiFi. It includes a Chrome OS EC (Cortex-M3) to provide access to |
| 15 | the keyboard and battery functions. |
| 16 | |
| 17 | config TARGET_CHROMEBIT_MICKEY |
| 18 | bool "Google/Rockchip Veyron-Mickey Chromebit" |
Alper Nebi Yasak | a8ae948 | 2023-07-07 22:16:36 +0300 | [diff] [blame] | 19 | select HAS_ROM |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 20 | select BOARD_LATE_INIT |
Alper Nebi Yasak | a8ae948 | 2023-07-07 22:16:36 +0300 | [diff] [blame] | 21 | select ROCKCHIP_SPI_IMAGE |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 22 | help |
| 23 | Mickey is a small RK3288-based device with one USB 3.0 port, HDMI |
| 24 | and WiFi. It has a separate power port and is designed to connect |
| 25 | to the HDMI input of a monitor or TV. It has no internal battery. |
| 26 | Typically a USB hub or wireless keyboard/touchpad is used to get |
| 27 | keyboard and mouse access. |
| 28 | |
| 29 | config TARGET_CHROMEBOOK_MINNIE |
| 30 | bool "Google/Rockchip Veyron-Minnie Chromebook" |
Alper Nebi Yasak | a8ae948 | 2023-07-07 22:16:36 +0300 | [diff] [blame] | 31 | select HAS_ROM |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 32 | select BOARD_LATE_INIT |
Alper Nebi Yasak | a8ae948 | 2023-07-07 22:16:36 +0300 | [diff] [blame] | 33 | select ROCKCHIP_SPI_IMAGE |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 34 | help |
| 35 | Minnie is a RK3288-based convertible clamshell device with 2 USB 3.0 |
| 36 | ports, micro HDMI, a 10.1-inch 1280x800 EDP display, micro-SD card, |
| 37 | HD camera, touchpad, WiFi and Bluetooth. It includes a Chrome OS |
| 38 | EC (Cortex-M3) to provide access to the keyboard and battery |
| 39 | functions. It includes 2 or 4GB of SDRAM and 16 or 32GB of |
| 40 | internal MMC. The product name is ASUS Chromebook Flip. |
Simon Glass | ec3be54 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 41 | |
Marty E. Plummer | 2708698 | 2019-01-05 20:12:08 -0600 | [diff] [blame] | 42 | config TARGET_CHROMEBOOK_SPEEDY |
| 43 | bool "Google/Rockchip Veyron-Speedy Chromebook" |
Alper Nebi Yasak | a8ae948 | 2023-07-07 22:16:36 +0300 | [diff] [blame] | 44 | select HAS_ROM |
Marty E. Plummer | 2708698 | 2019-01-05 20:12:08 -0600 | [diff] [blame] | 45 | select BOARD_LATE_INIT |
Alper Nebi Yasak | a8ae948 | 2023-07-07 22:16:36 +0300 | [diff] [blame] | 46 | select ROCKCHIP_SPI_IMAGE |
Marty E. Plummer | 2708698 | 2019-01-05 20:12:08 -0600 | [diff] [blame] | 47 | help |
| 48 | Speedy is a RK3288-based clamshell device with 2 USB 2.0 ports, |
| 49 | micro HDMI, an 11.6 inch display, micro-SD card, |
| 50 | HD camera, touchpad, wifi and Bluetooth. It includes a Chrome OS |
| 51 | EC (Cortex-M3) to provide access to the keyboard and battery |
| 52 | functions. It includes 2 or 4GB of SDRAM and 16GB of internal MMC. |
| 53 | The product name is Asus Chromebook C201PA. |
| 54 | |
Xu Ziyuan | 3da09a8 | 2016-07-05 18:06:30 +0800 | [diff] [blame] | 55 | config TARGET_EVB_RK3288 |
| 56 | bool "Evb-RK3288" |
Simon Glass | 6a50cd1 | 2020-07-19 13:56:12 -0600 | [diff] [blame] | 57 | select HAS_ROM |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 58 | select BOARD_LATE_INIT |
Kever Yang | 6979acf | 2019-07-09 21:58:46 +0800 | [diff] [blame] | 59 | select TPL |
Xu Ziyuan | 3da09a8 | 2016-07-05 18:06:30 +0800 | [diff] [blame] | 60 | help |
| 61 | EVB-RK3288 is a RK3288-based development board with 2 USB ports, |
| 62 | HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It |
| 63 | also includes on-board eMMC and 2GB of SDRAM. Expansion connectors |
| 64 | provide access to display pins, I2C, SPI, UART and GPIOs. |
| 65 | |
jk.kernel@gmail.com | b1aeb09 | 2016-07-26 18:28:29 +0800 | [diff] [blame] | 66 | config TARGET_FENNEC_RK3288 |
| 67 | bool "Fennec-RK3288" |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 68 | select BOARD_LATE_INIT |
jk.kernel@gmail.com | b1aeb09 | 2016-07-26 18:28:29 +0800 | [diff] [blame] | 69 | help |
| 70 | Fennec is a RK3288-based development board with 2 USB ports, |
| 71 | HDMI, micro-SD card, audio, WiFi and Gigabit Ethernet. It also |
| 72 | includes on-board eMMC and 2GB of SDRAM. Expansion connectors |
| 73 | provide access to display pins, I2C, SPI, UART and GPIOs. |
| 74 | |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 75 | config TARGET_FIREFLY_RK3288 |
| 76 | bool "Firefly-RK3288" |
| 77 | select BOARD_LATE_INIT |
Kever Yang | ca09f9a | 2019-07-22 19:59:24 +0800 | [diff] [blame] | 78 | select SPL_BOARD_INIT if SPL |
Kever Yang | 89d0884 | 2019-10-16 16:50:03 +0800 | [diff] [blame] | 79 | select TPL |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 80 | help |
| 81 | Firefly is a RK3288-based development board with 2 USB ports, |
| 82 | HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It |
| 83 | also includes on-board eMMC and 1GB of SDRAM. Expansion connectors |
| 84 | provide access to display pins, I2C, SPI, UART and GPIOs. |
| 85 | |
Jernej Skrabec | 971e53a | 2017-03-30 01:23:14 +0200 | [diff] [blame] | 86 | config TARGET_MIQI_RK3288 |
| 87 | bool "MiQi-RK3288" |
| 88 | select BOARD_LATE_INIT |
| 89 | help |
| 90 | MiQi-RK3288 is a RK3288-based development board with 4 USB 2.0 |
| 91 | ports, HDMI, micro-SD card, 16 GB eMMC and Gigabit Ethernet. It |
| 92 | has 1 or 2 GiB SDRAM. Expansion connectors provide access to |
| 93 | I2C, SPI, UART, GPIOs and fan control. |
| 94 | |
Wadim Egorov | 6ee2d01 | 2017-06-19 12:36:40 +0200 | [diff] [blame] | 95 | config TARGET_PHYCORE_RK3288 |
| 96 | bool "phyCORE-RK3288" |
| 97 | select BOARD_LATE_INIT |
| 98 | help |
| 99 | Add basic support for the PCM-947 carrier board, a RK3288 based |
| 100 | development board made by PHYTEC. This board works in a combination |
| 101 | with the phyCORE-RK3288 System on Module. |
| 102 | |
jk.kernel@gmail.com | 7a614ac | 2016-07-26 18:28:30 +0800 | [diff] [blame] | 103 | config TARGET_POPMETAL_RK3288 |
| 104 | bool "PopMetal-RK3288" |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 105 | select BOARD_LATE_INIT |
jk.kernel@gmail.com | 7a614ac | 2016-07-26 18:28:30 +0800 | [diff] [blame] | 106 | help |
| 107 | PopMetal is a RK3288-based development board with 3 USB host ports, |
| 108 | 1 micro USB OTG port, HDMI, VGA, micro-SD card, audio, WiFi, Gigabit |
| 109 | Ethernet and lots of sensors. It also includes on-board 8 GeMMC and |
| 110 | 2GB DDR3. Expansion connectors provide access to I2C, SPI, UART, |
| 111 | GPIOs and display interface. |
| 112 | |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 113 | config TARGET_VYASA_RK3288 |
| 114 | bool "Vyasa-RK3288" |
| 115 | select BOARD_LATE_INIT |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 116 | select TPL |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 117 | help |
| 118 | Vyasa is a RK3288-based development board with 2 USB ports, |
| 119 | HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It |
| 120 | also includes on-board eMMC and 2GB of SDRAM. Expansion connectors |
| 121 | provide access to display pins, I2C, SPI, UART and GPIOs. |
| 122 | |
Simon Glass | e513abb | 2016-01-21 19:45:24 -0700 | [diff] [blame] | 123 | config TARGET_ROCK2 |
| 124 | bool "Radxa Rock 2" |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 125 | select BOARD_LATE_INIT |
Simon Glass | e513abb | 2016-01-21 19:45:24 -0700 | [diff] [blame] | 126 | help |
| 127 | Rock 2 is a SOM and base-board combination based on RK3288. It |
| 128 | includes Ethernet, HDMI, 3 USB, micro-SD, audio, SATA, WiFi and |
| 129 | space for a real-time-clock battery. There is also an expansion |
| 130 | interface which provides access to many pins. |
| 131 | |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 132 | config TARGET_TINKER_RK3288 |
| 133 | bool "Tinker-RK3288" |
| 134 | select BOARD_LATE_INIT |
Kever Yang | 0b0ca12 | 2019-07-01 11:49:15 +0800 | [diff] [blame] | 135 | select TPL |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 136 | help |
| 137 | Tinker is a RK3288-based development board with 2 USB ports, HDMI, |
| 138 | micro-SD card, audio, Gigabit Ethernet. It also includes on-board |
| 139 | 8GB eMMC and 2GB of SDRAM. Expansion connectors provide access to |
| 140 | I2C, SPI, UART, GPIOs. |
| 141 | |
Kever Yang | 06ff5fc | 2019-07-09 22:14:15 +0800 | [diff] [blame] | 142 | endchoice |
| 143 | |
Simon Glass | 94906e4 | 2016-01-21 19:45:17 -0700 | [diff] [blame] | 144 | config ROCKCHIP_FAST_SPL |
| 145 | bool "Change the CPU to full speed in SPL" |
| 146 | depends on TARGET_CHROMEBOOK_JERRY |
| 147 | help |
| 148 | Some boards want to boot as fast as possible. We can increase the |
| 149 | CPU frequency in SPL if the power supply is configured to the correct |
| 150 | voltage. This option is only available on boards which support it |
| 151 | and have the required PMIC code. |
| 152 | |
Kever Yang | 70e558d | 2019-07-09 22:14:20 +0800 | [diff] [blame] | 153 | config ROCKCHIP_BOOT_MODE_REG |
| 154 | default 0xff730094 |
| 155 | |
Johan Jonker | f6fc895 | 2022-04-09 18:55:02 +0200 | [diff] [blame] | 156 | config ROCKCHIP_STIMER_BASE |
| 157 | default 0xff810020 |
| 158 | |
Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 159 | config SYS_SOC |
Kever Yang | 3a8dcfb | 2019-03-28 11:01:24 +0800 | [diff] [blame] | 160 | default "rk3288" |
Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 161 | |
huang lin | 2bf8111 | 2015-11-17 14:20:10 +0800 | [diff] [blame] | 162 | config SYS_MALLOC_F_LEN |
Kever Yang | 6e3a882 | 2019-07-09 22:14:22 +0800 | [diff] [blame] | 163 | default 0x2000 |
huang lin | 2bf8111 | 2015-11-17 14:20:10 +0800 | [diff] [blame] | 164 | |
Simon Glass | 284cb9c | 2021-07-10 21:14:31 -0600 | [diff] [blame] | 165 | config SPL_DRIVERS_MISC |
Simon Glass | d4c6180 | 2016-09-12 23:18:34 -0600 | [diff] [blame] | 166 | default y |
| 167 | |
Simon Glass | f2a8946 | 2016-09-12 23:18:41 -0600 | [diff] [blame] | 168 | config SPL_LIBCOMMON_SUPPORT |
| 169 | default y |
| 170 | |
Simon Glass | b16c92c | 2016-09-12 23:18:43 -0600 | [diff] [blame] | 171 | config SPL_LIBGENERIC_SUPPORT |
| 172 | default y |
| 173 | |
Simon Glass | f4d6039 | 2021-08-08 12:20:12 -0600 | [diff] [blame] | 174 | config SPL_SERIAL |
Simon Glass | e076d6f | 2016-09-12 23:18:56 -0600 | [diff] [blame] | 175 | default y |
| 176 | |
Kever Yang | 8081436 | 2019-07-09 22:14:17 +0800 | [diff] [blame] | 177 | config TPL_STACK |
| 178 | default 0xff718000 |
| 179 | |
| 180 | config TPL_TEXT_BASE |
| 181 | default 0xff704000 |
| 182 | |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 183 | source "board/amarula/vyasa-rk3288/Kconfig" |
| 184 | |
Xu Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 185 | source "board/chipspark/popmetal_rk3288/Kconfig" |
Simon Glass | 9d5d1cc | 2015-08-30 16:55:42 -0600 | [diff] [blame] | 186 | |
Simon Glass | ec3be54 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 187 | source "board/firefly/firefly-rk3288/Kconfig" |
| 188 | |
Simon Glass | ba8635d | 2016-11-13 14:22:10 -0700 | [diff] [blame] | 189 | source "board/google/veyron/Kconfig" |
Xu Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 190 | |
Jernej Skrabec | 971e53a | 2017-03-30 01:23:14 +0200 | [diff] [blame] | 191 | source "board/mqmaker/miqi_rk3288/Kconfig" |
| 192 | |
Wadim Egorov | 6ee2d01 | 2017-06-19 12:36:40 +0200 | [diff] [blame] | 193 | source "board/phytec/phycore_rk3288/Kconfig" |
| 194 | |
Simon Glass | e513abb | 2016-01-21 19:45:24 -0700 | [diff] [blame] | 195 | source "board/radxa/rock2/Kconfig" |
| 196 | |
jk.kernel@gmail.com | 01e0c34 | 2016-07-26 18:28:27 +0800 | [diff] [blame] | 197 | source "board/rockchip/evb_rk3288/Kconfig" |
Xu Ziyuan | 3da09a8 | 2016-07-05 18:06:30 +0800 | [diff] [blame] | 198 | |
Eddie Cai | 1e1a79f | 2017-01-18 11:03:54 +0800 | [diff] [blame] | 199 | source "board/rockchip/tinker_rk3288/Kconfig" |
jk.kernel@gmail.com | 7a614ac | 2016-07-26 18:28:30 +0800 | [diff] [blame] | 200 | |
Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 201 | endif |