Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Samsung's Exynos4210 based Origen board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * Copyright (c) 2010-2011 Linaro Ltd. |
| 7 | * www.linaro.org |
| 8 | * |
| 9 | * Device tree source file for Insignal's Origen board which is based on |
| 10 | * Samsung's Exynos4210 SoC. |
| 11 | * |
| 12 | * This program is free software; you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License version 2 as |
| 14 | * published by the Free Software Foundation. |
| 15 | */ |
| 16 | |
| 17 | /dts-v1/; |
Padmavathi Venna | 3799279 | 2013-06-18 00:02:08 +0900 | [diff] [blame] | 18 | #include "exynos4210.dtsi" |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 19 | |
| 20 | / { |
| 21 | model = "Insignal Origen evaluation board based on Exynos4210"; |
| 22 | compatible = "insignal,origen", "samsung,exynos4210"; |
| 23 | |
| 24 | memory { |
Tomasz Figa | 49ed67a4 | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 25 | reg = <0x40000000 0x10000000 |
| 26 | 0x50000000 0x10000000 |
| 27 | 0x60000000 0x10000000 |
| 28 | 0x70000000 0x10000000>; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | chosen { |
| 32 | bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; |
| 33 | }; |
| 34 | |
Sachin Kamat | af617c9 | 2013-10-06 09:20:59 +0900 | [diff] [blame^] | 35 | regulators { |
| 36 | compatible = "simple-bus"; |
| 37 | #address-cells = <1>; |
| 38 | #size-cells = <0>; |
| 39 | |
| 40 | mmc_reg: regulator@0 { |
| 41 | compatible = "regulator-fixed"; |
| 42 | reg = <0>; |
| 43 | regulator-name = "VMEM_VDD_2.8V"; |
| 44 | regulator-min-microvolt = <2800000>; |
| 45 | regulator-max-microvolt = <2800000>; |
| 46 | gpio = <&gpx1 1 0>; |
| 47 | enable-active-high; |
| 48 | }; |
Tomasz Figa | cf7c397 | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 49 | }; |
| 50 | |
Sachin Kamat | 092c343 | 2013-04-23 23:20:24 +0900 | [diff] [blame] | 51 | tmu@100C0000 { |
| 52 | status = "okay"; |
| 53 | }; |
| 54 | |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 55 | sdhci@12530000 { |
Tomasz Figa | 6475daa | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 56 | bus-width = <4>; |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 57 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>; |
| 58 | pinctrl-names = "default"; |
Tomasz Figa | cf7c397 | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 59 | vmmc-supply = <&mmc_reg>; |
Tomasz Figa | c9e23f0 | 2012-09-21 10:13:31 +0900 | [diff] [blame] | 60 | status = "okay"; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 61 | }; |
| 62 | |
| 63 | sdhci@12510000 { |
Tomasz Figa | 6475daa | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 64 | bus-width = <4>; |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 65 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>; |
| 66 | pinctrl-names = "default"; |
Tomasz Figa | cf7c397 | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 67 | vmmc-supply = <&mmc_reg>; |
Tomasz Figa | c9e23f0 | 2012-09-21 10:13:31 +0900 | [diff] [blame] | 68 | status = "okay"; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 69 | }; |
| 70 | |
Sachin Kamat | fcc0afb | 2013-04-04 13:49:49 +0900 | [diff] [blame] | 71 | g2d@12800000 { |
| 72 | status = "okay"; |
| 73 | }; |
| 74 | |
Sachin Kamat | 6fe5771 | 2013-02-08 13:58:24 -0800 | [diff] [blame] | 75 | codec@13400000 { |
| 76 | samsung,mfc-r = <0x43000000 0x800000>; |
| 77 | samsung,mfc-l = <0x51000000 0x800000>; |
| 78 | status = "okay"; |
| 79 | }; |
| 80 | |
Tomasz Figa | 70191db | 2012-10-17 18:13:24 +0900 | [diff] [blame] | 81 | serial@13800000 { |
| 82 | status = "okay"; |
| 83 | }; |
| 84 | |
| 85 | serial@13810000 { |
| 86 | status = "okay"; |
| 87 | }; |
| 88 | |
| 89 | serial@13820000 { |
| 90 | status = "okay"; |
| 91 | }; |
| 92 | |
| 93 | serial@13830000 { |
| 94 | status = "okay"; |
| 95 | }; |
| 96 | |
Thomas Abraham | 1741972 | 2013-05-21 01:18:45 +0900 | [diff] [blame] | 97 | i2c@13860000 { |
| 98 | status = "okay"; |
| 99 | samsung,i2c-sda-delay = <100>; |
| 100 | samsung,i2c-max-bus-freq = <20000>; |
| 101 | pinctrl-0 = <&i2c0_bus>; |
| 102 | pinctrl-names = "default"; |
| 103 | |
| 104 | max8997_pmic@66 { |
| 105 | compatible = "maxim,max8997-pmic"; |
| 106 | reg = <0x66>; |
| 107 | interrupt-parent = <&gpx0>; |
| 108 | interrupts = <4 0>, <3 0>; |
| 109 | |
| 110 | max8997,pmic-buck1-dvs-voltage = <1350000>; |
| 111 | max8997,pmic-buck2-dvs-voltage = <1100000>; |
| 112 | max8997,pmic-buck5-dvs-voltage = <1200000>; |
| 113 | |
| 114 | regulators { |
| 115 | ldo1_reg: LDO1 { |
| 116 | regulator-name = "VDD_ABB_3.3V"; |
| 117 | regulator-min-microvolt = <3300000>; |
| 118 | regulator-max-microvolt = <3300000>; |
| 119 | }; |
| 120 | |
| 121 | ldo2_reg: LDO2 { |
| 122 | regulator-name = "VDD_ALIVE_1.1V"; |
| 123 | regulator-min-microvolt = <1100000>; |
| 124 | regulator-max-microvolt = <1100000>; |
| 125 | regulator-always-on; |
| 126 | }; |
| 127 | |
| 128 | ldo3_reg: LDO3 { |
| 129 | regulator-name = "VMIPI_1.1V"; |
| 130 | regulator-min-microvolt = <1100000>; |
| 131 | regulator-max-microvolt = <1100000>; |
| 132 | }; |
| 133 | |
| 134 | ldo4_reg: LDO4 { |
| 135 | regulator-name = "VDD_RTC_1.8V"; |
| 136 | regulator-min-microvolt = <1800000>; |
| 137 | regulator-max-microvolt = <1800000>; |
| 138 | regulator-always-on; |
| 139 | }; |
| 140 | |
| 141 | ldo6_reg: LDO6 { |
| 142 | regulator-name = "VMIPI_1.8V"; |
| 143 | regulator-min-microvolt = <1800000>; |
| 144 | regulator-max-microvolt = <1800000>; |
| 145 | regulator-always-on; |
| 146 | }; |
| 147 | |
| 148 | ldo7_reg: LDO7 { |
| 149 | regulator-name = "VDD_AUD_1.8V"; |
| 150 | regulator-min-microvolt = <1800000>; |
| 151 | regulator-max-microvolt = <1800000>; |
| 152 | }; |
| 153 | |
| 154 | ldo8_reg: LDO8 { |
| 155 | regulator-name = "VADC_3.3V"; |
| 156 | regulator-min-microvolt = <3300000>; |
| 157 | regulator-max-microvolt = <3300000>; |
| 158 | }; |
| 159 | |
| 160 | ldo9_reg: LDO9 { |
| 161 | regulator-name = "DVDD_SWB_2.8V"; |
| 162 | regulator-min-microvolt = <2800000>; |
| 163 | regulator-max-microvolt = <2800000>; |
| 164 | regulator-always-on; |
| 165 | }; |
| 166 | |
| 167 | ldo10_reg: LDO10 { |
| 168 | regulator-name = "VDD_PLL_1.1V"; |
| 169 | regulator-min-microvolt = <1100000>; |
| 170 | regulator-max-microvolt = <1100000>; |
| 171 | regulator-always-on; |
| 172 | }; |
| 173 | |
| 174 | ldo11_reg: LDO11 { |
| 175 | regulator-name = "VDD_AUD_3V"; |
| 176 | regulator-min-microvolt = <3000000>; |
| 177 | regulator-max-microvolt = <3000000>; |
| 178 | }; |
| 179 | |
| 180 | ldo14_reg: LDO14 { |
| 181 | regulator-name = "AVDD18_SWB_1.8V"; |
| 182 | regulator-min-microvolt = <1800000>; |
| 183 | regulator-max-microvolt = <1800000>; |
| 184 | regulator-always-on; |
| 185 | }; |
| 186 | |
| 187 | ldo17_reg: LDO17 { |
| 188 | regulator-name = "VDD_SWB_3.3V"; |
| 189 | regulator-min-microvolt = <3300000>; |
| 190 | regulator-max-microvolt = <3300000>; |
| 191 | regulator-always-on; |
| 192 | }; |
| 193 | |
| 194 | ldo21_reg: LDO21 { |
| 195 | regulator-name = "VDD_MIF_1.2V"; |
| 196 | regulator-min-microvolt = <1200000>; |
| 197 | regulator-max-microvolt = <1200000>; |
| 198 | regulator-always-on; |
| 199 | }; |
| 200 | |
| 201 | buck1_reg: BUCK1 { |
| 202 | regulator-name = "VDD_ARM_1.2V"; |
| 203 | regulator-min-microvolt = <950000>; |
| 204 | regulator-max-microvolt = <1350000>; |
| 205 | regulator-always-on; |
| 206 | regulator-boot-on; |
| 207 | }; |
| 208 | |
| 209 | buck2_reg: BUCK2 { |
| 210 | regulator-name = "VDD_INT_1.1V"; |
| 211 | regulator-min-microvolt = <900000>; |
| 212 | regulator-max-microvolt = <1100000>; |
| 213 | regulator-always-on; |
| 214 | regulator-boot-on; |
| 215 | }; |
| 216 | |
| 217 | buck3_reg: BUCK3 { |
| 218 | regulator-name = "VDD_G3D_1.1V"; |
| 219 | regulator-min-microvolt = <900000>; |
| 220 | regulator-max-microvolt = <1100000>; |
| 221 | }; |
| 222 | |
| 223 | buck5_reg: BUCK5 { |
| 224 | regulator-name = "VDDQ_M1M2_1.2V"; |
| 225 | regulator-min-microvolt = <1200000>; |
| 226 | regulator-max-microvolt = <1200000>; |
| 227 | regulator-always-on; |
| 228 | }; |
| 229 | |
| 230 | buck7_reg: BUCK7 { |
| 231 | regulator-name = "VDD_LCD_3.3V"; |
| 232 | regulator-min-microvolt = <3300000>; |
| 233 | regulator-max-microvolt = <3300000>; |
| 234 | regulator-boot-on; |
Tushar Behera | 5f13269 | 2013-06-19 00:41:56 +0900 | [diff] [blame] | 235 | regulator-always-on; |
Thomas Abraham | 1741972 | 2013-05-21 01:18:45 +0900 | [diff] [blame] | 236 | }; |
| 237 | }; |
| 238 | }; |
| 239 | }; |
| 240 | |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 241 | gpio_keys { |
| 242 | compatible = "gpio-keys"; |
| 243 | #address-cells = <1>; |
| 244 | #size-cells = <0>; |
| 245 | |
| 246 | up { |
| 247 | label = "Up"; |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 248 | gpios = <&gpx2 0 1>; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 249 | linux,code = <103>; |
Tushar Behera | c8c24da | 2012-09-21 11:13:25 +0900 | [diff] [blame] | 250 | gpio-key,wakeup; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 251 | }; |
| 252 | |
| 253 | down { |
| 254 | label = "Down"; |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 255 | gpios = <&gpx2 1 1>; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 256 | linux,code = <108>; |
Tushar Behera | c8c24da | 2012-09-21 11:13:25 +0900 | [diff] [blame] | 257 | gpio-key,wakeup; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 258 | }; |
| 259 | |
| 260 | back { |
| 261 | label = "Back"; |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 262 | gpios = <&gpx1 7 1>; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 263 | linux,code = <158>; |
Tushar Behera | c8c24da | 2012-09-21 11:13:25 +0900 | [diff] [blame] | 264 | gpio-key,wakeup; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 265 | }; |
| 266 | |
| 267 | home { |
| 268 | label = "Home"; |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 269 | gpios = <&gpx1 6 1>; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 270 | linux,code = <102>; |
Tushar Behera | c8c24da | 2012-09-21 11:13:25 +0900 | [diff] [blame] | 271 | gpio-key,wakeup; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 272 | }; |
| 273 | |
| 274 | menu { |
| 275 | label = "Menu"; |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 276 | gpios = <&gpx1 5 1>; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 277 | linux,code = <139>; |
Tushar Behera | c8c24da | 2012-09-21 11:13:25 +0900 | [diff] [blame] | 278 | gpio-key,wakeup; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 279 | }; |
| 280 | }; |
| 281 | |
Sachin Kamat | 162b172 | 2012-09-08 10:09:03 +0900 | [diff] [blame] | 282 | leds { |
| 283 | compatible = "gpio-leds"; |
| 284 | status { |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 285 | gpios = <&gpx1 3 1>; |
Sachin Kamat | 162b172 | 2012-09-08 10:09:03 +0900 | [diff] [blame] | 286 | linux,default-trigger = "heartbeat"; |
| 287 | }; |
| 288 | }; |
Thomas Abraham | 8b6076d | 2013-03-09 17:19:22 +0900 | [diff] [blame] | 289 | |
| 290 | fixed-rate-clocks { |
| 291 | xxti { |
| 292 | compatible = "samsung,clock-xxti"; |
| 293 | clock-frequency = <0>; |
| 294 | }; |
| 295 | |
| 296 | xusbxti { |
| 297 | compatible = "samsung,clock-xusbxti"; |
| 298 | clock-frequency = <24000000>; |
| 299 | }; |
| 300 | }; |
Sachin Kamat | 7c1a26a | 2013-06-19 00:41:51 +0900 | [diff] [blame] | 301 | |
| 302 | fimd@11c00000 { |
| 303 | pinctrl-0 = <&lcd_en &lcd_clk &lcd_data24 &pwm0_out>; |
| 304 | pinctrl-names = "default"; |
| 305 | status = "okay"; |
| 306 | }; |
| 307 | |
| 308 | display-timings { |
| 309 | native-mode = <&timing0>; |
| 310 | timing0: timing { |
| 311 | clock-frequency = <50000>; |
| 312 | hactive = <1024>; |
| 313 | vactive = <600>; |
| 314 | hfront-porch = <64>; |
| 315 | hback-porch = <16>; |
| 316 | hsync-len = <48>; |
| 317 | vback-porch = <64>; |
| 318 | vfront-porch = <16>; |
| 319 | vsync-len = <3>; |
| 320 | }; |
| 321 | }; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 322 | }; |