# Bank B, 16-47
pinouts.gpio("", ('B', 0), "B", 0, 28, 0)
- pinouts.rgbttl("0", ('B', 0), "B", 1)
- pinouts.spi("1", ('B', 12), "B", 2)
+ pinouts.rgbttl("", ('B', 0), "B", 1, limit=23)
+ pinouts.spi("1", ('B', 10), "B", 2)
pinouts.quadspi("", ('B', 4), "B", 2)
pinouts.uart("3", ('B', 16), "B", 2)
pinouts.i2c("3", ('B', 18), "B", 2)
- #pinouts.pwm("", ('B', 9), "B", 0, 1, mux=2)
- pinouts.pwm("", ('B', 20), "B", 1, 2, mux=2)
- pinouts.sdmmc("1", ('B', 22), "B", 2)
+ pinouts.pwm("", ('B', 21), "B", 0, 3, mux=2)
+ pinouts.sdmmc("1", ('B', 22), "B", 3)
pinouts.eint("", ('B', 0), "B", 0, 4, mux=3)
- pinouts.flexbus2("", ('B', 4), "B", 3)
+ pinouts.eint("", ('B', 20), "B", 4, 1, mux=2)
+ pinouts.eint("", ('B', 23), "B", 5, 1, mux=1)
+ pinouts.sdmmc("2", ('B', 4), "B", 3)
+ pinouts.jtag("2", ('B', 10), "B", 3)
+ pinouts.uartfull("0", ('B', 14), "B", 3)
+ pinouts.uartfull("1", ('B', 18), "B", 3)
+ pinouts.jtag("1", ('B', 24), "B", 2)
+ pinouts.spi("2", ('B', 24), "B", 1)
pinouts.i2c("1", ('B', 0), "B", 2)
pinouts.uart("2", ('B', 2), "B", 2)
- pinouts.uart("4", ('B', 10), "B", 2)
+ pinouts.uart("4", ('B', 14), "B", 2)
print ("""# Pinouts (PinMux)
# using "BM:Name". Pins are removed in-order as listed from
# lists (interfaces, EINTs, PWMs) from available pins.
- # EOMA68 scenario. not totally complete (some GPIO needed for PMIC)
- # One interface to be connected to the MCU to give RTC and boot/dbg
- # VBUS_EN, OTG_ID etc. are all not included below, there is plenty
- # of spare GPIO.
-
- eoma68 = ['B1:LCD/22', 'ULPI1/8', 'ULPI2', 'MMC', 'SD1', 'UART3',
+ minitest = ['B1:LCD/22', 'ULPI1/8', 'ULPI2', 'MMC', 'SD1', 'UART3',
'TWI3', 'SPI2', 'E2:SD2', ]
- eoma68_eint = ['EINT_0', 'EINT_1', 'EINT_2', 'EINT_3']
- eoma68_pwm = ['D1:PWM_2']
+ minitest_eint = ['EINT_0', 'EINT_1', 'EINT_2', 'EINT_3']
+ minitest_pwm = ['D1:PWM_2']
descriptions = {
'MMC': 'internal (on Card)',
'SD1': 'user-facing: internal (on Card), multiplexed with JTAG1\n'
'ULPI2': 'EOMA68-compliance: dual USB2 Host ULPI PHY'
}
- unused_pins = check_functions("EOMA68", bankspec, fns, pinouts,
- eoma68, eoma68_eint, eoma68_pwm,
+ unused_pins = check_functions("MiniTest", bankspec, fns, pinouts,
+ minitest, minitest_eint, minitest_pwm,
descriptions)