Rohit Vaswani | 9857a75 | 2014-01-02 10:17:31 -0800 | [diff] [blame] | 1 | #include "qcom-msm8974.dtsi" |
Ivan T. Ivanov | c912789 | 2015-02-03 14:17:59 +0200 | [diff] [blame] | 2 | #include "qcom-pm8841.dtsi" |
| 3 | #include "qcom-pm8941.dtsi" |
Rohit Vaswani | 9857a75 | 2014-01-02 10:17:31 -0800 | [diff] [blame] | 4 | |
| 5 | / { |
| 6 | model = "Qualcomm APQ8074 Dragonboard"; |
| 7 | compatible = "qcom,apq8074-dragonboard", "qcom,apq8074"; |
Georgi Djakov | 3e944c7 | 2014-01-31 16:21:56 +0200 | [diff] [blame] | 8 | |
Stephen Boyd | 5f76978 | 2015-06-16 14:31:47 -0700 | [diff] [blame] | 9 | aliases { |
| 10 | serial0 = &blsp1_uart2; |
Stephen Boyd | 134c544 | 2015-11-20 15:31:20 -0800 | [diff] [blame] | 11 | usid0 = &pm8941_0; |
| 12 | usid4 = &pm8841_0; |
Stephen Boyd | 5f76978 | 2015-06-16 14:31:47 -0700 | [diff] [blame] | 13 | }; |
| 14 | |
| 15 | chosen { |
| 16 | stdout-path = "serial0:115200n8"; |
| 17 | }; |
| 18 | |
Kumar Gala | ba08220 | 2014-05-28 12:01:29 -0500 | [diff] [blame] | 19 | soc { |
| 20 | serial@f991e000 { |
| 21 | status = "ok"; |
| 22 | }; |
| 23 | |
Georgi Djakov | 3e944c7 | 2014-01-31 16:21:56 +0200 | [diff] [blame] | 24 | sdhci@f9824900 { |
| 25 | bus-width = <8>; |
| 26 | non-removable; |
| 27 | status = "ok"; |
| 28 | }; |
| 29 | |
| 30 | sdhci@f98a4900 { |
| 31 | cd-gpios = <&msmgpio 62 0x1>; |
| 32 | bus-width = <4>; |
| 33 | }; |
Kumar Gala | ba08220 | 2014-05-28 12:01:29 -0500 | [diff] [blame] | 34 | |
| 35 | |
| 36 | pinctrl@fd510000 { |
kiran.padwal@smartplayin.com | bf7f6b0 | 2014-09-16 17:15:38 +0530 | [diff] [blame] | 37 | i2c11_pins: i2c11 { |
| 38 | mux { |
| 39 | pins = "gpio83", "gpio84"; |
| 40 | function = "blsp_i2c11"; |
| 41 | }; |
| 42 | }; |
| 43 | |
Kumar Gala | ba08220 | 2014-05-28 12:01:29 -0500 | [diff] [blame] | 44 | spi8_default: spi8_default { |
| 45 | mosi { |
| 46 | pins = "gpio45"; |
| 47 | function = "blsp_spi8"; |
| 48 | }; |
| 49 | miso { |
| 50 | pins = "gpio46"; |
| 51 | function = "blsp_spi8"; |
| 52 | }; |
| 53 | cs { |
| 54 | pins = "gpio47"; |
| 55 | function = "blsp_spi8"; |
| 56 | }; |
| 57 | clk { |
| 58 | pins = "gpio48"; |
| 59 | function = "blsp_spi8"; |
| 60 | }; |
| 61 | }; |
| 62 | }; |
kiran.padwal@smartplayin.com | bf7f6b0 | 2014-09-16 17:15:38 +0530 | [diff] [blame] | 63 | |
| 64 | i2c@f9967000 { |
| 65 | status = "okay"; |
| 66 | clock-frequency = <200000>; |
| 67 | pinctrl-0 = <&i2c11_pins>; |
| 68 | pinctrl-names = "default"; |
| 69 | |
| 70 | eeprom: eeprom@52 { |
| 71 | compatible = "atmel,24c128"; |
| 72 | reg = <0x52>; |
| 73 | pagesize = <32>; |
| 74 | read-only; |
| 75 | }; |
| 76 | }; |
Georgi Djakov | 3e944c7 | 2014-01-31 16:21:56 +0200 | [diff] [blame] | 77 | }; |
Stephen Boyd | d04dc95 | 2016-05-10 15:45:58 -0700 | [diff] [blame^] | 78 | |
| 79 | smd { |
| 80 | rpm { |
| 81 | rpm_requests { |
| 82 | pm8841-regulators { |
| 83 | s1 { |
| 84 | regulator-min-microvolt = <675000>; |
| 85 | regulator-max-microvolt = <1050000>; |
| 86 | }; |
| 87 | |
| 88 | s2 { |
| 89 | regulator-min-microvolt = <500000>; |
| 90 | regulator-max-microvolt = <1050000>; |
| 91 | }; |
| 92 | |
| 93 | s3 { |
| 94 | regulator-min-microvolt = <500000>; |
| 95 | regulator-max-microvolt = <1050000>; |
| 96 | }; |
| 97 | |
| 98 | s4 { |
| 99 | regulator-min-microvolt = <500000>; |
| 100 | regulator-max-microvolt = <1050000>; |
| 101 | }; |
| 102 | }; |
| 103 | |
| 104 | pm8941-regulators { |
| 105 | vdd_l1_l3-supply = <&pm8941_s1>; |
| 106 | vdd_l2_lvs1_2_3-supply = <&pm8941_s3>; |
| 107 | vdd_l4_l11-supply = <&pm8941_s1>; |
| 108 | vdd_l5_l7-supply = <&pm8941_s2>; |
| 109 | vdd_l6_l12_l14_l15-supply = <&pm8941_s2>; |
| 110 | vin_5vs-supply = <&pm8941_5v>; |
| 111 | |
| 112 | s1 { |
| 113 | regulator-min-microvolt = <1300000>; |
| 114 | regulator-max-microvolt = <1300000>; |
| 115 | regulator-always-on; |
| 116 | regulator-boot-on; |
| 117 | }; |
| 118 | |
| 119 | s2 { |
| 120 | regulator-min-microvolt = <2150000>; |
| 121 | regulator-max-microvolt = <2150000>; |
| 122 | regulator-boot-on; |
| 123 | }; |
| 124 | |
| 125 | s3 { |
| 126 | regulator-min-microvolt = <1800000>; |
| 127 | regulator-max-microvolt = <1800000>; |
| 128 | regulator-always-on; |
| 129 | regulator-boot-on; |
| 130 | }; |
| 131 | |
| 132 | l1 { |
| 133 | regulator-min-microvolt = <1225000>; |
| 134 | regulator-max-microvolt = <1225000>; |
| 135 | |
| 136 | regulator-always-on; |
| 137 | regulator-boot-on; |
| 138 | }; |
| 139 | |
| 140 | l2 { |
| 141 | regulator-min-microvolt = <1200000>; |
| 142 | regulator-max-microvolt = <1200000>; |
| 143 | }; |
| 144 | |
| 145 | l3 { |
| 146 | regulator-min-microvolt = <1225000>; |
| 147 | regulator-max-microvolt = <1225000>; |
| 148 | }; |
| 149 | |
| 150 | l4 { |
| 151 | regulator-min-microvolt = <1225000>; |
| 152 | regulator-max-microvolt = <1225000>; |
| 153 | }; |
| 154 | |
| 155 | l5 { |
| 156 | regulator-min-microvolt = <1800000>; |
| 157 | regulator-max-microvolt = <1800000>; |
| 158 | }; |
| 159 | |
| 160 | l6 { |
| 161 | regulator-min-microvolt = <1800000>; |
| 162 | regulator-max-microvolt = <1800000>; |
| 163 | |
| 164 | regulator-boot-on; |
| 165 | }; |
| 166 | |
| 167 | l7 { |
| 168 | regulator-min-microvolt = <1800000>; |
| 169 | regulator-max-microvolt = <1800000>; |
| 170 | |
| 171 | regulator-boot-on; |
| 172 | }; |
| 173 | |
| 174 | l8 { |
| 175 | regulator-min-microvolt = <1800000>; |
| 176 | regulator-max-microvolt = <1800000>; |
| 177 | }; |
| 178 | |
| 179 | l9 { |
| 180 | regulator-min-microvolt = <1800000>; |
| 181 | regulator-max-microvolt = <2950000>; |
| 182 | }; |
| 183 | |
| 184 | l10 { |
| 185 | regulator-min-microvolt = <1800000>; |
| 186 | regulator-max-microvolt = <1800000>; |
| 187 | regulator-always-on; |
| 188 | }; |
| 189 | |
| 190 | l11 { |
| 191 | regulator-min-microvolt = <1300000>; |
| 192 | regulator-max-microvolt = <1300000>; |
| 193 | }; |
| 194 | |
| 195 | l12 { |
| 196 | regulator-min-microvolt = <1800000>; |
| 197 | regulator-max-microvolt = <1800000>; |
| 198 | |
| 199 | regulator-always-on; |
| 200 | regulator-boot-on; |
| 201 | }; |
| 202 | |
| 203 | l13 { |
| 204 | regulator-min-microvolt = <1800000>; |
| 205 | regulator-max-microvolt = <2950000>; |
| 206 | |
| 207 | regulator-boot-on; |
| 208 | }; |
| 209 | |
| 210 | l14 { |
| 211 | regulator-min-microvolt = <1800000>; |
| 212 | regulator-max-microvolt = <1800000>; |
| 213 | }; |
| 214 | |
| 215 | l15 { |
| 216 | regulator-min-microvolt = <2050000>; |
| 217 | regulator-max-microvolt = <2050000>; |
| 218 | }; |
| 219 | |
| 220 | l16 { |
| 221 | regulator-min-microvolt = <2700000>; |
| 222 | regulator-max-microvolt = <2700000>; |
| 223 | }; |
| 224 | |
| 225 | l17 { |
| 226 | regulator-min-microvolt = <2700000>; |
| 227 | regulator-max-microvolt = <2700000>; |
| 228 | }; |
| 229 | |
| 230 | l18 { |
| 231 | regulator-min-microvolt = <2850000>; |
| 232 | regulator-max-microvolt = <2850000>; |
| 233 | }; |
| 234 | |
| 235 | l19 { |
| 236 | regulator-min-microvolt = <3300000>; |
| 237 | regulator-max-microvolt = <3300000>; |
| 238 | regulator-always-on; |
| 239 | }; |
| 240 | |
| 241 | l20 { |
| 242 | regulator-min-microvolt = <2950000>; |
| 243 | regulator-max-microvolt = <2950000>; |
| 244 | |
| 245 | regulator-allow-set-load; |
| 246 | regulator-boot-on; |
| 247 | regulator-system-load = <200000>; |
| 248 | }; |
| 249 | |
| 250 | l21 { |
| 251 | regulator-min-microvolt = <2950000>; |
| 252 | regulator-max-microvolt = <2950000>; |
| 253 | |
| 254 | regulator-boot-on; |
| 255 | }; |
| 256 | |
| 257 | l22 { |
| 258 | regulator-min-microvolt = <3000000>; |
| 259 | regulator-max-microvolt = <3000000>; |
| 260 | }; |
| 261 | |
| 262 | l23 { |
| 263 | regulator-min-microvolt = <3000000>; |
| 264 | regulator-max-microvolt = <3000000>; |
| 265 | }; |
| 266 | |
| 267 | l24 { |
| 268 | regulator-min-microvolt = <3075000>; |
| 269 | regulator-max-microvolt = <3075000>; |
| 270 | |
| 271 | regulator-boot-on; |
| 272 | }; |
| 273 | }; |
| 274 | }; |
| 275 | }; |
| 276 | }; |
Rohit Vaswani | 9857a75 | 2014-01-02 10:17:31 -0800 | [diff] [blame] | 277 | }; |