mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 15:41:58 +00:00
4fd243c6c0
This moves over the MMC/SD card support to the device tree probe path. The special GPIO to bias the card detect line is kept, but the pin property is moved to the device tree as part of the MMC/SD card node. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
31 lines
653 B
Plaintext
31 lines
653 B
Plaintext
/*
|
|
* Device Tree for the ST-Ericsson Nomadik S8815 board
|
|
* Produced by Calao Systems
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/include/ "ste-nomadik-stn8815.dtsi"
|
|
|
|
/ {
|
|
model = "Calao Systems USB-S8815";
|
|
compatible = "calaosystems,usb-s8815";
|
|
|
|
chosen {
|
|
bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk";
|
|
};
|
|
|
|
/* Custom board node with GPIO pins to active etc */
|
|
usb-s8815 {
|
|
/* The S8815 is using this very GPIO pin for the SMSC91x IRQs */
|
|
ethernet-gpio {
|
|
gpios = <&gpio3 19 0x1>;
|
|
interrupts = <19 0x1>;
|
|
interrupt-parent = <&gpio3>;
|
|
};
|
|
/* This will bias the MMC/SD card detect line */
|
|
mmcsd-gpio {
|
|
gpios = <&gpio3 16 0x1>;
|
|
};
|
|
};
|
|
};
|