18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_cistatic struct resource iop32x_gpio_res[] = { 38c2ecf20Sopenharmony_ci DEFINE_RES_MEM((IOP3XX_PERIPHERAL_PHYS_BASE + 0x07c4), 0x10), 48c2ecf20Sopenharmony_ci}; 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_cistatic inline void register_iop32x_gpio(void) 78c2ecf20Sopenharmony_ci{ 88c2ecf20Sopenharmony_ci platform_device_register_simple("gpio-iop", 0, 98c2ecf20Sopenharmony_ci iop32x_gpio_res, 108c2ecf20Sopenharmony_ci ARRAY_SIZE(iop32x_gpio_res)); 118c2ecf20Sopenharmony_ci} 12