File tree Expand file tree Collapse file tree 4 files changed +24
-2
lines changed Expand file tree Collapse file tree 4 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,14 @@ def id(self) -> Optional[str]:
154
154
elif chip_id == chips .RK3308 :
155
155
board_id = self ._rock_pi_id ()
156
156
elif chip_id == chips .RK3399 :
157
- board_id = self ._rock_pi_id () or self ._armbian_id () or self ._diet_pi_id ()
157
+ board_id = (
158
+ self ._rock_pi_id ()
159
+ or self ._armbian_id ()
160
+ or self ._diet_pi_id ()
161
+ or self ._asus_tinker_board_id ()
162
+ )
163
+ elif chip_id == chips .RK3399PRO :
164
+ board_id = self ._asus_tinker_board_id ()
158
165
elif chip_id == chips .RK3399_T :
159
166
board_id = self ._rock_pi_id () or self ._armbian_id ()
160
167
elif chip_id == chips .ATOM_X5_Z8350 :
@@ -614,6 +621,11 @@ def _asus_tinker_board_id(self) -> Optional[str]:
614
621
board = None
615
622
if board_value and "ASUS Tinker Board" in board_value :
616
623
board = boards .ASUS_TINKER_BOARD
624
+ if board_value and "ASUS TINKER BOARD 2" in board_value :
625
+ board = boards .ASUS_TINKER_BOARD_2
626
+ if board_value and "ASUS_TINKER_EDGE_R" in board_value :
627
+ board = boards .ASUS_TINKER_EDGE_R
628
+
617
629
return board
618
630
619
631
def _pcduino_board_id (self ) -> Optional [str ]:
Original file line number Diff line number Diff line change @@ -226,6 +226,9 @@ def _linux_id(self) -> Optional[str]:
226
226
if self .detector .check_dt_compatible_value ("radxa,rock-4c-plus" ):
227
227
return chips .RK3399_T
228
228
229
+ if self .detector .check_dt_compatible_value ("rockchip,rk3399pro" ):
230
+ return chips .RK3399PRO
231
+
229
232
if self .detector .check_dt_compatible_value ("rockchip,rk3399" ):
230
233
return chips .RK3399
231
234
Original file line number Diff line number Diff line change 35
35
36
36
# ASUS Tinker Boards
37
37
ASUS_TINKER_BOARD = "ASUS_TINKER_BOARD"
38
+ ASUS_TINKER_BOARD_2 = "ASUS_TINKER_BOARD_2"
39
+ ASUS_TINKER_EDGE_R = "ASUS_TINKER_EDGE_R"
38
40
39
41
# Clockwork Pi boards
40
42
CLOCKWORK_CPI3 = "CLOCKWORK_CPI3"
203
205
_KHADAS_40_PIN_IDS = (KHADAS_VIM3 ,)
204
206
205
207
# Asus Tinkerboard
206
- _ASUS_TINKER_BOARD_IDS = (ASUS_TINKER_BOARD ,)
208
+ _ASUS_TINKER_BOARD_IDS = (
209
+ ASUS_TINKER_BOARD ,
210
+ ASUS_TINKER_BOARD_2 ,
211
+ ASUS_TINKER_EDGE_R ,
212
+ )
207
213
208
214
# STM32MP1
209
215
_STM32MP1_IDS = (
Original file line number Diff line number Diff line change 55
55
RK3308 = "RK3308"
56
56
RK3399 = "RK3399"
57
57
RK3399_T = "RK3399_T"
58
+ RK3399PRO = "RK3399PRO"
58
59
RK3328 = "RK3328"
59
60
LPC4330 = "LPC4330"
60
61
RK3288 = "RK3288"
You can’t perform that action at this time.
0 commit comments