[LEDE-DEV] [PATCH] ramips: Improve Sanlinking D240 config
Piotr Dymacz
pepe2k at gmail.com
Thu Mar 2 03:39:41 PST 2017
Hi Kristian,
2017-03-02 11:55 GMT+01:00 Kristian Evensen <kristian.evensen at gmail.com>:
> * The left most mini-PCIe (USB) slot (the one attached to SIM2) can be
> power-cycled by setting GPIO 0 to high/low. I have no strong opinion on the
> name, but since the slot can be used for other things than modems I went for
> usb2.
[...]
What about "power_mpcieX" (or something similar), where X is 1 or 2,
depending on what is printed on the PCB (I wasn't able to find hi-res
photo)?
Take a look at other examples:
grep -rn "gpio-export.*power" target/linux/ramips/dts/
target/linux/ramips/dts/HC5861.dts:43: gpio-export,name = "usbpower";
target/linux/ramips/dts/HC5861.dts:49: gpio-export,name = "sdpower";
target/linux/ramips/dts/PBR-M1.dts:78: gpio-export,name = "power_usb2";
target/linux/ramips/dts/PBR-M1.dts:84: gpio-export,name = "power_usb3";
target/linux/ramips/dts/PBR-M1.dts:90: gpio-export,name = "power_sata";
target/linux/ramips/dts/WNDR3700V5.dts:63: gpio-export,name = "usbpower";
target/linux/ramips/dts/TINY-AC.dts:49: gpio-export,name = "usbpower";
target/linux/ramips/dts/ArcherMR200.dts:92: gpio-export,name = "power_usb1";
target/linux/ramips/dts/HC5XXX.dtsi:28: gpio-export,name = "usbpower";
target/linux/ramips/dts/Newifi-D1.dts:56: gpio-export,name = "usb2power";
target/linux/ramips/dts/Newifi-D1.dts:62: gpio-export,name = "usb3power";
---
Cheers,
Piotr
More information about the Lede-dev
mailing list