Tomasz Figa | d105f0b | 2012-09-21 10:50:16 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Samsung's Exynos4210 based Trats board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2012 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * |
| 7 | * Device tree source file for Samsung's Trats board which is based on |
| 8 | * Samsung's Exynos4210 SoC. |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License version 2 as |
| 12 | * published by the Free Software Foundation. |
| 13 | */ |
| 14 | |
| 15 | /dts-v1/; |
| 16 | /include/ "exynos4210.dtsi" |
| 17 | |
| 18 | / { |
| 19 | model = "Samsung Trats based on Exynos4210"; |
| 20 | compatible = "samsung,trats", "samsung,exynos4210"; |
| 21 | |
| 22 | memory { |
Tomasz Figa | 59cf19a | 2012-10-17 18:10:34 +0900 | [diff] [blame] | 23 | reg = <0x40000000 0x10000000 |
| 24 | 0x50000000 0x10000000 |
| 25 | 0x60000000 0x10000000 |
| 26 | 0x70000000 0x10000000>; |
Tomasz Figa | d105f0b | 2012-09-21 10:50:16 +0900 | [diff] [blame] | 27 | }; |
| 28 | |
| 29 | chosen { |
| 30 | bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; |
| 31 | }; |
| 32 | |
| 33 | vemmc_reg: voltage-regulator@0 { |
| 34 | compatible = "regulator-fixed"; |
| 35 | regulator-name = "VMEM_VDD_2.8V"; |
| 36 | regulator-min-microvolt = <2800000>; |
| 37 | regulator-max-microvolt = <2800000>; |
Tomasz Figa | e925012 | 2012-11-20 16:26:17 +0900 | [diff] [blame] | 38 | gpio = <&gpk0 2 0>; |
Tomasz Figa | d105f0b | 2012-09-21 10:50:16 +0900 | [diff] [blame] | 39 | enable-active-high; |
| 40 | }; |
| 41 | |
| 42 | sdhci_emmc: sdhci@12510000 { |
| 43 | bus-width = <8>; |
| 44 | non-removable; |
| 45 | broken-voltage; |
Tomasz Figa | e925012 | 2012-11-20 16:26:17 +0900 | [diff] [blame] | 46 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>; |
| 47 | pinctrl-names = "default"; |
Tomasz Figa | d105f0b | 2012-09-21 10:50:16 +0900 | [diff] [blame] | 48 | vmmc-supply = <&vemmc_reg>; |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | |
| 52 | serial@13800000 { |
| 53 | status = "okay"; |
| 54 | }; |
| 55 | |
| 56 | serial@13810000 { |
| 57 | status = "okay"; |
| 58 | }; |
| 59 | |
| 60 | serial@13820000 { |
| 61 | status = "okay"; |
| 62 | }; |
| 63 | |
| 64 | serial@13830000 { |
| 65 | status = "okay"; |
| 66 | }; |
| 67 | |
Tomasz Figa | 9eb6102 | 2012-11-20 16:26:17 +0900 | [diff] [blame^] | 68 | gpio-keys { |
| 69 | compatible = "gpio-keys"; |
| 70 | |
| 71 | vol-down-key { |
| 72 | gpios = <&gpx2 1 1>; |
| 73 | linux,code = <114>; |
| 74 | label = "volume down"; |
| 75 | debounce-interval = <10>; |
| 76 | }; |
| 77 | |
| 78 | vol-up-key { |
| 79 | gpios = <&gpx2 0 1>; |
| 80 | linux,code = <115>; |
| 81 | label = "volume up"; |
| 82 | debounce-interval = <10>; |
| 83 | }; |
| 84 | |
| 85 | power-key { |
| 86 | gpios = <&gpx2 7 1>; |
| 87 | linux,code = <116>; |
| 88 | label = "power"; |
| 89 | debounce-interval = <10>; |
| 90 | gpio-key,wakeup; |
| 91 | }; |
| 92 | |
| 93 | ok-key { |
| 94 | gpios = <&gpx3 5 1>; |
| 95 | linux,code = <352>; |
| 96 | label = "ok"; |
| 97 | debounce-interval = <10>; |
| 98 | }; |
| 99 | }; |
| 100 | |
Tomasz Figa | d105f0b | 2012-09-21 10:50:16 +0900 | [diff] [blame] | 101 | i2c@138B0000 { |
| 102 | samsung,i2c-sda-delay = <100>; |
| 103 | samsung,i2c-slave-addr = <0x10>; |
| 104 | samsung,i2c-max-bus-freq = <100000>; |
Tomasz Figa | e925012 | 2012-11-20 16:26:17 +0900 | [diff] [blame] | 105 | pinctrl-0 = <&i2c5_bus>; |
| 106 | pinctrl-names = "default"; |
Tomasz Figa | d105f0b | 2012-09-21 10:50:16 +0900 | [diff] [blame] | 107 | status = "okay"; |
| 108 | |
| 109 | max8997_pmic@66 { |
| 110 | compatible = "maxim,max8997-pmic"; |
| 111 | |
| 112 | reg = <0x66>; |
| 113 | |
| 114 | max8997,pmic-buck1-uses-gpio-dvs; |
| 115 | max8997,pmic-buck2-uses-gpio-dvs; |
| 116 | max8997,pmic-buck5-uses-gpio-dvs; |
| 117 | |
| 118 | max8997,pmic-ignore-gpiodvs-side-effect; |
| 119 | max8997,pmic-buck125-default-dvs-idx = <0>; |
| 120 | |
Tomasz Figa | e925012 | 2012-11-20 16:26:17 +0900 | [diff] [blame] | 121 | max8997,pmic-buck125-dvs-gpios = <&gpx0 5 0>, |
| 122 | <&gpx0 6 0>, |
| 123 | <&gpl0 0 0>; |
Tomasz Figa | d105f0b | 2012-09-21 10:50:16 +0900 | [diff] [blame] | 124 | |
| 125 | max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>, |
| 126 | <1250000>, <1200000>, |
| 127 | <1150000>, <1100000>, |
| 128 | <1000000>, <950000>; |
| 129 | |
| 130 | max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>, |
| 131 | <950000>, <900000>, |
| 132 | <1100000>, <1000000>, |
| 133 | <950000>, <900000>; |
| 134 | |
| 135 | max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>, |
| 136 | <1200000>, <1200000>, |
| 137 | <1200000>, <1200000>, |
| 138 | <1200000>, <1200000>; |
| 139 | |
| 140 | regulators { |
| 141 | valive_reg: LDO2 { |
| 142 | regulator-name = "VALIVE_1.1V_C210"; |
| 143 | regulator-min-microvolt = <1100000>; |
| 144 | regulator-max-microvolt = <1100000>; |
| 145 | regulator-always-on; |
| 146 | }; |
| 147 | |
| 148 | vusb_reg: LDO3 { |
| 149 | regulator-name = "VUSB_1.1V_C210"; |
| 150 | regulator-min-microvolt = <1100000>; |
| 151 | regulator-max-microvolt = <1100000>; |
| 152 | }; |
| 153 | |
| 154 | vmipi_reg: LDO4 { |
| 155 | regulator-name = "VMIPI_1.8V"; |
| 156 | regulator-min-microvolt = <1800000>; |
| 157 | regulator-max-microvolt = <1800000>; |
| 158 | }; |
| 159 | |
| 160 | vpda_reg: LDO6 { |
| 161 | regulator-name = "VCC_1.8V_PDA"; |
| 162 | regulator-min-microvolt = <1800000>; |
| 163 | regulator-max-microvolt = <1800000>; |
| 164 | regulator-always-on; |
| 165 | }; |
| 166 | |
| 167 | vcam_reg: LDO7 { |
| 168 | regulator-name = "CAM_ISP_1.8V"; |
| 169 | regulator-min-microvolt = <1800000>; |
| 170 | regulator-max-microvolt = <1800000>; |
| 171 | }; |
| 172 | |
| 173 | vusbdac_reg: LDO8 { |
| 174 | regulator-name = "VUSB/VDAC_3.3V_C210"; |
| 175 | regulator-min-microvolt = <3300000>; |
| 176 | regulator-max-microvolt = <3300000>; |
| 177 | }; |
| 178 | |
| 179 | vccpda_reg: LDO9 { |
| 180 | regulator-name = "VCC_2.8V_PDA"; |
| 181 | regulator-min-microvolt = <2800000>; |
| 182 | regulator-max-microvolt = <2800000>; |
| 183 | regulator-always-on; |
| 184 | }; |
| 185 | |
| 186 | vpll_reg: LDO10 { |
| 187 | regulator-name = "VPLL_1.1V_C210"; |
| 188 | regulator-min-microvolt = <1100000>; |
| 189 | regulator-max-microvolt = <1100000>; |
| 190 | regulator-always-on; |
| 191 | }; |
| 192 | |
| 193 | vcclcd_reg: LDO13 { |
| 194 | regulator-name = "VCC_3.3V_LCD"; |
| 195 | regulator-min-microvolt = <3300000>; |
| 196 | regulator-max-microvolt = <3300000>; |
| 197 | }; |
| 198 | |
| 199 | vlcd_reg: LDO15 { |
| 200 | regulator-name = "VLCD_2.2V"; |
| 201 | regulator-min-microvolt = <2200000>; |
| 202 | regulator-max-microvolt = <2200000>; |
| 203 | }; |
| 204 | |
| 205 | camsensor_reg: LDO16 { |
| 206 | regulator-name = "CAM_SENSOR_IO_1.8V"; |
| 207 | regulator-min-microvolt = <1800000>; |
| 208 | regulator-max-microvolt = <1800000>; |
| 209 | }; |
| 210 | |
| 211 | vddq_reg: LDO21 { |
| 212 | regulator-name = "VDDQ_M1M2_1.2V"; |
| 213 | regulator-min-microvolt = <1200000>; |
| 214 | regulator-max-microvolt = <1200000>; |
| 215 | regulator-always-on; |
| 216 | }; |
| 217 | |
| 218 | varm_breg: BUCK1 { |
| 219 | regulator-name = "VARM_1.2V_C210"; |
| 220 | regulator-min-microvolt = <900000>; |
| 221 | regulator-max-microvolt = <1350000>; |
| 222 | regulator-always-on; |
| 223 | }; |
| 224 | |
| 225 | vint_breg: BUCK2 { |
| 226 | regulator-name = "VINT_1.1V_C210"; |
| 227 | regulator-min-microvolt = <900000>; |
| 228 | regulator-max-microvolt = <1100000>; |
| 229 | regulator-always-on; |
| 230 | }; |
| 231 | |
| 232 | camisp_breg: BUCK4 { |
| 233 | regulator-name = "CAM_ISP_CORE_1.2V"; |
| 234 | regulator-min-microvolt = <1200000>; |
| 235 | regulator-max-microvolt = <1200000>; |
| 236 | }; |
| 237 | |
| 238 | vmem_breg: BUCK5 { |
| 239 | regulator-name = "VMEM_1.2V_C210"; |
| 240 | regulator-min-microvolt = <1200000>; |
| 241 | regulator-max-microvolt = <1200000>; |
| 242 | regulator-always-on; |
| 243 | }; |
| 244 | |
| 245 | vccsub_breg: BUCK7 { |
| 246 | regulator-name = "VCC_SUB_2.0V"; |
| 247 | regulator-min-microvolt = <2000000>; |
| 248 | regulator-max-microvolt = <2000000>; |
| 249 | regulator-always-on; |
| 250 | }; |
| 251 | |
| 252 | safe1_sreg: ESAFEOUT1 { |
| 253 | regulator-name = "SAFEOUT1"; |
| 254 | regulator-always-on; |
| 255 | }; |
| 256 | |
| 257 | safe2_sreg: ESAFEOUT2 { |
| 258 | regulator-name = "SAFEOUT2"; |
| 259 | regulator-boot-on; |
| 260 | }; |
| 261 | }; |
| 262 | }; |
| 263 | }; |
| 264 | }; |