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/; 13#include "exynos5250.dtsi" 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"; 33 mmc0 = "/mmc@12200000"; 34 mmc1 = "/mmc@12210000"; 35 mmc2 = "/mmc@12220000"; 36 mmc3 = "/mmc@12230000"; 37 serial0 = "/serial@12C30000"; 38 console = "/serial@12C30000"; 39 i2s = "/sound@3830000"; 40 }; 41 42 i2c4: i2c@12ca0000 { 43 cros-ec@1e { 44 reg = <0x1e>; 45 compatible = "google,cros-ec"; 46 i2c-max-frequency = <100000>; 47 ec-interrupt = <&gpio 182 1>; 48 }; 49 50 power-regulator@48 { 51 compatible = "ti,tps65090"; 52 reg = <0x48>; 53 }; 54 }; 55 56 spi@12d30000 { 57 spi-max-frequency = <50000000>; 58 firmware_storage_spi: flash@0 { 59 compatible = "spi-flash"; 60 reg = <0>; 61 }; 62 }; 63 64 spi@131b0000 { 65 spi-max-frequency = <1000000>; 66 spi-deactivate-delay = <100>; 67 cros-ec@0 { 68 reg = <0>; 69 compatible = "google,cros-ec"; 70 spi-max-frequency = <5000000>; 71 ec-interrupt = <&gpio 182 1>; 72 optimise-flash-write; 73 status = "disabled"; 74 }; 75 }; 76 77 sound@3830000 { 78 samsung,codec-type = "max98095"; 79 codec-enable-gpio = <&gpio 0xb7 0>; 80 }; 81 82 sound@12d60000 { 83 status = "disabled"; 84 }; 85 86 i2c@12cd0000 { 87 soundcodec@22 { 88 reg = <0x22>; 89 compatible = "maxim,max98095-codec"; 90 }; 91 92 ptn3460-bridge@20 { 93 compatible = "nxp,ptn3460"; 94 reg = <0x20>; 95 /* 96 * TODO(sjg@chromium.org): Use GPIOs here 97 * powerdown-gpio = <&gpy2 5 0>; 98 * reset-gpio = <&gpx1 5 0>; 99 * edid-emulation = <5>; 100 * pinctrl-names = "default"; 101 * pinctrl-0 = <&ptn3460_gpios>; 102 */ 103 }; 104 }; 105 106 i2c@12c60000 { 107 pmic@9 { 108 reg = <0x9>; 109 compatible = "maxim,max77686_pmic"; 110 }; 111 }; 112 113 mmc@12200000 { 114 samsung,bus-width = <8>; 115 samsung,timing = <1 3 3>; 116 samsung,removable = <0>; 117 }; 118 119 mmc@12210000 { 120 status = "disabled"; 121 }; 122 123 mmc@12220000 { 124 samsung,bus-width = <4>; 125 samsung,timing = <1 2 3>; 126 samsung,removable = <1>; 127 }; 128 129 mmc@12230000 { 130 status = "disabled"; 131 }; 132 133 ehci@12110000 { 134 samsung,vbus-gpio = <&gpio 0x309 0>; /* X11 */ 135 }; 136 137 xhci@12000000 { 138 samsung,vbus-gpio = <&gpio 0x317 0>; /* X27 */ 139 }; 140 141 tmu@10060000 { 142 samsung,min-temp = <25>; 143 samsung,max-temp = <125>; 144 samsung,start-warning = <95>; 145 samsung,start-tripping = <105>; 146 samsung,hw-tripping = <110>; 147 samsung,efuse-min-value = <40>; 148 samsung,efuse-value = <55>; 149 samsung,efuse-max-value = <100>; 150 samsung,slope = <274761730>; 151 samsung,dc-value = <25>; 152 }; 153 154 cros-ec-keyb { 155 compatible = "google,cros-ec-keyb"; 156 google,key-rows = <8>; 157 google,key-columns = <13>; 158 google,repeat-delay-ms = <240>; 159 google,repeat-rate-ms = <30>; 160 google,ghost-filter; 161 /* 162 * Keymap entries take the form of 0xRRCCKKKK where 163 * RR=Row CC=Column KKKK=Key Code 164 * The values below are for a US keyboard layout and 165 * are taken from the Linux driver. Note that the 166 * 102ND key is not used for US keyboards. 167 */ 168 linux,keymap = < 169 /* CAPSLCK F1 B F10 */ 170 0x0001003a 0x0002003b 0x00030030 0x00040044 171 /* N = R_ALT ESC */ 172 0x00060031 0x0008000d 0x000a0064 0x01010001 173 /* F4 G F7 H */ 174 0x0102003e 0x01030022 0x01040041 0x01060023 175 /* ' F9 BKSPACE L_CTRL */ 176 0x01080028 0x01090043 0x010b000e 0x0200001d 177 /* TAB F3 T F6 */ 178 0x0201000f 0x0202003d 0x02030014 0x02040040 179 /* ] Y 102ND [ */ 180 0x0205001b 0x02060015 0x02070056 0x0208001a 181 /* F8 GRAVE F2 5 */ 182 0x02090042 0x03010029 0x0302003c 0x03030006 183 /* F5 6 - \ */ 184 0x0304003f 0x03060007 0x0308000c 0x030b002b 185 /* R_CTRL A D F */ 186 0x04000061 0x0401001e 0x04020020 0x04030021 187 /* S K J ; */ 188 0x0404001f 0x04050025 0x04060024 0x04080027 189 /* L ENTER Z C */ 190 0x04090026 0x040b001c 0x0501002c 0x0502002e 191 /* V X , M */ 192 0x0503002f 0x0504002d 0x05050033 0x05060032 193 /* L_SHIFT / . SPACE */ 194 0x0507002a 0x05080035 0x05090034 0x050B0039 195 /* 1 3 4 2 */ 196 0x06010002 0x06020004 0x06030005 0x06040003 197 /* 8 7 0 9 */ 198 0x06050009 0x06060008 0x0608000b 0x0609000a 199 /* L_ALT DOWN RIGHT Q */ 200 0x060a0038 0x060b006c 0x060c006a 0x07010010 201 /* E R W I */ 202 0x07020012 0x07030013 0x07040011 0x07050017 203 /* U R_SHIFT P O */ 204 0x07060016 0x07070036 0x07080019 0x07090018 205 /* UP LEFT */ 206 0x070b0067 0x070c0069>; 207 }; 208 209 fimd@14400000 { 210 samsung,vl-freq = <60>; 211 samsung,vl-col = <1366>; 212 samsung,vl-row = <768>; 213 samsung,vl-width = <1366>; 214 samsung,vl-height = <768>; 215 216 samsung,vl-clkp; 217 samsung,vl-dp; 218 samsung,vl-hsp; 219 samsung,vl-vsp; 220 221 samsung,vl-bpix = <4>; 222 223 samsung,vl-hspw = <32>; 224 samsung,vl-hbpd = <80>; 225 samsung,vl-hfpd = <48>; 226 samsung,vl-vspw = <5>; 227 samsung,vl-vbpd = <14>; 228 samsung,vl-vfpd = <3>; 229 samsung,vl-cmd-allow-len = <0xf>; 230 231 samsung,winid = <0>; 232 samsung,interface-mode = <1>; 233 samsung,dp-enabled = <1>; 234 samsung,dual-lcd-enabled = <0>; 235 }; 236 237 dp@145b0000 { 238 samsung,lt-status = <0>; 239 240 samsung,master-mode = <0>; 241 samsung,bist-mode = <0>; 242 samsung,bist-pattern = <0>; 243 samsung,h-sync-polarity = <0>; 244 samsung,v-sync-polarity = <0>; 245 samsung,interlaced = <0>; 246 samsung,color-space = <0>; 247 samsung,dynamic-range = <0>; 248 samsung,ycbcr-coeff = <0>; 249 samsung,color-depth = <1>; 250 }; 251 252}; 253