2014-04-04 02:48:22 +07:00
|
|
|
#include "qcom-apq8064-v2.0.dtsi"
|
2014-10-21 12:53:19 +07:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2014-04-04 02:48:22 +07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Qualcomm APQ8064/IFC6410";
|
|
|
|
compatible = "qcom,apq8064-ifc6410", "qcom,apq8064";
|
|
|
|
|
|
|
|
soc {
|
2014-09-17 17:30:25 +07:00
|
|
|
pinctrl@800000 {
|
|
|
|
i2c1_pins: i2c1 {
|
|
|
|
mux {
|
|
|
|
pins = "gpio20", "gpio21";
|
|
|
|
function = "gsbi1";
|
|
|
|
};
|
|
|
|
};
|
2014-10-21 12:53:19 +07:00
|
|
|
|
|
|
|
card_detect: card_detect {
|
|
|
|
mux {
|
|
|
|
pins = "gpio26";
|
|
|
|
function = "gpio";
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
};
|
2014-09-17 17:30:25 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
gsbi@12440000 {
|
|
|
|
status = "okay";
|
|
|
|
qcom,mode = <GSBI_PROT_I2C>;
|
|
|
|
|
|
|
|
i2c@12460000 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <200000>;
|
|
|
|
pinctrl-0 = <&i2c1_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
eeprom: eeprom@52 {
|
|
|
|
compatible = "atmel,24c128";
|
|
|
|
reg = <0x52>;
|
|
|
|
pagesize = <32>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-04-04 02:48:22 +07:00
|
|
|
gsbi@16600000 {
|
|
|
|
status = "ok";
|
|
|
|
qcom,mode = <GSBI_PROT_I2C_UART>;
|
|
|
|
serial@16640000 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
};
|
2014-04-29 14:33:52 +07:00
|
|
|
|
|
|
|
amba {
|
|
|
|
/* eMMC */
|
|
|
|
sdcc1: sdcc@12400000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
/* External micro SD card */
|
|
|
|
sdcc3: sdcc@12180000 {
|
|
|
|
status = "okay";
|
2014-10-21 12:53:19 +07:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&card_detect>;
|
|
|
|
cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
|
2014-04-29 14:33:52 +07:00
|
|
|
};
|
2014-09-17 12:39:35 +07:00
|
|
|
/* WLAN */
|
|
|
|
sdcc4: sdcc@121c0000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2014-04-29 14:33:52 +07:00
|
|
|
};
|
2014-04-04 02:48:22 +07:00
|
|
|
};
|
|
|
|
};
|