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