[LEDE-DEV] [PATCH 1/2] apm821xx: detect sd-card media changes for the WNDR4700
Christian Lamparter
chunkeey at googlemail.com
Tue Aug 30 23:33:59 PDT 2016
On Tuesday, August 30, 2016 8:04:10 PM CEST Jonas Gorski wrote:
> Hi,
>
> On 30 August 2016 at 19:42, Christian Lamparter <chunkeey at googlemail.com> wrote:
> > The insertion or removal of the sd-card cannot be detected
> > by the hardware itself. This is by design. To workaround this,
> > for the WNDR4700 unload/load the dwc2 module in case the
> > the special SD CARD GPIO line is low/high.
>
> is this an actual button? or is this the card-detect signal as a gpio?
The latter. The GL827L [0] Chip on the WNDR4700 has a dedicated SD_CDZ
(SD Card Detect) pin which is connected to the SoC's GPIO controller.
> If the latter, you should be able to define this as cd-gpios = <&GPIO0
> 7 1>; in the mmc controller node.
Sadly no. The GL827L emulates a USB Storage Class device and is supported
by usb-storage and nothing else.
Regards,
Christian
[0] <http://www.genesyslogic.com/en/product_view.php?show=9>
More information about the Lede-dev
mailing list