Change the naming of imx{5,6} gpio pins to exactly match the names used in

the chip reference manuals: GPIOn_IOnn.
This commit is contained in:
Ian Lepore 2017-02-18 18:24:03 +00:00
parent 6a27a9f64e
commit 5002d69f9b

View File

@ -727,7 +727,7 @@ imx51_gpio_attach(device_t dev)
(READ4(sc, IMX_GPIO_OE_REG) & (1U << i)) ? GPIO_PIN_OUTPUT :
GPIO_PIN_INPUT;
snprintf(sc->gpio_pins[i].gp_name, GPIOMAXNAME,
"imx_gpio%d.%d", unit, i);
"GPIO%d_IO%02d", unit + 1, i);
}
#ifdef INTRNG