Hatim RV | 89ee402 | 2012-12-11 00:52:45 +0000 | [diff] [blame] | 1 | /* |
| 2 | * SAMSUNG SMDK5250 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 | 78cefc0 | 2014-10-20 19:48:29 -0600 | [diff] [blame] | 13 | #include "exynos5250.dtsi" |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 14 | #include <dt-bindings/interrupt-controller/irq.h> |
Hatim RV | 89ee402 | 2012-12-11 00:52:45 +0000 | [diff] [blame] | 15 | |
| 16 | / { |
| 17 | model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; |
| 18 | compatible = "samsung,smdk5250", "samsung,exynos5250"; |
| 19 | |
Rajeshwari Shinde | bb8dc71 | 2012-12-26 20:03:09 +0000 | [diff] [blame] | 20 | aliases { |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 21 | i2c0 = "/i2c@12C60000"; |
| 22 | i2c1 = "/i2c@12C70000"; |
| 23 | i2c2 = "/i2c@12C80000"; |
| 24 | i2c3 = "/i2c@12C90000"; |
| 25 | i2c4 = "/i2c@12CA0000"; |
| 26 | i2c5 = "/i2c@12CB0000"; |
| 27 | i2c6 = "/i2c@12CC0000"; |
| 28 | i2c7 = "/i2c@12CD0000"; |
Rajeshwari Shinde | 5f2f0b6 | 2012-12-26 20:03:21 +0000 | [diff] [blame] | 29 | spi0 = "/spi@12d20000"; |
| 30 | spi1 = "/spi@12d30000"; |
| 31 | spi2 = "/spi@12d40000"; |
| 32 | spi3 = "/spi@131a0000"; |
| 33 | spi4 = "/spi@131b0000"; |
Amar | 070e83f | 2013-04-27 11:42:53 +0530 | [diff] [blame] | 34 | mmc0 = "/mmc@12200000"; |
| 35 | mmc1 = "/mmc@12210000"; |
| 36 | mmc2 = "/mmc@12220000"; |
| 37 | mmc3 = "/mmc@12230000"; |
Rajeshwari Shinde | ba7495d | 2013-06-24 16:47:21 +0530 | [diff] [blame] | 38 | serial0 = "/serial@12C30000"; |
| 39 | console = "/serial@12C30000"; |
Dani Krishna Mohan | 76c444d | 2013-09-11 16:38:47 +0530 | [diff] [blame] | 40 | i2s = "/sound@3830000"; |
Rajeshwari Shinde | bb8dc71 | 2012-12-26 20:03:09 +0000 | [diff] [blame] | 41 | }; |
| 42 | |
Hatim RV | 89ee402 | 2012-12-11 00:52:45 +0000 | [diff] [blame] | 43 | sromc@12250000 { |
| 44 | bank = <1>; |
| 45 | srom-timing = <1 9 12 1 6 1 1>; |
| 46 | width = <2>; |
| 47 | lan@5000000 { |
| 48 | compatible = "smsc,lan9215", "smsc,lan"; |
| 49 | reg = <0x5000000 0x100>; |
| 50 | phy-mode = "mii"; |
| 51 | }; |
| 52 | }; |
Rajeshwari Shinde | d21258f | 2012-12-26 20:03:15 +0000 | [diff] [blame] | 53 | |
Dani Krishna Mohan | 76c444d | 2013-09-11 16:38:47 +0530 | [diff] [blame] | 54 | sound@3830000 { |
Rajeshwari Shinde | d21258f | 2012-12-26 20:03:15 +0000 | [diff] [blame] | 55 | samsung,codec-type = "wm8994"; |
| 56 | }; |
| 57 | |
Dani Krishna Mohan | 76c444d | 2013-09-11 16:38:47 +0530 | [diff] [blame] | 58 | sound@12d60000 { |
| 59 | status = "disabled"; |
| 60 | }; |
| 61 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 62 | i2c@12C70000 { |
Rajeshwari Shinde | d21258f | 2012-12-26 20:03:15 +0000 | [diff] [blame] | 63 | soundcodec@1a { |
| 64 | reg = <0x1a>; |
| 65 | compatible = "wolfson,wm8994-codec"; |
| 66 | }; |
| 67 | }; |
Rajeshwari Shinde | 13b680d | 2013-01-08 21:03:39 +0000 | [diff] [blame] | 68 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 69 | i2c@12C60000 { |
Rajeshwari Shinde | 13b680d | 2013-01-08 21:03:39 +0000 | [diff] [blame] | 70 | pmic@9 { |
| 71 | reg = <0x9>; |
Przemyslaw Marczak | ff0e22b | 2015-04-20 20:07:45 +0200 | [diff] [blame] | 72 | compatible = "maxim,max77686"; |
Rajeshwari Shinde | 13b680d | 2013-01-08 21:03:39 +0000 | [diff] [blame] | 73 | }; |
| 74 | }; |
Akshay Saraswat | aa77318 | 2013-02-25 01:13:01 +0000 | [diff] [blame] | 75 | |
| 76 | tmu@10060000 { |
| 77 | samsung,min-temp = <25>; |
| 78 | samsung,max-temp = <125>; |
| 79 | samsung,start-warning = <95>; |
| 80 | samsung,start-tripping = <105>; |
Akshay Saraswat | 9a427cc | 2013-02-25 01:13:07 +0000 | [diff] [blame] | 81 | samsung,hw-tripping = <110>; |
Akshay Saraswat | aa77318 | 2013-02-25 01:13:01 +0000 | [diff] [blame] | 82 | samsung,efuse-min-value = <40>; |
| 83 | samsung,efuse-value = <55>; |
| 84 | samsung,efuse-max-value = <100>; |
| 85 | samsung,slope = <274761730>; |
| 86 | samsung,dc-value = <25>; |
| 87 | }; |
Ajay Kumar | c234986 | 2013-02-21 23:53:03 +0000 | [diff] [blame] | 88 | |
| 89 | fimd@14400000 { |
| 90 | samsung,vl-freq = <60>; |
| 91 | samsung,vl-col = <2560>; |
| 92 | samsung,vl-row = <1600>; |
| 93 | samsung,vl-width = <2560>; |
| 94 | samsung,vl-height = <1600>; |
| 95 | |
| 96 | samsung,vl-clkp; |
| 97 | samsung,vl-dp; |
| 98 | samsung,vl-bpix = <4>; |
| 99 | |
| 100 | samsung,vl-hspw = <32>; |
| 101 | samsung,vl-hbpd = <80>; |
| 102 | samsung,vl-hfpd = <48>; |
| 103 | samsung,vl-vspw = <6>; |
| 104 | samsung,vl-vbpd = <37>; |
| 105 | samsung,vl-vfpd = <3>; |
| 106 | samsung,vl-cmd-allow-len = <0xf>; |
| 107 | |
| 108 | samsung,winid = <3>; |
| 109 | samsung,interface-mode = <1>; |
| 110 | samsung,dp-enabled = <1>; |
| 111 | samsung,dual-lcd-enabled = <0>; |
| 112 | }; |
Ajay Kumar | bca019f | 2013-02-21 23:53:08 +0000 | [diff] [blame] | 113 | |
| 114 | dp@145b0000 { |
| 115 | samsung,lt-status = <0>; |
| 116 | |
| 117 | samsung,master-mode = <0>; |
| 118 | samsung,bist-mode = <0>; |
| 119 | samsung,bist-pattern = <0>; |
| 120 | samsung,h-sync-polarity = <0>; |
| 121 | samsung,v-sync-polarity = <0>; |
| 122 | samsung,interlaced = <0>; |
| 123 | samsung,color-space = <0>; |
| 124 | samsung,dynamic-range = <0>; |
| 125 | samsung,ycbcr-coeff = <0>; |
| 126 | samsung,color-depth = <1>; |
| 127 | }; |
Amar | 070e83f | 2013-04-27 11:42:53 +0530 | [diff] [blame] | 128 | |
| 129 | mmc@12200000 { |
| 130 | samsung,bus-width = <8>; |
| 131 | samsung,timing = <1 3 3>; |
| 132 | samsung,removable = <0>; |
| 133 | }; |
| 134 | |
| 135 | mmc@12210000 { |
| 136 | status = "disabled"; |
| 137 | }; |
| 138 | |
| 139 | mmc@12220000 { |
| 140 | samsung,bus-width = <4>; |
| 141 | samsung,timing = <1 2 3>; |
| 142 | samsung,removable = <1>; |
| 143 | }; |
| 144 | |
| 145 | mmc@12230000 { |
| 146 | status = "disabled"; |
| 147 | }; |
Julius Werner | 5bbaa0d | 2013-09-14 14:02:53 +0530 | [diff] [blame] | 148 | |
| 149 | ehci@12110000 { |
Simon Glass | dabafc3 | 2015-01-05 20:05:42 -0700 | [diff] [blame] | 150 | samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>; |
Julius Werner | 5bbaa0d | 2013-09-14 14:02:53 +0530 | [diff] [blame] | 151 | }; |
Hatim RV | 89ee402 | 2012-12-11 00:52:45 +0000 | [diff] [blame] | 152 | }; |
Simon Glass | eef15f2 | 2015-07-02 18:15:49 -0600 | [diff] [blame] | 153 | |
| 154 | &i2c_0 { |
| 155 | status = "okay"; |
| 156 | samsung,i2c-sda-delay = <100>; |
| 157 | samsung,i2c-max-bus-freq = <20000>; |
| 158 | |
| 159 | max77686@09 { |
| 160 | compatible = "maxim,max77686"; |
| 161 | reg = <0x09>; |
| 162 | interrupt-parent = <&gpx3>; |
| 163 | interrupts = <2 IRQ_TYPE_NONE>; |
| 164 | |
| 165 | voltage-regulators { |
| 166 | ldo1_reg: LDO1 { |
| 167 | regulator-name = "P1.0V_LDO_OUT1"; |
| 168 | regulator-min-microvolt = <1000000>; |
| 169 | regulator-max-microvolt = <1000000>; |
| 170 | regulator-always-on; |
| 171 | }; |
| 172 | |
| 173 | ldo2_reg: LDO2 { |
| 174 | regulator-name = "P1.2V_LDO_OUT2"; |
| 175 | regulator-min-microvolt = <1200000>; |
| 176 | regulator-max-microvolt = <1200000>; |
| 177 | regulator-always-on; |
| 178 | }; |
| 179 | |
| 180 | ldo3_reg: LDO3 { |
| 181 | regulator-name = "P1.8V_LDO_OUT3"; |
| 182 | regulator-min-microvolt = <1800000>; |
| 183 | regulator-max-microvolt = <1800000>; |
| 184 | regulator-always-on; |
| 185 | }; |
| 186 | |
| 187 | ldo4_reg: LDO4 { |
| 188 | regulator-name = "P2.8V_LDO_OUT4"; |
| 189 | regulator-min-microvolt = <2800000>; |
| 190 | regulator-max-microvolt = <2800000>; |
| 191 | }; |
| 192 | |
| 193 | ldo5_reg: LDO5 { |
| 194 | regulator-name = "P1.8V_LDO_OUT5"; |
| 195 | regulator-min-microvolt = <1800000>; |
| 196 | regulator-max-microvolt = <1800000>; |
| 197 | }; |
| 198 | |
| 199 | ldo6_reg: LDO6 { |
| 200 | regulator-name = "P1.1V_LDO_OUT6"; |
| 201 | regulator-min-microvolt = <1100000>; |
| 202 | regulator-max-microvolt = <1100000>; |
| 203 | regulator-always-on; |
| 204 | }; |
| 205 | |
| 206 | ldo7_reg: LDO7 { |
| 207 | regulator-name = "P1.1V_LDO_OUT7"; |
| 208 | regulator-min-microvolt = <1100000>; |
| 209 | regulator-max-microvolt = <1100000>; |
| 210 | regulator-always-on; |
| 211 | }; |
| 212 | |
| 213 | ldo8_reg: LDO8 { |
| 214 | regulator-name = "P1.0V_LDO_OUT8"; |
| 215 | regulator-min-microvolt = <1000000>; |
| 216 | regulator-max-microvolt = <1000000>; |
| 217 | }; |
| 218 | |
| 219 | ldo10_reg: LDO10 { |
| 220 | regulator-name = "P1.8V_LDO_OUT10"; |
| 221 | regulator-min-microvolt = <1800000>; |
| 222 | regulator-max-microvolt = <1800000>; |
| 223 | }; |
| 224 | |
| 225 | ldo11_reg: LDO11 { |
| 226 | regulator-name = "P1.8V_LDO_OUT11"; |
| 227 | regulator-min-microvolt = <1800000>; |
| 228 | regulator-max-microvolt = <1800000>; |
| 229 | }; |
| 230 | |
| 231 | ldo12_reg: LDO12 { |
| 232 | regulator-name = "P3.0V_LDO_OUT12"; |
| 233 | regulator-min-microvolt = <3000000>; |
| 234 | regulator-max-microvolt = <3000000>; |
| 235 | }; |
| 236 | |
| 237 | ldo13_reg: LDO13 { |
| 238 | regulator-name = "P1.8V_LDO_OUT13"; |
| 239 | regulator-min-microvolt = <1800000>; |
| 240 | regulator-max-microvolt = <1800000>; |
| 241 | }; |
| 242 | |
| 243 | ldo14_reg: LDO14 { |
| 244 | regulator-name = "P1.8V_LDO_OUT14"; |
| 245 | regulator-min-microvolt = <1800000>; |
| 246 | regulator-max-microvolt = <1800000>; |
| 247 | }; |
| 248 | |
| 249 | ldo15_reg: LDO15 { |
| 250 | regulator-name = "P1.0V_LDO_OUT15"; |
| 251 | regulator-min-microvolt = <1000000>; |
| 252 | regulator-max-microvolt = <1000000>; |
| 253 | }; |
| 254 | |
| 255 | ldo16_reg: LDO16 { |
| 256 | regulator-name = "P1.8V_LDO_OUT16"; |
| 257 | regulator-min-microvolt = <1800000>; |
| 258 | regulator-max-microvolt = <1800000>; |
| 259 | }; |
| 260 | |
| 261 | buck1_reg: BUCK1 { |
| 262 | regulator-name = "vdd_mif"; |
| 263 | regulator-min-microvolt = <950000>; |
| 264 | regulator-max-microvolt = <1300000>; |
| 265 | regulator-always-on; |
| 266 | regulator-boot-on; |
| 267 | }; |
| 268 | |
| 269 | buck2_reg: BUCK2 { |
| 270 | regulator-name = "vdd_arm"; |
| 271 | regulator-min-microvolt = <850000>; |
| 272 | regulator-max-microvolt = <1350000>; |
| 273 | regulator-always-on; |
| 274 | regulator-boot-on; |
| 275 | }; |
| 276 | |
| 277 | buck3_reg: BUCK3 { |
| 278 | regulator-name = "vdd_int"; |
| 279 | regulator-min-microvolt = <900000>; |
| 280 | regulator-max-microvolt = <1200000>; |
| 281 | regulator-always-on; |
| 282 | regulator-boot-on; |
| 283 | }; |
| 284 | |
| 285 | buck4_reg: BUCK4 { |
| 286 | regulator-name = "vdd_g3d"; |
| 287 | regulator-min-microvolt = <850000>; |
| 288 | regulator-max-microvolt = <1300000>; |
| 289 | regulator-always-on; |
| 290 | regulator-boot-on; |
| 291 | }; |
| 292 | |
| 293 | buck5_reg: BUCK5 { |
| 294 | regulator-name = "P1.8V_BUCK_OUT5"; |
| 295 | regulator-min-microvolt = <1800000>; |
| 296 | regulator-max-microvolt = <1800000>; |
| 297 | regulator-always-on; |
| 298 | regulator-boot-on; |
| 299 | }; |
| 300 | }; |
| 301 | }; |
| 302 | }; |