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