Add support for Tinker Board 2 and Tinker Edge R
This commit is contained in:
parent
9082e332cb
commit
e7ddeac4e8
4 changed files with 17 additions and 1 deletions
|
|
@ -614,6 +614,12 @@ class Board:
|
|||
board = None
|
||||
if board_value and "ASUS Tinker Board" in board_value:
|
||||
board = boards.ASUS_TINKER_BOARD
|
||||
if board_value and "ASUS TINKER BOARD 2" in board_value:
|
||||
board = boards.ASUS_TINKER_BOARD_2
|
||||
if board_value and "ASUS_TINKER_EDGE_R" in board_value:
|
||||
board = boards.ASUS_TINKER_EDGE_R
|
||||
|
||||
print("board: {}".format(board))
|
||||
return board
|
||||
|
||||
def _pcduino_board_id(self) -> Optional[str]:
|
||||
|
|
|
|||
|
|
@ -226,6 +226,9 @@ class Chip:
|
|||
if self.detector.check_dt_compatible_value("radxa,rock-4c-plus"):
|
||||
return chips.RK3399_T
|
||||
|
||||
if self.detector.check_dt_compatible_value("rockchip,rk3399pro"):
|
||||
return chips.RK3399PRO
|
||||
|
||||
if self.detector.check_dt_compatible_value("rockchip,rk3399"):
|
||||
return chips.RK3399
|
||||
|
||||
|
|
|
|||
|
|
@ -35,6 +35,8 @@ GIANT_BOARD = "GIANT_BOARD"
|
|||
|
||||
# ASUS Tinker Boards
|
||||
ASUS_TINKER_BOARD = "ASUS_TINKER_BOARD"
|
||||
ASUS_TINKER_BOARD_2 = "ASUS_TINKER_BOARD_2"
|
||||
ASUS_TINKER_EDGE_R = "ASUS_TINKER_EDGE_R"
|
||||
|
||||
# Clockwork Pi boards
|
||||
CLOCKWORK_CPI3 = "CLOCKWORK_CPI3"
|
||||
|
|
@ -203,7 +205,11 @@ KHADAS_VIM3 = "KHADAS_VIM3"
|
|||
_KHADAS_40_PIN_IDS = (KHADAS_VIM3,)
|
||||
|
||||
# Asus Tinkerboard
|
||||
_ASUS_TINKER_BOARD_IDS = (ASUS_TINKER_BOARD,)
|
||||
_ASUS_TINKER_BOARD_IDS = (
|
||||
ASUS_TINKER_BOARD,
|
||||
ASUS_TINKER_BOARD_2,
|
||||
ASUS_TINKER_EDGE_R
|
||||
)
|
||||
|
||||
# STM32MP1
|
||||
_STM32MP1_IDS = (
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ H616 = "H616"
|
|||
RK3308 = "RK3308"
|
||||
RK3399 = "RK3399"
|
||||
RK3399_T = "RK3399_T"
|
||||
RK3399PRO = "RK3399PRO"
|
||||
RK3328 = "RK3328"
|
||||
LPC4330 = "LPC4330"
|
||||
RK3288 = "RK3288"
|
||||
|
|
|
|||
Loading…
Reference in a new issue