xref: /kernel/linux/linux-5.10/arch/arm/mach-iop32x/gpio-iop32x.h (revision 8c2ecf20)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/arm/mach-iop32x/
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

Indexes created Thu Nov 07 10:32:03 CST 2024