Rajeshwari Shinde | 2881e53 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 1 | /* |
| 2 | * SAMSUNG Snow board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2012 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License version 2 as |
| 9 | * published by the Free Software Foundation. |
| 10 | */ |
| 11 | |
| 12 | /dts-v1/; |
Stephen Warren | 6e8e031 | 2013-07-24 10:09:20 -0700 | [diff] [blame] | 13 | /include/ "exynos5250.dtsi" |
Rajeshwari Shinde | 2881e53 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "Google Snow"; |
| 17 | compatible = "google,snow", "samsung,exynos5250"; |
| 18 | |
| 19 | aliases { |
| 20 | i2c0 = "/i2c@12c60000"; |
| 21 | i2c1 = "/i2c@12c70000"; |
| 22 | i2c2 = "/i2c@12c80000"; |
| 23 | i2c3 = "/i2c@12c90000"; |
| 24 | i2c4 = "/i2c@12ca0000"; |
| 25 | i2c5 = "/i2c@12cb0000"; |
| 26 | i2c6 = "/i2c@12cc0000"; |
| 27 | i2c7 = "/i2c@12cd0000"; |
| 28 | spi0 = "/spi@12d20000"; |
| 29 | spi1 = "/spi@12d30000"; |
| 30 | spi2 = "/spi@12d40000"; |
| 31 | spi3 = "/spi@131a0000"; |
| 32 | spi4 = "/spi@131b0000"; |
Simon Glass | b2f7941 | 2013-05-10 20:24:00 -0700 | [diff] [blame] | 33 | mmc0 = "/mmc@12200000"; |
| 34 | mmc1 = "/mmc@12210000"; |
| 35 | mmc2 = "/mmc@12220000"; |
| 36 | mmc3 = "/mmc@12230000"; |
Rajeshwari Shinde | 4603e8c | 2013-06-24 16:47:21 +0530 | [diff] [blame] | 37 | serial0 = "/serial@12C30000"; |
| 38 | console = "/serial@12C30000"; |
Dani Krishna Mohan | b7006a7 | 2013-09-11 16:38:47 +0530 | [diff] [blame] | 39 | i2s = "/sound@3830000"; |
Rajeshwari Shinde | 2881e53 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 40 | }; |
| 41 | |
Hung-ying Tyan | 60744a1 | 2013-05-15 18:27:33 +0800 | [diff] [blame] | 42 | i2c4: i2c@12ca0000 { |
| 43 | cros-ec@1e { |
| 44 | reg = <0x1e>; |
| 45 | compatible = "google,cros-ec"; |
| 46 | i2c-max-frequency = <100000>; |
Simon Glass | 63e6267 | 2014-05-20 06:01:32 -0600 | [diff] [blame] | 47 | ec-interrupt = <&gpio 182 1>; |
Hung-ying Tyan | 60744a1 | 2013-05-15 18:27:33 +0800 | [diff] [blame] | 48 | }; |
| 49 | |
| 50 | power-regulator@48 { |
| 51 | compatible = "ti,tps65090"; |
| 52 | reg = <0x48>; |
| 53 | }; |
| 54 | }; |
| 55 | |
| 56 | spi@131b0000 { |
| 57 | spi-max-frequency = <1000000>; |
| 58 | spi-deactivate-delay = <100>; |
| 59 | cros-ec@0 { |
| 60 | reg = <0>; |
| 61 | compatible = "google,cros-ec"; |
| 62 | spi-max-frequency = <5000000>; |
Simon Glass | 63e6267 | 2014-05-20 06:01:32 -0600 | [diff] [blame] | 63 | ec-interrupt = <&gpio 182 1>; |
Hung-ying Tyan | 60744a1 | 2013-05-15 18:27:33 +0800 | [diff] [blame] | 64 | optimise-flash-write; |
| 65 | status = "disabled"; |
| 66 | }; |
| 67 | }; |
| 68 | |
Dani Krishna Mohan | b7006a7 | 2013-09-11 16:38:47 +0530 | [diff] [blame] | 69 | sound@3830000 { |
Rajeshwari Shinde | 2881e53 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 70 | samsung,codec-type = "max98095"; |
Dani Krishna Mohan | b7006a7 | 2013-09-11 16:38:47 +0530 | [diff] [blame] | 71 | codec-enable-gpio = <&gpio 0xb7 0>; |
Rajeshwari Shinde | 2881e53 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 72 | }; |
| 73 | |
Wolfgang Denk | 93e1459 | 2013-10-04 17:43:24 +0200 | [diff] [blame] | 74 | sound@12d60000 { |
| 75 | status = "disabled"; |
| 76 | }; |
Dani Krishna Mohan | b7006a7 | 2013-09-11 16:38:47 +0530 | [diff] [blame] | 77 | |
Rajeshwari Shinde | 2881e53 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 78 | i2c@12cd0000 { |
| 79 | soundcodec@22 { |
| 80 | reg = <0x22>; |
| 81 | compatible = "maxim,max98095-codec"; |
| 82 | }; |
Simon Glass | 14ccc30 | 2014-05-20 06:01:41 -0600 | [diff] [blame] | 83 | |
| 84 | ptn3460-bridge@20 { |
| 85 | compatible = "nxp,ptn3460"; |
| 86 | reg = <0x20>; |
| 87 | /* |
| 88 | * TODO(sjg@chromium.org): Use GPIOs here |
| 89 | * powerdown-gpio = <&gpy2 5 0>; |
| 90 | * reset-gpio = <&gpx1 5 0>; |
| 91 | * edid-emulation = <5>; |
| 92 | * pinctrl-names = "default"; |
| 93 | * pinctrl-0 = <&ptn3460_gpios>; |
| 94 | */ |
| 95 | }; |
Rajeshwari Shinde | 2881e53 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 96 | }; |
| 97 | |
| 98 | i2c@12c60000 { |
| 99 | pmic@9 { |
| 100 | reg = <0x9>; |
| 101 | compatible = "maxim,max77686_pmic"; |
| 102 | }; |
| 103 | }; |
Simon Glass | f2e8a87 | 2013-04-13 04:26:42 +0000 | [diff] [blame] | 104 | |
Simon Glass | b2f7941 | 2013-05-10 20:24:00 -0700 | [diff] [blame] | 105 | mmc@12200000 { |
| 106 | samsung,bus-width = <8>; |
| 107 | samsung,timing = <1 3 3>; |
| 108 | samsung,removable = <0>; |
| 109 | }; |
| 110 | |
| 111 | mmc@12210000 { |
| 112 | status = "disabled"; |
| 113 | }; |
| 114 | |
| 115 | mmc@12220000 { |
| 116 | samsung,bus-width = <4>; |
| 117 | samsung,timing = <1 2 3>; |
| 118 | samsung,removable = <1>; |
| 119 | }; |
| 120 | |
| 121 | mmc@12230000 { |
| 122 | status = "disabled"; |
| 123 | }; |
| 124 | |
Julius Werner | ec89e0a | 2013-09-14 14:02:53 +0530 | [diff] [blame] | 125 | ehci@12110000 { |
Vivek Gautam | 3732e49 | 2014-01-03 16:10:52 +0530 | [diff] [blame] | 126 | samsung,vbus-gpio = <&gpio 0x309 0>; /* X11 */ |
Julius Werner | ec89e0a | 2013-09-14 14:02:53 +0530 | [diff] [blame] | 127 | }; |
| 128 | |
| 129 | xhci@12000000 { |
Vivek Gautam | 3732e49 | 2014-01-03 16:10:52 +0530 | [diff] [blame] | 130 | samsung,vbus-gpio = <&gpio 0x317 0>; /* X27 */ |
Julius Werner | ec89e0a | 2013-09-14 14:02:53 +0530 | [diff] [blame] | 131 | }; |
| 132 | |
Simon Glass | f2e8a87 | 2013-04-13 04:26:42 +0000 | [diff] [blame] | 133 | tmu@10060000 { |
| 134 | samsung,min-temp = <25>; |
| 135 | samsung,max-temp = <125>; |
| 136 | samsung,start-warning = <95>; |
| 137 | samsung,start-tripping = <105>; |
| 138 | samsung,hw-tripping = <110>; |
| 139 | samsung,efuse-min-value = <40>; |
| 140 | samsung,efuse-value = <55>; |
| 141 | samsung,efuse-max-value = <100>; |
| 142 | samsung,slope = <274761730>; |
| 143 | samsung,dc-value = <25>; |
| 144 | }; |
| 145 | |
Hung-ying Tyan | 60744a1 | 2013-05-15 18:27:33 +0800 | [diff] [blame] | 146 | cros-ec-keyb { |
| 147 | compatible = "google,cros-ec-keyb"; |
| 148 | google,key-rows = <8>; |
| 149 | google,key-columns = <13>; |
| 150 | google,repeat-delay-ms = <240>; |
| 151 | google,repeat-rate-ms = <30>; |
| 152 | google,ghost-filter; |
| 153 | /* |
| 154 | * Keymap entries take the form of 0xRRCCKKKK where |
| 155 | * RR=Row CC=Column KKKK=Key Code |
| 156 | * The values below are for a US keyboard layout and |
| 157 | * are taken from the Linux driver. Note that the |
| 158 | * 102ND key is not used for US keyboards. |
| 159 | */ |
| 160 | linux,keymap = < |
| 161 | /* CAPSLCK F1 B F10 */ |
| 162 | 0x0001003a 0x0002003b 0x00030030 0x00040044 |
| 163 | /* N = R_ALT ESC */ |
| 164 | 0x00060031 0x0008000d 0x000a0064 0x01010001 |
| 165 | /* F4 G F7 H */ |
| 166 | 0x0102003e 0x01030022 0x01040041 0x01060023 |
| 167 | /* ' F9 BKSPACE L_CTRL */ |
| 168 | 0x01080028 0x01090043 0x010b000e 0x0200001d |
| 169 | /* TAB F3 T F6 */ |
| 170 | 0x0201000f 0x0202003d 0x02030014 0x02040040 |
| 171 | /* ] Y 102ND [ */ |
| 172 | 0x0205001b 0x02060015 0x02070056 0x0208001a |
| 173 | /* F8 GRAVE F2 5 */ |
| 174 | 0x02090042 0x03010029 0x0302003c 0x03030006 |
| 175 | /* F5 6 - \ */ |
| 176 | 0x0304003f 0x03060007 0x0308000c 0x030b002b |
| 177 | /* R_CTRL A D F */ |
| 178 | 0x04000061 0x0401001e 0x04020020 0x04030021 |
| 179 | /* S K J ; */ |
| 180 | 0x0404001f 0x04050025 0x04060024 0x04080027 |
| 181 | /* L ENTER Z C */ |
| 182 | 0x04090026 0x040b001c 0x0501002c 0x0502002e |
| 183 | /* V X , M */ |
| 184 | 0x0503002f 0x0504002d 0x05050033 0x05060032 |
| 185 | /* L_SHIFT / . SPACE */ |
| 186 | 0x0507002a 0x05080035 0x05090034 0x050B0039 |
| 187 | /* 1 3 4 2 */ |
| 188 | 0x06010002 0x06020004 0x06030005 0x06040003 |
| 189 | /* 8 7 0 9 */ |
| 190 | 0x06050009 0x06060008 0x0608000b 0x0609000a |
| 191 | /* L_ALT DOWN RIGHT Q */ |
| 192 | 0x060a0038 0x060b006c 0x060c006a 0x07010010 |
| 193 | /* E R W I */ |
| 194 | 0x07020012 0x07030013 0x07040011 0x07050017 |
| 195 | /* U R_SHIFT P O */ |
| 196 | 0x07060016 0x07070036 0x07080019 0x07090018 |
| 197 | /* UP LEFT */ |
| 198 | 0x070b0067 0x070c0069>; |
| 199 | }; |
Simon Glass | 14ccc30 | 2014-05-20 06:01:41 -0600 | [diff] [blame] | 200 | |
| 201 | fimd@14400000 { |
| 202 | samsung,vl-freq = <60>; |
| 203 | samsung,vl-col = <1366>; |
| 204 | samsung,vl-row = <768>; |
| 205 | samsung,vl-width = <1366>; |
| 206 | samsung,vl-height = <768>; |
| 207 | |
| 208 | samsung,vl-clkp; |
| 209 | samsung,vl-dp; |
| 210 | samsung,vl-hsp; |
| 211 | samsung,vl-vsp; |
| 212 | |
| 213 | samsung,vl-bpix = <4>; |
| 214 | |
| 215 | samsung,vl-hspw = <32>; |
| 216 | samsung,vl-hbpd = <80>; |
| 217 | samsung,vl-hfpd = <48>; |
| 218 | samsung,vl-vspw = <5>; |
| 219 | samsung,vl-vbpd = <14>; |
| 220 | samsung,vl-vfpd = <3>; |
| 221 | samsung,vl-cmd-allow-len = <0xf>; |
| 222 | |
| 223 | samsung,winid = <0>; |
| 224 | samsung,interface-mode = <1>; |
| 225 | samsung,dp-enabled = <1>; |
| 226 | samsung,dual-lcd-enabled = <0>; |
| 227 | }; |
| 228 | |
| 229 | dp@145b0000 { |
| 230 | samsung,lt-status = <0>; |
| 231 | |
| 232 | samsung,master-mode = <0>; |
| 233 | samsung,bist-mode = <0>; |
| 234 | samsung,bist-pattern = <0>; |
| 235 | samsung,h-sync-polarity = <0>; |
| 236 | samsung,v-sync-polarity = <0>; |
| 237 | samsung,interlaced = <0>; |
| 238 | samsung,color-space = <0>; |
| 239 | samsung,dynamic-range = <0>; |
| 240 | samsung,ycbcr-coeff = <0>; |
| 241 | samsung,color-depth = <1>; |
| 242 | }; |
| 243 | |
Rajeshwari Shinde | 2881e53 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 244 | }; |