Kukjin Kim | b074abb | 2012-02-10 13:12:21 +0900 | [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/; |
Padmavathi Venna | 3799279 | 2013-06-18 00:02:08 +0900 | [diff] [blame] | 13 | #include "exynos5250.dtsi" |
Kukjin Kim | b074abb | 2012-02-10 13:12:21 +0900 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; |
| 17 | compatible = "samsung,smdk5250", "samsung,exynos5250"; |
| 18 | |
Thomas Abraham | 84bd48a | 2012-09-26 09:02:59 +0900 | [diff] [blame] | 19 | aliases { |
Thomas Abraham | 84bd48a | 2012-09-26 09:02:59 +0900 | [diff] [blame] | 20 | }; |
| 21 | |
Kukjin Kim | b074abb | 2012-02-10 13:12:21 +0900 | [diff] [blame] | 22 | memory { |
| 23 | reg = <0x40000000 0x80000000>; |
| 24 | }; |
| 25 | |
| 26 | chosen { |
Kukjin Kim | 3c81710 | 2012-09-21 11:04:20 +0900 | [diff] [blame] | 27 | bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; |
Kukjin Kim | b074abb | 2012-02-10 13:12:21 +0900 | [diff] [blame] | 28 | }; |
Thomas Abraham | 009f7c9 | 2012-05-15 23:47:53 +0900 | [diff] [blame] | 29 | |
| 30 | i2c@12C60000 { |
| 31 | samsung,i2c-sda-delay = <100>; |
| 32 | samsung,i2c-max-bus-freq = <20000>; |
Thomas Abraham | 009f7c9 | 2012-05-15 23:47:53 +0900 | [diff] [blame] | 33 | |
| 34 | eeprom@50 { |
| 35 | compatible = "samsung,s524ad0xd1"; |
| 36 | reg = <0x50>; |
| 37 | }; |
| 38 | }; |
| 39 | |
Tomasz Figa | 0572b72 | 2013-12-19 03:17:54 +0900 | [diff] [blame] | 40 | vdd: fixed-regulator@0 { |
Padmavathi Venna | 40cb43b | 2013-06-18 06:38:13 +0900 | [diff] [blame] | 41 | compatible = "regulator-fixed"; |
| 42 | regulator-name = "vdd-supply"; |
| 43 | regulator-min-microvolt = <1800000>; |
| 44 | regulator-max-microvolt = <1800000>; |
| 45 | regulator-always-on; |
| 46 | }; |
| 47 | |
Tomasz Figa | 0572b72 | 2013-12-19 03:17:54 +0900 | [diff] [blame] | 48 | dbvdd: fixed-regulator@1 { |
Padmavathi Venna | 40cb43b | 2013-06-18 06:38:13 +0900 | [diff] [blame] | 49 | compatible = "regulator-fixed"; |
| 50 | regulator-name = "dbvdd-supply"; |
| 51 | regulator-min-microvolt = <3300000>; |
| 52 | regulator-max-microvolt = <3300000>; |
| 53 | regulator-always-on; |
| 54 | }; |
| 55 | |
Tomasz Figa | 0572b72 | 2013-12-19 03:17:54 +0900 | [diff] [blame] | 56 | spkvdd: fixed-regulator@2 { |
Padmavathi Venna | 40cb43b | 2013-06-18 06:38:13 +0900 | [diff] [blame] | 57 | compatible = "regulator-fixed"; |
| 58 | regulator-name = "spkvdd-supply"; |
| 59 | regulator-min-microvolt = <5000000>; |
| 60 | regulator-max-microvolt = <5000000>; |
| 61 | regulator-always-on; |
| 62 | }; |
| 63 | |
Thomas Abraham | 009f7c9 | 2012-05-15 23:47:53 +0900 | [diff] [blame] | 64 | i2c@12C70000 { |
| 65 | samsung,i2c-sda-delay = <100>; |
| 66 | samsung,i2c-max-bus-freq = <20000>; |
Thomas Abraham | 009f7c9 | 2012-05-15 23:47:53 +0900 | [diff] [blame] | 67 | |
| 68 | eeprom@51 { |
| 69 | compatible = "samsung,s524ad0xd1"; |
| 70 | reg = <0x51>; |
| 71 | }; |
Padmavathi Venna | 28a4805 | 2013-01-18 17:17:06 +0530 | [diff] [blame] | 72 | |
| 73 | wm8994: wm8994@1a { |
Padmavathi Venna | 40cb43b | 2013-06-18 06:38:13 +0900 | [diff] [blame] | 74 | compatible = "wlf,wm8994"; |
| 75 | reg = <0x1a>; |
| 76 | |
| 77 | gpio-controller; |
| 78 | #gpio-cells = <2>; |
| 79 | |
Mark Brown | 24b714f | 2013-12-21 07:24:26 +0900 | [diff] [blame] | 80 | clocks = <&codec_mclk>; |
| 81 | clock-names = "MCLK1"; |
| 82 | |
Padmavathi Venna | 40cb43b | 2013-06-18 06:38:13 +0900 | [diff] [blame] | 83 | AVDD2-supply = <&vdd>; |
| 84 | CPVDD-supply = <&vdd>; |
| 85 | DBVDD-supply = <&dbvdd>; |
| 86 | SPKVDD1-supply = <&spkvdd>; |
| 87 | SPKVDD2-supply = <&spkvdd>; |
Padmavathi Venna | 28a4805 | 2013-01-18 17:17:06 +0530 | [diff] [blame] | 88 | }; |
Thomas Abraham | 009f7c9 | 2012-05-15 23:47:53 +0900 | [diff] [blame] | 89 | }; |
| 90 | |
Vasanth Ananthan | c47d244 | 2012-11-20 21:02:11 +0900 | [diff] [blame] | 91 | i2c@121D0000 { |
| 92 | samsung,i2c-sda-delay = <100>; |
| 93 | samsung,i2c-max-bus-freq = <40000>; |
| 94 | samsung,i2c-slave-addr = <0x38>; |
| 95 | |
| 96 | sata-phy { |
| 97 | compatible = "samsung,sata-phy"; |
| 98 | reg = <0x38>; |
| 99 | }; |
| 100 | }; |
| 101 | |
| 102 | sata@122F0000 { |
| 103 | samsung,sata-freq = <66>; |
| 104 | }; |
| 105 | |
Thomas Abraham | 009f7c9 | 2012-05-15 23:47:53 +0900 | [diff] [blame] | 106 | i2c@12C80000 { |
Rahul Sharma | 62a1f83 | 2012-10-29 21:51:47 +0900 | [diff] [blame] | 107 | samsung,i2c-sda-delay = <100>; |
| 108 | samsung,i2c-max-bus-freq = <66000>; |
Rahul Sharma | 62a1f83 | 2012-10-29 21:51:47 +0900 | [diff] [blame] | 109 | |
| 110 | hdmiddc@50 { |
Rahul Sharma | 0d1fc82 | 2013-06-19 18:21:09 +0530 | [diff] [blame] | 111 | compatible = "samsung,exynos4210-hdmiddc"; |
Rahul Sharma | 62a1f83 | 2012-10-29 21:51:47 +0900 | [diff] [blame] | 112 | reg = <0x50>; |
| 113 | }; |
Thomas Abraham | 009f7c9 | 2012-05-15 23:47:53 +0900 | [diff] [blame] | 114 | }; |
| 115 | |
| 116 | i2c@12C90000 { |
| 117 | status = "disabled"; |
| 118 | }; |
| 119 | |
| 120 | i2c@12CA0000 { |
| 121 | status = "disabled"; |
| 122 | }; |
| 123 | |
| 124 | i2c@12CB0000 { |
| 125 | status = "disabled"; |
| 126 | }; |
| 127 | |
| 128 | i2c@12CC0000 { |
| 129 | status = "disabled"; |
| 130 | }; |
| 131 | |
| 132 | i2c@12CD0000 { |
| 133 | status = "disabled"; |
| 134 | }; |
Thomas Abraham | 79989ba | 2012-07-14 10:45:36 +0900 | [diff] [blame] | 135 | |
Rahul Sharma | 3e3e9ce | 2012-10-29 21:51:42 +0900 | [diff] [blame] | 136 | i2c@12CE0000 { |
| 137 | samsung,i2c-sda-delay = <100>; |
| 138 | samsung,i2c-max-bus-freq = <66000>; |
| 139 | |
| 140 | hdmiphy@38 { |
Rahul Sharma | 0d1fc82 | 2013-06-19 18:21:09 +0530 | [diff] [blame] | 141 | compatible = "samsung,exynos4212-hdmiphy"; |
Rahul Sharma | 3e3e9ce | 2012-10-29 21:51:42 +0900 | [diff] [blame] | 142 | reg = <0x38>; |
| 143 | }; |
| 144 | }; |
| 145 | |
Yuvaraj Kumar C D | c8149df | 2013-10-21 05:48:16 +0900 | [diff] [blame] | 146 | mmc@12200000 { |
Yuvaraj Kumar C D | e908d5c | 2013-10-21 05:48:06 +0900 | [diff] [blame] | 147 | status = "okay"; |
Thomas Abraham | 84bd48a | 2012-09-26 09:02:59 +0900 | [diff] [blame] | 148 | num-slots = <1>; |
| 149 | supports-highspeed; |
| 150 | broken-cd; |
Thomas Abraham | 84bd48a | 2012-09-26 09:02:59 +0900 | [diff] [blame] | 151 | card-detect-delay = <200>; |
| 152 | samsung,dw-mshc-ciu-div = <3>; |
Alim Akhtar | 753bd6d | 2013-01-16 15:41:01 -0800 | [diff] [blame] | 153 | samsung,dw-mshc-sdr-timing = <2 3>; |
| 154 | samsung,dw-mshc-ddr-timing = <1 2>; |
Thomas Abraham | f8bfe2b | 2013-04-04 14:16:11 +0900 | [diff] [blame] | 155 | pinctrl-names = "default"; |
| 156 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; |
Thomas Abraham | 84bd48a | 2012-09-26 09:02:59 +0900 | [diff] [blame] | 157 | |
| 158 | slot@0 { |
| 159 | reg = <0>; |
| 160 | bus-width = <8>; |
Thomas Abraham | 84bd48a | 2012-09-26 09:02:59 +0900 | [diff] [blame] | 161 | }; |
| 162 | }; |
| 163 | |
Yuvaraj Kumar C D | c8149df | 2013-10-21 05:48:16 +0900 | [diff] [blame] | 164 | mmc@12220000 { |
Yuvaraj Kumar C D | e908d5c | 2013-10-21 05:48:06 +0900 | [diff] [blame] | 165 | status = "okay"; |
Thomas Abraham | 84bd48a | 2012-09-26 09:02:59 +0900 | [diff] [blame] | 166 | num-slots = <1>; |
| 167 | supports-highspeed; |
Thomas Abraham | 84bd48a | 2012-09-26 09:02:59 +0900 | [diff] [blame] | 168 | card-detect-delay = <200>; |
| 169 | samsung,dw-mshc-ciu-div = <3>; |
Alim Akhtar | 753bd6d | 2013-01-16 15:41:01 -0800 | [diff] [blame] | 170 | samsung,dw-mshc-sdr-timing = <2 3>; |
| 171 | samsung,dw-mshc-ddr-timing = <1 2>; |
Thomas Abraham | f8bfe2b | 2013-04-04 14:16:11 +0900 | [diff] [blame] | 172 | pinctrl-names = "default"; |
| 173 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; |
Thomas Abraham | 84bd48a | 2012-09-26 09:02:59 +0900 | [diff] [blame] | 174 | |
| 175 | slot@0 { |
| 176 | reg = <0>; |
| 177 | bus-width = <4>; |
Doug Anderson | 488755b | 2013-01-11 17:03:51 +0000 | [diff] [blame] | 178 | disable-wp; |
Thomas Abraham | 84bd48a | 2012-09-26 09:02:59 +0900 | [diff] [blame] | 179 | }; |
| 180 | }; |
| 181 | |
Thomas Abraham | 79989ba | 2012-07-14 10:45:36 +0900 | [diff] [blame] | 182 | spi_0: spi@12d20000 { |
| 183 | status = "disabled"; |
| 184 | }; |
| 185 | |
| 186 | spi_1: spi@12d30000 { |
Mark Brown | fae93f7 | 2013-12-21 08:31:30 +0900 | [diff] [blame^] | 187 | status = "okay"; |
| 188 | |
Thomas Abraham | 79989ba | 2012-07-14 10:45:36 +0900 | [diff] [blame] | 189 | w25q80bw@0 { |
| 190 | #address-cells = <1>; |
| 191 | #size-cells = <1>; |
| 192 | compatible = "w25x80"; |
| 193 | reg = <0>; |
| 194 | spi-max-frequency = <1000000>; |
| 195 | |
| 196 | controller-data { |
Thomas Abraham | f8bfe2b | 2013-04-04 14:16:11 +0900 | [diff] [blame] | 197 | cs-gpio = <&gpa2 5 0>; |
Thomas Abraham | 79989ba | 2012-07-14 10:45:36 +0900 | [diff] [blame] | 198 | samsung,spi-feedback-delay = <0>; |
| 199 | }; |
| 200 | |
| 201 | partition@0 { |
| 202 | label = "U-Boot"; |
| 203 | reg = <0x0 0x40000>; |
| 204 | read-only; |
| 205 | }; |
| 206 | |
| 207 | partition@40000 { |
| 208 | label = "Kernel"; |
| 209 | reg = <0x40000 0xc0000>; |
| 210 | }; |
| 211 | }; |
| 212 | }; |
| 213 | |
Rahul Sharma | 566cf8e | 2012-10-29 21:48:43 +0900 | [diff] [blame] | 214 | hdmi { |
Thomas Abraham | f8bfe2b | 2013-04-04 14:16:11 +0900 | [diff] [blame] | 215 | hpd-gpio = <&gpx3 7 0>; |
Rahul Sharma | 566cf8e | 2012-10-29 21:48:43 +0900 | [diff] [blame] | 216 | }; |
Olof Johansson | 24025f6 | 2012-11-21 11:30:32 -0800 | [diff] [blame] | 217 | |
Arun Kumar K | 2eae613 | 2012-10-23 22:51:33 +0900 | [diff] [blame] | 218 | codec@11000000 { |
| 219 | samsung,mfc-r = <0x43000000 0x800000>; |
| 220 | samsung,mfc-l = <0x51000000 0x800000>; |
| 221 | }; |
Padmavathi Venna | 4c4c746 | 2013-01-18 17:17:04 +0530 | [diff] [blame] | 222 | |
Padmavathi Venna | 28a4805 | 2013-01-18 17:17:06 +0530 | [diff] [blame] | 223 | i2s0: i2s@03830000 { |
Thomas Abraham | f8bfe2b | 2013-04-04 14:16:11 +0900 | [diff] [blame] | 224 | status = "okay"; |
Padmavathi Venna | 4c4c746 | 2013-01-18 17:17:04 +0530 | [diff] [blame] | 225 | }; |
| 226 | |
Padmavathi Venna | 28a4805 | 2013-01-18 17:17:06 +0530 | [diff] [blame] | 227 | sound { |
| 228 | compatible = "samsung,smdk-wm8994"; |
| 229 | |
| 230 | samsung,i2s-controller = <&i2s0>; |
| 231 | samsung,audio-codec = <&wm8994>; |
| 232 | }; |
Jingoo Han | ad4aebe | 2013-02-12 11:11:58 -0800 | [diff] [blame] | 233 | |
Vivek Gautam | 13cbd1e | 2013-02-12 15:24:15 -0800 | [diff] [blame] | 234 | usb@12110000 { |
Doug Anderson | c58c1a4 | 2013-05-08 10:37:16 -0700 | [diff] [blame] | 235 | samsung,vbus-gpio = <&gpx2 6 0>; |
Vivek Gautam | 13cbd1e | 2013-02-12 15:24:15 -0800 | [diff] [blame] | 236 | }; |
| 237 | |
Vikas Sajjan | 77899d5 | 2013-08-14 17:15:00 +0900 | [diff] [blame] | 238 | dp-controller@145B0000 { |
Jingoo Han | ad4aebe | 2013-02-12 11:11:58 -0800 | [diff] [blame] | 239 | samsung,color-space = <0>; |
| 240 | samsung,dynamic-range = <0>; |
| 241 | samsung,ycbcr-coeff = <0>; |
| 242 | samsung,color-depth = <1>; |
| 243 | samsung,link-rate = <0x0a>; |
| 244 | samsung,lane-count = <4>; |
Jingoo Han | 7447833 | 2013-06-10 17:36:39 +0900 | [diff] [blame] | 245 | |
| 246 | pinctrl-names = "default"; |
| 247 | pinctrl-0 = <&dp_hpd>; |
Vikas Sajjan | 77899d5 | 2013-08-14 17:15:00 +0900 | [diff] [blame] | 248 | status = "okay"; |
Jingoo Han | ad4aebe | 2013-02-12 11:11:58 -0800 | [diff] [blame] | 249 | }; |
Thomas Abraham | 8b6076d | 2013-03-09 17:19:22 +0900 | [diff] [blame] | 250 | |
Vikas Sajjan | d1bf2ab | 2013-08-14 17:08:32 +0900 | [diff] [blame] | 251 | fimd@14400000 { |
| 252 | status = "okay"; |
| 253 | display-timings { |
| 254 | native-mode = <&timing0>; |
| 255 | timing0: timing@0 { |
| 256 | /* 1280x800 */ |
| 257 | clock-frequency = <50000>; |
| 258 | hactive = <1280>; |
| 259 | vactive = <800>; |
| 260 | hfront-porch = <4>; |
| 261 | hback-porch = <4>; |
| 262 | hsync-len = <4>; |
| 263 | vback-porch = <4>; |
| 264 | vfront-porch = <4>; |
| 265 | vsync-len = <4>; |
| 266 | }; |
Leela Krishna Amudala | 06c460b | 2013-04-04 15:59:46 +0900 | [diff] [blame] | 267 | }; |
| 268 | }; |
| 269 | |
Thomas Abraham | 8b6076d | 2013-03-09 17:19:22 +0900 | [diff] [blame] | 270 | fixed-rate-clocks { |
| 271 | xxti { |
| 272 | compatible = "samsung,clock-xxti"; |
| 273 | clock-frequency = <24000000>; |
| 274 | }; |
Mark Brown | 24b714f | 2013-12-21 07:24:26 +0900 | [diff] [blame] | 275 | |
| 276 | codec_mclk: codec-mclk { |
| 277 | compatible = "fixed-clock"; |
| 278 | #clock-cells = <0>; |
| 279 | clock-frequency = <16934000>; |
| 280 | }; |
Thomas Abraham | 8b6076d | 2013-03-09 17:19:22 +0900 | [diff] [blame] | 281 | }; |
Kukjin Kim | b074abb | 2012-02-10 13:12:21 +0900 | [diff] [blame] | 282 | }; |