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>; |
| 38 | gpio = <&gpk0 2 1 0 0>; |
| 39 | enable-active-high; |
| 40 | }; |
| 41 | |
| 42 | sdhci_emmc: sdhci@12510000 { |
| 43 | bus-width = <8>; |
| 44 | non-removable; |
| 45 | broken-voltage; |
| 46 | gpios = <&gpk0 0 2 0 3>, |
| 47 | <&gpk0 1 2 0 3>, |
| 48 | <&gpk0 3 2 2 3>, |
| 49 | <&gpk0 4 2 2 3>, |
| 50 | <&gpk0 5 2 2 3>, |
| 51 | <&gpk0 6 2 2 3>, |
| 52 | <&gpk1 3 3 3 3>, |
| 53 | <&gpk1 4 3 3 3>, |
| 54 | <&gpk1 5 3 3 3>, |
| 55 | <&gpk1 6 3 3 3>; |
| 56 | vmmc-supply = <&vemmc_reg>; |
| 57 | status = "okay"; |
| 58 | }; |
| 59 | |
| 60 | serial@13800000 { |
| 61 | status = "okay"; |
| 62 | }; |
| 63 | |
| 64 | serial@13810000 { |
| 65 | status = "okay"; |
| 66 | }; |
| 67 | |
| 68 | serial@13820000 { |
| 69 | status = "okay"; |
| 70 | }; |
| 71 | |
| 72 | serial@13830000 { |
| 73 | status = "okay"; |
| 74 | }; |
| 75 | |
| 76 | i2c@138B0000 { |
| 77 | samsung,i2c-sda-delay = <100>; |
| 78 | samsung,i2c-slave-addr = <0x10>; |
| 79 | samsung,i2c-max-bus-freq = <100000>; |
| 80 | gpios = <&gpb 6 3 3 0>, |
| 81 | <&gpb 7 3 3 0>; |
| 82 | status = "okay"; |
| 83 | |
| 84 | max8997_pmic@66 { |
| 85 | compatible = "maxim,max8997-pmic"; |
| 86 | |
| 87 | reg = <0x66>; |
| 88 | |
| 89 | max8997,pmic-buck1-uses-gpio-dvs; |
| 90 | max8997,pmic-buck2-uses-gpio-dvs; |
| 91 | max8997,pmic-buck5-uses-gpio-dvs; |
| 92 | |
| 93 | max8997,pmic-ignore-gpiodvs-side-effect; |
| 94 | max8997,pmic-buck125-default-dvs-idx = <0>; |
| 95 | |
| 96 | max8997,pmic-buck125-dvs-gpios = <&gpx0 5 1 0 0>, |
| 97 | <&gpx0 6 1 0 0>, |
| 98 | <&gpl0 0 1 0 0>; |
| 99 | |
| 100 | max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>, |
| 101 | <1250000>, <1200000>, |
| 102 | <1150000>, <1100000>, |
| 103 | <1000000>, <950000>; |
| 104 | |
| 105 | max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>, |
| 106 | <950000>, <900000>, |
| 107 | <1100000>, <1000000>, |
| 108 | <950000>, <900000>; |
| 109 | |
| 110 | max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>, |
| 111 | <1200000>, <1200000>, |
| 112 | <1200000>, <1200000>, |
| 113 | <1200000>, <1200000>; |
| 114 | |
| 115 | regulators { |
| 116 | valive_reg: LDO2 { |
| 117 | regulator-name = "VALIVE_1.1V_C210"; |
| 118 | regulator-min-microvolt = <1100000>; |
| 119 | regulator-max-microvolt = <1100000>; |
| 120 | regulator-always-on; |
| 121 | }; |
| 122 | |
| 123 | vusb_reg: LDO3 { |
| 124 | regulator-name = "VUSB_1.1V_C210"; |
| 125 | regulator-min-microvolt = <1100000>; |
| 126 | regulator-max-microvolt = <1100000>; |
| 127 | }; |
| 128 | |
| 129 | vmipi_reg: LDO4 { |
| 130 | regulator-name = "VMIPI_1.8V"; |
| 131 | regulator-min-microvolt = <1800000>; |
| 132 | regulator-max-microvolt = <1800000>; |
| 133 | }; |
| 134 | |
| 135 | vpda_reg: LDO6 { |
| 136 | regulator-name = "VCC_1.8V_PDA"; |
| 137 | regulator-min-microvolt = <1800000>; |
| 138 | regulator-max-microvolt = <1800000>; |
| 139 | regulator-always-on; |
| 140 | }; |
| 141 | |
| 142 | vcam_reg: LDO7 { |
| 143 | regulator-name = "CAM_ISP_1.8V"; |
| 144 | regulator-min-microvolt = <1800000>; |
| 145 | regulator-max-microvolt = <1800000>; |
| 146 | }; |
| 147 | |
| 148 | vusbdac_reg: LDO8 { |
| 149 | regulator-name = "VUSB/VDAC_3.3V_C210"; |
| 150 | regulator-min-microvolt = <3300000>; |
| 151 | regulator-max-microvolt = <3300000>; |
| 152 | }; |
| 153 | |
| 154 | vccpda_reg: LDO9 { |
| 155 | regulator-name = "VCC_2.8V_PDA"; |
| 156 | regulator-min-microvolt = <2800000>; |
| 157 | regulator-max-microvolt = <2800000>; |
| 158 | regulator-always-on; |
| 159 | }; |
| 160 | |
| 161 | vpll_reg: LDO10 { |
| 162 | regulator-name = "VPLL_1.1V_C210"; |
| 163 | regulator-min-microvolt = <1100000>; |
| 164 | regulator-max-microvolt = <1100000>; |
| 165 | regulator-always-on; |
| 166 | }; |
| 167 | |
| 168 | vcclcd_reg: LDO13 { |
| 169 | regulator-name = "VCC_3.3V_LCD"; |
| 170 | regulator-min-microvolt = <3300000>; |
| 171 | regulator-max-microvolt = <3300000>; |
| 172 | }; |
| 173 | |
| 174 | vlcd_reg: LDO15 { |
| 175 | regulator-name = "VLCD_2.2V"; |
| 176 | regulator-min-microvolt = <2200000>; |
| 177 | regulator-max-microvolt = <2200000>; |
| 178 | }; |
| 179 | |
| 180 | camsensor_reg: LDO16 { |
| 181 | regulator-name = "CAM_SENSOR_IO_1.8V"; |
| 182 | regulator-min-microvolt = <1800000>; |
| 183 | regulator-max-microvolt = <1800000>; |
| 184 | }; |
| 185 | |
| 186 | vddq_reg: LDO21 { |
| 187 | regulator-name = "VDDQ_M1M2_1.2V"; |
| 188 | regulator-min-microvolt = <1200000>; |
| 189 | regulator-max-microvolt = <1200000>; |
| 190 | regulator-always-on; |
| 191 | }; |
| 192 | |
| 193 | varm_breg: BUCK1 { |
| 194 | regulator-name = "VARM_1.2V_C210"; |
| 195 | regulator-min-microvolt = <900000>; |
| 196 | regulator-max-microvolt = <1350000>; |
| 197 | regulator-always-on; |
| 198 | }; |
| 199 | |
| 200 | vint_breg: BUCK2 { |
| 201 | regulator-name = "VINT_1.1V_C210"; |
| 202 | regulator-min-microvolt = <900000>; |
| 203 | regulator-max-microvolt = <1100000>; |
| 204 | regulator-always-on; |
| 205 | }; |
| 206 | |
| 207 | camisp_breg: BUCK4 { |
| 208 | regulator-name = "CAM_ISP_CORE_1.2V"; |
| 209 | regulator-min-microvolt = <1200000>; |
| 210 | regulator-max-microvolt = <1200000>; |
| 211 | }; |
| 212 | |
| 213 | vmem_breg: BUCK5 { |
| 214 | regulator-name = "VMEM_1.2V_C210"; |
| 215 | regulator-min-microvolt = <1200000>; |
| 216 | regulator-max-microvolt = <1200000>; |
| 217 | regulator-always-on; |
| 218 | }; |
| 219 | |
| 220 | vccsub_breg: BUCK7 { |
| 221 | regulator-name = "VCC_SUB_2.0V"; |
| 222 | regulator-min-microvolt = <2000000>; |
| 223 | regulator-max-microvolt = <2000000>; |
| 224 | regulator-always-on; |
| 225 | }; |
| 226 | |
| 227 | safe1_sreg: ESAFEOUT1 { |
| 228 | regulator-name = "SAFEOUT1"; |
| 229 | regulator-always-on; |
| 230 | }; |
| 231 | |
| 232 | safe2_sreg: ESAFEOUT2 { |
| 233 | regulator-name = "SAFEOUT2"; |
| 234 | regulator-boot-on; |
| 235 | }; |
| 236 | }; |
| 237 | }; |
| 238 | }; |
| 239 | }; |