# OpenIPC Wiki
[Table of Content](../README.md)
Board specific GPIO settings list
---------------------------------
### Anjoy / Anjvision boards
| Processor | IRCUT1 | IRCUT2 | IRSTATUS | LIGHT IR | LIGHT WHITE | RESET | I/O | USB_ENA | TESTED BOARDS | AUDIO OUTPUT |
|-------------|--------|--------|----------|----------|-------------|-------|-----|---------|------------------|-----------------|
| SSC30KQ | 23 | 24 | 25 | 60/59 | | 10 | | | MC-L12, MC-L12B | 9 |
| SSC335 | 78 | 79 | | 61/53 | | 66 | 52 | | [MS-J10](../en/device-ms-j10_ms-j10B-pinout.md), YM200J10 | 80 |
| SSC337 | 78 | 79 | | 61 | | 66 | 52 | | MC-F40, YM-J10D | |
| SSC337DE | 78 | 79 | | 61 | | 66 | | | MC500L8 | |
| SSC338Q | 23 | 24 | | 60 | 59 | 10 | | 8 | MC800S-V3 | 39 |
| SSC377 | 11 | 80 | | 9 | 13 | | | | MC-A42P-V1.1 | 12 |
| SSC378QE | 80 | 81 | 23 | 14 | 13 | 30 | | | MC800S5 | 54 |
| SSC378DE | 80 | 81 | 23 | 14 | 13 | 30 | | | MC-J86 | 54 |
```
Tested on SSC377D for /dev/ttyS2:
mux : devmem 0x1F2079B8 16 0x1000
```
MC-J86 (SSC378DE + SC850SL), read from the stock firmware V3.3.2.4 (2025-01-13):
- IR-cut: the stock kernel has a built-in `/dev/irled` driver ("IRLED driver v2.1 20230707 for mca81")
that requests gpio 80 (`PAD_SAR_GPIO1`, "IRCUT B") and 81 (`PAD_SAR_GPIO0`, "IRCUT A"), and gpio 23
(`PAD_PM_IRIN`) as the IR-detect input. It also cycles gpio 27 (`PAD_PM_GPIO1`, "wifi_pwr") low and
then high at boot. The bare MC-J86 board has no IR-cut filter and no IR LEDs, so these pins only
matter on cameras that fit them.
- The vendor GPIO table for this board (`libtools.so`, board id `0x68b`, shared with D400) lists
reset 30 (`PAD_PM_GPIO4`, input) and audio output 54 (`PAD_GPIO14`, speaker amplifier enable).
It also lists gpio 26 (`PAD_PM_GPIO0`, output) and gpio 33 (`PAD_PM_GPIO9`, input), whose use is not confirmed.
- Both lamps are PWM: white light on gpio 13 (`PAD_PWM0`, pwm0, set from the LED brightness setting)
and the second lamp, IR light as one owner reported, on gpio 14 (`PAD_PWM1`, pwm1). These pads work as PWM only after a pad-mux write,
which the stock `mainctrl` does at start on every SSC378DE board:
```
mux : devmem 0x1F207994 16 0x0011 # stock: riu_w 0x103C 0x65 0x0011 (PWM0 mode bit 0, PWM1 mode bit 4)
```
### Brovotech boards
| Processor | IRCUT1 | IRCUT2 | IRSTATUS| LIGHT IR | LIGHT WHITE | RESET | I/O | USB_ENA | TESTED BOARDS |
|-------------|--------|--------|---------|----------|-------------|-------|-----|---------|---------------------|
| HI3516CV100 | 18 | | 6 | | | | | | 600102005-BV-H0205 |
### CamHi / Xin boards
| Processor | IRCUT1 | IRCUT2 | IRSTATUS | IRCTL | LIGHT WHITE | USB_ENA | UART2_RTS/RS485_DE | UART2_RXD/RS485_RO | UART2_TXD/RS485_DI | AUDIO_ENA | RESET | PWM | SD_VCC | BOARD |
|-------------|--------|--------|----------|-------|-------------|---------|--------------------|--------------------|--------------------|-----------|-------|-----|--------|----------|
| Gk7205v200 | 14 | 15 | 8 | 4 | | 9i | 54 | 12 | 13 | 12 | 50 | | | 2M-M2103 |
| Gk7205v200 | 13 | 15 | 8 | 4 | | 9i | 54 | 12 | 13 | 12 | 50 | | | 2G-M3072 |
| Gk7205v300 | 10 | 11 | 8 | 72 | | 7i | | | | 52 | 42 |
| | | | | | | |
| Hi3516Cv100 | | | | | | |
| Hi3516Cv200 | | | | | | |
| Hi3516Cv300 | | | | | | |
| Hi3516Ev100 | | | | | | |
| Hi3516Ev200 | | | | | | 9i |
| Hi3516Ev300 | 10 | 11 | | | 4 | 7i | 63 | | | | 42 |
| Hi3518Ev100 | 43 | | 74 | | | |
| Hi3518Ev200 | 1 | 2 | 48 | | | |
| Hi3518Ev300 | | | | | | |
| | | | | | | |
| T31 | 58 | 57 | | 49 | | 61i | 53 | 55 | 56 | 63 | 11 | 50 | 62 |
> _i - inverted value_
```
Tested on GK7205V200 for /dev/ttyАМА1:
mux 12->UART2_RXD/RS485_RO: devmem 0x112c0070 32 2
mux 13->UART2_TXD/RS485_DI: devmem 0x112c0074 32 2
```
```
Tested on GK7205V300 for /dev/ttyАМА1:
mux 72->UART1_TXD: devmem 0x112c0078 32 1
mux 73->UART1_RXD: devmem 0x112c007c 32 1
```
### CCDCAM / Hankvision boards
| Processor | IRCUT1 | IRCUT2 | IRSTATUS | IRCTL | USB_ENA |AUDIO_ENA| Description |
|-------------|--------|--------|----------|-------|---------|---------|-------------|
| GK7205V200 | 68 | 70 | 9 | | | | |
| GK7205V200 | 50 | 51 | | | | |Old plastic domophone |
| GK7205V300 | 68 | 70 | 9 | | | 67 | |
> _Yes, it's amazing but it really matches on two Goke processors_
### GSA / EnZhi boards
| Processor | IRCUT1 | IRCUT2 | IRSTATUS | IRCTL | USB_ENA |
|-------------|--------|--------|----------|-------|---------|
| T31L | 58 | 57 | | 49 | |
### Herospeed/Longse/Cantonk boards
| Processor | IRCUT1 | IRCUT2 | IRSTATUS | IRCTL | ALM_IN | ALM_OUT | USB_ENA |
|-------------|--------|--------|----------|-------|--------|---------|---------|
| Gk7205v200 | 12 | 13 | | 4 | 15 | 14 | |
| | | | | | | | |
| Hi3516Cv100 | 18 | 19 |
| Hi3516Cv200 |
| Hi3516Dv100 | 3 | 4 | 85 |
| Hi3516Cv300 | 1 | 2 | 24 |
| Hi3518Ev200 | 65 | 64 | 63 |
| Hi3516Ev200 | 12 | 13 | | 4 |
| Hi3516Av300 | 5 | 6 |
### HiWatch
| Processor | IRCUT1 | IRCUT2 | IRCTL | DEVICE ID |
|-------------|--------|--------|-------|-----------|
| Hi3518Ev200 | 65 | 64 | 60 | DS-I103 |
### Huishi / Vatilon boards
| Processor | IRCUT1 | IRCUT2 | IRSTATUS | IRLED |
|-------------|--------|--------|----------|-------|
| SSC377 | 80 | 81 | | |
| SSC378DE | 80 | 81 | | 13 |
### Jabsco boards
| Processor | IRCUT1 | IRCUT2 | IRSTATUS |
|-------------|--------|--------|----------|
| Hi3516Ev200 | 52 | 53 | 9 |
### Jovision boards
| Processor | IRCUT1 | IRCUT2 | LIGHT | TESTED BOARDS |
|-------------|--------|--------|-------|------------------------------------|
| Hi3516Ev200 | 53 | 52 | 4 | |
| Hi3516Cv100 | 42 | 43 | 6 | IPG5020A-H-V1.0, 5013A-CF/5020A-FF |
### JUAN boards (Sannce)
| Processor | IRCUT1 | IRCUT2 | IRSTATUS | TESTED BOARDS | DEVICE ID |
|-------------|--------|--------|---------------|---------------|-----------|
| Hi3518Ev200 | 65 | 64 | 62 (inverted) | 18EV200_V205P | N18EV2W |
### JVT boards
| Processor | IRCUT1 | IRCUT2 | LIGHT | RESET | PWM | USB | NetAcct | NetLink | TESTED BOARDS |
|-------------|--------|--------|-------|-------|-----|-----|---------|---------|------------------|
| Hi3516Cv100 |
| Hi3516Cv200 | 64 | 65 | 62 |
| Hi3516Cv300 |
| Hi3516Ev200 |
| Hi3518Ev200 | 64 | 65 | 47 |
| GK7205v300 | 10 | 11 | | 9 | 3 | 61 | 41 | 40 |
### iSNATCH (HeySmart) mini "cube" camera
| Processor | IRCUT1 | IRCUT2 | IRSTATUS | IRLED | RESET |
|-------------|--------|--------|----------|----------|---------
| T10 | 25 | 26 | - | 19 | 60i |
### Netcam NVT boards
| Processor | IRCUT1 | IRCUT2 | IRSTATUS | IRLED | RED_LED | BOARD |
|-------------|--------|--------|----------|----------|---------|-----------------|
| T10 | 25 | 26 | | 19 | 20 | |
| T10 | 25 | 26 | 81 | 80 | | |
| T31L | 58 | 57 | | | | T31L_F37_V1.1 |
### Qihoo 360 Security cam D603
| Processor | IRCUT1 | IRCUT2 | IRSTATUS | IRLED | WIFI | LED |
|-------------|--------|--------|----------|----------|-------|-------|
| T20 | 25 | 26 | - | 61 | 62 | 82 |
### Rostelecom IPC2122SR3-RU04
| Processor | IRCUT1 | IRCUT2 |
|-------------|--------|--------|
| Hi3516Cv300 | 58 | 59 |
### Rotek Switcam E200/T200 JXF23 sensor
| Processor | IRCUT1 | IRCUT2 | IRSTATUS |
|-------------|--------|--------|----------|
| Hi3518Ev200 | 63 | 64 | 65 |
### SJG boards
| Processor | IRCUT1 | IRCUT2 | IRSTATUS | BOARD |
|-------------|--------|--------|---------------|---------------------------|
| Hi3518Ev200 | 64 | | 62 (inverted) | SJG_HI38_GW2M02_V1.3 |
> For the `SC2135` sensor on the `SJG_HI38_GW2M02_V1.3` board, it was necessary to change the `ComMsk0` mask from `fff0000` to `3ff0000` in the sensor configuration (`/etc/sensors/sc2135_i2c_1080p.ini`) to eliminate the pink tint of the picture in daytime mode.
### Tenda CT6/KCT6
| Processor | IRCUT1 | IRCUT2 | LIGHT IR | LIGHT WHITE | RESET | BLUE_LED | RED_LED | AUDIO OUTPUT |
|-------------|--------|--------|----------|-------------|-------|----------|---------|--------------|
| hi3516Ev200 | 8 | 15 | 12 | 14 | 0 | 4 | 13 | 51 |
### Tiandy boards
| Processor | MODEL | IRCUT1 | IRCUT2 | IRSTATUS | IRCTL | RESET |
|-------------|----------|--------|--------|----------|-------|-------|
| SSC335 | | 78 | 79 | --- | 37 | |
| GK7205V210 | TC-C32QN | 52 | 54 | --- | 4 | |
### Uniview boards
| Processor | IRCUT1 | IRCUT2 | RESET | IRCTL | IRLED | WiFi | RED LED | AUDIO OUTPUT | SD | DEVICE ID |
|-------------|--------|--------|-------|-------|-------|------|---------|--------------|----|---------------------------------------------------|
| Hi3516Ev300 | 63 | 67 | 64 | | 72 | 7 | 10 | 28 | 38 | Rostelecom IPC8232SWC-WE |
| SSC335DE | 61 | 79 | | 4 | | | | | | Rostelecom IPC8232SWC-WE-B, C1L-2WN-G |
| SSC335 | 61 | 79 | | | 76 | | | | | Uniarch UV-IPC-D122-PF28, Uniarch IPC-B122-APF28K |
### Uniojo
| Processor | IRCUT1 | IRCUT2 | IRSTATUS | USB_ENA | TESTED BOARDS |
|-------------|--------|--------|---------------|---------|---------------|
| Hi3518Ev200 | 2 | | 62 (inverted) | 54 | T5826HCA-M01 |
> Note: Single-pin IR-cut filter and IR LEDs on GPIO 2. GPIO 62 pin multiplexer register `0x200f00f8` must be set to `1` (`devmem 0x200f00f8 32 1`) to enable digital GPIO input mode for the daylight photodiode sensor. GPIO 54 powers the USB Wi-Fi module (RTL8188FU). See [Uniojo T5826HCA-M01](device-uniojo-t5826hca.md).
### Wansview
| Processor | IRCUT1 | IRCUT2 | IR LEDs | RESET | ETH_GR_BL | ETH_ORANGE| DEVICE ID |
|-------------|--------|--------|---------|-------|-----------|-----------|-----------------------------|
| T21 | 80 | 79 | 49 | 50 | 73 | 72 | Wansview W5/W6/Q5(1080p) |
### Xiaomi boards
| Processor | IRCUT1 | IRCUT2 | IR LEDs | DEVICE ID | ORANGE_LED | BLUE_LED | RESET | AUDIO_ENA |
|-------------|--------|--------|---------|---------------|------------|----------|-------|-----------|
| SSC325 | 78 | 79 | 52 | CMSXJ25A | | | | |
| Hi3518Ev300 | 70 | 68 | 54 | MJSXJ02HL | 52 | 53 | 0 | 55 |
| T31N | 49 | 50 | 60 | MJSXJ03HL | 38 | 39 | | |
### XiongMai, XM boards
| Board | Processor | IRCUT1 | IRCUT2 | IRSTATUS | IRCTL | ALM_IN | ALM_OUT | ETH_ACT | ETH_STA | RESET | USB_ENA | AUDIO_POW | RS485_CTL | W_LED | NOTES |
|--------------------------------------------------------------------------------------------------------------|-----------------|--------|--------|----------|-------|--------|---------|---------|---------|-------|---------|-----------|-----------|-------|-------|
| | GK7205V200 | 8 | 9 | 15 | 16 | 4, 53 | 55 | 14 | 12 | 0 | | 40 |
| | GK7205V210 | 8 | 9 | 15 | 16 | 4, 53 | 55 | 14 | 12 | 0 | | 40/53 |
| | GK7205V300 | 11 | 10 | 66 | 52 | 4 | | 30 | 31 | 0 | | 60 | 24 |
| IPC_GK7205V300_G6S [^3] | GK7205V300 | 11 | 10 | 65 | 52 | | | 30 | 31 | 67 | | 64/65 | 24 | 4 | |
| | GK7605V100 | 10 | 11 | 66 | 52 | 4 | | 30 | 31 | 0 | | 60 | 24 |
| | | | | | | | | | | | |
| [IPG-80H20PS-S](https://www.xiongmaitech.com/en/index.php/product/product-detail/3/176/301) | Hi3516Cv100 | 54 | 53 | 64 | | | | | | | |
| | Hi3516Cv100 | 38 | 39 | 24 | | 49 | 26 | | | | |
| HI3516D_N81820 [^1] | Hi3516Dv100 | 14 | 15 | 3 | | | | | | | |
| IPC_HI3516D_83H20 [^2] | Hi3516Dv100 | 121 | 120 | 3 | | | | | | | |
| | Hi3516Cv200 | | | | | | | | | | |
| | Hi3516Cv300 | 53 | 54 | 64 | 66 | 55 | 1 | | | 2 | 63 |
| | Hi3516Ev100 | 53 | 54 | 64 | | | | | | | |
| | Hi3516Ev200 | 8 | 9 | 15 | 16 | 4, 53 | 55 | 14 | 12 | 0 | |
| | Hi3516Ev300 | 11 | 10 | 66 | 52 | 4, 67 | 65 | 30 | 31 | 0 | |
| | Hi3518Ev100 | 39 | 38 | 24 | | 49 | 26 | | | | |
| | Hi3518Ev200 | 33 | 34 | 24 | | 61 | 35 | | | | | 3 | | | IPG-50HV20PET-S |
| 50H20L | Hi3518Ev300 | 8 | | 55 | | 13 | | | | 15 | | 3
| | | | | | | | | | | | |
| IVG-N8S | NT98566 | 225 | 226 | 233 | 232 | | | | | | | 132 | | 231 | |
> There is a map between table's columns and parameters in `nightMode` section in `majestic.yaml`
> IRCUT1 is an irCutPin1
> IRCUT2 is an irCutPin2
> IRCTL is a backlightPin
> IRSTATUS is a lightSensorPin
**A pad marked inverted has a setting, not a workaround.** Where a board holds a
pad LOW for the active state, say so in the configuration rather than rewiring:
`nightMode.backlightInvert` for the lamp, `nightMode.lightSensorInvert` for the
daylight sensor, `nightMode.irCutSingleInvert` for a filter driven from a single
pad. Boards whose lamp is active-low otherwise light the illuminator all day and
switch it off at nightfall. The IRCUT **pair** needs none of this — see below.
**The two IRCUT pads are one H-bridge, and their order matters.** They are not
independent switches: which of them is driven high while the other is held low is
what decides whether the filter closes or opens, so a swapped pair gives you a
correctly-moving filter that is pink in daylight. **Settings → Day / Night** has
a **Test the filter** button that moves it and reports "wired correctly", "wired
backwards" or "stuck" — quicker than reasoning about it, and it does not require
waiting for nightfall. See [How an IR-cut filter is driven](ircut-filter.md).
**This table is read by software as well as by people.** The filter hunt on
**Settings → Pins** tries the pairs recorded here before anything else, so a
board listed below is normally found within seconds while an unlisted one falls
back to a much longer sweep. Adding a board here helps the next person twice
over.
**If your board is not here, the camera can work it out.** That is what
[Finding out what a pin is wired to](finding-a-gpio.md) is for: it covers the
hunt for the filter pair, the hunt for everything else — a wireless card, a card
slot, a second network port — what the camera refuses to drive and why, and how
to recover when a pad does take it down.
[^1]: 00014914 firmware
[^2]: 00014911 firmware
[^3]: 000699Q3 firmware
```
Tested on GK7205V300 for /dev/ttyАМА1:
devmem 0x100c0010 32 0x2
devmem 0x112c0074 32 0x2
```
```
Novatek gpio
group 0 mean C_gpio? froup 7 mean DSI_gpio, so GPIO7_2 mean 0xE0+2 = gpio226
C_GPIO_BASE=0x00
P_GPIO_BASE=0x20
S_GPIO_BASE=0x40
L_GPIO_BASE=0x60
D_GPIO_BASE=0x80
H_GPIO_BASE=0xA0
A_GPIO_BASE=0xC0
DSI_GPIO_BASE=0xE0
```
### Zenotech/Videopark
| Processor | IRCUT1 | IRCUT2 | IRLED | DEVICE ID |
|-------------|--------|--------|-------|--------------------------|
| GK7205V200 | 58 | 59 | 8 | ZN-CM-GK200S1L-P |
| | | | | |
| Hi3516Ev300 | 14 | 12 | | ZN-CM-HSC500S1L-PZ |
| Hi3516Ev300 | 40 | 41 | 65 | unknown |
| GK7205V510 | 10 | 11 | PWM8/9| NC-IPTC2200_DL (4G PTZ) |
#### GK7205V510 — NC-IPTC2200_DL_4G (4G PTZ dome)
GK7205V510 is firmware-compatible with the `gk7205v500` family. Full GPIO map read
from the vendor `/proc/devcfg` (active level in parentheses):
| Function | GPIO / PWM | Notes |
|----------------------------|-----------------|------------------------------------------|
| Pan (roll) stepper coil | 3, 4, 72, 73 | 4-wire half-step, HW timer 2 |
| Tilt (pitch) stepper coil | 69, 59, 58, 57 | 4-wire half-step, HW timer 3 |
| IRCUT1 / IRCUT2 | 10 / 11 (high) | dual-pin ICR |
| IR LED (SmartIR) | PWM8 / PWM9 | PWM, period 60000 ns — not a plain GPIO |
| LED white / LED red | 52 / 53 (high) | |
| Reset button | 64 (low) | |
| Audio amp / speaker enable | 28 (high) | |
| SD/MMC power | 38 (low) | |
| Sensor power-down | 50 (low) | |
| Ethernet PHY reset | 23 (low) | |
| 4G modem power-supply | 22 (high) | |
| 4G modem power-on / key | 29 (low) | |
| 4G modem reset | 30 (high) | |
| 4G modem VBUS control | 20 (high) | |
| UART1 RX / TX (RS485) | 61 / 60 | `/dev/ttyAMA1`, pinmux value 1 |
PTZ via OpenIPC `gpio-motors`: `fw_setenv gpio_motors '3 4 72 73 69 59 58 57'`
(first four = pan/horizontal coil, last four = tilt/vertical coil).
> Note: the pan coil uses GPIO 72/73, which live in bank 9 (`gpio_chip9@0x120b9000`,
> base 72). That node is `status = "disabled"` in the goke DTS — enable it
> (`&gpio_chip9 { status = "okay"; };`) or the pan motor cannot be driven via gpiolib.
### Zosi
| Processor | IRCUT1 | IRCUT2 | IRSTATUS | DEVICE ID |
|-------------|--------|--------|--------------|---------------|
| Hi3518Ev200 | 61 | 60 | 1 (inverted) | ZG2622MW |
---
Once you know a board's numbers, put them where the camera will read them — on
**Settings → Pins** and **Settings → Day / Night** for one camera, or in a device
profile so every unit of the model comes up knowing them. Both routes:
[Telling a camera about its own hardware](per-device-settings.md).