OF: pinctrl: MIPS: lantiq: adds support for FALCON SoC
[firefly-linux-kernel-4.4.55.git] / arch / mips / include / asm / mach-lantiq / falcon / lantiq_soc.h
index b385252584ee922a1fbf435cea0f6a07cfc4035f..fccac3592651c306bb2b59bfcf1139bfd509dceb 100644 (file)
@@ -57,6 +57,10 @@ extern __iomem void *ltq_sys1_membase;
 #define ltq_sys1_w32_mask(clear, set, reg)   \
        ltq_sys1_w32((ltq_sys1_r32(reg) & ~(clear)) | (set), reg)
 
+/* allow the gpio and pinctrl drivers to talk to eachother */
+extern int pinctrl_falcon_get_range_size(int id);
+extern void pinctrl_falcon_add_gpio_range(struct pinctrl_gpio_range *range);
+
 /*
  * to keep the irq code generic we need to define this to 0 as falcon
  * has no EIU/EBU