diff --git a/adafruit_platformdetect/board.py b/adafruit_platformdetect/board.py index 1133c6fe..0fe676ff 100644 --- a/adafruit_platformdetect/board.py +++ b/adafruit_platformdetect/board.py @@ -256,6 +256,8 @@ def _armbian_id(self): board = boards.ORANGE_PI_2 if board_value == "bananapim2zero": board = boards.BANANA_PI_M2_ZERO + if board_value == "orangepizeroplus2-h5": + board = boards.ORANGE_PI_ZERO_PLUS_2H5 return board diff --git a/adafruit_platformdetect/chip.py b/adafruit_platformdetect/chip.py index 52536c45..a4b3b750 100644 --- a/adafruit_platformdetect/chip.py +++ b/adafruit_platformdetect/chip.py @@ -153,6 +153,9 @@ def _linux_id(self): if self.detector.check_dt_compatible_value("sun50i-a64"): return chips.A64 + if self.detector.check_dt_compatible_value("sun50i-h5"): + return chips.H5 + if self.detector.check_dt_compatible_value("mediatek,mt8167"): return chips.MT8167