^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) static struct resource iop32x_gpio_res[] = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) DEFINE_RES_MEM((IOP3XX_PERIPHERAL_PHYS_BASE + 0x07c4), 0x10),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) static inline void register_iop32x_gpio(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) platform_device_register_simple("gpio-iop", 0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) iop32x_gpio_res,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) ARRAY_SIZE(iop32x_gpio_res));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) }