File tree 4 files changed +13
-0
lines changed
4 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,8 @@ def id(self) -> Optional[str]:
71
71
board_id = self ._beaglebone_id ()
72
72
elif chip_id == chips .AM65XX :
73
73
board_id = self ._siemens_simatic_iot2000_id ()
74
+ elif chip_id == chips .AM67A :
75
+ board_id = self ._beagleyai_id ()
74
76
elif chip_id == chips .DRA74X :
75
77
board_id = self ._bbai_id ()
76
78
elif chip_id == chips .SUN4I :
@@ -340,6 +342,12 @@ def _beaglebone_id(self) -> Optional[str]:
340
342
return None
341
343
342
344
# pylint: enable=no-self-use
345
+ def _beagleyai_id (self ) -> Optional [str ]:
346
+ """Try to detect id of a BeagleY-AI board."""
347
+ board_value = self .detector .get_device_model ()
348
+ if "BeagleY-AI" in board_value :
349
+ return boards .BEAGLEY_AI
350
+ return None
343
351
344
352
def _bbai_id (self ) -> Optional [str ]:
345
353
"""Try to detect id of a Beaglebone AI related board."""
Original file line number Diff line number Diff line change @@ -179,6 +179,8 @@ def _linux_id(self) -> Optional[str]:
179
179
# pylint: disable=too-many-branches,too-many-statements
180
180
# pylint: disable=too-many-return-statements
181
181
"""Attempt to detect the CPU on a computer running the Linux kernel."""
182
+ if self .detector .check_dt_compatible_value ("beagle,am67a-beagley-ai" ):
183
+ return chips .AM67A
182
184
if self .detector .check_dt_compatible_value ("ti,am625" ):
183
185
return chips .AM625X
184
186
if self .detector .check_dt_compatible_value ("ti,am654" ):
Original file line number Diff line number Diff line change 21
21
BEAGLEBONE_AI = "BEAGLEBONE_AI"
22
22
BEAGLEBONE_POCKETBONE = "BEAGLEBONE_POCKETBONE"
23
23
BEAGLEV_STARLIGHT = "BEAGLEV_STARLIGHT"
24
+ BEAGLEY_AI = "BEAGLEY_AI"
24
25
BEAGLELOGIC_STANDALONE = "BEAGLELOGIC_STANDALONE"
25
26
OSD3358_DEV_BOARD = "OSD3358_DEV_BOARD"
26
27
OSD3358_SM_RED = "OSD3358_SM_RED"
420
421
_ODROID_MINI_PC_IDS = (ODROID_H3 ,)
421
422
422
423
_BEAGLEBONE_IDS = (
424
+ BEAGLEY_AI ,
423
425
BEAGLE_PLAY ,
424
426
BEAGLEBONE_AI64 ,
425
427
BEAGLEBONE ,
Original file line number Diff line number Diff line change 7
7
AM33XX = "AM33XX"
8
8
AM625X = "AM625X"
9
9
AM65XX = "AM65XX"
10
+ AM67A = "AM67A"
10
11
DRA74X = "DRA74X"
11
12
TDA4VM = "TDA4VM"
12
13
IMX6ULL = "IMX6ULL"
You can’t perform that action at this time.
0 commit comments