summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/sbc/sbc-sld3.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-uniphier/sbc/sbc-sld3.c')
-rw-r--r--arch/arm/mach-uniphier/sbc/sbc-sld3.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/sbc/sbc-sld3.c b/arch/arm/mach-uniphier/sbc/sbc-sld3.c
new file mode 100644
index 0000000000..ac9d0301be
--- /dev/null
+++ b/arch/arm/mach-uniphier/sbc/sbc-sld3.c
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2011-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include <linux/io.h>
+
+#include "../init.h"
+#include "../sg-regs.h"
+
+int uniphier_sld3_sbc_init(const struct uniphier_board_data *bd)
+{
+ sg_set_pinsel(99, 1, 4, 4); /* GPIO26 -> EA24 */
+
+ return 0;
+}