2 * Google Peach Pit Rev 6+ board device tree source
4 * Copyright (c) 2014 Google, Inc
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include "exynos5420.dtsi"
17 model = "Google Peach Pit Rev 6+";
19 compatible = "google,pit-rev16",
20 "google,pit-rev15", "google,pit-rev14",
21 "google,pit-rev13", "google,pit-rev12",
22 "google,pit-rev11", "google,pit-rev10",
23 "google,pit-rev9", "google,pit-rev8",
24 "google,pit-rev7", "google,pit-rev6",
25 "google,pit", "google,peach","samsung,exynos5420",
29 /* Assign 20 so we don't get confused w/ builtin ones */
30 i2c20 = "/spi@12d40000/cros-ec@0/i2c-tunnel";
34 compatible = "pwm-backlight";
35 pwms = <&pwm 0 1000000 0>;
36 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
37 default-brightness-level = <7>;
38 pinctrl-0 = <&pwm0_out>;
39 pinctrl-names = "default";
44 compatible = "samsung,exynos5420-oscclk";
45 clock-frequency = <24000000>;
50 compatible = "gpio-keys";
52 pinctrl-names = "default";
53 pinctrl-0 = <&power_key_irq>;
57 gpios = <&gpx1 2 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_POWER>;
64 reg = <0x20000000 0x80000000>;
68 compatible = "google,snow-audio-max98090";
70 samsung,model = "Peach-Pit-I2S-MAX98090";
71 samsung,i2s-controller = <&i2s0>;
72 samsung,audio-codec = <&max98090>;
75 usb300_vbus_reg: regulator-usb300 {
76 compatible = "regulator-fixed";
77 regulator-name = "P5.0V_USB3CON0";
78 regulator-min-microvolt = <5000000>;
79 regulator-max-microvolt = <5000000>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&usb300_vbus_en>;
86 usb301_vbus_reg: regulator-usb301 {
87 compatible = "regulator-fixed";
88 regulator-name = "P5.0V_USB3CON1";
89 regulator-min-microvolt = <5000000>;
90 regulator-max-microvolt = <5000000>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&usb301_vbus_en>;
97 vbat: fixed-regulator {
98 compatible = "regulator-fixed";
99 regulator-name = "vbat-supply";
107 pinctrl-names = "default";
108 pinctrl-0 = <&dp_hpd_gpio>;
109 samsung,color-space = <0>;
110 samsung,dynamic-range = <0>;
111 samsung,ycbcr-coeff = <0>;
112 samsung,color-depth = <1>;
113 samsung,link-rate = <0x06>;
114 samsung,lane-count = <2>;
115 samsung,hpd-gpio = <&gpx2 6 0>;
118 native-mode = <&timing1>;
121 clock-frequency = <70589280>;
141 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
142 pinctrl-names = "default";
143 pinctrl-0 = <&hdmi_hpd_irq>;
151 compatible = "maxim,max98090";
154 interrupt-parent = <&gpx0>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&max98090_irq>;
162 clock-frequency = <400000>;
165 compatible = "infineon,slb9645tt";
168 /* Unused irq; but still need to configure the pins */
169 pinctrl-names = "default";
170 pinctrl-0 = <&tpm_irq>;
176 samsung,i2c-sda-delay = <100>;
177 samsung,i2c-max-bus-freq = <66000>;
178 samsung,i2c-slave-addr = <0x50>;
189 caps2-mmc-hs200-1_8v;
192 card-detect-delay = <200>;
193 clock-frequency = <400000000>;
194 samsung,dw-mshc-ciu-div = <3>;
195 samsung,dw-mshc-sdr-timing = <0 4>;
196 samsung,dw-mshc-ddr-timing = <0 2>;
197 pinctrl-names = "default";
198 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
210 card-detect-delay = <200>;
211 clock-frequency = <400000000>;
212 samsung,dw-mshc-ciu-div = <3>;
213 samsung,dw-mshc-sdr-timing = <2 3>;
214 samsung,dw-mshc-ddr-timing = <1 2>;
215 pinctrl-names = "default";
216 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
226 pinctrl-names = "default";
227 pinctrl-0 = <&mask_tpm_reset>;
229 max98090_irq: max98090-irq {
230 samsung,pins = "gpx0-2";
231 samsung,pin-function = <0>;
232 samsung,pin-pud = <0>;
233 samsung,pin-drv = <0>;
236 /* We need GPX0_6 to be low at sleep time; just keep it low always */
237 mask_tpm_reset: mask-tpm-reset {
238 samsung,pins = "gpx0-6";
239 samsung,pin-function = <1>;
240 samsung,pin-pud = <0>;
241 samsung,pin-drv = <0>;
242 samsung,pin-val = <0>;
246 samsung,pins = "gpx1-0";
247 samsung,pin-function = <0>;
248 samsung,pin-pud = <0>;
249 samsung,pin-drv = <0>;
252 power_key_irq: power-key-irq {
253 samsung,pins = "gpx1-2";
254 samsung,pin-function = <0>;
255 samsung,pin-pud = <0>;
256 samsung,pin-drv = <0>;
260 samsung,pins = "gpx1-5";
261 samsung,pin-function = <0>;
262 samsung,pin-pud = <0>;
263 samsung,pin-drv = <0>;
266 tps65090_irq: tps65090-irq {
267 samsung,pins = "gpx2-5";
268 samsung,pin-function = <0>;
269 samsung,pin-pud = <0>;
270 samsung,pin-drv = <0>;
273 dp_hpd_gpio: dp_hpd_gpio {
274 samsung,pins = "gpx2-6";
275 samsung,pin-function = <0>;
276 samsung,pin-pud = <3>;
277 samsung,pin-drv = <0>;
280 hdmi_hpd_irq: hdmi-hpd-irq {
281 samsung,pins = "gpx3-7";
282 samsung,pin-function = <0>;
283 samsung,pin-pud = <1>;
284 samsung,pin-drv = <0>;
289 /* Drive SPI lines at x2 for better integrity */
291 samsung,pin-drv = <2>;
294 /* Drive SPI chip select at x2 for better integrity */
295 ec_spi_cs: ec-spi-cs {
296 samsung,pins = "gpb1-2";
297 samsung,pin-function = <1>;
298 samsung,pin-pud = <0>;
299 samsung,pin-drv = <2>;
302 usb300_vbus_en: usb300-vbus-en {
303 samsung,pins = "gph0-0";
304 samsung,pin-function = <1>;
305 samsung,pin-pud = <0>;
306 samsung,pin-drv = <0>;
309 usb301_vbus_en: usb301-vbus-en {
310 samsung,pins = "gph0-1";
311 samsung,pin-function = <1>;
312 samsung,pin-pud = <0>;
313 samsung,pin-drv = <0>;
324 samsung,spi-src-clk = <0>;
325 cs-gpios = <&gpb1 2 0>;
328 compatible = "google,cros-ec-spi";
329 interrupt-parent = <&gpx1>;
331 pinctrl-names = "default";
332 pinctrl-0 = <&ec_spi_cs &ec_irq>;
334 spi-max-frequency = <3125000>;
337 samsung,spi-feedback-delay = <1>;
341 compatible = "google,cros-ec-i2c-tunnel";
342 #address-cells = <1>;
344 google,remote-bus = <0>;
346 battery: sbs-battery@b {
347 compatible = "sbs,sbs-battery";
349 sbs,poll-retry-count = <1>;
350 sbs,i2c-retry-count = <2>;
354 compatible = "ti,tps65090";
358 * Config irq to disable internal pulls
359 * even though we run in polling mode.
361 pinctrl-names = "default";
362 pinctrl-0 = <&tps65090_irq>;
364 vsys1-supply = <&vbat>;
365 vsys2-supply = <&vbat>;
366 vsys3-supply = <&vbat>;
367 infet1-supply = <&vbat>;
368 infet2-supply = <&vbat>;
369 infet3-supply = <&vbat>;
370 infet4-supply = <&vbat>;
371 infet5-supply = <&vbat>;
372 infet6-supply = <&vbat>;
373 infet7-supply = <&vbat>;
374 vsys-l1-supply = <&vbat>;
375 vsys-l2-supply = <&vbat>;
378 tps65090_dcdc1: dcdc1 {
379 ti,enable-ext-control;
381 tps65090_dcdc2: dcdc2 {
382 ti,enable-ext-control;
384 tps65090_dcdc3: dcdc3 {
385 ti,enable-ext-control;
387 tps65090_fet1: fet1 {
388 regulator-name = "vcd_led";
390 tps65090_fet2: fet2 {
391 regulator-name = "video_mid";
394 tps65090_fet3: fet3 {
395 regulator-name = "wwan_r";
398 tps65090_fet4: fet4 {
399 regulator-name = "sdcard";
402 tps65090_fet5: fet5 {
403 regulator-name = "camout";
405 tps65090_fet6: fet6 {
406 regulator-name = "lcd_vdd";
408 tps65090_fet7: fet7 {
409 regulator-name = "video_mid_1a";
412 tps65090_ldo1: ldo1 {
414 tps65090_ldo2: ldo2 {
419 compatible = "ti,tps65090-charger";
431 vbus-supply = <&usb300_vbus_reg>;
435 vbus-supply = <&usb301_vbus_reg>;
439 * Use longest HW watchdog in SoC (32 seconds) since the hardware
440 * watchdog provides no debugging information (compared to soft/hard
441 * lockup detectors) and so should be last resort.
447 #include "cros-ec-keyboard.dtsi"