diff --git a/adafruit_platformdetect/chip.py b/adafruit_platformdetect/chip.py index deb33717..3373a1ef 100644 --- a/adafruit_platformdetect/chip.py +++ b/adafruit_platformdetect/chip.py @@ -150,6 +150,9 @@ def _linux_id(self): if self.detector.check_dt_compatible_value("st,stm32mp157"): return chips.STM32MP157 + if self.detector.check_dt_compatible_value("sun50i-a64"): + return chips.A64 + linux_id = None hardware = self.detector.get_cpuinfo_field("Hardware") @@ -237,8 +240,6 @@ def _linux_id(self): linux_id = chips.SAMA5 elif "Pinebook" in hardware: linux_id = chips.A64 - elif "sun50iw1p1" in hardware: - linux_id = chips.A64 elif "ASUS_TINKER_BOARD" in hardware: linux_id = chips.RK3288 elif "Xilinx Zynq" in hardware: