Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions adafruit_platformdetect/chip.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@ def _linux_id(self) -> Optional[str]:
linux_id = chips.EXYNOS5422
if compatible and "cvitek,cv180x" in compatible:
linux_id = chips.CV1800B
if compatible and "xlnx,zynqmp" in compatible:
linux_id = chips.ZYNQMP
cpu_model = self.detector.get_cpuinfo_field("cpu model")

if cpu_model is not None:
Expand Down
1 change: 1 addition & 0 deletions adafruit_platformdetect/constants/chips.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
SUNRISE_X3 = "SUNRISE_X3"
SUNRISE_X5 = "SUNRISE_X5"
QCM6490 = "QCM6490"
ZYNQMP = "ZYNQMP"

BCM_RANGE = {"BCM2708", "BCM2709", "BCM2711", "BCM2712", "BCM2835", "BCM2837"}

Expand Down
Loading