blob: e8c57843a38fe0d304d3adbc14d5dd1cd23d7c78 [file] [log] [blame]
Simon Glass2cffe662015-08-30 16:55:38 -06001if ROCKCHIP_RK3288
2
Kever Yang06ff5fc2019-07-09 22:14:15 +08003choice
4 prompt "RK3288 board select"
5
Jernej Skrabec3c6372d2017-03-30 01:23:13 +02006config TARGET_CHROMEBOOK_JERRY
7 bool "Google/Rockchip Veyron-Jerry Chromebook"
Simon Glass88315f72020-07-19 13:55:57 -06008 select HAS_ROM
Tom Rini22d567e2017-01-22 19:43:11 -05009 select BOARD_LATE_INIT
Simon Glass88315f72020-07-19 13:55:57 -060010 select ROCKCHIP_SPI_IMAGE
Simon Glassec3be542015-08-30 16:55:41 -060011 help
Jernej Skrabec3c6372d2017-03-30 01:23:13 +020012 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
17config TARGET_CHROMEBIT_MICKEY
18 bool "Google/Rockchip Veyron-Mickey Chromebit"
19 select BOARD_LATE_INIT
20 help
21 Mickey is a small RK3288-based device with one USB 3.0 port, HDMI
22 and WiFi. It has a separate power port and is designed to connect
23 to the HDMI input of a monitor or TV. It has no internal battery.
24 Typically a USB hub or wireless keyboard/touchpad is used to get
25 keyboard and mouse access.
26
27config TARGET_CHROMEBOOK_MINNIE
28 bool "Google/Rockchip Veyron-Minnie Chromebook"
29 select BOARD_LATE_INIT
30 help
31 Minnie is a RK3288-based convertible clamshell device with 2 USB 3.0
32 ports, micro HDMI, a 10.1-inch 1280x800 EDP display, micro-SD card,
33 HD camera, touchpad, WiFi and Bluetooth. It includes a Chrome OS
34 EC (Cortex-M3) to provide access to the keyboard and battery
35 functions. It includes 2 or 4GB of SDRAM and 16 or 32GB of
36 internal MMC. The product name is ASUS Chromebook Flip.
Simon Glassec3be542015-08-30 16:55:41 -060037
Marty E. Plummer27086982019-01-05 20:12:08 -060038config TARGET_CHROMEBOOK_SPEEDY
39 bool "Google/Rockchip Veyron-Speedy Chromebook"
40 select BOARD_LATE_INIT
41 help
42 Speedy is a RK3288-based clamshell device with 2 USB 2.0 ports,
43 micro HDMI, an 11.6 inch display, micro-SD card,
44 HD camera, touchpad, wifi and Bluetooth. It includes a Chrome OS
45 EC (Cortex-M3) to provide access to the keyboard and battery
46 functions. It includes 2 or 4GB of SDRAM and 16GB of internal MMC.
47 The product name is Asus Chromebook C201PA.
48
Xu Ziyuan3da09a82016-07-05 18:06:30 +080049config TARGET_EVB_RK3288
50 bool "Evb-RK3288"
Simon Glass6a50cd12020-07-19 13:56:12 -060051 select HAS_ROM
Tom Rini22d567e2017-01-22 19:43:11 -050052 select BOARD_LATE_INIT
Kever Yang6979acf2019-07-09 21:58:46 +080053 select TPL
Xu Ziyuan3da09a82016-07-05 18:06:30 +080054 help
55 EVB-RK3288 is a RK3288-based development board with 2 USB ports,
56 HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It
57 also includes on-board eMMC and 2GB of SDRAM. Expansion connectors
58 provide access to display pins, I2C, SPI, UART and GPIOs.
59
jk.kernel@gmail.comb1aeb092016-07-26 18:28:29 +080060config TARGET_FENNEC_RK3288
61 bool "Fennec-RK3288"
Tom Rini22d567e2017-01-22 19:43:11 -050062 select BOARD_LATE_INIT
jk.kernel@gmail.comb1aeb092016-07-26 18:28:29 +080063 help
64 Fennec is a RK3288-based development board with 2 USB ports,
65 HDMI, micro-SD card, audio, WiFi and Gigabit Ethernet. It also
66 includes on-board eMMC and 2GB of SDRAM. Expansion connectors
67 provide access to display pins, I2C, SPI, UART and GPIOs.
68
Jernej Skrabec3c6372d2017-03-30 01:23:13 +020069config TARGET_FIREFLY_RK3288
70 bool "Firefly-RK3288"
71 select BOARD_LATE_INIT
Kever Yangca09f9a2019-07-22 19:59:24 +080072 select SPL_BOARD_INIT if SPL
Kever Yang89d08842019-10-16 16:50:03 +080073 select TPL
Jernej Skrabec3c6372d2017-03-30 01:23:13 +020074 help
75 Firefly is a RK3288-based development board with 2 USB ports,
76 HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It
77 also includes on-board eMMC and 1GB of SDRAM. Expansion connectors
78 provide access to display pins, I2C, SPI, UART and GPIOs.
79
Jernej Skrabec971e53a2017-03-30 01:23:14 +020080config TARGET_MIQI_RK3288
81 bool "MiQi-RK3288"
82 select BOARD_LATE_INIT
83 help
84 MiQi-RK3288 is a RK3288-based development board with 4 USB 2.0
85 ports, HDMI, micro-SD card, 16 GB eMMC and Gigabit Ethernet. It
86 has 1 or 2 GiB SDRAM. Expansion connectors provide access to
87 I2C, SPI, UART, GPIOs and fan control.
88
Wadim Egorov6ee2d012017-06-19 12:36:40 +020089config TARGET_PHYCORE_RK3288
90 bool "phyCORE-RK3288"
91 select BOARD_LATE_INIT
Kever Yangb9c83542019-07-22 19:59:25 +080092 select SPL_BOARD_INIT if SPL
Wadim Egorov6ee2d012017-06-19 12:36:40 +020093 help
94 Add basic support for the PCM-947 carrier board, a RK3288 based
95 development board made by PHYTEC. This board works in a combination
96 with the phyCORE-RK3288 System on Module.
97
jk.kernel@gmail.com7a614ac2016-07-26 18:28:30 +080098config TARGET_POPMETAL_RK3288
99 bool "PopMetal-RK3288"
Tom Rini22d567e2017-01-22 19:43:11 -0500100 select BOARD_LATE_INIT
jk.kernel@gmail.com7a614ac2016-07-26 18:28:30 +0800101 help
102 PopMetal is a RK3288-based development board with 3 USB host ports,
103 1 micro USB OTG port, HDMI, VGA, micro-SD card, audio, WiFi, Gigabit
104 Ethernet and lots of sensors. It also includes on-board 8 GeMMC and
105 2GB DDR3. Expansion connectors provide access to I2C, SPI, UART,
106 GPIOs and display interface.
107
Jagan Teki59ea6182017-09-12 17:15:47 +0530108config TARGET_VYASA_RK3288
109 bool "Vyasa-RK3288"
110 select BOARD_LATE_INIT
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200111 select TPL
Jagan Teki59ea6182017-09-12 17:15:47 +0530112 help
113 Vyasa is a RK3288-based development board with 2 USB ports,
114 HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It
115 also includes on-board eMMC and 2GB of SDRAM. Expansion connectors
116 provide access to display pins, I2C, SPI, UART and GPIOs.
117
Simon Glasse513abb2016-01-21 19:45:24 -0700118config TARGET_ROCK2
119 bool "Radxa Rock 2"
Tom Rini22d567e2017-01-22 19:43:11 -0500120 select BOARD_LATE_INIT
Simon Glasse513abb2016-01-21 19:45:24 -0700121 help
122 Rock 2 is a SOM and base-board combination based on RK3288. It
123 includes Ethernet, HDMI, 3 USB, micro-SD, audio, SATA, WiFi and
124 space for a real-time-clock battery. There is also an expansion
125 interface which provides access to many pins.
126
Jernej Skrabec3c6372d2017-03-30 01:23:13 +0200127config TARGET_TINKER_RK3288
128 bool "Tinker-RK3288"
129 select BOARD_LATE_INIT
Kever Yang0b0ca122019-07-01 11:49:15 +0800130 select TPL
Jernej Skrabec3c6372d2017-03-30 01:23:13 +0200131 help
132 Tinker is a RK3288-based development board with 2 USB ports, HDMI,
133 micro-SD card, audio, Gigabit Ethernet. It also includes on-board
134 8GB eMMC and 2GB of SDRAM. Expansion connectors provide access to
135 I2C, SPI, UART, GPIOs.
136
Kever Yang06ff5fc2019-07-09 22:14:15 +0800137endchoice
138
Simon Glass94906e42016-01-21 19:45:17 -0700139config ROCKCHIP_FAST_SPL
140 bool "Change the CPU to full speed in SPL"
141 depends on TARGET_CHROMEBOOK_JERRY
142 help
143 Some boards want to boot as fast as possible. We can increase the
144 CPU frequency in SPL if the power supply is configured to the correct
145 voltage. This option is only available on boards which support it
146 and have the required PMIC code.
147
Kever Yang70e558d2019-07-09 22:14:20 +0800148config ROCKCHIP_BOOT_MODE_REG
149 default 0xff730094
150
Johan Jonkerf6fc8952022-04-09 18:55:02 +0200151config ROCKCHIP_STIMER_BASE
152 default 0xff810020
153
Simon Glass2cffe662015-08-30 16:55:38 -0600154config SYS_SOC
Kever Yang3a8dcfb2019-03-28 11:01:24 +0800155 default "rk3288"
Simon Glass2cffe662015-08-30 16:55:38 -0600156
huang lin2bf81112015-11-17 14:20:10 +0800157config SYS_MALLOC_F_LEN
Kever Yang6e3a8822019-07-09 22:14:22 +0800158 default 0x2000
huang lin2bf81112015-11-17 14:20:10 +0800159
Simon Glass284cb9c2021-07-10 21:14:31 -0600160config SPL_DRIVERS_MISC
Simon Glassd4c61802016-09-12 23:18:34 -0600161 default y
162
Simon Glassf2a89462016-09-12 23:18:41 -0600163config SPL_LIBCOMMON_SUPPORT
164 default y
165
Simon Glassb16c92c2016-09-12 23:18:43 -0600166config SPL_LIBGENERIC_SUPPORT
167 default y
168
Simon Glassf4d60392021-08-08 12:20:12 -0600169config SPL_SERIAL
Simon Glasse076d6f2016-09-12 23:18:56 -0600170 default y
171
Kever Yang4e33af42019-07-09 21:58:45 +0800172config TPL_LDSCRIPT
173 default "arch/arm/mach-rockchip/u-boot-tpl.lds"
174
Kever Yang80814362019-07-09 22:14:17 +0800175config TPL_STACK
176 default 0xff718000
177
178config TPL_TEXT_BASE
179 default 0xff704000
180
Jagan Teki59ea6182017-09-12 17:15:47 +0530181source "board/amarula/vyasa-rk3288/Kconfig"
182
Xu Ziyuan535b3dc2016-08-01 08:46:19 +0800183source "board/chipspark/popmetal_rk3288/Kconfig"
Simon Glass9d5d1cc2015-08-30 16:55:42 -0600184
Simon Glassec3be542015-08-30 16:55:41 -0600185source "board/firefly/firefly-rk3288/Kconfig"
186
Simon Glassba8635d2016-11-13 14:22:10 -0700187source "board/google/veyron/Kconfig"
Xu Ziyuan535b3dc2016-08-01 08:46:19 +0800188
Jernej Skrabec971e53a2017-03-30 01:23:14 +0200189source "board/mqmaker/miqi_rk3288/Kconfig"
190
Wadim Egorov6ee2d012017-06-19 12:36:40 +0200191source "board/phytec/phycore_rk3288/Kconfig"
192
Simon Glasse513abb2016-01-21 19:45:24 -0700193source "board/radxa/rock2/Kconfig"
194
jk.kernel@gmail.com01e0c342016-07-26 18:28:27 +0800195source "board/rockchip/evb_rk3288/Kconfig"
Xu Ziyuan3da09a82016-07-05 18:06:30 +0800196
Eddie Cai1e1a79f2017-01-18 11:03:54 +0800197source "board/rockchip/tinker_rk3288/Kconfig"
jk.kernel@gmail.com7a614ac2016-07-26 18:28:30 +0800198
Simon Glass2cffe662015-08-30 16:55:38 -0600199endif