@@ -21,6 +21,8 @@
#include <linux/mfd/max8997.h>
#include <linux/lcd.h>
#include <linux/rfkill-gpio.h>
+#include <linux/pinctrl/consumer.h>
+#include <linux/pinctrl/machine.h>
#include <asm/mach/arch.h>
#include <asm/hardware/gic.h>
@@ -41,6 +43,7 @@
#include <plat/pd.h>
#include <plat/fb.h>
#include <plat/mfc.h>
+#include <plat/pinctrl.h>
#include <mach/ohci.h>
#include <mach/map.h>
@@ -622,6 +625,9 @@ static struct platform_device origen_device_bluetooth = {
};
static struct platform_device *origen_devices[] __initdata = {
+ &exynos4_pinctrl0,
+ &exynos4_pinctrl1,
+ &exynos4_pinctrl2,
&s3c_device_hsmmc2,
&s3c_device_hsmmc0,
&s3c_device_i2c0,
@@ -697,6 +703,7 @@ static void __init origen_reserve(void)
static void __init origen_machine_init(void)
{
+ exynos4210_pinctrl_register_def_mappings();
origen_power_init();
s3c_i2c0_set_platdata(NULL);
Add the pinctrl platform devices for static registration and add default pin maps. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> --- arch/arm/mach-exynos/mach-origen.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)