2014-05-11 16:56:34 -06:00
|
|
|
/*
|
|
|
|
* Google Peach Pi Rev 10+ board device tree source
|
|
|
|
*
|
|
|
|
* Copyright (c) 2014 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 <dt-bindings/input/input.h>
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2014-09-13 09:45:15 -06:00
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
2014-09-23 09:16:45 -06:00
|
|
|
#include <dt-bindings/clock/maxim,max77802.h>
|
2015-01-14 08:30:49 -07:00
|
|
|
#include <dt-bindings/regulator/maxim,max77802.h>
|
2014-05-11 16:56:34 -06:00
|
|
|
#include "exynos5800.dtsi"
|
2015-12-10 23:05:56 -07:00
|
|
|
#include "exynos5420-cpus.dtsi"
|
2016-05-24 07:31:29 -06:00
|
|
|
#include "exynos-mfc-reserved-memory.dtsi"
|
2014-05-11 16:56:34 -06:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Google Peach Pi Rev 10+";
|
|
|
|
|
|
|
|
compatible = "google,pi-rev16",
|
|
|
|
"google,pi-rev15", "google,pi-rev14",
|
|
|
|
"google,pi-rev13", "google,pi-rev12",
|
|
|
|
"google,pi-rev11", "google,pi-rev10",
|
|
|
|
"google,pi", "google,peach", "samsung,exynos5800",
|
|
|
|
"samsung,exynos5";
|
|
|
|
|
2014-07-18 13:09:15 -06:00
|
|
|
aliases {
|
|
|
|
/* Assign 20 so we don't get confused w/ builtin ones */
|
|
|
|
i2c20 = "/spi@12d40000/cros-ec@0/i2c-tunnel";
|
|
|
|
};
|
|
|
|
|
2014-09-13 18:22:45 -06:00
|
|
|
backlight: backlight {
|
2014-06-21 06:50:17 -06: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 18:22:45 -06:00
|
|
|
enable-gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
|
|
|
|
power-supply = <&tps65090_fet1>;
|
2014-06-21 06:50:17 -06:00
|
|
|
pinctrl-0 = <&pwm0_out>;
|
|
|
|
pinctrl-names = "default";
|
2014-05-11 16:56:34 -06:00
|
|
|
};
|
|
|
|
|
2015-03-17 09:31:22 -06:00
|
|
|
chosen {
|
|
|
|
stdout-path = "serial3:115200n8";
|
|
|
|
};
|
|
|
|
|
2014-05-11 16:56:34 -06:00
|
|
|
fixed-rate-clocks {
|
|
|
|
oscclk {
|
|
|
|
compatible = "samsung,exynos5420-oscclk";
|
|
|
|
clock-frequency = <24000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
|
|
|
|
pinctrl-names = "default";
|
2015-01-14 08:30:40 -07:00
|
|
|
pinctrl-0 = <&power_key_irq &lid_irq>;
|
2014-05-11 16:56:34 -06:00
|
|
|
|
|
|
|
power {
|
|
|
|
label = "Power";
|
|
|
|
gpios = <&gpx1 2 GPIO_ACTIVE_LOW>;
|
|
|
|
linux,code = <KEY_POWER>;
|
2016-01-28 08:59:58 -07:00
|
|
|
wakeup-source;
|
2014-05-11 16:56:34 -06:00
|
|
|
};
|
2015-01-14 08:30:40 -07:00
|
|
|
|
|
|
|
lid-switch {
|
|
|
|
label = "Lid";
|
|
|
|
gpios = <&gpx3 4 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-01-14 08:30:40 -07:00
|
|
|
};
|
|
|
|
|
2014-05-11 16:56:34 -06:00
|
|
|
};
|
|
|
|
|
2016-09-01 03:06:56 -06:00
|
|
|
memory@20000000 {
|
2016-09-01 03:06:53 -06:00
|
|
|
device_type = "memory";
|
2014-06-21 06:50:17 -06:00
|
|
|
reg = <0x20000000 0x80000000>;
|
2014-05-11 16:56:34 -06:00
|
|
|
};
|
2014-05-19 07:32:11 -06:00
|
|
|
|
2014-06-21 06:50:14 -06:00
|
|
|
sound {
|
|
|
|
compatible = "google,snow-audio-max98091";
|
|
|
|
|
2014-07-07 17:20:08 -06:00
|
|
|
samsung,model = "Peach-Pi-I2S-MAX98091";
|
2014-06-21 06:50:14 -06:00
|
|
|
samsung,i2s-controller = <&i2s0>;
|
|
|
|
samsung,audio-codec = <&max98091>;
|
|
|
|
};
|
|
|
|
|
2014-05-19 07:32:11 -06:00
|
|
|
usb300_vbus_reg: regulator-usb300 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "P5.0V_USB3CON0";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
2015-10-07 16:39:58 -06:00
|
|
|
gpio = <&gph0 0 GPIO_ACTIVE_HIGH>;
|
2014-05-19 07:32:11 -06:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&usb300_vbus_en>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb301_vbus_reg: regulator-usb301 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "P5.0V_USB3CON1";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
2015-10-07 16:39:58 -06:00
|
|
|
gpio = <&gph0 1 GPIO_ACTIVE_HIGH>;
|
2014-05-19 07:32:11 -06:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&usb301_vbus_en>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
2014-07-18 13:09:15 -06:00
|
|
|
|
|
|
|
vbat: fixed-regulator {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vbat-supply";
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
2014-09-13 18:22:45 -06:00
|
|
|
|
|
|
|
panel: panel {
|
|
|
|
compatible = "auo,b133htn01";
|
|
|
|
power-supply = <&tps65090_fet6>;
|
|
|
|
backlight = <&backlight>;
|
2015-12-03 05:32:17 -07:00
|
|
|
|
|
|
|
port {
|
|
|
|
panel_in: endpoint {
|
|
|
|
remote-endpoint = <&dp_out>;
|
|
|
|
};
|
|
|
|
};
|
2014-09-13 18:22:45 -06:00
|
|
|
};
|
2015-02-26 14:08:51 -07:00
|
|
|
|
|
|
|
mmc1_pwrseq: mmc1_pwrseq {
|
|
|
|
compatible = "mmc-pwrseq-simple";
|
|
|
|
reset-gpios = <&gpx0 0 GPIO_ACTIVE_LOW>; /* WIFI_EN */
|
|
|
|
clocks = <&max77802 MAX77802_CLK_32K_CP>;
|
|
|
|
clock-names = "ext_clock";
|
|
|
|
};
|
2014-05-11 16:56:34 -06:00
|
|
|
};
|
|
|
|
|
2014-09-13 09:46:56 -06:00
|
|
|
&adc {
|
|
|
|
status = "okay";
|
|
|
|
vdd-supply = <&ldo9_reg>;
|
|
|
|
};
|
|
|
|
|
2015-12-15 10:33:15 -07:00
|
|
|
&cpu0 {
|
|
|
|
cpu-supply = <&buck2_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&cpu4 {
|
|
|
|
cpu-supply = <&buck6_reg>;
|
|
|
|
};
|
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
&dp {
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&dp_hpd_gpio>;
|
|
|
|
samsung,color-space = <0>;
|
|
|
|
samsung,color-depth = <1>;
|
|
|
|
samsung,link-rate = <0x0a>;
|
|
|
|
samsung,lane-count = <2>;
|
2015-10-07 16:39:58 -06:00
|
|
|
samsung,hpd-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
|
2015-12-03 05:32:17 -07:00
|
|
|
|
|
|
|
ports {
|
|
|
|
port {
|
|
|
|
dp_out: endpoint {
|
|
|
|
remote-endpoint = <&panel_in>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2014-06-21 06:50:17 -06:00
|
|
|
};
|
2014-05-15 14:06:34 -06:00
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
&fimd {
|
|
|
|
status = "okay";
|
|
|
|
samsung,invert-vclk;
|
|
|
|
};
|
2014-05-16 16:51:33 -06:00
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
&hdmi {
|
|
|
|
status = "okay";
|
2016-08-24 07:07:16 -06:00
|
|
|
hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
|
2014-06-21 06:50:17 -06:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&hdmi_hpd_irq>;
|
|
|
|
ddc = <&i2c_2>;
|
2014-09-13 09:45:19 -06:00
|
|
|
|
|
|
|
hdmi-en-supply = <&tps65090_fet7>;
|
|
|
|
vdd-supply = <&ldo8_reg>;
|
|
|
|
vdd_osc-supply = <&ldo10_reg>;
|
|
|
|
vdd_pll-supply = <&ldo8_reg>;
|
2014-05-11 16:56:34 -06:00
|
|
|
};
|
|
|
|
|
2014-09-13 09:45:15 -06:00
|
|
|
&hsi2c_4 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
|
2014-09-23 09:16:45 -06:00
|
|
|
max77802: max77802-pmic@9 {
|
2014-09-13 09:45:15 -06:00
|
|
|
compatible = "maxim,max77802";
|
|
|
|
interrupt-parent = <&gpx3>;
|
|
|
|
interrupts = <1 IRQ_TYPE_NONE>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&max77802_irq>, <&pmic_selb>,
|
|
|
|
<&pmic_dvs_1>, <&pmic_dvs_2>, <&pmic_dvs_3>;
|
|
|
|
wakeup-source;
|
|
|
|
reg = <0x9>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
|
|
|
|
inb1-supply = <&tps65090_dcdc2>;
|
|
|
|
inb2-supply = <&tps65090_dcdc1>;
|
|
|
|
inb3-supply = <&tps65090_dcdc2>;
|
|
|
|
inb4-supply = <&tps65090_dcdc2>;
|
|
|
|
inb5-supply = <&tps65090_dcdc1>;
|
|
|
|
inb6-supply = <&tps65090_dcdc2>;
|
|
|
|
inb7-supply = <&tps65090_dcdc1>;
|
|
|
|
inb8-supply = <&tps65090_dcdc1>;
|
|
|
|
inb9-supply = <&tps65090_dcdc1>;
|
|
|
|
inb10-supply = <&tps65090_dcdc1>;
|
|
|
|
|
|
|
|
inl1-supply = <&buck5_reg>;
|
|
|
|
inl2-supply = <&buck7_reg>;
|
|
|
|
inl3-supply = <&buck9_reg>;
|
|
|
|
inl4-supply = <&buck9_reg>;
|
|
|
|
inl5-supply = <&buck9_reg>;
|
|
|
|
inl6-supply = <&tps65090_dcdc2>;
|
|
|
|
inl7-supply = <&buck9_reg>;
|
|
|
|
inl9-supply = <&tps65090_dcdc2>;
|
|
|
|
inl10-supply = <&buck7_reg>;
|
|
|
|
|
|
|
|
regulators {
|
|
|
|
buck1_reg: BUCK1 {
|
|
|
|
regulator-name = "vdd_mif";
|
|
|
|
regulator-min-microvolt = <800000>;
|
|
|
|
regulator-max-microvolt = <1300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-ramp-delay = <12500>;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
buck2_reg: BUCK2 {
|
|
|
|
regulator-name = "vdd_arm";
|
|
|
|
regulator-min-microvolt = <800000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-ramp-delay = <12500>;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
buck3_reg: BUCK3 {
|
|
|
|
regulator-name = "vdd_int";
|
|
|
|
regulator-min-microvolt = <800000>;
|
|
|
|
regulator-max-microvolt = <1400000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-ramp-delay = <12500>;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
buck4_reg: BUCK4 {
|
|
|
|
regulator-name = "vdd_g3d";
|
|
|
|
regulator-min-microvolt = <700000>;
|
|
|
|
regulator-max-microvolt = <1400000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-ramp-delay = <12500>;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
buck5_reg: BUCK5 {
|
|
|
|
regulator-name = "vdd_1v2";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
regulator-boot-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
buck6_reg: BUCK6 {
|
|
|
|
regulator-name = "vdd_kfc";
|
|
|
|
regulator-min-microvolt = <800000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-ramp-delay = <12500>;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
buck7_reg: BUCK7 {
|
|
|
|
regulator-name = "vdd_1v35";
|
|
|
|
regulator-min-microvolt = <1350000>;
|
|
|
|
regulator-max-microvolt = <1350000>;
|
|
|
|
regulator-boot-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
buck8_reg: BUCK8 {
|
|
|
|
regulator-name = "vdd_emmc";
|
|
|
|
regulator-min-microvolt = <2850000>;
|
|
|
|
regulator-max-microvolt = <2850000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
buck9_reg: BUCK9 {
|
|
|
|
regulator-name = "vdd_2v";
|
|
|
|
regulator-min-microvolt = <2000000>;
|
|
|
|
regulator-max-microvolt = <2000000>;
|
|
|
|
regulator-boot-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
buck10_reg: BUCK10 {
|
|
|
|
regulator-name = "vdd_1v8";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-boot-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo1_reg: LDO1 {
|
|
|
|
regulator-name = "vdd_1v0";
|
|
|
|
regulator-min-microvolt = <1000000>;
|
|
|
|
regulator-max-microvolt = <1000000>;
|
|
|
|
regulator-always-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
regulator-mode = <MAX77802_OPMODE_LP>;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo2_reg: LDO2 {
|
|
|
|
regulator-name = "vdd_1v2_2";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo3_reg: LDO3 {
|
|
|
|
regulator-name = "vdd_1v8_3";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
regulator-mode = <MAX77802_OPMODE_LP>;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
vqmmc_sdcard: ldo4_reg: LDO4 {
|
|
|
|
regulator-name = "vdd_sd";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <2800000>;
|
|
|
|
regulator-always-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo5_reg: LDO5 {
|
|
|
|
regulator-name = "vdd_1v8_5";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo6_reg: LDO6 {
|
|
|
|
regulator-name = "vdd_1v8_6";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo7_reg: LDO7 {
|
|
|
|
regulator-name = "vdd_1v8_7";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo8_reg: LDO8 {
|
|
|
|
regulator-name = "vdd_ldo8";
|
|
|
|
regulator-min-microvolt = <1000000>;
|
|
|
|
regulator-max-microvolt = <1000000>;
|
|
|
|
regulator-always-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo9_reg: LDO9 {
|
|
|
|
regulator-name = "vdd_ldo9";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
regulator-mode = <MAX77802_OPMODE_LP>;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo10_reg: LDO10 {
|
|
|
|
regulator-name = "vdd_ldo10";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo11_reg: LDO11 {
|
|
|
|
regulator-name = "vdd_ldo11";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
regulator-mode = <MAX77802_OPMODE_LP>;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo12_reg: LDO12 {
|
|
|
|
regulator-name = "vdd_ldo12";
|
|
|
|
regulator-min-microvolt = <3000000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
regulator-always-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo13_reg: LDO13 {
|
|
|
|
regulator-name = "vdd_ldo13";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
regulator-mode = <MAX77802_OPMODE_LP>;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo14_reg: LDO14 {
|
|
|
|
regulator-name = "vdd_ldo14";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo15_reg: LDO15 {
|
|
|
|
regulator-name = "vdd_ldo15";
|
|
|
|
regulator-min-microvolt = <1000000>;
|
|
|
|
regulator-max-microvolt = <1000000>;
|
|
|
|
regulator-always-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo17_reg: LDO17 {
|
|
|
|
regulator-name = "vdd_g3ds";
|
|
|
|
regulator-min-microvolt = <900000>;
|
|
|
|
regulator-max-microvolt = <1400000>;
|
|
|
|
regulator-always-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo18_reg: LDO18 {
|
|
|
|
regulator-name = "ldo_18";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo19_reg: LDO19 {
|
|
|
|
regulator-name = "ldo_19";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo20_reg: LDO20 {
|
|
|
|
regulator-name = "ldo_20";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo21_reg: LDO21 {
|
|
|
|
regulator-name = "ldo_21";
|
|
|
|
regulator-min-microvolt = <2800000>;
|
|
|
|
regulator-max-microvolt = <2800000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo23_reg: LDO23 {
|
|
|
|
regulator-name = "ldo_23";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
ldo24_reg: LDO24 {
|
|
|
|
regulator-name = "ldo_24";
|
|
|
|
regulator-min-microvolt = <2800000>;
|
|
|
|
regulator-max-microvolt = <2800000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo25_reg: LDO25 {
|
|
|
|
regulator-name = "ldo_25";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo26_reg: LDO26 {
|
|
|
|
regulator-name = "ldo_26";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo27_reg: LDO27 {
|
|
|
|
regulator-name = "ldo_27";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo28_reg: LDO28 {
|
|
|
|
regulator-name = "ldo_28";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo29_reg: LDO29 {
|
|
|
|
regulator-name = "ldo_29";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo30_reg: LDO30 {
|
|
|
|
regulator-name = "vdd_mifs";
|
|
|
|
regulator-min-microvolt = <1000000>;
|
|
|
|
regulator-max-microvolt = <1000000>;
|
|
|
|
regulator-always-on;
|
2015-01-14 08:30:49 -07:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
ldo32_reg: LDO32 {
|
|
|
|
regulator-name = "ldo_32";
|
|
|
|
regulator-min-microvolt = <3000000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo33_reg: LDO33 {
|
|
|
|
regulator-name = "ldo_33";
|
|
|
|
regulator-min-microvolt = <2800000>;
|
|
|
|
regulator-max-microvolt = <2800000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo34_reg: LDO34 {
|
|
|
|
regulator-name = "ldo_34";
|
|
|
|
regulator-min-microvolt = <3000000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo35_reg: LDO35 {
|
|
|
|
regulator-name = "ldo_35";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
&hsi2c_7 {
|
|
|
|
status = "okay";
|
2014-09-13 09:47:22 -06:00
|
|
|
clock-frequency = <400000>;
|
2014-06-21 06:50:17 -06:00
|
|
|
|
|
|
|
max98091: codec@10 {
|
|
|
|
compatible = "maxim,max98091";
|
|
|
|
reg = <0x10>;
|
|
|
|
interrupts = <2 0>;
|
|
|
|
interrupt-parent = <&gpx0>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&max98091_irq>;
|
2015-02-26 14:08:52 -07:00
|
|
|
clocks = <&pmu_system_controller 0>;
|
|
|
|
clock-names = "mclk";
|
2014-05-19 07:32:11 -06:00
|
|
|
};
|
2014-09-13 09:47:17 -06:00
|
|
|
|
|
|
|
light-sensor@44 {
|
|
|
|
compatible = "isil,isl29018";
|
|
|
|
reg = <0x44>;
|
|
|
|
vcc-supply = <&tps65090_fet5>;
|
|
|
|
};
|
2014-06-21 06:50:17 -06:00
|
|
|
};
|
2014-05-19 07:32:11 -06:00
|
|
|
|
2014-09-13 10:33:20 -06:00
|
|
|
&hsi2c_8 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <333000>;
|
|
|
|
/* Atmel mXT540S */
|
|
|
|
trackpad@4b {
|
|
|
|
compatible = "atmel,maxtouch";
|
|
|
|
reg = <0x4b>;
|
|
|
|
interrupt-parent = <&gpx1>;
|
|
|
|
interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
wakeup-source;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&trackpad_irq>;
|
|
|
|
linux,gpio-keymap = <KEY_RESERVED
|
|
|
|
KEY_RESERVED
|
|
|
|
KEY_RESERVED /* GPIO 0 */
|
|
|
|
KEY_RESERVED /* GPIO 1 */
|
|
|
|
BTN_LEFT /* GPIO 2 */
|
|
|
|
KEY_RESERVED>; /* GPIO 3 */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
&hsi2c_9 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
|
|
|
|
tpm@20 {
|
|
|
|
compatible = "infineon,slb9645tt";
|
|
|
|
reg = <0x20>;
|
|
|
|
|
|
|
|
/* Unused irq; but still need to configure the pins */
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&tpm_irq>;
|
2014-05-19 07:32:11 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
&i2c_2 {
|
2014-05-11 16:56:34 -06:00
|
|
|
status = "okay";
|
2014-06-21 06:50:17 -06:00
|
|
|
samsung,i2c-sda-delay = <100>;
|
|
|
|
samsung,i2c-max-bus-freq = <66000>;
|
|
|
|
samsung,i2c-slave-addr = <0x50>;
|
2014-05-11 16:56:34 -06:00
|
|
|
};
|
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
&i2s0 {
|
2014-05-11 16:56:34 -06:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2016-10-27 11:11:41 -06:00
|
|
|
/* eMMC flash */
|
2014-05-11 16:56:34 -06:00
|
|
|
&mmc_0 {
|
|
|
|
status = "okay";
|
|
|
|
num-slots = <1>;
|
2014-09-23 09:39:20 -06:00
|
|
|
mmc-hs200-1_8v;
|
2015-03-26 10:52:02 -06:00
|
|
|
mmc-hs400-1_8v;
|
2014-08-18 10:55:32 -06:00
|
|
|
cap-mmc-highspeed;
|
2014-05-11 16:56:34 -06:00
|
|
|
non-removable;
|
2015-03-26 10:52:02 -06:00
|
|
|
clock-frequency = <800000000>;
|
2014-05-11 16:56:34 -06:00
|
|
|
samsung,dw-mshc-ciu-div = <3>;
|
|
|
|
samsung,dw-mshc-sdr-timing = <0 4>;
|
|
|
|
samsung,dw-mshc-ddr-timing = <0 2>;
|
2015-03-26 10:52:02 -06:00
|
|
|
samsung,dw-mshc-hs400-timing = <0 2>;
|
|
|
|
samsung,read-strobe-delay = <90>;
|
2014-05-11 16:56:34 -06:00
|
|
|
pinctrl-names = "default";
|
2015-03-26 10:52:02 -06:00
|
|
|
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_rclk>;
|
2014-08-18 10:55:32 -06:00
|
|
|
bus-width = <8>;
|
2014-05-11 16:56:34 -06:00
|
|
|
};
|
|
|
|
|
2016-10-27 11:11:41 -06:00
|
|
|
/* WiFi SDIO module */
|
2015-02-26 14:08:51 -07:00
|
|
|
&mmc_1 {
|
|
|
|
status = "okay";
|
|
|
|
num-slots = <1>;
|
2015-10-15 10:51:08 -06:00
|
|
|
non-removable;
|
2015-02-26 14:08:51 -07:00
|
|
|
cap-sdio-irq;
|
2015-04-07 07:03:34 -06:00
|
|
|
keep-power-in-suspend;
|
2015-02-26 14:08:51 -07:00
|
|
|
clock-frequency = <400000000>;
|
|
|
|
samsung,dw-mshc-ciu-div = <1>;
|
|
|
|
samsung,dw-mshc-sdr-timing = <0 1>;
|
|
|
|
samsung,dw-mshc-ddr-timing = <0 2>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_int>, <&sd1_bus1>,
|
|
|
|
<&sd1_bus4>, <&sd1_bus8>, <&wifi_en>;
|
|
|
|
bus-width = <4>;
|
|
|
|
cap-sd-highspeed;
|
|
|
|
mmc-pwrseq = <&mmc1_pwrseq>;
|
|
|
|
vqmmc-supply = <&buck10_reg>;
|
|
|
|
};
|
|
|
|
|
2016-10-27 11:11:41 -06:00
|
|
|
/* uSD card */
|
2014-05-11 16:56:34 -06:00
|
|
|
&mmc_2 {
|
|
|
|
status = "okay";
|
|
|
|
num-slots = <1>;
|
2014-08-18 10:55:32 -06:00
|
|
|
cap-sd-highspeed;
|
2014-05-11 16:56:34 -06:00
|
|
|
card-detect-delay = <200>;
|
|
|
|
clock-frequency = <400000000>;
|
|
|
|
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-26 14:08:51 -07:00
|
|
|
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
|
2014-08-18 10:55:32 -06:00
|
|
|
bus-width = <4>;
|
2014-05-11 16:56:34 -06:00
|
|
|
};
|
|
|
|
|
2014-05-16 16:51:33 -06:00
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
&pinctrl_0 {
|
2014-07-15 11:38:44 -06:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&mask_tpm_reset>;
|
|
|
|
|
2015-02-26 14:08:51 -07:00
|
|
|
wifi_en: wifi-en {
|
|
|
|
samsung,pins = "gpx0-0";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2015-02-26 14:08:51 -07:00
|
|
|
};
|
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
max98091_irq: max98091-irq {
|
|
|
|
samsung,pins = "gpx0-2";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-06-21 06:50:17 -06:00
|
|
|
};
|
2014-05-16 16:51:33 -06:00
|
|
|
|
2014-07-15 11:38:44 -06:00
|
|
|
/* We need GPX0_6 to be low at sleep time; just keep it low always */
|
|
|
|
mask_tpm_reset: mask-tpm-reset {
|
|
|
|
samsung,pins = "gpx0-6";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-07-15 11:38:44 -06:00
|
|
|
samsung,pin-val = <0>;
|
|
|
|
};
|
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
tpm_irq: tpm-irq {
|
|
|
|
samsung,pins = "gpx1-0";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-05-16 16:51:33 -06:00
|
|
|
};
|
|
|
|
|
2014-09-13 10:33:20 -06:00
|
|
|
trackpad_irq: trackpad-irq {
|
|
|
|
samsung,pins = "gpx1-1";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-09-13 10:33:20 -06:00
|
|
|
};
|
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
power_key_irq: power-key-irq {
|
|
|
|
samsung,pins = "gpx1-2";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-06-21 06:50:17 -06:00
|
|
|
};
|
2014-05-16 16:53:36 -06:00
|
|
|
|
2014-07-18 13:09:15 -06:00
|
|
|
ec_irq: ec-irq {
|
|
|
|
samsung,pins = "gpx1-5";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-07-18 13:09:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
tps65090_irq: tps65090-irq {
|
|
|
|
samsung,pins = "gpx2-5";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-07-18 13:09:15 -06:00
|
|
|
};
|
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
dp_hpd_gpio: dp_hpd_gpio {
|
|
|
|
samsung,pins = "gpx2-6";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-06-21 06:50:17 -06:00
|
|
|
};
|
2014-06-21 06:50:14 -06:00
|
|
|
|
2014-09-13 09:45:15 -06:00
|
|
|
max77802_irq: max77802-irq {
|
|
|
|
samsung,pins = "gpx3-1";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
2015-01-14 08:30:40 -07:00
|
|
|
lid_irq: lid-irq {
|
|
|
|
samsung,pins = "gpx3-4";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2015-01-14 08:30:40 -07:00
|
|
|
};
|
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
hdmi_hpd_irq: hdmi-hpd-irq {
|
|
|
|
samsung,pins = "gpx3-7";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-06-21 06:50:14 -06:00
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
|
|
|
|
pmic_dvs_1: pmic-dvs-1 {
|
|
|
|
samsung,pins = "gpy7-6";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-02-26 14:08:51 -07:00
|
|
|
&pinctrl_1 {
|
|
|
|
/* Adjust WiFi drive strengths lower for EMI */
|
|
|
|
sd1_clk: sd1-clk {
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
|
2015-02-26 14:08:51 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
sd1_cmd: sd1-cmd {
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
|
2015-02-26 14:08:51 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
sd1_bus1: sd1-bus-width1 {
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
|
2015-02-26 14:08:51 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
sd1_bus4: sd1-bus-width4 {
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
|
2015-02-26 14:08:51 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
sd1_bus8: sd1-bus-width8 {
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
|
2015-02-26 14:08:51 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-09-13 09:45:15 -06:00
|
|
|
&pinctrl_2 {
|
|
|
|
pmic_dvs_2: pmic-dvs-2 {
|
|
|
|
samsung,pins = "gpj4-2";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
pmic_dvs_3: pmic-dvs-3 {
|
|
|
|
samsung,pins = "gpj4-3";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
2014-06-21 06:50:14 -06:00
|
|
|
};
|
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
&pinctrl_3 {
|
2014-07-18 13:09:15 -06:00
|
|
|
/* Drive SPI lines at x2 for better integrity */
|
|
|
|
spi2-bus {
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
|
2014-07-18 13:09:15 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Drive SPI chip select at x2 for better integrity */
|
|
|
|
ec_spi_cs: ec-spi-cs {
|
|
|
|
samsung,pins = "gpb1-2";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
|
2014-07-18 13:09:15 -06:00
|
|
|
};
|
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
usb300_vbus_en: usb300-vbus-en {
|
|
|
|
samsung,pins = "gph0-0";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-06-21 06:50:17 -06:00
|
|
|
};
|
2014-05-11 16:56:34 -06:00
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
usb301_vbus_en: usb301-vbus-en {
|
|
|
|
samsung,pins = "gph0-1";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-05-11 16:56:34 -06:00
|
|
|
};
|
2014-09-13 09:45:15 -06:00
|
|
|
|
|
|
|
pmic_selb: pmic-selb {
|
|
|
|
samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5",
|
|
|
|
"gph0-6";
|
2016-09-04 05:04:14 -06:00
|
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
|
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
|
|
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
2014-09-13 09:45:15 -06:00
|
|
|
};
|
2014-05-11 16:56:34 -06:00
|
|
|
};
|
|
|
|
|
2015-10-12 13:32:53 -06:00
|
|
|
&pmu_system_controller {
|
|
|
|
assigned-clocks = <&pmu_system_controller 0>;
|
|
|
|
assigned-clock-parents = <&clock CLK_FIN_PLL>;
|
|
|
|
};
|
|
|
|
|
2014-06-21 06:50:17 -06:00
|
|
|
&rtc {
|
2014-05-15 14:06:34 -06:00
|
|
|
status = "okay";
|
2014-09-23 09:16:45 -06:00
|
|
|
clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>;
|
|
|
|
clock-names = "rtc", "rtc_src";
|
2014-05-15 14:06:34 -06:00
|
|
|
};
|
|
|
|
|
2014-07-18 13:09:15 -06:00
|
|
|
&spi_2 {
|
|
|
|
status = "okay";
|
|
|
|
num-cs = <1>;
|
|
|
|
samsung,spi-src-clk = <0>;
|
2015-10-07 16:39:58 -06:00
|
|
|
cs-gpios = <&gpb1 2 GPIO_ACTIVE_HIGH>;
|
2014-07-18 13:09:15 -06:00
|
|
|
|
|
|
|
cros_ec: cros-ec@0 {
|
|
|
|
compatible = "google,cros-ec-spi";
|
|
|
|
interrupt-parent = <&gpx1>;
|
|
|
|
interrupts = <5 0>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&ec_spi_cs &ec_irq>;
|
|
|
|
reg = <0>;
|
|
|
|
spi-max-frequency = <3125000>;
|
2015-10-07 16:35:21 -06:00
|
|
|
google,has-vbc-nvram;
|
2014-07-18 13:09:15 -06:00
|
|
|
|
|
|
|
controller-data {
|
|
|
|
samsung,spi-feedback-delay = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c-tunnel {
|
|
|
|
compatible = "google,cros-ec-i2c-tunnel";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
google,remote-bus = <0>;
|
|
|
|
|
|
|
|
battery: sbs-battery@b {
|
|
|
|
compatible = "sbs,sbs-battery";
|
|
|
|
reg = <0xb>;
|
|
|
|
sbs,poll-retry-count = <1>;
|
|
|
|
sbs,i2c-retry-count = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
power-regulator@48 {
|
|
|
|
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>;
|
2014-08-18 12:26:51 -06:00
|
|
|
infet2-supply = <&tps65090_dcdc1>;
|
|
|
|
infet3-supply = <&tps65090_dcdc2>;
|
|
|
|
infet4-supply = <&tps65090_dcdc2>;
|
|
|
|
infet5-supply = <&tps65090_dcdc2>;
|
|
|
|
infet6-supply = <&tps65090_dcdc2>;
|
|
|
|
infet7-supply = <&tps65090_dcdc1>;
|
2014-07-18 13:09:15 -06:00
|
|
|
vsys-l1-supply = <&vbat>;
|
|
|
|
vsys-l2-supply = <&vbat>;
|
|
|
|
|
|
|
|
regulators {
|
|
|
|
tps65090_dcdc1: dcdc1 {
|
|
|
|
ti,enable-ext-control;
|
|
|
|
};
|
|
|
|
tps65090_dcdc2: dcdc2 {
|
|
|
|
ti,enable-ext-control;
|
|
|
|
};
|
|
|
|
tps65090_dcdc3: dcdc3 {
|
|
|
|
ti,enable-ext-control;
|
|
|
|
};
|
|
|
|
tps65090_fet1: fet1 {
|
|
|
|
regulator-name = "vcd_led";
|
|
|
|
};
|
|
|
|
tps65090_fet2: fet2 {
|
|
|
|
regulator-name = "video_mid";
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
tps65090_fet3: fet3 {
|
|
|
|
regulator-name = "wwan_r";
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
tps65090_fet4: fet4 {
|
|
|
|
regulator-name = "sdcard";
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
tps65090_fet5: fet5 {
|
|
|
|
regulator-name = "camout";
|
2015-01-14 08:30:44 -07:00
|
|
|
regulator-always-on;
|
2014-07-18 13:09:15 -06:00
|
|
|
};
|
|
|
|
tps65090_fet6: fet6 {
|
|
|
|
regulator-name = "lcd_vdd";
|
|
|
|
};
|
|
|
|
tps65090_fet7: fet7 {
|
|
|
|
regulator-name = "video_mid_1a";
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
tps65090_ldo1: ldo1 {
|
|
|
|
};
|
|
|
|
tps65090_ldo2: ldo2 {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
charger {
|
|
|
|
compatible = "ti,tps65090-charger";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-04-12 05:57:36 -06:00
|
|
|
&serial_3 {
|
2014-05-15 14:06:34 -06:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2016-06-01 07:20:35 -06:00
|
|
|
&tmu_cpu0 {
|
|
|
|
vtmu-supply = <&ldo10_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&tmu_cpu1 {
|
|
|
|
vtmu-supply = <&ldo10_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&tmu_cpu2 {
|
|
|
|
vtmu-supply = <&ldo10_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&tmu_cpu3 {
|
|
|
|
vtmu-supply = <&ldo10_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&tmu_gpu {
|
|
|
|
vtmu-supply = <&ldo10_reg>;
|
|
|
|
};
|
|
|
|
|
2014-09-25 02:32:14 -06:00
|
|
|
&usbdrd_dwc3_0 {
|
|
|
|
dr_mode = "host";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usbdrd_dwc3_1 {
|
|
|
|
dr_mode = "host";
|
|
|
|
};
|
|
|
|
|
2014-05-30 11:11:42 -06:00
|
|
|
&usbdrd_phy0 {
|
2014-05-19 07:32:11 -06:00
|
|
|
vbus-supply = <&usb300_vbus_reg>;
|
|
|
|
};
|
|
|
|
|
2014-05-30 11:11:42 -06:00
|
|
|
&usbdrd_phy1 {
|
2014-05-19 07:32:11 -06:00
|
|
|
vbus-supply = <&usb301_vbus_reg>;
|
|
|
|
};
|
|
|
|
|
2014-05-11 16:56:34 -06:00
|
|
|
/*
|
|
|
|
* Use longest HW watchdog in SoC (32 seconds) since the hardware
|
|
|
|
* watchdog provides no debugging information (compared to soft/hard
|
|
|
|
* lockup detectors) and so should be last resort.
|
|
|
|
*/
|
|
|
|
&watchdog {
|
|
|
|
timeout-sec = <32>;
|
|
|
|
};
|
2014-06-21 06:50:14 -06:00
|
|
|
|
2014-07-18 13:09:15 -06:00
|
|
|
#include "cros-ec-keyboard.dtsi"
|
2014-09-13 09:46:56 -06:00
|
|
|
#include "cros-adc-thermistors.dtsi"
|