Stepan Moskovchenko | 632d416 | 2013-01-24 16:00:08 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2013, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | /dts-v1/; |
| 14 | |
Stepan Moskovchenko | e90cd65 | 2013-04-18 12:54:47 -0700 | [diff] [blame] | 15 | /include/ "apq8084.dtsi" |
Stepan Moskovchenko | 632d416 | 2013-01-24 16:00:08 -0800 | [diff] [blame] | 16 | |
| 17 | / { |
Stepan Moskovchenko | e90cd65 | 2013-04-18 12:54:47 -0700 | [diff] [blame] | 18 | model = "Qualcomm APQ 8084 Simulator"; |
| 19 | compatible = "qcom,apq8084-sim", "qcom,apq8084", "qcom,sim"; |
Stepan Moskovchenko | 632d416 | 2013-01-24 16:00:08 -0800 | [diff] [blame] | 20 | qcom,msm-id = <178 0 0>; |
| 21 | |
| 22 | aliases { |
| 23 | serial0 = &uart0; |
| 24 | }; |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame^] | 25 | }; |
Stepan Moskovchenko | 632d416 | 2013-01-24 16:00:08 -0800 | [diff] [blame] | 26 | |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame^] | 27 | &soc { |
Stepan Moskovchenko | 632d416 | 2013-01-24 16:00:08 -0800 | [diff] [blame] | 28 | uart0: serial@f991f000 { |
| 29 | status = "ok"; |
| 30 | }; |
| 31 | }; |
Venkat Gopalakrishnan | d7ba4e3 | 2013-03-29 19:51:19 -0700 | [diff] [blame] | 32 | |
| 33 | &sdcc1 { |
| 34 | qcom,vdd-always-on; |
| 35 | qcom,vdd-lpm-sup; |
| 36 | qcom,vdd-voltage-level = <2950000 2950000>; |
| 37 | qcom,vdd-current-level = <800 500000>; |
| 38 | |
| 39 | qcom,vdd-io-always-on; |
| 40 | qcom,vdd-io-voltage-level = <1800000 1800000>; |
| 41 | qcom,vdd-io-current-level = <250 154000>; |
| 42 | |
| 43 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 44 | qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 45 | qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ |
| 46 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
| 47 | |
| 48 | qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; |
| 49 | qcom,sup-voltages = <2950 2950>; |
| 50 | qcom,nonremovable; |
| 51 | qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; |
| 52 | |
| 53 | status = "ok"; |
| 54 | }; |
| 55 | |
| 56 | &sdcc2 { |
| 57 | qcom,vdd-voltage-level = <2950000 2950000>; |
| 58 | qcom,vdd-current-level = <9000 800000>; |
| 59 | qcom,vdd-io-voltage-level = <1800000 2950000>; |
| 60 | qcom,vdd-io-current-level = <6 22000>; |
| 61 | qcom,vdd-io-lpm-sup; |
| 62 | |
| 63 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 64 | qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 65 | qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ |
| 66 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
| 67 | |
| 68 | qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; |
| 69 | qcom,sup-voltages = <2950 2950>; |
| 70 | qcom,xpc; |
| 71 | qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; |
| 72 | qcom,current-limit = <800>; |
| 73 | |
| 74 | status = "ok"; |
| 75 | }; |
David Collins | e47708c | 2013-04-23 16:43:27 -0700 | [diff] [blame] | 76 | |
| 77 | &pma8084_gpios { |
| 78 | gpio@c000 { /* GPIO 1 */ |
| 79 | }; |
| 80 | |
| 81 | gpio@c100 { /* GPIO 2 */ |
| 82 | }; |
| 83 | |
| 84 | gpio@c200 { /* GPIO 3 */ |
| 85 | }; |
| 86 | |
| 87 | gpio@c300 { /* GPIO 4 */ |
| 88 | }; |
| 89 | |
| 90 | gpio@c400 { /* GPIO 5 */ |
| 91 | }; |
| 92 | |
| 93 | gpio@c500 { /* GPIO 6 */ |
| 94 | }; |
| 95 | |
| 96 | gpio@c600 { /* GPIO 7 */ |
| 97 | }; |
| 98 | |
| 99 | gpio@c700 { /* GPIO 8 */ |
| 100 | }; |
| 101 | |
| 102 | gpio@c800 { /* GPIO 9 */ |
| 103 | }; |
| 104 | |
| 105 | gpio@c900 { /* GPIO 10 */ |
| 106 | }; |
| 107 | |
| 108 | gpio@ca00 { /* GPIO 11 */ |
| 109 | }; |
| 110 | |
| 111 | gpio@cb00 { /* GPIO 12 */ |
| 112 | }; |
| 113 | |
| 114 | gpio@cc00 { /* GPIO 13 */ |
| 115 | }; |
| 116 | |
| 117 | gpio@cd00 { /* GPIO 14 */ |
| 118 | }; |
| 119 | |
| 120 | gpio@ce00 { /* GPIO 15 */ |
| 121 | }; |
| 122 | |
| 123 | gpio@cf00 { /* GPIO 16 */ |
| 124 | }; |
| 125 | |
| 126 | gpio@d000 { /* GPIO 17 */ |
| 127 | }; |
| 128 | |
| 129 | gpio@d100 { /* GPIO 18 */ |
| 130 | }; |
| 131 | |
| 132 | gpio@d200 { /* GPIO 19 */ |
| 133 | }; |
| 134 | |
| 135 | gpio@d300 { /* GPIO 20 */ |
| 136 | }; |
| 137 | |
| 138 | gpio@d400 { /* GPIO 21 */ |
| 139 | }; |
| 140 | |
| 141 | gpio@d500 { /* GPIO 22 */ |
| 142 | }; |
| 143 | }; |
| 144 | |
| 145 | &pma8084_mpps { |
| 146 | mpp@a000 { /* MPP 1 */ |
| 147 | }; |
| 148 | |
| 149 | mpp@a100 { /* MPP 2 */ |
| 150 | }; |
| 151 | |
| 152 | mpp@a200 { /* MPP 3 */ |
| 153 | }; |
| 154 | |
| 155 | mpp@a300 { /* MPP 4 */ |
| 156 | }; |
| 157 | |
| 158 | mpp@a400 { /* MPP 5 */ |
| 159 | }; |
| 160 | |
| 161 | mpp@a500 { /* MPP 6 */ |
| 162 | }; |
| 163 | |
| 164 | mpp@a600 { /* MPP 7 */ |
| 165 | }; |
| 166 | |
| 167 | mpp@a700 { /* MPP 8 */ |
| 168 | }; |
| 169 | }; |
Hemant Kumar | b4c712c | 2013-04-23 20:06:09 -0700 | [diff] [blame] | 170 | |
| 171 | &usb3 { |
| 172 | qcom,skip-charger-detection; |
| 173 | }; |