Commit 01eacbb8 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'samsung-dt' of...

Merge tag 'samsung-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/dt

Pull "Samsung DT update for 3.18" from Kukjin Kim:

- un-use slot-node and deprecate the supports-highspped
  for dw-mmc
- remove old USB2 PHY node for exynos5250

- exynos4412-odroid-common
  enable PMIC interrupt and i2c improvements

- exynos5250-snow
  fold exynos5250-cros-common
  update display related nodes

- Peach Pit and Pi
  improve power scheme, add support max77802 PMIC,
  add hdmi regulators add thermistor, ISL29018 sensor,
  set i2c clock at 400kHz, add support Atmel touchpad,
  update display related nodes
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>

* tag 'samsung-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
  ARM: dts: remove old USB2 PHY node for exynos5250
  ARM: dts: remove old USB2 PHY node hook for exynos5250-arndale
  ARM: dts: update display related nodes for exynos5800-peach-pi
  ARM: dts: update display related nodes for exynos5420-peach-pit
  ARM: dts: update display related nodes for exynos5250-snow
  ARM: dts: Add support Atmel touchpad for exynos5800-peach-pi
  ARM: dts: Add support Atmel touchpad for exynos5420-peach-pit
  ARM: dts: Set i2c7 clock at 400kHz for exynos based Peach boards
  ARM: dts: Add ISL29018 sensor for exynos based Peach boards
  ARM: dts: Add thermistor dts fragment used by exynos based Peach boards
  ARM: dts: add hdmi regulators for exynos5420-peach-pit
  ARM: dts: add hdmi regulators for exynos5800-peach-pi
  ARM: dts: Add support max77802 PMIC for exynos based Peach boards
  ARM: dts: Improve Peach Pit and Pi power scheme
  ARM: dts: unuse the slot-node and deprecate the supports-highspeed for dw-mmc in exynos
  ARM: dts: Fold exynos5250-cros-common into exynos5250-snow
  ARM: dts: Fix MMC pinctrl for exynos5250-snow
  ARM: dts: ODROID i2c improvements for exynos4412-odroid-common
  ARM: dts: Enable PMIC interrupts for exynos4412-odroid-common
