Add pi4 and pi4B boards to orangepi_gpio (#19982)

Co-authored-by: Pascal Roeleven <pascal.roeleven@hotmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
drizzle1 2021-10-27 16:00:36 +02:00 committed by GitHub
parent a97fd0076a
commit f3c2a84f33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,6 +79,8 @@ As this platform supports different types of GPIO pinouts for difference Orange
| `zeroplus2` | Supports the Orange Pi Zero Plus 2 | | `zeroplus2` | Supports the Orange Pi Zero Plus 2 |
| `duo` | Supports the NanoPi Duo | | `duo` | Supports the NanoPi Duo |
| `neocore2` | Supports the NanoPi Neocore 2 | | `neocore2` | Supports the NanoPi Neocore 2 |
| `pi4` | Supports the Orange pi 4 |
| `pi4B` | Supports the Orange pi 4B |
## Additional steps ## Additional steps
@ -102,6 +104,8 @@ This integration uses interrupts to catch changes on your pins. However, it depe
You can find the pinouts of all the supported Orange Pi devices [here](https://pascalroeleven.nl/2020/04/13/orange-pi-gpio-pinouts/). The pinouts for the [NanoPi Duo](http://wiki.friendlyarm.com/wiki/index.php/NanoPi_Duo) and [NanoPi NEO Core2](http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO_Core2) can be found on the [FriendlyARM wiki](http://wiki.friendlyarm.com/). For example: If a pin is named PA01, the pin bank is PA. If this pin bank is in the following table after your chipset, this particular pin is supported. You can find the pinouts of all the supported Orange Pi devices [here](https://pascalroeleven.nl/2020/04/13/orange-pi-gpio-pinouts/). The pinouts for the [NanoPi Duo](http://wiki.friendlyarm.com/wiki/index.php/NanoPi_Duo) and [NanoPi NEO Core2](http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO_Core2) can be found on the [FriendlyARM wiki](http://wiki.friendlyarm.com/). For example: If a pin is named PA01, the pin bank is PA. If this pin bank is in the following table after your chipset, this particular pin is supported.
For the orange pi4 and pi4B, using the Rockchip RK3399 chip, a manual and technical doc can be found [here](https://drive.google.com/drive/folders/1QMU5n-7fCx28cQPH_lu2L0wrFWeC3G45).
| Chipset | Pin banks which support external interrupts | | Chipset | Pin banks which support external interrupts |
| ------- | ------------------------------------------- | | ------- | ------------------------------------------- |
| H2+ | PA, PG, PL | | H2+ | PA, PG, PL |
@ -123,3 +127,4 @@ In the table below you can see the number of usable pins for sensors per device.
| H6 (Lite 2, One Plus) | 3/17 | | H6 (Lite 2, One Plus) | 3/17 |
| H6 (PI 3) | 8/17 | | H6 (PI 3) | 8/17 |
| A64 (Win Plus) | 18/28 | | A64 (Win Plus) | 18/28 |
| RK3399 (PI4, PI4B) | 28/28 |