Skip to content

Commit

Permalink
Rewrite json to separate boards and chips.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Jun 16, 2024
1 parent f7bc1d2 commit 5799ece
Show file tree
Hide file tree
Showing 10 changed files with 985 additions and 861 deletions.
277 changes: 40 additions & 237 deletions boards/raspberry-pi-1-b+.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,244 +6,47 @@
"width": 2,
"height": 20,
"orientation": 0,
"direction": "alternating",
"pins": [
{"name": "3v3 Power", "type": "power", "subtype": "+3v3"},
{"name": "5v Power", "type": "power", "subtype": "+5v"},
{"name": "GPIO 2", "alt_modes": [
{"name": "SDA1", "type": "I2C"},
{"name": "SA3", "type": "???"},
{"name": "LCD_VSYNC", "type": "DPI"},
{"name": "AVEOUT_VSYNC", "type": "???"},
{"name": "AVEIN_VSYNC", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "5v Power", "type": "power", "subtype": "+5v"},
{"name": "GPIO 3", "alt_modes": [
{"name": "SCL1", "type": "I2C"},
{"name": "SA2", "type": "???"},
{"name": "LCD_HSYNC", "type": "DPI"},
{"name": "AVEOUT_HSYNC", "type": "???"},
{"name": "AVEIN_HSYNC", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "Ground", "type": "power", "subtype": "ground"},
{"name": "GPIO 4", "alt_modes": [
{"name": "GPCLK0", "type": "GPCLOCK"},
{"name": "SA1", "type": "???"},
{"name": "DPI_D0", "type": "DPI"},
{"name": "AVEOUT_VID0", "type": "???"},
{"name": "AVEIN_VID0", "type": "???"},
{"name": "ARM_TDI", "type": "???"}
]},
{"name": "GPIO 14", "alt_modes": [
{"name": "TXD0", "type": "UART"},
{"name": "SD6", "type": "SDIO"},
{"name": "DPI_D10", "type": "DPI"},
{"name": "AVEOUT_VID10", "type": "???"},
{"name": "AVEIN_VID10", "type": "???"},
{"name": "TXD1", "type": "UART"}
]},
{"name": "Ground", "type": "power", "subtype": "ground"},
{"name": "GPIO 15", "alt_modes": [
{"name": "RXD0", "type": "UART"},
{"name": "SD7", "type": "SDIO"},
{"name": "DPI_D11", "type": "DPI"},
{"name": "AVEOUT_VID11", "type": "???"},
{"name": "AVEIN_VID11", "type": "???"},
{"name": "RXD1", "type": "UART"}
]},
{"name": "GPIO 17", "alt_modes": [
{"name": "FL1", "type": "???"},
{"name": "SD9", "type": "SDIO"},
{"name": "DPI_D13", "type": "DPI"},
{"name": "RTS0", "type": "UART"},
{"name": "SPI1_CE1_N", "type": "SPI"},
{"name": "RTS1", "type": "UART"}
]},
{"name": "GPIO 18", "alt_modes": [
{"name": "PCM_CLK", "type": "I2S"},
{"name": "SD10", "type": "SDIO"},
{"name": "DPI_D14", "type": "DPI"},
{"name": "BSCSL SDA / MOSI", "type": "???"},
{"name": "SPI1_CE0_N", "type": "SPI"},
{"name": "PWM0", "type": "PWM"}
]},
{"name": "GPIO 27", "alt_modes": [
{"name": "SD0_DAT3", "type": "SDIO"},
{"name": "TE1", "type": "???"},
{"name": "DPI_D23", "type": "DPI"},
{"name": "SD1_DAT3", "type": "SDIO"},
{"name": "ARM_TMS", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "Ground", "type": "power", "subtype": "ground"},
{"name": "GPIO 22", "alt_modes": [
{"name": "SD0_CLK", "type": "SDIO"},
{"name": "SD14", "type": "SDIO"},
{"name": "DPI_D18", "type": "DPI"},
{"name": "SD1_CLK", "type": "SDIO"},
{"name": "ARM_TRST", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "GPIO 23", "alt_modes": [
{"name": "SD0_CMD", "type": "SDIO"},
{"name": "SD15", "type": "SDIO"},
{"name": "DPI_D19", "type": "DPI"},
{"name": "SD1_CMD", "type": "SDIO"},
{"name": "ARM_RTCK", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "3v3 Power", "type": "power", "subtype": "+3v3"},
{"name": "GPIO 24", "alt_modes": [
{"name": "SD0_DAT0", "type": "SDIO"},
{"name": "SD16", "type": "SDIO"},
{"name": "DPI_D20", "type": "DPI"},
{"name": "SD1_DAT0", "type": "SDIO"},
{"name": "ARM_TDO", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "GPIO 10", "alt_modes": [
{"name": "SPI0_MOSI", "type": "SPI"},
{"name": "SD2", "type": "SDIO"},
{"name": "DPI_D6", "type": "DPI"},
{"name": "AVEOUT_VID6", "type": "???"},
{"name": "AVEIN_VID6", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "Ground", "type": "power", "subtype": "ground"},
{"name": "GPIO 9", "alt_modes": [
{"name": "SPI0_MISO", "type": "SPI"},
{"name": "SD1", "type": "SDIO"},
{"name": "DPI_D5", "type": "DPI"},
{"name": "AVEOUT_VID5", "type": "???"},
{"name": "AVEIN_VID5", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "GPIO 25", "alt_modes": [
{"name": "SD0_DAT1", "type": "SDIO"},
{"name": "SD17", "type": "SDIO"},
{"name": "DPI_D21", "type": "DPI"},
{"name": "SD1_DAT1", "type": "SDIO"},
{"name": "ARM_TCK", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "GPIO 11", "alt_modes": [
{"name": "SPI0_SCLK", "type": "SPI"},
{"name": "SD3", "type": "SDIO"},
{"name": "DPI_D7", "type": "DPI"},
{"name": "AVEOUT_VID7", "type": "???"},
{"name": "AVEIN_VID7", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "GPIO 8", "alt_modes": [
{"name": "SPI0_CE0_N", "type": "SPI"},
{"name": "SD0", "type": "SDIO"},
{"name": "DPI_D4", "type": "DPI"},
{"name": "AVEOUT_VID4", "type": "???"},
{"name": "AVEIN_VID4", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "Ground", "type": "power", "subtype": "ground"},
{"name": "GPIO 7", "alt_modes": [
{"name": "SPI0_CE1_N", "type": "SPI"},
{"name": "SWE_N / SRW_N", "type": "???"},
{"name": "DPI_D3", "type": "DPI"},
{"name": "AVEOUT_VID3", "type": "???"},
{"name": "AVEIN_VID3", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "GPIO 0", "alt_modes": [
{"name": "SDA0", "type": "I2C"},
{"name": "SA5", "type": "???"},
{"name": "PCLK", "type": "???"},
{"name": "AVEOUT_VCLK", "type": "???"},
{"name": "AVEIN_VCLK", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "GPIO 1", "alt_modes": [
{"name": "SCL0", "type": "I2C"},
{"name": "SA4", "type": "???"},
{"name": "DE", "type": "???"},
{"name": "AVEOUT_DSYNC", "type": "???"},
{"name": "AVEIN_DSYNC", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "GPIO 5", "alt_modes": [
{"name": "GPCLK1", "type": "GPCLOCK"},
{"name": "SA0", "type": "???"},
{"name": "DPI_D1", "type": "DPI"},
{"name": "AVEOUT_VID1", "type": "???"},
{"name": "AVEIN_VID1", "type": "???"},
{"name": "ARM_TDO", "type": "???"}
]},
{"name": "Ground", "type": "power", "subtype": "ground"},
{"name": "GPIO 6", "alt_modes": [
{"name": "GPCLK2", "type": "GPCLOCK"},
{"name": "SOE_N / SE", "type": "???"},
{"name": "DPI_D2", "type": "DPI"},
{"name": "AVEOUT_VID2", "type": "???"},
{"name": "AVEIN_VID2", "type": "???"},
{"name": "ARM_RTCK", "type": "???"}
]},
{"name": "GPIO 12", "alt_modes": [
{"name": "PWM0", "type": "PWM"},
{"name": "SD4", "type": "SDIO"},
{"name": "DPI_D8", "type": "DPI"},
{"name": "AVEOUT_VID8", "type": "???"},
{"name": "AVEIN_VID8", "type": "???"},
{"name": "ARM_TMS", "type": "???"}
]},
{"name": "GPIO 13", "alt_modes": [
{"name": "PWM1", "type": "PWM"},
{"name": "SD5", "type": "SDIO"},
{"name": "DPI_D9", "type": "DPI"},
{"name": "AVEOUT_VID9", "type": "???"},
{"name": "AVEIN_VID9", "type": "???"},
{"name": "ARM_TCK", "type": "???"}
]},
{"name": "Ground", "type": "power", "subtype": "ground"},
{"name": "GPIO 19", "alt_modes": [
{"name": "PCM_FS", "type": "I2S"},
{"name": "SD11", "type": "SDIO"},
{"name": "DPI_D15", "type": "DPI"},
{"name": "BSCSL SCL / SCLK", "type": "???"},
{"name": "SPI1_MISO", "type": "SPI"},
{"name": "PWM1", "type": "PWM"}
]},
{"name": "GPIO 16", "alt_modes": [
{"name": "FL0", "type": "???"},
{"name": "SD8", "type": "SDIO"},
{"name": "DPI_D12", "type": "DPI"},
{"name": "CTS0", "type": "UART"},
{"name": "SPI1_CE2_N", "type": "SPI"},
{"name": "CTS1", "type": "UART"}
]},
{"name": "GPIO 26", "alt_modes": [
{"name": "SD0_DAT2", "type": "SDIO"},
{"name": "TE0", "type": "???"},
{"name": "DPI_D22", "type": "DPI"},
{"name": "SD1_DAT2", "type": "SDIO"},
{"name": "ARM_TDI", "type": "???"},
{"name": "???", "type": "???"}
]},
{"name": "GPIO 20", "alt_modes": [
{"name": "PCM_DIN", "type": "I2S"},
{"name": "SD12", "type": "SDIO"},
{"name": "DPI_D16", "type": "DPI"},
{"name": "BSCSL / MISO", "type": "???"},
{"name": "SPI1_MOSI", "type": "SPI"},
{"name": "GPCLK0", "type": "GPCLOCK"}
]},
{"name": "Ground", "type": "power", "subtype": "ground"},
{"name": "GPIO 21", "alt_modes": [
{"name": "PCM_DOUT", "type": "I2S"},
{"name": "SD13", "type": "SDIO"},
{"name": "DPI_D17", "type": "DPI"},
{"name": "BSCSL / CE_N", "type": "???"},
{"name": "SPI1_SCLK", "type": "SPI"},
{"name": "GPCLK1", "type": "GPCLOCK"}
]}
{"chip": "common", "signal": "+3v3"},
{"chip": "common", "signal": "+5v"},
{"chip": "bcm2835", "signal": "2", "canonical_mode": 3},
{"chip": "common", "signal": "+5v"},
{"chip": "bcm2835", "signal": "3", "canonical_mode": 3},
{"chip": "common", "signal": "ground"},
{"chip": "bcm2835", "signal": "4", "canonical_mode": 0},
{"chip": "bcm2835", "signal": "14", "canonical_mode": 4},
{"chip": "common", "signal": "ground"},
{"chip": "bcm2835", "signal": "15", "canonical_mode": 4},
{"chip": "bcm2835", "signal": "17"},
{"chip": "bcm2835", "signal": "18", "canonical_mode": 2},
{"chip": "bcm2835", "signal": "27"},
{"chip": "common", "signal": "ground"},
{"chip": "bcm2835", "signal": "22"},
{"chip": "bcm2835", "signal": "23"},
{"chip": "common", "signal": "+3v3"},
{"chip": "bcm2835", "signal": "24"},
{"chip": "bcm2835", "signal": "10", "canonical_mode": 0},
{"chip": "common", "signal": "ground"},
{"chip": "bcm2835", "signal": "9", "canonical_mode": 0},
{"chip": "bcm2835", "signal": "25"},
{"chip": "bcm2835", "signal": "11", "canonical_mode": 0},
{"chip": "bcm2835", "signal": "8", "canonical_mode": 0},
{"chip": "common", "signal": "ground"},
{"chip": "bcm2835", "signal": "7", "canonical_mode": 0},
{"chip": "bcm2835", "signal": "0", "canonical_mode": 3},
{"chip": "bcm2835", "signal": "1", "canonical_mode": 3},
{"chip": "bcm2835", "signal": "5"},
{"chip": "common", "signal": "ground"},
{"chip": "bcm2835", "signal": "6"},
{"chip": "bcm2835", "signal": "12", "canonical_mode": 0},
{"chip": "bcm2835", "signal": "13", "canonical_mode": 0},
{"chip": "common", "signal": "ground"},
{"chip": "bcm2835", "signal": "19", "canonical_mode": 2},
{"chip": "bcm2835", "signal": "16"},
{"chip": "bcm2835", "signal": "26"},
{"chip": "bcm2835", "signal": "20", "canonical_mode": 2},
{"chip": "common", "signal": "ground"},
{"chip": "bcm2835", "signal": "21", "canonical_mode": 2}
]
}
]
Expand Down
Loading

0 comments on commit 5799ece

Please sign in to comment.