2015-09-30 00:53:55 -06: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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
#include <dt-bindings/clock/maxim,max77686.h>
|
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
#include "exynos5250.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
aliases {
|
|
|
|
i2c104 = &i2c_104;
|
|
|
|
};
|
|
|
|
|
2016-09-01 03:06:56 -06:00
|
|
|
memory@40000000 {
|
2016-09-01 03:06:53 -06:00
|
|
|
device_type = "memory";
|
2015-09-30 00:53:55 -06:00
|
|
|
reg = <0x40000000 0x80000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "console=tty1";
|
|
|
|
stdout-path = "serial3:115200n8";
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&power_key_irq &lid_irq>;
|
|
|
|
|
|
|
|
power {
|
|
|
|
label = "Power";
|
|
|
|
gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
|
|
|
|
linux,code = <KEY_POWER>;
|
2016-01-28 08:59:58 -07:00
|
|
|
wakeup-source;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
lid-switch {
|
|
|
|
label = "Lid";
|
|
|
|
gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
|
|
|
|
linux,input-type = <5>; /* EV_SW */
|
|
|
|
linux,code = <0>; /* SW_LID */
|
|
|
|
debounce-interval = <1>;
|
2016-01-28 08:59:58 -07:00
|
|
|
wakeup-source;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vbat: vbat-fixed-regulator {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vbat-supply";
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c-arbitrator {
|
|
|
|
compatible = "i2c-arb-gpio-challenge";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2016-05-03 10:49:00 -06:00
|
|
|
i2c-parent = <&i2c_4>;
|
2015-09-30 00:53:55 -06:00
|
|
|
|
|
|
|
our-claim-gpio = <&gpf0 3 GPIO_ACTIVE_LOW>;
|
|
|
|
their-claim-gpios = <&gpe0 4 GPIO_ACTIVE_LOW>;
|
|
|
|
slew-delay-us = <10>;
|
|
|
|
wait-retry-us = <3000>;
|
|
|
|
wait-free-us = <50000>;
|
|
|
|
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&arb_our_claim &arb_their_claim>;
|
|
|
|
|
|
|
|
/* 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>;
|
|
|
|
|
|
|
|
battery: sbs-battery@b {
|
|
|
|
compatible = "sbs,sbs-battery";
|
|
|
|
reg = <0xb>;
|
|
|
|
sbs,poll-retry-count = <1>;
|
|
|
|
};
|
|
|
|
|
ARM: dts: exynos: Fix DTC unit name warnings in Exynos5250
Fix following DTC warnings in all Exynos5250 boards:
Warning (unit_address_vs_reg): Node /dp-controller@145B0000/display-timings/timing@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /usb@12000000 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /usb@12000000/dwc3 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /hdmi has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /mixer has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /video-phy@10040720 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /fixed-regulator@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /fixed-regulator@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /fixed-regulator@2 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /i2c@12C70000/trackpad has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /i2c@12CD0000/lvds-bridge@20/ports/port@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /i2c@12CD0000/lvds-bridge@20/ports/port@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /i2c-arbitrator/i2c@0/embedded-controller has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /i2c-arbitrator/i2c@0/power-regulator has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /i2c@12CA0000/embedded-controller has a reg or ranges property, but no unit name
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
2016-04-05 20:00:45 -06:00
|
|
|
cros_ec: embedded-controller@1e {
|
2015-09-30 00:53:55 -06:00
|
|
|
compatible = "google,cros-ec-i2c";
|
|
|
|
reg = <0x1e>;
|
|
|
|
interrupts = <6 IRQ_TYPE_NONE>;
|
|
|
|
interrupt-parent = <&gpx1>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&ec_irq>;
|
|
|
|
wakeup-source;
|
|
|
|
};
|
|
|
|
|
ARM: dts: exynos: Fix DTC unit name warnings in Exynos5250
Fix following DTC warnings in all Exynos5250 boards:
Warning (unit_address_vs_reg): Node /dp-controller@145B0000/display-timings/timing@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /usb@12000000 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /usb@12000000/dwc3 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /hdmi has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /mixer has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /video-phy@10040720 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /fixed-regulator@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /fixed-regulator@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /fixed-regulator@2 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /i2c@12C70000/trackpad has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /i2c@12CD0000/lvds-bridge@20/ports/port@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /i2c@12CD0000/lvds-bridge@20/ports/port@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /i2c-arbitrator/i2c@0/embedded-controller has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /i2c-arbitrator/i2c@0/power-regulator has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /i2c@12CA0000/embedded-controller has a reg or ranges property, but no unit name
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
2016-04-05 20:00:45 -06:00
|
|
|
power-regulator@48 {
|
2015-09-30 00:53:55 -06:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
fet1: fet1 {
|
|
|
|
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>;
|
|
|
|
};
|
|
|
|
fet6: fet6 {
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
sound {
|
|
|
|
samsung,i2s-controller = <&i2s0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb3_vbus_reg: regulator-usb3 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "P5.0V_USB3CON";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
gpio = <&gpx2 7 GPIO_ACTIVE_HIGH>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&usb3_vbus_en>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
|
|
|
|
|
|
|
fixed-rate-clocks {
|
|
|
|
xxti {
|
|
|
|
compatible = "samsung,clock-xxti";
|
|
|
|
clock-frequency = <24000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
backlight: backlight {
|
|
|
|
compatible = "pwm-backlight";
|
|
|
|
pwms = <&pwm 0 1000000 0>;
|
|
|
|
brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
|
|
|
|
default-brightness-level = <7>;
|
|
|
|
enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
|
|
|
|
power-supply = <&fet1>;
|
|
|
|
pinctrl-0 = <&pwm0_out>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
|
|
|
|
|
|
|
panel: panel {
|
|
|
|
compatible = "auo,b116xw03";
|
|
|
|
power-supply = <&fet6>;
|
|
|
|
backlight = <&backlight>;
|
|
|
|
|
|
|
|
port {
|
|
|
|
panel_in: endpoint {
|
|
|
|
remote-endpoint = <&bridge_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&cpu0 {
|
|
|
|
cpu0-supply = <&buck2_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&dp {
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&dp_hpd>;
|
|
|
|
samsung,color-space = <0>;
|
|
|
|
samsung,color-depth = <1>;
|
|
|
|
samsung,link-rate = <0x0a>;
|
|
|
|
samsung,lane-count = <2>;
|
2016-02-15 04:10:31 -07:00
|
|
|
hpd-gpios = <&gpx0 7 GPIO_ACTIVE_HIGH>;
|
2015-09-30 00:53:55 -06:00
|
|
|
|
|
|
|
ports {
|
2016-06-06 14:24:43 -06:00
|
|
|
port {
|
2015-09-30 00:53:55 -06:00
|
|
|
dp_out: endpoint {
|
|
|
|
remote-endpoint = <&bridge_in>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&ehci {
|
|
|
|
samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&fimd {
|
|
|
|
status = "okay";
|
|
|
|
samsung,invert-vclk;
|
|
|
|
};
|
|
|
|
|
|
|
|
&hdmi {
|
2016-08-24 07:07:16 -06:00
|
|
|
hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
|
2015-09-30 00:53:55 -06:00
|
|
|
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>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c_0 {
|
|
|
|
status = "okay";
|
|
|
|
samsung,i2c-sda-delay = <100>;
|
|
|
|
samsung,i2c-max-bus-freq = <378000>;
|
|
|
|
|
|
|
|
max77686: max77686@09 {
|
|
|
|
compatible = "maxim,max77686";
|
|
|
|
interrupt-parent = <&gpx3>;
|
|
|
|
interrupts = <2 IRQ_TYPE_NONE>;
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c_1 {
|
|
|
|
status = "okay";
|
|
|
|
samsung,i2c-sda-delay = <100>;
|
|
|
|
samsung,i2c-max-bus-freq = <378000>;
|
|
|
|
|
ARM: dts: exynos: Fix DTC unit name warnings in Exynos5250
Fix following DTC warnings in all Exynos5250 boards:
Warning (unit_address_vs_reg): Node /dp-controller@145B0000/display-timings/timing@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /usb@12000000 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /usb@12000000/dwc3 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /hdmi has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /mixer has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /video-phy@10040720 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /fixed-regulator@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /fixed-regulator@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /fixed-regulator@2 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /i2c@12C70000/trackpad has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /i2c@12CD0000/lvds-bridge@20/ports/port@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /i2c@12CD0000/lvds-bridge@20/ports/port@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /i2c-arbitrator/i2c@0/embedded-controller has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /i2c-arbitrator/i2c@0/power-regulator has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /i2c@12CA0000/embedded-controller has a reg or ranges property, but no unit name
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
2016-04-05 20:00:45 -06:00
|
|
|
trackpad@67 {
|
2015-09-30 00:53:55 -06:00
|
|
|
reg = <0x67>;
|
|
|
|
compatible = "cypress,cyapa";
|
|
|
|
interrupts = <2 IRQ_TYPE_NONE>;
|
|
|
|
interrupt-parent = <&gpx1>;
|
|
|
|
wakeup-source;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Disabled pullups since external part has its own pullups and
|
|
|
|
* double-pulling gets us out of spec in some cases.
|
|
|
|
*/
|
|
|
|
&i2c2_bus {
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
&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>;
|
|
|
|
|
|
|
|
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>;
|
|
|
|
|
|
|
|
ports {
|
2016-06-06 14:24:43 -06:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
port@0 {
|
|
|
|
reg = <0>;
|
|
|
|
|
2015-09-30 00:53:55 -06:00
|
|
|
bridge_out: endpoint {
|
|
|
|
remote-endpoint = <&panel_in>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-06-06 14:24:43 -06:00
|
|
|
port@1 {
|
|
|
|
reg = <1>;
|
|
|
|
|
2015-09-30 00:53:55 -06:00
|
|
|
bridge_in: endpoint {
|
|
|
|
remote-endpoint = <&dp_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c_8 {
|
|
|
|
status = "okay";
|
|
|
|
samsung,i2c-sda-delay = <100>;
|
|
|
|
samsung,i2c-max-bus-freq = <378000>;
|
|
|
|
|
|
|
|
hdmiphy: hdmiphy@38 {
|
|
|
|
compatible = "samsung,exynos4212-hdmiphy";
|
|
|
|
reg = <0x38>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2s0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2016-10-27 11:11:41 -06:00
|
|
|
/* eMMC flash */
|
2015-09-30 00:53:55 -06:00
|
|
|
&mmc_0 {
|
|
|
|
status = "okay";
|
|
|
|
num-slots = <1>;
|
2015-10-15 10:51:13 -06:00
|
|
|
non-removable;
|
2015-09-30 00:53:55 -06:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2016-10-27 11:11:41 -06:00
|
|
|
/* uSD card */
|
2015-09-30 00:53:55 -06: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>;
|
|
|
|
bus-width = <4>;
|
|
|
|
wp-gpios = <&gpc2 1 GPIO_ACTIVE_HIGH>;
|
|
|
|
cap-sd-highspeed;
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* On Snow we've got SIP WiFi and so can keep drive strengths low to
|
|
|
|
* reduce EMI.
|
2016-10-27 11:11:41 -06:00
|
|
|
*
|
|
|
|
* WiFi SDIO module
|
2015-09-30 00:53:55 -06:00
|
|
|
*/
|
|
|
|
&mmc_3 {
|
|
|
|
status = "okay";
|
|
|
|
num-slots = <1>;
|
2015-10-15 10:51:10 -06:00
|
|
|
non-removable;
|
2015-09-30 00:53:55 -06:00
|
|
|
cap-sdio-irq;
|
|
|
|
keep-power-in-suspend;
|
|
|
|
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 &wifi_en &wifi_rst>;
|
|
|
|
bus-width = <4>;
|
|
|
|
cap-sd-highspeed;
|
|
|
|
mmc-pwrseq = <&mmc3_pwrseq>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_0 {
|
|
|
|
wifi_en: wifi-en {
|
|
|
|
samsung,pins = "gpx0-1";
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
wifi_rst: wifi-rst {
|
|
|
|
samsung,pins = "gpx0-2";
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
power_key_irq: power-key-irq {
|
|
|
|
samsung,pins = "gpx1-3";
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ec_irq: ec-irq {
|
|
|
|
samsung,pins = "gpx1-6";
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
tps65090_irq: tps65090-irq {
|
|
|
|
samsung,pins = "gpx2-6";
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
usb3_vbus_en: usb3-vbus-en {
|
|
|
|
samsung,pins = "gpx2-7";
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
max77686_irq: max77686-irq {
|
|
|
|
samsung,pins = "gpx3-2";
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
lid_irq: lid-irq {
|
|
|
|
samsung,pins = "gpx3-5";
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
hdmi_hpd_irq: hdmi-hpd-irq {
|
|
|
|
samsung,pins = "gpx3-7";
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
|
|
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_1 {
|
|
|
|
arb_their_claim: arb-their-claim {
|
|
|
|
samsung,pins = "gpe0-4";
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
|
|
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
arb_our_claim: arb-our-claim {
|
|
|
|
samsung,pins = "gpf0-3";
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&rtc {
|
|
|
|
status = "okay";
|
|
|
|
clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
|
|
|
|
clock-names = "rtc", "rtc_src";
|
|
|
|
};
|
|
|
|
|
|
|
|
&sd3_bus4 {
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
&sd3_clk {
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
&sd3_cmd {
|
2016-09-04 05:04:11 -06:00
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
|
|
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
2015-09-30 00:53:55 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
&spi_1 {
|
|
|
|
status = "okay";
|
|
|
|
samsung,spi-src-clk = <0>;
|
|
|
|
num-cs = <1>;
|
|
|
|
cs-gpios = <&gpa2 5 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&usbdrd_dwc3 {
|
|
|
|
dr_mode = "host";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usbdrd_phy {
|
|
|
|
vbus-supply = <&usb3_vbus_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
#include "cros-ec-keyboard.dtsi"
|