1e66235330
This moves the static, device-tied pin control configuration out of the board file board-mop500-pins.c and into the device tree. Add entries for SDI1 and SDI2 on the Snowball so that the WLAN pins on SDI1 can be used further on, and the unused pins on SDI2 can be put to sleep. Cc: Lee Jones <lee.jones@linaro.org> Cc: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
83 lines
1.7 KiB
Plaintext
83 lines
1.7 KiB
Plaintext
/*
|
|
* Copyright 2012 ST-Ericsson AB
|
|
*
|
|
* The code contained herein is licensed under the GNU General Public
|
|
* License. You may obtain a copy of the GNU General Public License
|
|
* Version 2 or later at the following locations:
|
|
*
|
|
* http://www.opensource.org/licenses/gpl-license.html
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
*/
|
|
|
|
#include "ste-dbx5x0.dtsi"
|
|
#include "ste-href.dtsi"
|
|
|
|
/ {
|
|
model = "ST-Ericsson HREF (v60+) platform with Device Tree";
|
|
compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500";
|
|
|
|
gpio_keys {
|
|
button@1 {
|
|
gpios = <&gpio5 25 0x4>;
|
|
};
|
|
};
|
|
|
|
soc {
|
|
// External Micro SD slot
|
|
sdi0_per1@80126000 {
|
|
arm,primecell-periphid = <0x10480180>;
|
|
max-frequency = <100000000>;
|
|
bus-width = <4>;
|
|
mmc-cap-sd-highspeed;
|
|
mmc-cap-mmc-highspeed;
|
|
vmmc-supply = <&ab8500_ldo_aux3_reg>;
|
|
|
|
cd-gpios = <&gpio2 31 0x4>; // 95
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
// WLAN SDIO channel
|
|
sdi1_per2@80118000 {
|
|
arm,primecell-periphid = <0x10480180>;
|
|
max-frequency = <100000000>;
|
|
bus-width = <4>;
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
// PoP:ed eMMC
|
|
sdi2_per3@80005000 {
|
|
arm,primecell-periphid = <0x10480180>;
|
|
max-frequency = <100000000>;
|
|
bus-width = <8>;
|
|
mmc-cap-mmc-highspeed;
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
// On-board eMMC
|
|
sdi4_per2@80114000 {
|
|
arm,primecell-periphid = <0x10480180>;
|
|
max-frequency = <100000000>;
|
|
bus-width = <8>;
|
|
mmc-cap-mmc-highspeed;
|
|
vmmc-supply = <&ab8500_ldo_aux2_reg>;
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
pinctrl {
|
|
sdi0 {
|
|
/* SD card detect GPIO pin, extend default state */
|
|
sdi0_default_mode: sdi0_default {
|
|
default_hrefv60_cfg1 {
|
|
ste,pins = "GPIO95_E8";
|
|
ste,config = <&gpio_in_pu>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|