summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-bsp/si-tools/files/si_init
blob: f7e3a5a4cf9910c5567bb960f27ae455c22604be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

#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/gpio332/value
#sleep 1
#RST = 1
echo 1 > /sys/class/gpio/gpio332/value

echo 332 > /sys/class/gpio/unexport