Rajeshwari Shinde | 1223687 | 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/; |
| 13 | /include/ ARCH_CPU_DTS |
| 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 | }; |
| 34 | |
Hung-ying Tyan | e55aadd | 2013-05-15 18:27:33 +0800 | [diff] [blame^] | 35 | i2c4: i2c@12ca0000 { |
| 36 | cros-ec@1e { |
| 37 | reg = <0x1e>; |
| 38 | compatible = "google,cros-ec"; |
| 39 | i2c-max-frequency = <100000>; |
| 40 | ec-interrupt = <&gpio 782 1>; |
| 41 | }; |
| 42 | |
| 43 | power-regulator@48 { |
| 44 | compatible = "ti,tps65090"; |
| 45 | reg = <0x48>; |
| 46 | }; |
| 47 | }; |
| 48 | |
| 49 | spi@131b0000 { |
| 50 | spi-max-frequency = <1000000>; |
| 51 | spi-deactivate-delay = <100>; |
| 52 | cros-ec@0 { |
| 53 | reg = <0>; |
| 54 | compatible = "google,cros-ec"; |
| 55 | spi-max-frequency = <5000000>; |
| 56 | ec-interrupt = <&gpio 782 1>; |
| 57 | optimise-flash-write; |
| 58 | status = "disabled"; |
| 59 | }; |
| 60 | }; |
| 61 | |
Rajeshwari Shinde | 1223687 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 62 | sound@12d60000 { |
| 63 | samsung,i2s-epll-clock-frequency = <192000000>; |
| 64 | samsung,i2s-sampling-rate = <48000>; |
| 65 | samsung,i2s-bits-per-sample = <16>; |
| 66 | samsung,i2s-channels = <2>; |
| 67 | samsung,i2s-lr-clk-framesize = <256>; |
| 68 | samsung,i2s-bit-clk-framesize = <32>; |
| 69 | samsung,codec-type = "max98095"; |
| 70 | }; |
| 71 | |
| 72 | i2c@12cd0000 { |
| 73 | soundcodec@22 { |
| 74 | reg = <0x22>; |
| 75 | compatible = "maxim,max98095-codec"; |
| 76 | }; |
| 77 | }; |
| 78 | |
| 79 | i2c@12c60000 { |
| 80 | pmic@9 { |
| 81 | reg = <0x9>; |
| 82 | compatible = "maxim,max77686_pmic"; |
| 83 | }; |
| 84 | }; |
Simon Glass | 36558ca | 2013-04-13 04:26:42 +0000 | [diff] [blame] | 85 | |
| 86 | tmu@10060000 { |
| 87 | samsung,min-temp = <25>; |
| 88 | samsung,max-temp = <125>; |
| 89 | samsung,start-warning = <95>; |
| 90 | samsung,start-tripping = <105>; |
| 91 | samsung,hw-tripping = <110>; |
| 92 | samsung,efuse-min-value = <40>; |
| 93 | samsung,efuse-value = <55>; |
| 94 | samsung,efuse-max-value = <100>; |
| 95 | samsung,slope = <274761730>; |
| 96 | samsung,dc-value = <25>; |
| 97 | }; |
| 98 | |
Hung-ying Tyan | e55aadd | 2013-05-15 18:27:33 +0800 | [diff] [blame^] | 99 | cros-ec-keyb { |
| 100 | compatible = "google,cros-ec-keyb"; |
| 101 | google,key-rows = <8>; |
| 102 | google,key-columns = <13>; |
| 103 | google,repeat-delay-ms = <240>; |
| 104 | google,repeat-rate-ms = <30>; |
| 105 | google,ghost-filter; |
| 106 | /* |
| 107 | * Keymap entries take the form of 0xRRCCKKKK where |
| 108 | * RR=Row CC=Column KKKK=Key Code |
| 109 | * The values below are for a US keyboard layout and |
| 110 | * are taken from the Linux driver. Note that the |
| 111 | * 102ND key is not used for US keyboards. |
| 112 | */ |
| 113 | linux,keymap = < |
| 114 | /* CAPSLCK F1 B F10 */ |
| 115 | 0x0001003a 0x0002003b 0x00030030 0x00040044 |
| 116 | /* N = R_ALT ESC */ |
| 117 | 0x00060031 0x0008000d 0x000a0064 0x01010001 |
| 118 | /* F4 G F7 H */ |
| 119 | 0x0102003e 0x01030022 0x01040041 0x01060023 |
| 120 | /* ' F9 BKSPACE L_CTRL */ |
| 121 | 0x01080028 0x01090043 0x010b000e 0x0200001d |
| 122 | /* TAB F3 T F6 */ |
| 123 | 0x0201000f 0x0202003d 0x02030014 0x02040040 |
| 124 | /* ] Y 102ND [ */ |
| 125 | 0x0205001b 0x02060015 0x02070056 0x0208001a |
| 126 | /* F8 GRAVE F2 5 */ |
| 127 | 0x02090042 0x03010029 0x0302003c 0x03030006 |
| 128 | /* F5 6 - \ */ |
| 129 | 0x0304003f 0x03060007 0x0308000c 0x030b002b |
| 130 | /* R_CTRL A D F */ |
| 131 | 0x04000061 0x0401001e 0x04020020 0x04030021 |
| 132 | /* S K J ; */ |
| 133 | 0x0404001f 0x04050025 0x04060024 0x04080027 |
| 134 | /* L ENTER Z C */ |
| 135 | 0x04090026 0x040b001c 0x0501002c 0x0502002e |
| 136 | /* V X , M */ |
| 137 | 0x0503002f 0x0504002d 0x05050033 0x05060032 |
| 138 | /* L_SHIFT / . SPACE */ |
| 139 | 0x0507002a 0x05080035 0x05090034 0x050B0039 |
| 140 | /* 1 3 4 2 */ |
| 141 | 0x06010002 0x06020004 0x06030005 0x06040003 |
| 142 | /* 8 7 0 9 */ |
| 143 | 0x06050009 0x06060008 0x0608000b 0x0609000a |
| 144 | /* L_ALT DOWN RIGHT Q */ |
| 145 | 0x060a0038 0x060b006c 0x060c006a 0x07010010 |
| 146 | /* E R W I */ |
| 147 | 0x07020012 0x07030013 0x07040011 0x07050017 |
| 148 | /* U R_SHIFT P O */ |
| 149 | 0x07060016 0x07070036 0x07080019 0x07090018 |
| 150 | /* UP LEFT */ |
| 151 | 0x070b0067 0x070c0069>; |
| 152 | }; |
Rajeshwari Shinde | 1223687 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 153 | }; |