blob: 176ce552ad974046702dcd660e2da754ab43f400 [file] [log] [blame]
Akshay Saraswate6b723f2014-11-13 22:38:16 +05301/*
2 * SAMSUNG/GOOGLE Peach-Pit board device tree source
3 *
4 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */
9
10/dts-v1/;
11#include "exynos54xx.dtsi"
12
13/ {
14 model = "Samsung/Google Peach Pi board based on Exynos5800";
15
16 compatible = "google,pit-rev#", "google,pit",
17 "google,peach", "samsung,exynos5800", "samsung,exynos5";
18
19 config {
Simon Glass6f755eb2015-01-05 20:05:42 -070020 google,bad-wake-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
Akshay Saraswate6b723f2014-11-13 22:38:16 +053021 hwid = "PIT TEST A-A 7848";
22 lazy-init = <1>;
23 };
24
25 aliases {
26 serial0 = "/serial@12C30000";
27 console = "/serial@12C30000";
28 pmic = "/i2c@12ca0000";
29 };
30
31 dmc {
32 mem-manuf = "samsung";
33 mem-type = "ddr3";
34 clock-frequency = <800000000>;
Simon Glass6f755eb2015-01-05 20:05:42 -070035 arm-frequency = <900000000>;
Akshay Saraswate6b723f2014-11-13 22:38:16 +053036 };
37
38 tmu@10060000 {
39 samsung,min-temp = <25>;
40 samsung,max-temp = <125>;
41 samsung,start-warning = <95>;
42 samsung,start-tripping = <105>;
43 samsung,hw-tripping = <110>;
44 samsung,efuse-min-value = <40>;
45 samsung,efuse-value = <55>;
46 samsung,efuse-max-value = <100>;
47 samsung,slope = <274761730>;
48 samsung,dc-value = <25>;
49 };
50
51 /* MAX77802 is on i2c bus 4 */
52 i2c@12ca0000 {
53 clock-frequency = <400000>;
54 power-regulator@9 {
55 compatible = "maxim,max77802-pmic";
56 reg = <0x9>;
57 };
58 };
59
60 i2c@12cd0000 { /* i2c7 */
61 clock-frequency = <100000>;
62 soundcodec@20 {
63 reg = <0x20>;
64 compatible = "maxim,max98090-codec";
65 };
Akshay Saraswate6b723f2014-11-13 22:38:16 +053066 };
67
68 sound@3830000 {
69 samsung,codec-type = "max98090";
70 };
71
72 i2c@12e10000 { /* i2c9 */
73 clock-frequency = <400000>;
74 tpm@20 {
Simon Glassf0e57b12015-05-04 11:31:00 -060075 compatible = "infineon,slb9645tt";
Akshay Saraswate6b723f2014-11-13 22:38:16 +053076 reg = <0x20>;
77 };
78 };
79
80 spi@12d30000 { /* spi1 */
81 spi-max-frequency = <50000000>;
82 firmware_storage_spi: flash@0 {
83 reg = <0>;
84
85 /*
86 * A region for the kernel to store a panic event
87 * which the firmware will add to the log.
88 */
89 elog-panic-event-offset = <0x01e00000 0x100000>;
90
91 elog-shrink-size = <0x400>;
92 elog-full-threshold = <0xc00>;
93 };
94 };
95
96 spi@12d40000 { /* spi2 */
97 spi-max-frequency = <4000000>;
98 spi-deactivate-delay = <200>;
Sjoerd Simons93322742014-11-27 16:34:08 +010099 cros_ec: cros-ec@0 {
Simon Glass3fbb7872015-03-26 09:29:39 -0600100 compatible = "google,cros-ec-spi";
Akshay Saraswate6b723f2014-11-13 22:38:16 +0530101 reg = <0>;
Akshay Saraswate6b723f2014-11-13 22:38:16 +0530102 spi-half-duplex;
103 spi-max-timeout-ms = <1100>;
Simon Glass6f755eb2015-01-05 20:05:42 -0700104 ec-interrupt = <&gpx1 5 GPIO_ACTIVE_LOW>;
Akshay Saraswate6b723f2014-11-13 22:38:16 +0530105
106 /*
107 * This describes the flash memory within the EC. Note
108 * that the STM32L flash erases to 0, not 0xff.
109 */
110 #address-cells = <1>;
111 #size-cells = <1>;
112 flash@8000000 {
113 reg = <0x08000000 0x20000>;
114 erase-value = <0>;
115 };
116 };
117 };
118
119 xhci@12000000 {
Simon Glass6f755eb2015-01-05 20:05:42 -0700120 samsung,vbus-gpio = <&gph0 0 GPIO_ACTIVE_HIGH>;
Akshay Saraswate6b723f2014-11-13 22:38:16 +0530121 };
122
123 xhci@12400000 {
Simon Glass6f755eb2015-01-05 20:05:42 -0700124 samsung,vbus-gpio = <&gph0 1 GPIO_ACTIVE_HIGH>;
Akshay Saraswate6b723f2014-11-13 22:38:16 +0530125 };
126
127 fimd@14400000 {
128 samsung,vl-freq = <60>;
129 samsung,vl-col = <1920>;
130 samsung,vl-row = <1080>;
131 samsung,vl-width = <1920>;
132 samsung,vl-height = <1080>;
133
134 samsung,vl-clkp;
135 samsung,vl-dp;
136 samsung,vl-bpix = <4>;
137
138 samsung,vl-hspw = <80>;
139 samsung,vl-hbpd = <172>;
140 samsung,vl-hfpd = <60>;
141 samsung,vl-vspw = <10>;
142 samsung,vl-vbpd = <25>;
143 samsung,vl-vfpd = <10>;
144 samsung,vl-cmd-allow-len = <0xf>;
145
Ajay Kumar607eff62015-03-04 19:05:30 +0530146 samsung,power-on-delay = <30000>;
Akshay Saraswate6b723f2014-11-13 22:38:16 +0530147 samsung,winid = <3>;
148 samsung,interface-mode = <1>;
149 samsung,dp-enabled = <1>;
150 samsung,dual-lcd-enabled = <0>;
Ajay Kumar607eff62015-03-04 19:05:30 +0530151
152 samsung,bl-en-gpio = <&gpx2 2 GPIO_ACTIVE_HIGH>;
Akshay Saraswate6b723f2014-11-13 22:38:16 +0530153 };
154};
Sjoerd Simons93322742014-11-27 16:34:08 +0100155
156#include "cros-ec-keyboard.dtsi"