2012-11-21 11:32:21 +07:00
|
|
|
/*
|
|
|
|
* Google Snow board device tree source
|
|
|
|
*
|
|
|
|
* Copyright (c) 2012 Google, Inc
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
/include/ "exynos5250.dtsi"
|
|
|
|
/include/ "cros5250-common.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Google Snow";
|
|
|
|
compatible = "google,snow", "samsung,exynos5250";
|
|
|
|
|
2013-04-16 23:29:01 +07:00
|
|
|
aliases {
|
|
|
|
i2c104 = &i2c_104;
|
|
|
|
};
|
|
|
|
|
2013-04-04 12:16:11 +07:00
|
|
|
pinctrl@11400000 {
|
|
|
|
sd3_clk: sd3-clk {
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sd3_cmd: sd3-cmd {
|
|
|
|
samsung,pin-pud = <3>;
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sd3_bus4: sd3-bus-width4 {
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-11-21 11:32:21 +07:00
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
|
|
|
|
lid-switch {
|
|
|
|
label = "Lid";
|
2013-04-04 12:16:11 +07:00
|
|
|
gpios = <&gpx3 5 1>;
|
2012-11-21 11:32:21 +07:00
|
|
|
linux,input-type = <5>; /* EV_SW */
|
|
|
|
linux,code = <0>; /* SW_LID */
|
|
|
|
debounce-interval = <1>;
|
|
|
|
gpio-key,wakeup;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-04-16 23:29:01 +07:00
|
|
|
i2c-arbitrator {
|
|
|
|
compatible = "i2c-arb-gpio-challenge";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
i2c-parent = <&{/i2c@12CA0000}>;
|
|
|
|
|
|
|
|
our-claim-gpio = <&gpf0 3 1>;
|
|
|
|
their-claim-gpios = <&gpe0 4 1>;
|
|
|
|
slew-delay-us = <10>;
|
|
|
|
wait-retry-us = <3000>;
|
|
|
|
wait-free-us = <50000>;
|
|
|
|
|
|
|
|
/* Use ID 104 as a hint that we're on physical bus 4 */
|
|
|
|
i2c_104: i2c@0 {
|
|
|
|
reg = <0>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-04-16 23:29:02 +07:00
|
|
|
|
|
|
|
battery: sbs-battery@b {
|
|
|
|
compatible = "sbs,sbs-battery";
|
|
|
|
reg = <0xb>;
|
|
|
|
sbs,poll-retry-count = <1>;
|
|
|
|
};
|
2013-04-16 23:29:01 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-11-21 11:32:21 +07:00
|
|
|
/*
|
|
|
|
* On Snow we've got SIP WiFi and so can keep drive strengths low to
|
|
|
|
* reduce EMI.
|
|
|
|
*/
|
|
|
|
dwmmc3@12230000 {
|
|
|
|
slot@0 {
|
2013-04-04 12:16:11 +07:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
|
2012-11-21 11:32:21 +07:00
|
|
|
};
|
|
|
|
};
|
2013-02-13 06:24:15 +07:00
|
|
|
|
|
|
|
usb@12110000 {
|
|
|
|
samsung,vbus-gpio = <&gpx1 1 1 3 3>;
|
|
|
|
};
|
2013-03-09 15:19:22 +07:00
|
|
|
|
|
|
|
fixed-rate-clocks {
|
|
|
|
xxti {
|
|
|
|
compatible = "samsung,clock-xxti";
|
|
|
|
clock-frequency = <24000000>;
|
|
|
|
};
|
|
|
|
};
|
2012-11-21 11:32:21 +07:00
|
|
|
};
|