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 @@ -73,6 +73,8 @@ def id(self) -> Optional[str]:
73
73
board_id = self ._beaglebone_id ()
74
74
elif chip_id == chips .AM65XX :
75
75
board_id = self ._siemens_simatic_iot2000_id ()
76
+ elif chip_id == chips .AM67A :
77
+ board_id = self ._beagleyai_id ()
76
78
elif chip_id == chips .DRA74X :
77
79
board_id = self ._bbai_id ()
78
80
elif chip_id == chips .SUN4I :
@@ -342,6 +344,12 @@ def _beaglebone_id(self) -> Optional[str]:
342
344
return None
343
345
344
346
# pylint: enable=no-self-use
347
+ def _beagleyai_id (self ) -> Optional [str ]:
348
+ """Try to detect id of a BeagleY-AI board."""
349
+ board_value = self .detector .get_device_model ()
350
+ if "BeagleY-AI" in board_value :
351
+ return boards .BEAGLEY_AI
352
+ return None
345
353
346
354
def _bbai_id (self ) -> Optional [str ]:
347
355
"""Try to detect id of a Beaglebone AI related board."""
Original file line number Diff line number Diff line change @@ -183,6 +183,8 @@ def _linux_id(self) -> Optional[str]:
183
183
# pylint: disable=too-many-branches,too-many-statements
184
184
# pylint: disable=too-many-return-statements
185
185
"""Attempt to detect the CPU on a computer running the Linux kernel."""
186
+ if self .detector .check_dt_compatible_value ("beagle,am67a-beagley-ai" ):
187
+ return chips .AM67A
186
188
if self .detector .check_dt_compatible_value ("ti,am625" ):
187
189
return chips .AM625X
188
190
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 8
8
AM33XX = "AM33XX"
9
9
AM625X = "AM625X"
10
10
AM65XX = "AM65XX"
11
+ AM67A = "AM67A"
11
12
DRA74X = "DRA74X"
12
13
TDA4VM = "TDA4VM"
13
14
IMX6ULL = "IMX6ULL"
You can’t perform that action at this time.
0 commit comments