File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ def id(self) -> Optional[str]:
7777 board_id = self ._imx8mx_id ()
7878 elif chip_id == chips .IMX6ULL :
7979 board_id = self ._imx6ull_id ()
80+ elif chip_id == chips .S905Y2 :
81+ board_id = boards .RADXA_ZERO
8082 elif chip_id == chips .ESP8266 :
8183 board_id = boards .FEATHER_HUZZAH
8284 elif chip_id == chips .SAMD21 :
Original file line number Diff line number Diff line change @@ -167,6 +167,9 @@ def _linux_id(self) -> Optional[str]:
167167 # pylint: disable=too-many-return-statements
168168 """Attempt to detect the CPU on a computer running the Linux kernel."""
169169
170+ if self .detector .check_dt_compatible_value ("amlogic,g12a" ):
171+ return chips .S905Y2
172+
170173 if self .detector .check_dt_compatible_value ("sun8i-h3" ):
171174 return chips .H3
172175
Original file line number Diff line number Diff line change 147147PINEPHONE = "PINEPHONE"
148148SOPINE = "SOPINE"
149149
150+ RADXA_ZERO = "RADXA_ZERO"
151+
150152ROCK_PI_S = "ROCK_PI_S"
151153ROCK_PI_4 = "ROCK_PI_4"
152154ROCK_PI_X = "ROCK_PI_X"
Original file line number Diff line number Diff line change 1919S805 = "S805"
2020S905 = "S905"
2121S905X3 = "S905X3"
22+ S905Y2 = "S905Y2"
2223S922X = "S922X"
2324SAMA5 = "SAMA5"
2425T210 = "T210"
You can’t perform that action at this time.
0 commit comments