Commit bca5801
committed
mediatek: filogic: Cudy TR3000 USB power gpio switch
I've checked this for 128mb router version and with these changes you could cut off USB power via
```bash
echo 0 > /sys/class/gpio/modem_power/value
```
and get the power back by
```bash
echo 1 > /sys/class/gpio/modem_power/value
```
This could be very useful for those who need to reboot USB modems. Can we add this too?
Signed-off by: Fil Dunsky <[email protected]>1 parent 0da0a6c commit bca5801
File tree
2 files changed
+15
-10
lines changed- target/linux/mediatek
- dts
- filogic/base-files/etc/board.d
2 files changed
+15
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
21 | 31 | | |
22 | 32 | | |
23 | 33 | | |
| |||
51 | 61 | | |
52 | 62 | | |
53 | 63 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
205 | | - | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
0 commit comments