blob: e641001ca2a79c80697ac774816442842ebc5556 [file] [log] [blame]
Kumar Galaf335b8a2014-04-03 14:48:22 -05001#include "qcom-apq8064-v2.0.dtsi"
Pramod Guravb4e10dd2014-10-21 11:23:19 +05302#include <dt-bindings/gpio/gpio.h>
Kumar Galaf335b8a2014-04-03 14:48:22 -05003
4/ {
5 model = "Qualcomm APQ8064/IFC6410";
6 compatible = "qcom,apq8064-ifc6410", "qcom,apq8064";
7
8 soc {
kiran.padwal@smartplayin.com8c3166f2014-09-17 16:00:25 +05309 pinctrl@800000 {
10 i2c1_pins: i2c1 {
11 mux {
12 pins = "gpio20", "gpio21";
13 function = "gsbi1";
14 };
15 };
Pramod Guravb4e10dd2014-10-21 11:23:19 +053016
17 card_detect: card_detect {
18 mux {
19 pins = "gpio26";
20 function = "gpio";
21 bias-disable;
22 };
23 };
kiran.padwal@smartplayin.com8c3166f2014-09-17 16:00:25 +053024 };
25
26 gsbi@12440000 {
27 status = "okay";
28 qcom,mode = <GSBI_PROT_I2C>;
29
30 i2c@12460000 {
31 status = "okay";
32 clock-frequency = <200000>;
33 pinctrl-0 = <&i2c1_pins>;
34 pinctrl-names = "default";
35
36 eeprom: eeprom@52 {
37 compatible = "atmel,24c128";
38 reg = <0x52>;
39 pagesize = <32>;
40 };
41 };
42 };
43
Kumar Galaf335b8a2014-04-03 14:48:22 -050044 gsbi@16600000 {
45 status = "ok";
46 qcom,mode = <GSBI_PROT_I2C_UART>;
47 serial@16640000 {
48 status = "ok";
49 };
50 };
Srinivas Kandagatla045644f2014-04-29 08:33:52 +010051
52 amba {
53 /* eMMC */
54 sdcc1: sdcc@12400000 {
55 status = "okay";
56 };
57
58 /* External micro SD card */
59 sdcc3: sdcc@12180000 {
60 status = "okay";
Pramod Guravb4e10dd2014-10-21 11:23:19 +053061 pinctrl-names = "default";
62 pinctrl-0 = <&card_detect>;
63 cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
Srinivas Kandagatla045644f2014-04-29 08:33:52 +010064 };
Srinivas Kandagatla0be5fef2014-09-17 06:39:35 +010065 /* WLAN */
66 sdcc4: sdcc@121c0000 {
67 status = "okay";
68 };
Srinivas Kandagatla045644f2014-04-29 08:33:52 +010069 };
Kumar Galaf335b8a2014-04-03 14:48:22 -050070 };
71};