File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 58
58
ODROID_C1 = "ODROID_C1"
59
59
ODROID_C1_PLUS = "ODROID_C1_PLUS"
60
60
ODROID_C2 = "ODROID_C2"
61
+ ODROID_N2 = "ODROID_N2"
61
62
62
63
FTDI_FT232H = "FT232H"
63
64
DRAGONBOARD_410C = "DRAGONBOARD_410C"
104
105
_ODROID_40_PIN_IDS = (
105
106
ODROID_C1 ,
106
107
ODROID_C1_PLUS ,
107
- ODROID_C2
108
+ ODROID_C2 ,
109
+ ODROID_N2
108
110
)
109
111
110
112
_BEAGLEBONE_IDS = (
@@ -319,6 +321,8 @@ def id(self):
319
321
board_id = ODROID_C1
320
322
elif chip_id == ap_chip .S905 :
321
323
board_id = ODROID_C2
324
+ elif chip_id == ap_chip .S922X :
325
+ board_id = ODROID_N2
322
326
elif chip_id == ap_chip .FT232H :
323
327
board_id = FTDI_FT232H
324
328
elif chip_id == ap_chip .APQ8016 :
Original file line number Diff line number Diff line change 11
11
SUN8I = "SUN8I"
12
12
S805 = "S805"
13
13
S905 = "S905"
14
+ S922X = "S922X"
14
15
SAMA5 = "SAMA5"
15
16
T210 = "T210"
16
17
T186 = "T186"
@@ -102,6 +103,8 @@ def _linux_id(self): # pylint: disable=too-many-branches
102
103
linux_id = IMX8MX
103
104
if compatible and 'odroid-c2' in compatible :
104
105
linux_id = S905
106
+ if compatible and 'amlogic, g12b' in compatible :
107
+ linux_id = S922X
105
108
106
109
elif hardware in ("BCM2708" , "BCM2709" , "BCM2835" ):
107
110
linux_id = BCM2XXX
@@ -113,6 +116,8 @@ def _linux_id(self): # pylint: disable=too-many-branches
113
116
linux_id = S805
114
117
elif "ODROID-C2" in hardware :
115
118
linux_id = S905
119
+ elif "ODROID-N2" in hardware :
120
+ linux_id = S922X
116
121
elif "SAMA5" in hardware :
117
122
linux_id = SAMA5
118
123
You can’t perform that action at this time.
0 commit comments