blob: 84f1a356819398344a70eef57504092efd0e9940 [file] [log] [blame]
Arun Kumar K3528dd32014-05-09 06:06:25 +09001/*
2 * Google Peach Pit Rev 6+ board device tree source
3 *
4 * Copyright (c) 2014 Google, Inc
5 *
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.
9 */
10
11/dts-v1/;
12#include <dt-bindings/input/input.h>
13#include <dt-bindings/gpio/gpio.h>
14#include "exynos5420.dtsi"
15
16/ {
17 model = "Google Peach Pit Rev 6+";
18
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",
26 "samsung,exynos5";
27
28 memory {
29 reg = <0x20000000 0x80000000>;
30 };
31
32 fixed-rate-clocks {
33 oscclk {
34 compatible = "samsung,exynos5420-oscclk";
35 clock-frequency = <24000000>;
36 };
37 };
38
39 gpio-keys {
40 compatible = "gpio-keys";
41
42 pinctrl-names = "default";
43 pinctrl-0 = <&power_key_irq>;
44
45 power {
46 label = "Power";
47 gpios = <&gpx1 2 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_POWER>;
49 gpio-key,wakeup;
50 };
51 };
52
53 backlight {
54 compatible = "pwm-backlight";
55 pwms = <&pwm 0 1000000 0>;
56 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
57 default-brightness-level = <7>;
58 pinctrl-0 = <&pwm0_out>;
59 pinctrl-names = "default";
60 };
61};
62
63&pinctrl_0 {
64 tpm_irq: tpm-irq {
65 samsung,pins = "gpx1-0";
66 samsung,pin-function = <0>;
67 samsung,pin-pud = <0>;
68 samsung,pin-drv = <0>;
69 };
70
71 power_key_irq: power-key-irq {
72 samsung,pins = "gpx1-2";
73 samsung,pin-function = <0>;
74 samsung,pin-pud = <0>;
75 samsung,pin-drv = <0>;
76 };
Rahul Sharma6ac189f2014-05-16 05:23:21 +090077
78 hdmi_hpd_irq: hdmi-hpd-irq {
79 samsung,pins = "gpx3-7";
80 samsung,pin-function = <0>;
81 samsung,pin-pud = <1>;
82 samsung,pin-drv = <0>;
83 };
Arun Kumar K3528dd32014-05-09 06:06:25 +090084};
85
86&rtc {
87 status = "okay";
88};
89
90&uart_3 {
91 status = "okay";
92};
93
94&mmc_0 {
95 status = "okay";
96 num-slots = <1>;
97 broken-cd;
98 caps2-mmc-hs200-1_8v;
99 supports-highspeed;
100 non-removable;
101 card-detect-delay = <200>;
102 clock-frequency = <400000000>;
103 samsung,dw-mshc-ciu-div = <3>;
104 samsung,dw-mshc-sdr-timing = <0 4>;
105 samsung,dw-mshc-ddr-timing = <0 2>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
108
109 slot@0 {
110 reg = <0>;
111 bus-width = <8>;
112 };
113};
114
115&mmc_2 {
116 status = "okay";
117 num-slots = <1>;
118 supports-highspeed;
119 card-detect-delay = <200>;
120 clock-frequency = <400000000>;
121 samsung,dw-mshc-ciu-div = <3>;
122 samsung,dw-mshc-sdr-timing = <2 3>;
123 samsung,dw-mshc-ddr-timing = <1 2>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
126
127 slot@0 {
128 reg = <0>;
129 bus-width = <4>;
130 };
131};
132
133&hsi2c_9 {
134 status = "okay";
135 clock-frequency = <400000>;
136
137 tpm@20 {
138 compatible = "infineon,slb9645tt";
139 reg = <0x20>;
140
141 /* Unused irq; but still need to configure the pins */
142 pinctrl-names = "default";
143 pinctrl-0 = <&tpm_irq>;
144 };
145};
146
Rahul Sharma6ac189f2014-05-16 05:23:21 +0900147&i2c_2 {
148 status = "okay";
149 samsung,i2c-sda-delay = <100>;
150 samsung,i2c-max-bus-freq = <66000>;
151 samsung,i2c-slave-addr = <0x50>;
152};
153
154&hdmi {
155 status = "okay";
156 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&hdmi_hpd_irq>;
159 ddc = <&i2c_2>;
160};
161
Arun Kumar K3528dd32014-05-09 06:06:25 +0900162/*
163 * Use longest HW watchdog in SoC (32 seconds) since the hardware
164 * watchdog provides no debugging information (compared to soft/hard
165 * lockup detectors) and so should be last resort.
166 */
167&watchdog {
168 timeout-sec = <32>;
169};