Update HAT README.md

This commit is contained in:
Owen Carter 2024-09-24 13:30:55 +02:00 committed by GitHub
parent 3bc5969391
commit c60acea5df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,9 +1,8 @@
# A device tree for Raspberry PI HATs.. # A device tree for Raspberry PI HATs..
Designed to mimic the standard PI gpio assignments for use with PI HAT's Designed to mimic the standard PI gpio assignments for use with Raspberry Pi HAT's
* i2c**0** and spi**1** ports are located on the same Pins as the PI I2C-**1** and SPI-**0** on the PI gpio header * i2c**0** and spi**1** ports are located on the same GPIO header pins as the Pi's I2C-**1** and SPI-**0**
* i2c3 is on the same pins as I2C-0 on the Pi (normally reserved as the Pi EEPROM Data pins) * i2c**3** is on the same pins as I2C-0 on the Pi (This is normally reserved as the Pi EEPROM Data pins)
``` ```
MangoPI MQ Pro GPIO header (dtb name: MangoPi MQ Pro) MangoPI MQ Pro GPIO header (dtb name: MangoPi MQ Pro)
@ -37,35 +36,3 @@ Notes:
- I2C pins 3,5,27 and 28 (PG13, PG12, PE17 and PE16) have 10K pullup resistors to 3v3 - I2C pins 3,5,27 and 28 (PG13, PG12, PE17 and PE16) have 10K pullup resistors to 3v3
- The Status LED (PD18) is common with the LED_PWM pin on the DSI/LVDS output - The Status LED (PD18) is common with the LED_PWM pin on the DSI/LVDS output
``` ```
MangoPI MQ Pro GPIO header (dtb name: MangoPi MQ Pro)
Gpio Header:
func des pin pin des func
3v3 1 --o o-- 2 5v
i2c0 (2502000.i2c:205) PG13 3 --o o-- 4 5v
i2c0 (2502000.i2c:204) PG12 5 --o o-- 6 gnd
free (39) PB7 7 --o o-- 8 PB8 uart0 (2500000.serial:40)
gnd 9 --o o-- 10 PB9 uart0 (2500000.serial:41)
free (117) PD21 11 --o o-- 12 PB5 free (37)
free (118) PD22 13 --o o-- 14 gnd
free (32) PB0 15 --o o-- 16 PB1 free (33)
3v3 17 --o o-- 18 PD14 spi1 (4026000.spi:110)
spi1 (4026000.spi:108) PD12 19 --o o-- 20 gnd
spi1 (4026000.spi:109) PD13 21 --o o-- 22 PC1 free (65)
spi1 (4026000.spi:107) PD11 23 --o o-- 24 PD10 spi1 (4026000.spi:106)
gnd 25 --o o-- 26 PD15 spi1 (4026000.spi:111)
i2c3 (2502c00.i2c:145) PE17 27 --o o-- 28 PE16 i2c3 (2502c00.i2c:144)
free (42) PB10 29 --o o-- 30 gnd
free (43) PB11 31 --o o-- 32 PC0 free (64)
free (44) PB12 33 --o o-- 34 gnd
free (38) PB6 35 --o o-- 36 PB2 free (34)
free (113) PD17 37 --o o-- 38 PB3 free (35)
gnd 39 --o o-- 40 PB4 free (36)
Other gpio outputs of interest:
-- PD18: Blue Status Led - gpio (2000000.pinctrl:114)
Notes:
- I2C pins 3,5,27 and 28 (PG13, PG12, PE17 and PE16) have 10K pullup resistors to 3v3
- The Status LED (PD18) is common with the LED_PWM pin on the DSI/LVDS output