2012-11-21 04:32:21 +00: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.
|
2014-09-22 22:49:39 +00:00
|
|
|
*/
|
2012-11-21 04:32:21 +00:00
|
|
|
|
|
|
|
/dts-v1/;
|
2014-09-13 17:16:35 +00:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2014-09-23 15:22:01 +00:00
|
|
|
#include <dt-bindings/clock/maxim,max77686.h>
|
2014-09-22 22:49:39 +00:00
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
#include <dt-bindings/input/input.h>
|
2013-06-17 15:02:08 +00:00
|
|
|
#include "exynos5250.dtsi"
|
2012-11-21 04:32:21 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Google Snow";
|
2014-03-20 17:17:22 +00:00
|
|
|
compatible = "google,snow", "samsung,exynos5250", "samsung,exynos5";
|
2012-11-21 04:32:21 +00:00
|
|
|
|
2013-04-16 16:29:01 +00:00
|
|
|
aliases {
|
|
|
|
i2c104 = &i2c_104;
|
|
|
|
};
|
|
|
|
|
2014-08-18 19:00:35 +00:00
|
|
|
memory {
|
|
|
|
reg = <0x40000000 0x80000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
2014-09-22 23:03:57 +00:00
|
|
|
bootargs = "console=tty1";
|
2014-05-15 20:16:07 +00:00
|
|
|
};
|
|
|
|
|
2012-11-21 04:32:21 +00:00
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
2015-01-14 15:30:35 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&power_key_irq &lid_irq>;
|
2012-11-21 04:32:21 +00:00
|
|
|
|
2014-08-18 19:00:35 +00:00
|
|
|
power {
|
|
|
|
label = "Power";
|
2014-09-22 22:49:39 +00:00
|
|
|
gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
|
|
|
|
linux,code = <KEY_POWER>;
|
2014-08-18 19:00:35 +00:00
|
|
|
gpio-key,wakeup;
|
|
|
|
};
|
|
|
|
|
2012-11-21 04:32:21 +00:00
|
|
|
lid-switch {
|
|
|
|
label = "Lid";
|
2014-09-22 22:49:39 +00:00
|
|
|
gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
|
2012-11-21 04:32:21 +00:00
|
|
|
linux,input-type = <5>; /* EV_SW */
|
|
|
|
linux,code = <0>; /* SW_LID */
|
|
|
|
debounce-interval = <1>;
|
|
|
|
gpio-key,wakeup;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-05-15 20:16:14 +00:00
|
|
|
vbat: vbat-fixed-regulator {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vbat-supply";
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
2013-04-16 16:29:01 +00:00
|
|
|
i2c-arbitrator {
|
|
|
|
compatible = "i2c-arb-gpio-challenge";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
i2c-parent = <&{/i2c@12CA0000}>;
|
|
|
|
|
2014-09-22 22:49:39 +00:00
|
|
|
our-claim-gpio = <&gpf0 3 GPIO_ACTIVE_LOW>;
|
|
|
|
their-claim-gpios = <&gpe0 4 GPIO_ACTIVE_LOW>;
|
2013-04-16 16:29:01 +00:00
|
|
|
slew-delay-us = <10>;
|
|
|
|
wait-retry-us = <3000>;
|
|
|
|
wait-free-us = <50000>;
|
|
|
|
|
2014-05-15 20:16:07 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&arb_our_claim &arb_their_claim>;
|
|
|
|
|
2013-04-16 16:29:01 +00:00
|
|
|
/* 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 16:29:02 +00:00
|
|
|
|
|
|
|
battery: sbs-battery@b {
|
|
|
|
compatible = "sbs,sbs-battery";
|
|
|
|
reg = <0xb>;
|
|
|
|
sbs,poll-retry-count = <1>;
|
|
|
|
};
|
2013-04-27 22:14:10 +00:00
|
|
|
|
2014-06-04 22:20:20 +00:00
|
|
|
cros_ec: embedded-controller {
|
2013-04-27 22:14:10 +00:00
|
|
|
compatible = "google,cros-ec-i2c";
|
|
|
|
reg = <0x1e>;
|
2014-09-22 22:49:39 +00:00
|
|
|
interrupts = <6 IRQ_TYPE_NONE>;
|
2013-04-27 22:14:10 +00:00
|
|
|
interrupt-parent = <&gpx1>;
|
2014-05-15 20:16:11 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&ec_irq>;
|
2013-04-27 22:14:10 +00:00
|
|
|
wakeup-source;
|
|
|
|
};
|
2014-05-15 20:16:14 +00:00
|
|
|
|
|
|
|
power-regulator {
|
|
|
|
compatible = "ti,tps65090";
|
|
|
|
reg = <0x48>;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Config irq to disable internal pulls
|
|
|
|
* even though we run in polling mode.
|
|
|
|
*/
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&tps65090_irq>;
|
|
|
|
|
|
|
|
vsys1-supply = <&vbat>;
|
|
|
|
vsys2-supply = <&vbat>;
|
|
|
|
vsys3-supply = <&vbat>;
|
|
|
|
infet1-supply = <&vbat>;
|
|
|
|
infet2-supply = <&vbat>;
|
|
|
|
infet3-supply = <&vbat>;
|
|
|
|
infet4-supply = <&vbat>;
|
|
|
|
infet5-supply = <&vbat>;
|
|
|
|
infet6-supply = <&vbat>;
|
|
|
|
infet7-supply = <&vbat>;
|
|
|
|
vsys-l1-supply = <&vbat>;
|
|
|
|
vsys-l2-supply = <&vbat>;
|
|
|
|
|
|
|
|
regulators {
|
|
|
|
dcdc1 {
|
|
|
|
ti,enable-ext-control;
|
|
|
|
};
|
|
|
|
dcdc2 {
|
|
|
|
ti,enable-ext-control;
|
|
|
|
};
|
|
|
|
dcdc3 {
|
|
|
|
ti,enable-ext-control;
|
|
|
|
};
|
2014-09-13 17:16:35 +00:00
|
|
|
fet1: fet1 {
|
2014-05-15 20:16:14 +00:00
|
|
|
regulator-name = "vcd_led";
|
|
|
|
ti,overcurrent-wait = <3>;
|
|
|
|
};
|
|
|
|
tps65090_fet2: fet2 {
|
|
|
|
regulator-name = "video_mid";
|
|
|
|
regulator-always-on;
|
|
|
|
ti,overcurrent-wait = <3>;
|
|
|
|
};
|
|
|
|
fet3 {
|
|
|
|
regulator-name = "wwan_r";
|
|
|
|
regulator-always-on;
|
|
|
|
ti,overcurrent-wait = <3>;
|
|
|
|
};
|
|
|
|
fet4 {
|
|
|
|
regulator-name = "sdcard";
|
|
|
|
ti,overcurrent-wait = <3>;
|
|
|
|
};
|
|
|
|
fet5 {
|
|
|
|
regulator-name = "camout";
|
|
|
|
regulator-always-on;
|
|
|
|
ti,overcurrent-wait = <3>;
|
|
|
|
};
|
2014-09-13 17:16:35 +00:00
|
|
|
fet6: fet6 {
|
2014-05-15 20:16:14 +00:00
|
|
|
regulator-name = "lcd_vdd";
|
|
|
|
ti,overcurrent-wait = <3>;
|
|
|
|
};
|
|
|
|
tps65090_fet7: fet7 {
|
|
|
|
regulator-name = "video_mid_1a";
|
|
|
|
regulator-always-on;
|
|
|
|
ti,overcurrent-wait = <3>;
|
|
|
|
};
|
|
|
|
ldo1 {
|
|
|
|
};
|
|
|
|
ldo2 {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
charger {
|
|
|
|
compatible = "ti,tps65090-charger";
|
|
|
|
};
|
|
|
|
};
|
2013-04-16 16:29:01 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-05-16 22:43:18 +00:00
|
|
|
i2c@12CD0000 {
|
2014-09-13 17:16:35 +00:00
|
|
|
ptn3460: lvds-bridge@20 {
|
|
|
|
compatible = "nxp,ptn3460";
|
|
|
|
reg = <0x20>;
|
|
|
|
powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;
|
|
|
|
reset-gpios = <&gpx1 5 GPIO_ACTIVE_HIGH>;
|
|
|
|
edid-emulation = <5>;
|
|
|
|
panel = <&panel>;
|
|
|
|
};
|
2014-05-16 22:43:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sound {
|
|
|
|
compatible = "google,snow-audio-max98095";
|
|
|
|
|
2014-07-07 23:20:08 +00:00
|
|
|
samsung,model = "Snow-I2S-MAX98095";
|
2014-05-16 22:43:18 +00:00
|
|
|
samsung,i2s-controller = <&i2s0>;
|
|
|
|
samsung,audio-codec = <&max98095>;
|
|
|
|
};
|
|
|
|
|
2014-05-19 13:23:43 +00:00
|
|
|
usb3_vbus_reg: regulator-usb3 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "P5.0V_USB3CON";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
2014-09-22 22:49:39 +00:00
|
|
|
gpio = <&gpx2 7 GPIO_ACTIVE_HIGH>;
|
2014-05-19 13:23:43 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&usb3_vbus_en>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
|
|
|
|
2013-03-09 08:19:22 +00:00
|
|
|
fixed-rate-clocks {
|
|
|
|
xxti {
|
|
|
|
compatible = "samsung,clock-xxti";
|
|
|
|
clock-frequency = <24000000>;
|
|
|
|
};
|
|
|
|
};
|
2014-05-15 20:22:41 +00:00
|
|
|
|
2014-09-13 17:16:35 +00:00
|
|
|
backlight: backlight {
|
2014-05-19 13:38:18 +00:00
|
|
|
compatible = "pwm-backlight";
|
|
|
|
pwms = <&pwm 0 1000000 0>;
|
|
|
|
brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
|
|
|
|
default-brightness-level = <7>;
|
2014-09-13 17:16:35 +00:00
|
|
|
enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
|
|
|
|
power-supply = <&fet1>;
|
2014-05-19 13:38:18 +00:00
|
|
|
pinctrl-0 = <&pwm0_out>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
|
|
|
|
2014-09-13 17:16:35 +00:00
|
|
|
panel: panel {
|
|
|
|
compatible = "auo,b116xw03";
|
|
|
|
power-supply = <&fet6>;
|
|
|
|
backlight = <&backlight>;
|
|
|
|
};
|
2015-02-04 15:22:02 +00:00
|
|
|
|
|
|
|
mmc3_pwrseq: mmc3_pwrseq {
|
|
|
|
compatible = "mmc-pwrseq-simple";
|
|
|
|
reset-gpios = <&gpx0 2 GPIO_ACTIVE_LOW>, /* WIFI_RSTn */
|
|
|
|
<&gpx0 1 GPIO_ACTIVE_LOW>; /* WIFI_EN */
|
|
|
|
clocks = <&max77686 MAX77686_CLK_PMIC>;
|
|
|
|
clock-names = "ext_clock";
|
|
|
|
};
|
2014-09-23 14:53:20 +00:00
|
|
|
};
|
2014-09-13 17:16:35 +00:00
|
|
|
|
2014-09-22 22:49:39 +00:00
|
|
|
&dp {
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&dp_hpd>;
|
|
|
|
samsung,color-space = <0>;
|
|
|
|
samsung,dynamic-range = <0>;
|
|
|
|
samsung,ycbcr-coeff = <0>;
|
|
|
|
samsung,color-depth = <1>;
|
|
|
|
samsung,link-rate = <0x0a>;
|
|
|
|
samsung,lane-count = <2>;
|
|
|
|
samsung,hpd-gpio = <&gpx0 7 GPIO_ACTIVE_HIGH>;
|
|
|
|
bridge = <&ptn3460>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&ehci {
|
|
|
|
samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&fimd {
|
|
|
|
status = "okay";
|
|
|
|
samsung,invert-vclk;
|
|
|
|
};
|
|
|
|
|
|
|
|
&hdmi {
|
|
|
|
hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&hdmi_hpd_irq>;
|
|
|
|
phy = <&hdmiphy>;
|
|
|
|
ddc = <&i2c_2>;
|
|
|
|
hdmi-en-supply = <&tps65090_fet7>;
|
|
|
|
vdd-supply = <&ldo8_reg>;
|
|
|
|
vdd_osc-supply = <&ldo10_reg>;
|
|
|
|
vdd_pll-supply = <&ldo8_reg>;
|
2012-11-21 04:32:21 +00:00
|
|
|
};
|
2014-06-04 22:20:20 +00:00
|
|
|
|
2014-07-29 22:51:51 +00:00
|
|
|
&i2c_0 {
|
2014-08-18 19:00:35 +00:00
|
|
|
status = "okay";
|
|
|
|
samsung,i2c-sda-delay = <100>;
|
|
|
|
samsung,i2c-max-bus-freq = <378000>;
|
|
|
|
|
2014-09-23 15:22:01 +00:00
|
|
|
max77686: max77686@09 {
|
2014-07-29 22:51:51 +00:00
|
|
|
compatible = "maxim,max77686";
|
|
|
|
interrupt-parent = <&gpx3>;
|
2014-09-22 22:49:39 +00:00
|
|
|
interrupts = <2 IRQ_TYPE_NONE>;
|
2014-07-29 22:51:51 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&max77686_irq>;
|
|
|
|
wakeup-source;
|
|
|
|
reg = <0x09>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
|
|
|
|
voltage-regulators {
|
|
|
|
ldo1_reg: LDO1 {
|
|
|
|
regulator-name = "P1.0V_LDO_OUT1";
|
|
|
|
regulator-min-microvolt = <1000000>;
|
|
|
|
regulator-max-microvolt = <1000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo2_reg: LDO2 {
|
|
|
|
regulator-name = "P1.8V_LDO_OUT2";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo3_reg: LDO3 {
|
|
|
|
regulator-name = "P1.8V_LDO_OUT3";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo7_reg: LDO7 {
|
|
|
|
regulator-name = "P1.1V_LDO_OUT7";
|
|
|
|
regulator-min-microvolt = <1100000>;
|
|
|
|
regulator-max-microvolt = <1100000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo8_reg: LDO8 {
|
|
|
|
regulator-name = "P1.0V_LDO_OUT8";
|
|
|
|
regulator-min-microvolt = <1000000>;
|
|
|
|
regulator-max-microvolt = <1000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo10_reg: LDO10 {
|
|
|
|
regulator-name = "P1.8V_LDO_OUT10";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo12_reg: LDO12 {
|
|
|
|
regulator-name = "P3.0V_LDO_OUT12";
|
|
|
|
regulator-min-microvolt = <3000000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo14_reg: LDO14 {
|
|
|
|
regulator-name = "P1.8V_LDO_OUT14";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo15_reg: LDO15 {
|
|
|
|
regulator-name = "P1.0V_LDO_OUT15";
|
|
|
|
regulator-min-microvolt = <1000000>;
|
|
|
|
regulator-max-microvolt = <1000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo16_reg: LDO16 {
|
|
|
|
regulator-name = "P1.8V_LDO_OUT16";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
buck1_reg: BUCK1 {
|
|
|
|
regulator-name = "vdd_mif";
|
|
|
|
regulator-min-microvolt = <950000>;
|
|
|
|
regulator-max-microvolt = <1300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
buck2_reg: BUCK2 {
|
|
|
|
regulator-name = "vdd_arm";
|
|
|
|
regulator-min-microvolt = <850000>;
|
|
|
|
regulator-max-microvolt = <1350000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
buck3_reg: BUCK3 {
|
|
|
|
regulator-name = "vdd_int";
|
|
|
|
regulator-min-microvolt = <900000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
buck4_reg: BUCK4 {
|
|
|
|
regulator-name = "vdd_g3d";
|
|
|
|
regulator-min-microvolt = <850000>;
|
|
|
|
regulator-max-microvolt = <1300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
buck5_reg: BUCK5 {
|
|
|
|
regulator-name = "P1.8V_BUCK_OUT5";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
buck6_reg: BUCK6 {
|
|
|
|
regulator-name = "P1.35V_BUCK_OUT6";
|
|
|
|
regulator-min-microvolt = <1350000>;
|
|
|
|
regulator-max-microvolt = <1350000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
buck7_reg: BUCK7 {
|
|
|
|
regulator-name = "P2.0V_BUCK_OUT7";
|
|
|
|
regulator-min-microvolt = <2000000>;
|
|
|
|
regulator-max-microvolt = <2000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
buck8_reg: BUCK8 {
|
|
|
|
regulator-name = "P2.85V_BUCK_OUT8";
|
|
|
|
regulator-min-microvolt = <2850000>;
|
|
|
|
regulator-max-microvolt = <2850000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-07-29 22:51:56 +00:00
|
|
|
&i2c_1 {
|
2014-08-18 19:00:35 +00:00
|
|
|
status = "okay";
|
|
|
|
samsung,i2c-sda-delay = <100>;
|
|
|
|
samsung,i2c-max-bus-freq = <378000>;
|
|
|
|
|
2014-07-29 22:51:56 +00:00
|
|
|
trackpad {
|
|
|
|
reg = <0x67>;
|
|
|
|
compatible = "cypress,cyapa";
|
2014-09-22 22:49:39 +00:00
|
|
|
interrupts = <2 IRQ_TYPE_NONE>;
|
2014-07-29 22:51:56 +00:00
|
|
|
interrupt-parent = <&gpx1>;
|
|
|
|
wakeup-source;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-08-18 19:00:35 +00:00
|
|
|
/*
|
|
|
|
* Disabled pullups since external part has its own pullups and
|
|
|
|
* double-pulling gets us out of spec in some cases.
|
|
|
|
*/
|
|
|
|
&i2c2_bus {
|
|
|
|
samsung,pin-pud = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c_2 {
|
|
|
|
status = "okay";
|
|
|
|
samsung,i2c-sda-delay = <100>;
|
|
|
|
samsung,i2c-max-bus-freq = <66000>;
|
|
|
|
|
|
|
|
hdmiddc@50 {
|
|
|
|
compatible = "samsung,exynos4210-hdmiddc";
|
|
|
|
reg = <0x50>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c_3 {
|
|
|
|
status = "okay";
|
|
|
|
samsung,i2c-sda-delay = <100>;
|
|
|
|
samsung,i2c-max-bus-freq = <66000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c_4 {
|
|
|
|
status = "okay";
|
|
|
|
samsung,i2c-sda-delay = <100>;
|
|
|
|
samsung,i2c-max-bus-freq = <66000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c_5 {
|
|
|
|
status = "okay";
|
|
|
|
samsung,i2c-sda-delay = <100>;
|
|
|
|
samsung,i2c-max-bus-freq = <66000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c_7 {
|
|
|
|
status = "okay";
|
|
|
|
samsung,i2c-sda-delay = <100>;
|
|
|
|
samsung,i2c-max-bus-freq = <66000>;
|
2014-09-22 22:49:39 +00:00
|
|
|
|
|
|
|
max98095: codec@11 {
|
|
|
|
compatible = "maxim,max98095";
|
|
|
|
reg = <0x11>;
|
|
|
|
pinctrl-0 = <&max98095_en>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
2014-08-18 19:00:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c_8 {
|
|
|
|
status = "okay";
|
|
|
|
samsung,i2c-sda-delay = <100>;
|
|
|
|
samsung,i2c-max-bus-freq = <378000>;
|
|
|
|
|
|
|
|
hdmiphy: hdmiphy@38 {
|
|
|
|
compatible = "samsung,exynos4212-hdmiphy";
|
|
|
|
reg = <0x38>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-09-22 22:49:39 +00:00
|
|
|
&i2s0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2014-08-18 19:00:35 +00:00
|
|
|
&mmc_0 {
|
|
|
|
status = "okay";
|
|
|
|
num-slots = <1>;
|
|
|
|
broken-cd;
|
|
|
|
card-detect-delay = <200>;
|
|
|
|
samsung,dw-mshc-ciu-div = <3>;
|
|
|
|
samsung,dw-mshc-sdr-timing = <2 3>;
|
|
|
|
samsung,dw-mshc-ddr-timing = <1 2>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
|
2014-08-18 16:55:32 +00:00
|
|
|
bus-width = <8>;
|
|
|
|
cap-mmc-highspeed;
|
2014-08-18 19:00:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&mmc_2 {
|
|
|
|
status = "okay";
|
|
|
|
num-slots = <1>;
|
|
|
|
card-detect-delay = <200>;
|
|
|
|
samsung,dw-mshc-ciu-div = <3>;
|
|
|
|
samsung,dw-mshc-sdr-timing = <2 3>;
|
|
|
|
samsung,dw-mshc-ddr-timing = <1 2>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
|
2014-08-18 16:55:32 +00:00
|
|
|
bus-width = <4>;
|
2014-09-22 22:49:39 +00:00
|
|
|
wp-gpios = <&gpc2 1 GPIO_ACTIVE_HIGH>;
|
2014-08-18 16:55:32 +00:00
|
|
|
cap-sd-highspeed;
|
2014-08-18 19:00:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* On Snow we've got SIP WiFi and so can keep drive strengths low to
|
|
|
|
* reduce EMI.
|
|
|
|
*/
|
|
|
|
&mmc_3 {
|
|
|
|
status = "okay";
|
|
|
|
num-slots = <1>;
|
|
|
|
broken-cd;
|
2015-02-04 15:22:02 +00:00
|
|
|
cap-sdio-irq;
|
2014-08-18 19:00:35 +00:00
|
|
|
card-detect-delay = <200>;
|
|
|
|
samsung,dw-mshc-ciu-div = <3>;
|
|
|
|
samsung,dw-mshc-sdr-timing = <2 3>;
|
|
|
|
samsung,dw-mshc-ddr-timing = <1 2>;
|
|
|
|
pinctrl-names = "default";
|
2015-02-04 15:22:02 +00:00
|
|
|
pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4 &wifi_en &wifi_rst>;
|
2014-08-18 16:55:32 +00:00
|
|
|
bus-width = <4>;
|
|
|
|
cap-sd-highspeed;
|
2015-02-04 15:22:02 +00:00
|
|
|
mmc-pwrseq = <&mmc3_pwrseq>;
|
2014-08-18 19:00:35 +00:00
|
|
|
};
|
|
|
|
|
2014-07-29 22:51:51 +00:00
|
|
|
&pinctrl_0 {
|
2015-02-04 15:22:02 +00:00
|
|
|
wifi_en: wifi-en {
|
|
|
|
samsung,pins = "gpx0-1";
|
|
|
|
samsung,pin-function = <1>;
|
|
|
|
samsung,pin-pud = <0>;
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
wifi_rst: wifi-rst {
|
|
|
|
samsung,pins = "gpx0-2";
|
|
|
|
samsung,pin-function = <1>;
|
|
|
|
samsung,pin-pud = <0>;
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
|
2015-01-14 15:30:35 +00:00
|
|
|
power_key_irq: power-key-irq {
|
|
|
|
samsung,pins = "gpx1-3";
|
|
|
|
samsung,pin-function = <0xf>;
|
|
|
|
samsung,pin-pud = <0>;
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
|
2014-09-22 22:49:39 +00:00
|
|
|
ec_irq: ec-irq {
|
|
|
|
samsung,pins = "gpx1-6";
|
|
|
|
samsung,pin-function = <0>;
|
|
|
|
samsung,pin-pud = <0>;
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
max98095_en: max98095-en {
|
|
|
|
samsung,pins = "gpx1-7";
|
|
|
|
samsung,pin-function = <0>;
|
|
|
|
samsung,pin-pud = <3>;
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
tps65090_irq: tps65090-irq {
|
|
|
|
samsung,pins = "gpx2-6";
|
|
|
|
samsung,pin-function = <0>;
|
|
|
|
samsung,pin-pud = <0>;
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb3_vbus_en: usb3-vbus-en {
|
|
|
|
samsung,pins = "gpx2-7";
|
|
|
|
samsung,pin-function = <1>;
|
|
|
|
samsung,pin-pud = <0>;
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
|
2014-07-29 22:51:51 +00:00
|
|
|
max77686_irq: max77686-irq {
|
|
|
|
samsung,pins = "gpx3-2";
|
|
|
|
samsung,pin-function = <0>;
|
|
|
|
samsung,pin-pud = <0>;
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
2014-09-22 22:49:39 +00:00
|
|
|
|
2015-01-14 15:30:35 +00:00
|
|
|
lid_irq: lid-irq {
|
|
|
|
samsung,pins = "gpx3-5";
|
|
|
|
samsung,pin-function = <0xf>;
|
|
|
|
samsung,pin-pud = <0>;
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
|
2014-09-22 22:49:39 +00:00
|
|
|
hdmi_hpd_irq: hdmi-hpd-irq {
|
|
|
|
samsung,pins = "gpx3-7";
|
|
|
|
samsung,pin-function = <0>;
|
|
|
|
samsung,pin-pud = <1>;
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_1 {
|
|
|
|
arb_their_claim: arb-their-claim {
|
|
|
|
samsung,pins = "gpe0-4";
|
|
|
|
samsung,pin-function = <0>;
|
|
|
|
samsung,pin-pud = <3>;
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
arb_our_claim: arb-our-claim {
|
|
|
|
samsung,pins = "gpf0-3";
|
|
|
|
samsung,pin-function = <1>;
|
|
|
|
samsung,pin-pud = <0>;
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&rtc {
|
|
|
|
status = "okay";
|
2014-09-23 15:22:01 +00:00
|
|
|
clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
|
|
|
|
clock-names = "rtc", "rtc_src";
|
2014-09-22 22:49:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&sd3_bus4 {
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sd3_clk {
|
|
|
|
samsung,pin-drv = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sd3_cmd {
|
|
|
|
samsung,pin-pud = <3>;
|
|
|
|
samsung,pin-drv = <0>;
|
2014-07-29 22:51:51 +00:00
|
|
|
};
|
Samsung DT 2nd updates for v3.17
This is based on tags/exynos-power because this DT changes
are depending PMU cleanup.
Fixes boot for exynos5260 and exynos5410,
- Since exynos cannot boot without obtaining PMU address via
DT from now on, add PMU node for exynos5260 and exynos5410
For preparing exynos5250-spring,
- move max77686 and cypress,cyapa trackpad from exynos5250-
cros-common to exynos5250-snow DT file
(Note exynos5250-spring is not included in this branch yet)
For exynos3250,
- add TMU node and remove duplicated interrupt-parent
- add missing pinctrl property for uart0 and uart1
For exynos5250-smdk5250 board
- add max77686 pmic interrupt property which is connected to
gpx3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAABAgAGBQJT2of/AAoJEA0Cl+kVi2xqNtkP/RzgKbqZfBVFVj7j9gC/c8qs
0Cnh3l6JHXRQXMLvL7vI9MXS41kH0jaLWxSDgZlf87pARINT2zDP6KNAYleJJz3j
+VX++YP6e4Yhw72Jzxuzqjjdu0IMNoo0JL7T5w/aHK5C186YKM7mEuG98+/qbwBh
nF2pEPlQ9x3D78XawyC8IdGBkB6YlpqWWYThPDVGN2wvm14Jf9CRJFVyDjcjO281
y4K7cXnxKYzc51Oih5ktzT0K4oHaHag5biLLOwBCCQFJVr6ZWbXG/Nd849v8chG+
Cfg9ckkch+CGre8NsdW4qfu1UGIK3qubHw9fKZzm8j9/0PANgLMfrX4/JKFhPbsQ
2Hluc3u4UFkNheDJ4xfY127MQCvIlXwUZLAhDS3PGvm7nP/BiPjpX4HsLsBq11we
wRCEtiD1aWb5XcVUyJQfUIETEfQDoc7bU9YjSEpz30ilTc/F5rLs2/zAgrz4/yLE
rhFyGl4qWW8LbveD6X7QjZ2mLEG5kYOd0job2SfJeXN0uQDJV3JpZbhJ7pvHDQTk
3OiR7xtrpfOsMGjxW3kpCs/kz9h7MLwbIdlUa5cFl3kpTTLmexo+0TagzcGIus+z
Yzt02gnM5zLUYmy0YjDI2YqvL17urTnLvrQnUeM/WlXOHPJkSnHvh9ywbsm9SrIe
iGQG4cuxEtVk+s6ECVUf
=aXEe
-----END PGP SIGNATURE-----
Merge tag 'samsung-dt-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/dt
Merge "Samsung DT 2nd updates for v3.17" from Kukjin Kim:
This is based on tags/exynos-power because this DT changes
are depending PMU cleanup.
Fixes boot for exynos5260 and exynos5410,
- Since exynos cannot boot without obtaining PMU address via
DT from now on, add PMU node for exynos5260 and exynos5410
For preparing exynos5250-spring,
- move max77686 and cypress,cyapa trackpad from exynos5250-
cros-common to exynos5250-snow DT file
(Note exynos5250-spring is not included in this branch yet)
For exynos3250,
- add TMU node and remove duplicated interrupt-parent
- add missing pinctrl property for uart0 and uart1
For exynos5250-smdk5250 board
- add max77686 pmic interrupt property which is connected to
gpx3
* tag 'samsung-dt-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung: (28 commits)
ARM: dts: Add missing pinctrl for uart0/1 for exynos3250
ARM: dts: Remove duplicate 'interrput-parent' property for exynos3250
ARM: dts: Add TMU dt node to monitor the temperature for exynos3250
ARM: dts: Specify MAX77686 pmic interrupt for exynos5250-smdk5250
ARM: dts: cypress,cyapa trackpad is exynos5250-Snow only
ARM: dts: max77686 is exynos5250-snow only
ARM: EXYNOS: Add exynos5260 PMU compatible string to DT match table
ARM: dts: Add PMU DT node for exynos5260 SoC
ARM: EXYNOS: Add support for Exynos5410 PMU
ARM: dts: Add PMU to exynos5410
ARM: dts: Document exynos5410 PMU
ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine
ARM: EXYNOS: Refactored code for using PMU address via DT
ARM: EXYNOS: Support cluster power off on exynos5420/5800
ARM: EXYNOS: populate suspend and powered_up callbacks for mcpm
ARM: EXYNOS: do not allow cpuidle registration for exynos5420
cpuidle: big.LITTLE: init driver for exynos5420
cpuidle: big.LITTLE: Add ARCH_EXYNOS entry in config
ARM: EXYNOS: add generic function to calculate cpu number
cpuidle: big.LITTLE: add of_device_id structure
...
Signed-off-by: Olof Johansson <olof@lixom.net>
2014-08-01 03:17:53 +00:00
|
|
|
|
2014-08-18 19:00:35 +00:00
|
|
|
&spi_1 {
|
|
|
|
status = "okay";
|
|
|
|
samsung,spi-src-clk = <0>;
|
|
|
|
num-cs = <1>;
|
|
|
|
};
|
|
|
|
|
2014-11-19 07:52:15 +00:00
|
|
|
&usbdrd_dwc3 {
|
|
|
|
dr_mode = "host";
|
|
|
|
};
|
|
|
|
|
2014-09-22 22:49:39 +00:00
|
|
|
&usbdrd_phy {
|
|
|
|
vbus-supply = <&usb3_vbus_reg>;
|
|
|
|
};
|
|
|
|
|
2014-06-04 22:20:20 +00:00
|
|
|
#include "cros-ec-keyboard.dtsi"
|