summaryrefslogtreecommitdiff
path: root/recipes-bsp/gpio-export/files/apalis-imx6/gpio-export.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/gpio-export/files/apalis-imx6/gpio-export.sh')
-rw-r--r--recipes-bsp/gpio-export/files/apalis-imx6/gpio-export.sh51
1 files changed, 0 insertions, 51 deletions
diff --git a/recipes-bsp/gpio-export/files/apalis-imx6/gpio-export.sh b/recipes-bsp/gpio-export/files/apalis-imx6/gpio-export.sh
deleted file mode 100644
index ec259a6..0000000
--- a/recipes-bsp/gpio-export/files/apalis-imx6/gpio-export.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-#export gpios to userspace
-
-case "$1" in
- start)
- CTRL=/sys/class/gpio/export
- ;;
-
- stop)
- CTRL=/sys/class/gpio/unexport
- ;;
-
- *)
- echo "usage: '$0 start' '$0 stop'"
- exit 1
- ;;
-esac
-
-#Apalis GPIO - i.MX6 Ball name - GPIO#
-
-#GPIO1 NAND_DATA04 36
-#used by OV5640 kernel module
-#echo 36 > $CTRL
-#cat /sys/class/gpio/gpio36/value
-#echo low > /sys/class/gpio/gpio36/direction
-#echo 1 > /sys/class/gpio/gpio36/value
-
-#GPIO2 NAND_DATA05 37
-#used by OV5640 kernel module
-#echo 37 > $CTRL
-
-#GPIO3 NAND_DATA06 38
-echo 38 > $CTRL
-
-#GPIO4 NAND_DATA07 39
-echo 39 > $CTRL
-
-#GPIO5 NAND_READY 170
-#used by optional fusion_F0710A kernel module
-#echo 170 > $CTRL
-
-#GPIO6 NAND_WP_B 169
-#used by optional fusion_F0710A kernel module
-#echo 169 > $CTRL
-
-#GPIO7 GPIO02 2
-#used by PCIe for reset of switch on the Apalis Evaluation Board
-#echo 2 > $CTRL
-
-#GPIO8 GPIO06 6
-echo 6 > $CTRL