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/; |
Simon Glass | 2fdd7d9 | 2014-10-20 19:48:29 -0600 | [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 { |
Simon Glass | 3fbb787 | 2015-03-26 09:29:39 -0600 | [diff] [blame^] | 43 | cros_ec: cros-ec@1e { |
Hung-ying Tyan | 60744a1 | 2013-05-15 18:27:33 +0800 | [diff] [blame] | 44 | reg = <0x1e>; |
Simon Glass | 3fbb787 | 2015-03-26 09:29:39 -0600 | [diff] [blame^] | 45 | compatible = "google,cros-ec-i2c"; |
Hung-ying Tyan | 60744a1 | 2013-05-15 18:27:33 +0800 | [diff] [blame] | 46 | i2c-max-frequency = <100000>; |
Simon Glass | bd76826 | 2015-01-26 20:29:38 -0700 | [diff] [blame] | 47 | u-boot,i2c-offset-len = <0>; |
Simon Glass | 6f755eb | 2015-01-05 20:05:42 -0700 | [diff] [blame] | 48 | ec-interrupt = <&gpx1 6 GPIO_ACTIVE_LOW>; |
Hung-ying Tyan | 60744a1 | 2013-05-15 18:27:33 +0800 | [diff] [blame] | 49 | }; |
| 50 | |
| 51 | power-regulator@48 { |
| 52 | compatible = "ti,tps65090"; |
| 53 | reg = <0x48>; |
| 54 | }; |
| 55 | }; |
| 56 | |
Simon Glass | 73186c9 | 2014-10-13 23:42:01 -0600 | [diff] [blame] | 57 | spi@12d30000 { |
| 58 | spi-max-frequency = <50000000>; |
| 59 | firmware_storage_spi: flash@0 { |
| 60 | compatible = "spi-flash"; |
| 61 | reg = <0>; |
| 62 | }; |
| 63 | }; |
| 64 | |
Hung-ying Tyan | 60744a1 | 2013-05-15 18:27:33 +0800 | [diff] [blame] | 65 | spi@131b0000 { |
| 66 | spi-max-frequency = <1000000>; |
| 67 | spi-deactivate-delay = <100>; |
Simon Glass | 3fbb787 | 2015-03-26 09:29:39 -0600 | [diff] [blame^] | 68 | |
| 69 | embedded-controller { |
| 70 | compatible = "google,cros-ec-i2c"; |
| 71 | reg = <0x1e>; |
Hung-ying Tyan | 60744a1 | 2013-05-15 18:27:33 +0800 | [diff] [blame] | 72 | spi-max-frequency = <5000000>; |
Simon Glass | 6f755eb | 2015-01-05 20:05:42 -0700 | [diff] [blame] | 73 | ec-interrupt = <&gpx1 6 GPIO_ACTIVE_LOW>; |
Hung-ying Tyan | 60744a1 | 2013-05-15 18:27:33 +0800 | [diff] [blame] | 74 | optimise-flash-write; |
| 75 | status = "disabled"; |
| 76 | }; |
| 77 | }; |
| 78 | |
Dani Krishna Mohan | b7006a7 | 2013-09-11 16:38:47 +0530 | [diff] [blame] | 79 | sound@3830000 { |
Rajeshwari Shinde | 2881e53 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 80 | samsung,codec-type = "max98095"; |
Simon Glass | 6f755eb | 2015-01-05 20:05:42 -0700 | [diff] [blame] | 81 | codec-enable-gpio = <&gpx1 7 GPIO_ACTIVE_HIGH>; |
Rajeshwari Shinde | 2881e53 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 82 | }; |
| 83 | |
Wolfgang Denk | 93e1459 | 2013-10-04 17:43:24 +0200 | [diff] [blame] | 84 | sound@12d60000 { |
| 85 | status = "disabled"; |
| 86 | }; |
Dani Krishna Mohan | b7006a7 | 2013-09-11 16:38:47 +0530 | [diff] [blame] | 87 | |
Rajeshwari Shinde | 2881e53 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 88 | i2c@12cd0000 { |
| 89 | soundcodec@22 { |
| 90 | reg = <0x22>; |
| 91 | compatible = "maxim,max98095-codec"; |
| 92 | }; |
Simon Glass | 14ccc30 | 2014-05-20 06:01:41 -0600 | [diff] [blame] | 93 | |
| 94 | ptn3460-bridge@20 { |
| 95 | compatible = "nxp,ptn3460"; |
| 96 | reg = <0x20>; |
| 97 | /* |
| 98 | * TODO(sjg@chromium.org): Use GPIOs here |
| 99 | * powerdown-gpio = <&gpy2 5 0>; |
| 100 | * reset-gpio = <&gpx1 5 0>; |
| 101 | * edid-emulation = <5>; |
| 102 | * pinctrl-names = "default"; |
| 103 | * pinctrl-0 = <&ptn3460_gpios>; |
| 104 | */ |
| 105 | }; |
Rajeshwari Shinde | 2881e53 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 106 | }; |
| 107 | |
| 108 | i2c@12c60000 { |
| 109 | pmic@9 { |
| 110 | reg = <0x9>; |
| 111 | compatible = "maxim,max77686_pmic"; |
| 112 | }; |
| 113 | }; |
Simon Glass | f2e8a87 | 2013-04-13 04:26:42 +0000 | [diff] [blame] | 114 | |
Simon Glass | b2f7941 | 2013-05-10 20:24:00 -0700 | [diff] [blame] | 115 | mmc@12200000 { |
| 116 | samsung,bus-width = <8>; |
| 117 | samsung,timing = <1 3 3>; |
| 118 | samsung,removable = <0>; |
| 119 | }; |
| 120 | |
| 121 | mmc@12210000 { |
| 122 | status = "disabled"; |
| 123 | }; |
| 124 | |
| 125 | mmc@12220000 { |
| 126 | samsung,bus-width = <4>; |
| 127 | samsung,timing = <1 2 3>; |
| 128 | samsung,removable = <1>; |
| 129 | }; |
| 130 | |
| 131 | mmc@12230000 { |
| 132 | status = "disabled"; |
| 133 | }; |
| 134 | |
Julius Werner | ec89e0a | 2013-09-14 14:02:53 +0530 | [diff] [blame] | 135 | ehci@12110000 { |
Simon Glass | 6f755eb | 2015-01-05 20:05:42 -0700 | [diff] [blame] | 136 | samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>; |
Julius Werner | ec89e0a | 2013-09-14 14:02:53 +0530 | [diff] [blame] | 137 | }; |
| 138 | |
| 139 | xhci@12000000 { |
Simon Glass | 6f755eb | 2015-01-05 20:05:42 -0700 | [diff] [blame] | 140 | samsung,vbus-gpio = <&gpx2 7 GPIO_ACTIVE_HIGH>; |
Julius Werner | ec89e0a | 2013-09-14 14:02:53 +0530 | [diff] [blame] | 141 | }; |
| 142 | |
Simon Glass | f2e8a87 | 2013-04-13 04:26:42 +0000 | [diff] [blame] | 143 | tmu@10060000 { |
| 144 | samsung,min-temp = <25>; |
| 145 | samsung,max-temp = <125>; |
| 146 | samsung,start-warning = <95>; |
| 147 | samsung,start-tripping = <105>; |
| 148 | samsung,hw-tripping = <110>; |
| 149 | samsung,efuse-min-value = <40>; |
| 150 | samsung,efuse-value = <55>; |
| 151 | samsung,efuse-max-value = <100>; |
| 152 | samsung,slope = <274761730>; |
| 153 | samsung,dc-value = <25>; |
| 154 | }; |
| 155 | |
Simon Glass | 14ccc30 | 2014-05-20 06:01:41 -0600 | [diff] [blame] | 156 | fimd@14400000 { |
| 157 | samsung,vl-freq = <60>; |
| 158 | samsung,vl-col = <1366>; |
| 159 | samsung,vl-row = <768>; |
| 160 | samsung,vl-width = <1366>; |
| 161 | samsung,vl-height = <768>; |
| 162 | |
| 163 | samsung,vl-clkp; |
| 164 | samsung,vl-dp; |
| 165 | samsung,vl-hsp; |
| 166 | samsung,vl-vsp; |
| 167 | |
| 168 | samsung,vl-bpix = <4>; |
| 169 | |
| 170 | samsung,vl-hspw = <32>; |
| 171 | samsung,vl-hbpd = <80>; |
| 172 | samsung,vl-hfpd = <48>; |
| 173 | samsung,vl-vspw = <5>; |
| 174 | samsung,vl-vbpd = <14>; |
| 175 | samsung,vl-vfpd = <3>; |
| 176 | samsung,vl-cmd-allow-len = <0xf>; |
| 177 | |
| 178 | samsung,winid = <0>; |
| 179 | samsung,interface-mode = <1>; |
| 180 | samsung,dp-enabled = <1>; |
| 181 | samsung,dual-lcd-enabled = <0>; |
| 182 | }; |
| 183 | |
| 184 | dp@145b0000 { |
| 185 | samsung,lt-status = <0>; |
| 186 | |
| 187 | samsung,master-mode = <0>; |
| 188 | samsung,bist-mode = <0>; |
| 189 | samsung,bist-pattern = <0>; |
| 190 | samsung,h-sync-polarity = <0>; |
| 191 | samsung,v-sync-polarity = <0>; |
| 192 | samsung,interlaced = <0>; |
| 193 | samsung,color-space = <0>; |
| 194 | samsung,dynamic-range = <0>; |
| 195 | samsung,ycbcr-coeff = <0>; |
| 196 | samsung,color-depth = <1>; |
| 197 | }; |
| 198 | |
Rajeshwari Shinde | 2881e53 | 2013-02-28 01:40:41 +0000 | [diff] [blame] | 199 | }; |
Sjoerd Simons | 9332274 | 2014-11-27 16:34:08 +0100 | [diff] [blame] | 200 | |
| 201 | #include "cros-ec-keyboard.dtsi" |