summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-10-30 01:36:28 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-10-30 01:36:28 +0300
commitd3648e5b854c994c63d622406038daee48023213 (patch)
tree1017b38b591e9766120c4eb38ec53acba09a402c /meta-rcar-gen3-adas
parent3b3bb85c224233fccc7a325f7e9c438d41bbaeb9 (diff)
Fix incorrect radio reset gpio
this fixes handling Radio_RST
Diffstat (limited to 'meta-rcar-gen3-adas')
-rw-r--r--meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init12
1 files changed, 6 insertions, 6 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
index b7137e2..f7e3a5a 100644
--- a/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init
+++ b/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init
@@ -1,13 +1,13 @@
#!/bin/sh
-#RST PCA@21 (base = 324) + 7
-echo 331 > /sys/class/gpio/export
-echo out > /sys/class/gpio/gpio331/direction
+#RST pca9539@75 (base = 324) + 7
+echo 332 > /sys/class/gpio/export
+echo out > /sys/class/gpio/gpio332/direction
#RST = 0
-echo 0 > /sys/class/gpio/gpio331/value
+echo 0 > /sys/class/gpio/gpio332/value
#sleep 1
#RST = 1
-echo 1 > /sys/class/gpio/gpio331/value
+echo 1 > /sys/class/gpio/gpio332/value
-echo 331 > /sys/class/gpio/unexport
+echo 332 > /sys/class/gpio/unexport