ssc377_lite: add TP-Link Tapo C120 device profile (#162)
SSC377, SmartSens SC430AI, 16 MB NOR, RTL8188FTV on USB. The generic ssc377_lite defconfig with the 16 MB layout, the rtl8188fu driver and the SAE-capable wpa_supplicant-openipc; the Wi-Fi module's power gate (GPIO 42) in the wireless/usb entry; IR-cut, backlight and IR LED pins; the SC430AI IQ file. Depends on OpenIPC/sensors#7 (driver), OpenIPC/firmware#2445 (loader entry) and OpenIPC/firmware#2449 (supplicant package). Co-authored-by: nzzane <12163646+nzzane@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
set_gpio() {
|
||||
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
|
||||
sleep 1
|
||||
}
|
||||
|
||||
# The RTL8188FTV sits on a USB daughterboard whose power is gated by GPIO 42
|
||||
if [ "$1" = "rtl8188fu-tapo-c120" ]; then
|
||||
set_gpio 42 1
|
||||
sleep 2
|
||||
modprobe 8188fu
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit 1
|
||||
Reference in New Issue
Block a user