parents 8446cef1 9b027326
/*
* Thermistor dts fragment for devices that use Thermistors as
* children of the IIO based ADC.
*
* Currently, used by Exynos5420 based Peach PIT and
* Exynos5800 based Peach PI.
*
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
*
* 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.
*/
&adc {
ncp15wb473@3 {
compatible = "murata,ncp15wb473";
pullup-uv = <1800000>;
pullup-ohm = <47000>;
pulldown-ohm = <0>;
io-channels = <&adc 3>;
};
ncp15wb473@4 {
compatible = "murata,ncp15wb473";
pullup-uv = <1800000>;
pullup-ohm = <47000>;
pulldown-ohm = <0>;
io-channels = <&adc 4>;
};
ncp15wb473@5 {
compatible = "murata,ncp15wb473";
pullup-uv = <1800000>;
pullup-ohm = <47000>;
pulldown-ohm = <0>;
io-channels = <&adc 5>;
};
ncp15wb473@6 {
compatible = "murata,ncp15wb473";
pullup-uv = <1800000>;
pullup-ohm = <47000>;
pulldown-ohm = <0>;
io-channels = <&adc 6>;
};
};
...@@ -54,17 +54,13 @@ mmc@12550000 { ...@@ -54,17 +54,13 @@ mmc@12550000 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
broken-cd; broken-cd;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-sdr-timing = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
slot@0 {
reg = <0>;
bus-width = <8>; bus-width = <8>;
}; cap-mmc-highspeed;
}; };
watchdog@10060000 { watchdog@10060000 {
......
...@@ -137,17 +137,13 @@ mmc@12550000 { ...@@ -137,17 +137,13 @@ mmc@12550000 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
broken-cd; broken-cd;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-sdr-timing = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
slot@0 {
reg = <0>;
bus-width = <8>; bus-width = <8>;
}; cap-mmc-highspeed;
}; };
codec@13400000 { codec@13400000 {
......
...@@ -520,7 +520,6 @@ buck9_reg: buck9 { ...@@ -520,7 +520,6 @@ buck9_reg: buck9 {
mmc@12550000 { mmc@12550000 {
num-slots = <1>; num-slots = <1>;
supports-highspeed;
broken-cd; broken-cd;
non-removable; non-removable;
card-detect-delay = <200>; card-detect-delay = <200>;
...@@ -532,11 +531,8 @@ mmc@12550000 { ...@@ -532,11 +531,8 @@ mmc@12550000 {
pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay"; status = "okay";
slot@0 {
reg = <0>;
bus-width = <8>; bus-width = <8>;
}; cap-mmc-highspeed;
}; };
serial@13800000 { serial@13800000 {
......
...@@ -401,7 +401,6 @@ sata-phy@12170000 { ...@@ -401,7 +401,6 @@ sata-phy@12170000 {
mmc_0: mmc@12200000 { mmc_0: mmc@12200000 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
broken-cd; broken-cd;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
...@@ -410,17 +409,13 @@ mmc_0: mmc@12200000 { ...@@ -410,17 +409,13 @@ mmc_0: mmc@12200000 {
vmmc-supply = <&mmc_reg>; vmmc-supply = <&mmc_reg>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
slot@0 {
reg = <0>;
bus-width = <8>; bus-width = <8>;
}; cap-mmc-highspeed;
}; };
mmc_2: mmc@12220000 { mmc_2: mmc@12220000 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-sdr-timing = <2 3>;
...@@ -428,12 +423,9 @@ mmc_2: mmc@12220000 { ...@@ -428,12 +423,9 @@ mmc_2: mmc@12220000 {
vmmc-supply = <&mmc_reg>; vmmc-supply = <&mmc_reg>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
slot@0 {
reg = <0>;
bus-width = <4>; bus-width = <4>;
disable-wp; disable-wp;
}; cap-sd-highspeed;
}; };
i2s0: i2s@03830000 { i2s0: i2s@03830000 {
...@@ -570,8 +562,4 @@ usb_hub: usb_hub { ...@@ -570,8 +562,4 @@ usb_hub: usb_hub {
connect-gpios = <&gpd1 7 1>; connect-gpios = <&gpd1 7 1>;
}; };
}; };
usb@12110000 {
usb-phy = <&usb2_phy>;
};
}; };
/*
* Common device tree include for all Exynos 5250 boards based off of Daisy.
*
* 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.
*/
/ {
aliases {
};
memory {
reg = <0x40000000 0x80000000>;
};
chosen {
};
pinctrl@11400000 {
/*
* Disabled pullups since external part has its own pullups and
* double-pulling gets us out of spec in some cases.
*/
i2c2_bus: i2c2-bus {
samsung,pin-pud = <0>;
};
};
i2c@12C60000 {
status = "okay";
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <378000>;
};
i2c@12C70000 {
status = "okay";
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <378000>;
};
i2c@12C80000 {
status = "okay";
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <66000>;
hdmiddc@50 {
compatible = "samsung,exynos4210-hdmiddc";
reg = <0x50>;
};
};
i2c@12C90000 {
status = "okay";
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <66000>;
};
i2c@12CA0000 {
status = "okay";
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <66000>;
};
i2c@12CB0000 {
status = "okay";
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <66000>;
};
i2c@12CD0000 {
status = "okay";
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <66000>;
};
i2c@12CE0000 {
status = "okay";
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <378000>;
hdmiphy: hdmiphy@38 {
compatible = "samsung,exynos4212-hdmiphy";
reg = <0x38>;
};
};
mmc@12200000 {
num-slots = <1>;
supports-highspeed;
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>;
slot@0 {
reg = <0>;
bus-width = <8>;
};
};
mmc@12220000 {
num-slots = <1>;
supports-highspeed;
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>;
slot@0 {
reg = <0>;
bus-width = <4>;
wp-gpios = <&gpc2 1 0>;
};
};
mmc@12230000 {
num-slots = <1>;
supports-highspeed;
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>;
/* See board-specific dts files for pin setup */
slot@0 {
reg = <0>;
bus-width = <4>;
};
};
spi_1: spi@12d30000 {
status = "okay";
samsung,spi-src-clk = <0>;
num-cs = <1>;
};
hdmi {
hpd-gpio = <&gpx3 7 0>;
pinctrl-names = "default";
pinctrl-0 = <&hdmi_hpd_irq>;
phy = <&hdmiphy>;
ddc = <&i2c_2>;
};
gpio-keys {
compatible = "gpio-keys";
power {
label = "Power";
gpios = <&gpx1 3 1>;
linux,code = <116>; /* KEY_POWER */
gpio-key,wakeup;
};
};
};
...@@ -284,7 +284,6 @@ sata-phy@12170000 { ...@@ -284,7 +284,6 @@ sata-phy@12170000 {
mmc@12200000 { mmc@12200000 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
broken-cd; broken-cd;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
...@@ -292,29 +291,22 @@ mmc@12200000 { ...@@ -292,29 +291,22 @@ mmc@12200000 {
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
slot@0 {
reg = <0>;
bus-width = <8>; bus-width = <8>;
}; cap-mmc-highspeed;
}; };
mmc@12220000 { mmc@12220000 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-sdr-timing = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
slot@0 {
reg = <0>;
bus-width = <4>; bus-width = <4>;
disable-wp; disable-wp;
}; cap-sd-highspeed;
}; };
spi_1: spi@12d30000 { spi_1: spi@12d30000 {
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
*/ */
/dts-v1/; /dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include "exynos5250.dtsi" #include "exynos5250.dtsi"
#include "exynos5250-cros-common.dtsi"
/ { / {
model = "Google Snow"; model = "Google Snow";
...@@ -20,6 +20,13 @@ aliases { ...@@ -20,6 +20,13 @@ aliases {
i2c104 = &i2c_104; i2c104 = &i2c_104;
}; };
memory {
reg = <0x40000000 0x80000000>;
};
chosen {
};
rtc@101E0000 { rtc@101E0000 {
status = "okay"; status = "okay";
}; };
...@@ -93,6 +100,13 @@ arb_our_claim: arb-our-claim { ...@@ -93,6 +100,13 @@ arb_our_claim: arb-our-claim {
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
power {
label = "Power";
gpios = <&gpx1 3 1>;
linux,code = <116>; /* KEY_POWER */
gpio-key,wakeup;
};
lid-switch { lid-switch {
label = "Lid"; label = "Lid";
gpios = <&gpx3 5 1>; gpios = <&gpx3 5 1>;
...@@ -181,7 +195,7 @@ dcdc2 { ...@@ -181,7 +195,7 @@ dcdc2 {
dcdc3 { dcdc3 {
ti,enable-ext-control; ti,enable-ext-control;
}; };
fet1 { fet1: fet1 {
regulator-name = "vcd_led"; regulator-name = "vcd_led";
ti,overcurrent-wait = <3>; ti,overcurrent-wait = <3>;
}; };
...@@ -204,7 +218,7 @@ fet5 { ...@@ -204,7 +218,7 @@ fet5 {
regulator-always-on; regulator-always-on;
ti,overcurrent-wait = <3>; ti,overcurrent-wait = <3>;
}; };
fet6 { fet6: fet6 {
regulator-name = "lcd_vdd"; regulator-name = "lcd_vdd";
ti,overcurrent-wait = <3>; ti,overcurrent-wait = <3>;
}; };
...@@ -226,26 +240,6 @@ charger { ...@@ -226,26 +240,6 @@ charger {
}; };
}; };
mmc@12200000 {
status = "okay";
};
mmc@12220000 {
status = "okay";
};
/*
* On Snow we've got SIP WiFi and so can keep drive strengths low to
* reduce EMI.
*/
mmc@12230000 {
status = "okay";
slot@0 {
pinctrl-names = "default";
pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
};
};
i2c@12CD0000 { i2c@12CD0000 {
max98095: codec@11 { max98095: codec@11 {
compatible = "maxim,max98095"; compatible = "maxim,max98095";
...@@ -253,6 +247,15 @@ max98095: codec@11 { ...@@ -253,6 +247,15 @@ max98095: codec@11 {
pinctrl-0 = <&max98095_en>; pinctrl-0 = <&max98095_en>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
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>;
};
}; };
i2s0: i2s@03830000 { i2s0: i2s@03830000 {
...@@ -294,17 +297,24 @@ xxti { ...@@ -294,17 +297,24 @@ xxti {
}; };
hdmi { hdmi {
hpd-gpio = <&gpx3 7 0>;
pinctrl-names = "default";
pinctrl-0 = <&hdmi_hpd_irq>;
phy = <&hdmiphy>;
ddc = <&i2c_2>;
hdmi-en-supply = <&tps65090_fet7>; hdmi-en-supply = <&tps65090_fet7>;
vdd-supply = <&ldo8_reg>; vdd-supply = <&ldo8_reg>;
vdd_osc-supply = <&ldo10_reg>; vdd_osc-supply = <&ldo10_reg>;
vdd_pll-supply = <&ldo8_reg>; vdd_pll-supply = <&ldo8_reg>;
}; };
backlight { backlight: backlight {
compatible = "pwm-backlight"; compatible = "pwm-backlight";
pwms = <&pwm 0 1000000 0>; pwms = <&pwm 0 1000000 0>;
brightness-levels = <0 100 500 1000 1500 2000 2500 2800>; brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
default-brightness-level = <7>; default-brightness-level = <7>;
enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
power-supply = <&fet1>;
pinctrl-0 = <&pwm0_out>; pinctrl-0 = <&pwm0_out>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
...@@ -314,6 +324,12 @@ fimd@14400000 { ...@@ -314,6 +324,12 @@ fimd@14400000 {
samsung,invert-vclk; samsung,invert-vclk;
}; };
panel: panel {
compatible = "auo,b116xw03";
power-supply = <&fet6>;
backlight = <&backlight>;
};
dp-controller@145B0000 { dp-controller@145B0000 {
status = "okay"; status = "okay";
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -325,26 +341,15 @@ dp-controller@145B0000 { ...@@ -325,26 +341,15 @@ dp-controller@145B0000 {
samsung,link-rate = <0x0a>; samsung,link-rate = <0x0a>;
samsung,lane-count = <2>; samsung,lane-count = <2>;
samsung,hpd-gpio = <&gpx0 7 0>; samsung,hpd-gpio = <&gpx0 7 0>;
bridge = <&ptn3460>;
display-timings {
native-mode = <&timing1>;
timing1: timing@1 {
clock-frequency = <70589280>;
hactive = <1366>;
vactive = <768>;
hfront-porch = <40>;
hback-porch = <40>;
hsync-len = <32>;
vback-porch = <10>;
vfront-porch = <12>;
vsync-len = <6>;
};
};
}; };
}; };
&i2c_0 { &i2c_0 {
status = "okay";
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <378000>;
max77686@09 { max77686@09 {
compatible = "maxim,max77686"; compatible = "maxim,max77686";
interrupt-parent = <&gpx3>; interrupt-parent = <&gpx3>;
...@@ -491,6 +496,10 @@ buck8_reg: BUCK8 { ...@@ -491,6 +496,10 @@ buck8_reg: BUCK8 {
}; };
&i2c_1 { &i2c_1 {
status = "okay";
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <378000>;
trackpad { trackpad {
reg = <0x67>; reg = <0x67>;
compatible = "cypress,cyapa"; compatible = "cypress,cyapa";
...@@ -500,6 +509,106 @@ trackpad { ...@@ -500,6 +509,106 @@ trackpad {
}; };
}; };
/*
* 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>;
};
&i2c_8 {
status = "okay";
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <378000>;
hdmiphy: hdmiphy@38 {
compatible = "samsung,exynos4212-hdmiphy";
reg = <0x38>;
};
};
&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>;
bus-width = <8>;
cap-mmc-highspeed;
};
&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>;
bus-width = <4>;
wp-gpios = <&gpc2 1 0>;
cap-sd-highspeed;
};
/*
* 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;
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 = <&sd3_clk &sd3_cmd &sd3_bus4>;
bus-width = <4>;
cap-sd-highspeed;
};
&pinctrl_0 { &pinctrl_0 {
max77686_irq: max77686-irq { max77686_irq: max77686-irq {
samsung,pins = "gpx3-2"; samsung,pins = "gpx3-2";
...@@ -509,4 +618,10 @@ max77686_irq: max77686-irq { ...@@ -509,4 +618,10 @@ max77686_irq: max77686-irq {
}; };
}; };
&spi_1 {
status = "okay";
samsung,spi-src-clk = <0>;
num-cs = <1>;
};
#include "cros-ec-keyboard.dtsi" #include "cros-ec-keyboard.dtsi"
...@@ -603,21 +603,6 @@ port@0 { ...@@ -603,21 +603,6 @@ port@0 {
}; };
}; };
usb2_phy: usbphy@12130000 {
compatible = "samsung,exynos5250-usb2phy";
reg = <0x12130000 0x100>;
clocks = <&clock CLK_FIN_PLL>, <&clock CLK_USB2>;
clock-names = "ext_xtal", "usbhost";
#address-cells = <1>;
#size-cells = <1>;
ranges;
usbphy-sys {
reg = <0x10040704 0x8>,
<0x10050230 0x4>;
};
};
usb2_phy_gen: phy@12130000 { usb2_phy_gen: phy@12130000 {
compatible = "samsung,exynos5250-usb2-phy"; compatible = "samsung,exynos5250-usb2-phy";
reg = <0x12130000 0x100>; reg = <0x12130000 0x100>;
......
...@@ -69,7 +69,7 @@ &mmc_0 { ...@@ -69,7 +69,7 @@ &mmc_0 {
num-slots = <1>; num-slots = <1>;
broken-cd; broken-cd;
bypass-smu; bypass-smu;
supports-highspeed; cap-mmc-highspeed;
supports-hs200-mode; /* 200 Mhz */ supports-hs200-mode; /* 200 Mhz */
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
...@@ -77,27 +77,19 @@ &mmc_0 { ...@@ -77,27 +77,19 @@ &mmc_0 {
samsung,dw-mshc-ddr-timing = <0 2>; samsung,dw-mshc-ddr-timing = <0 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd0_rdqs &sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>; pinctrl-0 = <&sd0_rdqs &sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
slot@0 {
reg = <0>;
bus-width = <8>; bus-width = <8>;
};
}; };
&mmc_2 { &mmc_2 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed; cap-sd-highspeed;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-sdr-timing = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
slot@0 {
reg = <0>;
bus-width = <4>; bus-width = <4>;
disable-wp; disable-wp;
};
}; };
...@@ -40,33 +40,25 @@ firmware@02037000 { ...@@ -40,33 +40,25 @@ firmware@02037000 {
&mmc_0 { &mmc_0 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed; cap-mmc-highspeed;
broken-cd; broken-cd;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-sdr-timing = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
slot@0 {
reg = <0>;
bus-width = <8>; bus-width = <8>;
};
}; };
&mmc_2 { &mmc_2 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed; cap-sd-highspeed;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-sdr-timing = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
slot@0 {
reg = <0>;
bus-width = <4>; bus-width = <4>;
disable-wp; disable-wp;
};
}; };
&uart0 { &uart0 {
......
...@@ -50,7 +50,6 @@ codec@11000000 { ...@@ -50,7 +50,6 @@ codec@11000000 {
mmc@12200000 { mmc@12200000 {
status = "okay"; status = "okay";
broken-cd; broken-cd;
supports-highspeed;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
samsung,dw-mshc-sdr-timing = <0 4>; samsung,dw-mshc-sdr-timing = <0 4>;
...@@ -58,16 +57,12 @@ mmc@12200000 { ...@@ -58,16 +57,12 @@ mmc@12200000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
vmmc-supply = <&ldo10_reg>; vmmc-supply = <&ldo10_reg>;
slot@0 {
reg = <0>;
bus-width = <8>; bus-width = <8>;
}; cap-mmc-highspeed;
}; };
mmc@12220000 { mmc@12220000 {
status = "okay"; status = "okay";
supports-highspeed;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-sdr-timing = <2 3>;
...@@ -75,11 +70,8 @@ mmc@12220000 { ...@@ -75,11 +70,8 @@ mmc@12220000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
vmmc-supply = <&ldo10_reg>; vmmc-supply = <&ldo10_reg>;
slot@0 {
reg = <0>;
bus-width = <4>; bus-width = <4>;
}; cap-sd-highspeed;
}; };
hsi2c_4: i2c@12CA0000 { hsi2c_4: i2c@12CA0000 {
......
This diff is collapsed.
...@@ -76,34 +76,26 @@ codec@11000000 { ...@@ -76,34 +76,26 @@ codec@11000000 {
mmc@12200000 { mmc@12200000 {
status = "okay"; status = "okay";
broken-cd; broken-cd;
supports-highspeed;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
samsung,dw-mshc-sdr-timing = <0 4>; samsung,dw-mshc-sdr-timing = <0 4>;
samsung,dw-mshc-ddr-timing = <0 2>; samsung,dw-mshc-ddr-timing = <0 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
slot@0 {
reg = <0>;
bus-width = <8>; bus-width = <8>;
}; cap-mmc-highspeed;
}; };
mmc@12220000 { mmc@12220000 {
status = "okay"; status = "okay";
supports-highspeed;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-sdr-timing = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
slot@0 {
reg = <0>;
bus-width = <4>; bus-width = <4>;
}; cap-sd-highspeed;
}; };
dp-controller@145B0000 { dp-controller@145B0000 {
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment