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

#RST PCA@21 (base = 324) + 7
echo 331 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio331/direction

#RST = 0
echo 0   > /sys/class/gpio/gpio331/value
#sleep 1
#RST = 1
echo 1   > /sys/class/gpio/gpio331/value

echo 331 > /sys/class/gpio/unexport