summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-07-13 20:40:35 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-07-13 20:42:14 +0300
commit7844f28b0a72b54a9a13998671ab0474b4536a73 (patch)
treef968614297d2eb3a86fa78d7434ea2af0c1b54ae /meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init
parentcc630108ca97d394b7797d8a556ae391a1ead201 (diff)
Add firmwares and tools for wireless
- AM/FM receiver tools (si-tool) - wifi wl18xx firmware - Bluetooth tools
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init')
-rw-r--r--meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init b/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init
new file mode 100644
index 0000000..523169e
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+#RST PCA@21 (base = 325) + 7
+echo 332 > /sys/class/gpio/export
+echo out > /sys/class/gpio/gpio332/direction
+
+#RST = 0
+echo 0 > /sys/class/gpio/gpio332/value
+#sleep 1
+#RST = 1
+echo 1 > /sys/class/gpio/gpio332/value
+
+echo 332 > /sys/class/gpio/unexport