Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Google Peach Pit Rev 6+ board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2014 Google, Inc |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | */ |
| 10 | |
| 11 | /dts-v1/; |
| 12 | #include <dt-bindings/input/input.h> |
| 13 | #include <dt-bindings/gpio/gpio.h> |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 14 | #include <dt-bindings/interrupt-controller/irq.h> |
Javier Martinez Canillas | fa781dd | 2014-09-24 00:16:45 +0900 | [diff] [blame] | 15 | #include <dt-bindings/clock/maxim,max77802.h> |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 16 | #include <dt-bindings/regulator/maxim,max77802.h> |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 17 | #include "exynos5420.dtsi" |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 18 | #include "exynos5420-cpus.dtsi" |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 19 | |
| 20 | / { |
| 21 | model = "Google Peach Pit Rev 6+"; |
| 22 | |
| 23 | compatible = "google,pit-rev16", |
| 24 | "google,pit-rev15", "google,pit-rev14", |
| 25 | "google,pit-rev13", "google,pit-rev12", |
| 26 | "google,pit-rev11", "google,pit-rev10", |
| 27 | "google,pit-rev9", "google,pit-rev8", |
| 28 | "google,pit-rev7", "google,pit-rev6", |
| 29 | "google,pit", "google,peach","samsung,exynos5420", |
| 30 | "samsung,exynos5"; |
| 31 | |
Doug Anderson | 8060098 | 2014-07-19 04:09:15 +0900 | [diff] [blame] | 32 | aliases { |
| 33 | /* Assign 20 so we don't get confused w/ builtin ones */ |
| 34 | i2c20 = "/spi@12d40000/cros-ec@0/i2c-tunnel"; |
| 35 | }; |
| 36 | |
Ajay Kumar | 3b8fe98 | 2014-09-14 02:20:18 +0900 | [diff] [blame] | 37 | backlight: backlight { |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 38 | compatible = "pwm-backlight"; |
| 39 | pwms = <&pwm 0 1000000 0>; |
| 40 | brightness-levels = <0 100 500 1000 1500 2000 2500 2800>; |
| 41 | default-brightness-level = <7>; |
Ajay Kumar | 3b8fe98 | 2014-09-14 02:20:18 +0900 | [diff] [blame] | 42 | power-supply = <&tps65090_fet1>; |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 43 | pinctrl-0 = <&pwm0_out>; |
| 44 | pinctrl-names = "default"; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 45 | }; |
| 46 | |
Javier Martinez Canillas | 1d1b00a | 2015-03-18 00:31:22 +0900 | [diff] [blame] | 47 | chosen { |
| 48 | stdout-path = "serial3:115200n8"; |
| 49 | }; |
| 50 | |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 51 | fixed-rate-clocks { |
| 52 | oscclk { |
| 53 | compatible = "samsung,exynos5420-oscclk"; |
| 54 | clock-frequency = <24000000>; |
| 55 | }; |
| 56 | }; |
| 57 | |
| 58 | gpio-keys { |
| 59 | compatible = "gpio-keys"; |
| 60 | |
| 61 | pinctrl-names = "default"; |
Javier Martinez Canillas | 1f3cde4 | 2015-01-15 00:30:40 +0900 | [diff] [blame] | 62 | pinctrl-0 = <&power_key_irq &lid_irq>; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 63 | |
| 64 | power { |
| 65 | label = "Power"; |
| 66 | gpios = <&gpx1 2 GPIO_ACTIVE_LOW>; |
| 67 | linux,code = <KEY_POWER>; |
Sudeep Holla | 36a0282 | 2016-01-28 15:59:58 +0000 | [diff] [blame] | 68 | wakeup-source; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 69 | }; |
Javier Martinez Canillas | 1f3cde4 | 2015-01-15 00:30:40 +0900 | [diff] [blame] | 70 | |
| 71 | lid-switch { |
| 72 | label = "Lid"; |
| 73 | gpios = <&gpx3 4 GPIO_ACTIVE_LOW>; |
| 74 | linux,input-type = <5>; /* EV_SW */ |
| 75 | linux,code = <0>; /* SW_LID */ |
| 76 | debounce-interval = <1>; |
Sudeep Holla | 36a0282 | 2016-01-28 15:59:58 +0000 | [diff] [blame] | 77 | wakeup-source; |
Javier Martinez Canillas | 1f3cde4 | 2015-01-15 00:30:40 +0900 | [diff] [blame] | 78 | }; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 79 | }; |
| 80 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 81 | memory { |
| 82 | reg = <0x20000000 0x80000000>; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 83 | }; |
Tushar Behera | ead3993 | 2014-05-17 07:44:10 +0900 | [diff] [blame] | 84 | |
| 85 | sound { |
| 86 | compatible = "google,snow-audio-max98090"; |
| 87 | |
Tushar Behera | a8d80b6 | 2014-07-08 08:20:08 +0900 | [diff] [blame] | 88 | samsung,model = "Peach-Pit-I2S-MAX98090"; |
Tushar Behera | ead3993 | 2014-05-17 07:44:10 +0900 | [diff] [blame] | 89 | samsung,i2s-controller = <&i2s0>; |
| 90 | samsung,audio-codec = <&max98090>; |
| 91 | }; |
Vivek Gautam | 14a35ad | 2014-05-19 22:29:42 +0900 | [diff] [blame] | 92 | |
| 93 | usb300_vbus_reg: regulator-usb300 { |
| 94 | compatible = "regulator-fixed"; |
| 95 | regulator-name = "P5.0V_USB3CON0"; |
| 96 | regulator-min-microvolt = <5000000>; |
| 97 | regulator-max-microvolt = <5000000>; |
Javier Martinez Canillas | 31b9903 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 98 | gpio = <&gph0 0 GPIO_ACTIVE_HIGH>; |
Vivek Gautam | 14a35ad | 2014-05-19 22:29:42 +0900 | [diff] [blame] | 99 | pinctrl-names = "default"; |
| 100 | pinctrl-0 = <&usb300_vbus_en>; |
| 101 | enable-active-high; |
| 102 | }; |
| 103 | |
| 104 | usb301_vbus_reg: regulator-usb301 { |
| 105 | compatible = "regulator-fixed"; |
| 106 | regulator-name = "P5.0V_USB3CON1"; |
| 107 | regulator-min-microvolt = <5000000>; |
| 108 | regulator-max-microvolt = <5000000>; |
Javier Martinez Canillas | 31b9903 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 109 | gpio = <&gph0 1 GPIO_ACTIVE_HIGH>; |
Vivek Gautam | 14a35ad | 2014-05-19 22:29:42 +0900 | [diff] [blame] | 110 | pinctrl-names = "default"; |
| 111 | pinctrl-0 = <&usb301_vbus_en>; |
| 112 | enable-active-high; |
| 113 | }; |
Doug Anderson | 8060098 | 2014-07-19 04:09:15 +0900 | [diff] [blame] | 114 | |
| 115 | vbat: fixed-regulator { |
| 116 | compatible = "regulator-fixed"; |
| 117 | regulator-name = "vbat-supply"; |
| 118 | regulator-boot-on; |
| 119 | regulator-always-on; |
| 120 | }; |
Ajay Kumar | 3b8fe98 | 2014-09-14 02:20:18 +0900 | [diff] [blame] | 121 | |
| 122 | panel: panel { |
| 123 | compatible = "auo,b116xw03"; |
| 124 | power-supply = <&tps65090_fet6>; |
| 125 | backlight = <&backlight>; |
Ajay Kumar | e07eb1e | 2015-02-05 00:29:56 +0900 | [diff] [blame] | 126 | |
| 127 | port { |
| 128 | panel_in: endpoint { |
| 129 | remote-endpoint = <&bridge_out>; |
| 130 | }; |
| 131 | }; |
Ajay Kumar | 3b8fe98 | 2014-09-14 02:20:18 +0900 | [diff] [blame] | 132 | }; |
Javier Martinez Canillas | 3cb1818 | 2015-02-27 06:08:51 +0900 | [diff] [blame] | 133 | |
| 134 | mmc1_pwrseq: mmc1_pwrseq { |
| 135 | compatible = "mmc-pwrseq-simple"; |
| 136 | reset-gpios = <&gpx0 0 GPIO_ACTIVE_LOW>; /* WIFI_EN */ |
| 137 | clocks = <&max77802 MAX77802_CLK_32K_CP>; |
| 138 | clock-names = "ext_clock"; |
| 139 | }; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 140 | }; |
| 141 | |
Naveen Krishna Chatradhi | 7b48803 | 2014-09-14 00:46:56 +0900 | [diff] [blame] | 142 | &adc { |
| 143 | status = "okay"; |
| 144 | vdd-supply = <&ldo9_reg>; |
| 145 | }; |
| 146 | |
Bartlomiej Zolnierkiewicz | 8b51c5e | 2015-12-15 18:33:15 +0100 | [diff] [blame] | 147 | &cpu0 { |
| 148 | cpu-supply = <&buck2_reg>; |
| 149 | }; |
| 150 | |
| 151 | &cpu4 { |
| 152 | cpu-supply = <&buck6_reg>; |
| 153 | }; |
| 154 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 155 | &dp { |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 156 | status = "okay"; |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 157 | pinctrl-names = "default"; |
| 158 | pinctrl-0 = <&dp_hpd_gpio>; |
| 159 | samsung,color-space = <0>; |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 160 | samsung,color-depth = <1>; |
| 161 | samsung,link-rate = <0x06>; |
| 162 | samsung,lane-count = <2>; |
Yakir Yang | 1231557 | 2016-02-15 19:10:31 +0800 | [diff] [blame] | 163 | hpd-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>; |
Ajay Kumar | e07eb1e | 2015-02-05 00:29:56 +0900 | [diff] [blame] | 164 | |
| 165 | ports { |
Javier Martinez Canillas | a7d7865 | 2016-06-06 16:24:44 -0400 | [diff] [blame] | 166 | port { |
Ajay Kumar | e07eb1e | 2015-02-05 00:29:56 +0900 | [diff] [blame] | 167 | dp_out: endpoint { |
| 168 | remote-endpoint = <&bridge_in>; |
| 169 | }; |
| 170 | }; |
| 171 | }; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 172 | }; |
| 173 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 174 | &fimd { |
| 175 | status = "okay"; |
| 176 | samsung,invert-vclk; |
| 177 | }; |
| 178 | |
| 179 | &hdmi { |
| 180 | status = "okay"; |
| 181 | hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>; |
| 182 | pinctrl-names = "default"; |
| 183 | pinctrl-0 = <&hdmi_hpd_irq>; |
| 184 | ddc = <&i2c_2>; |
Rahul Sharma | e634a15 | 2014-09-14 00:45:23 +0900 | [diff] [blame] | 185 | |
| 186 | hdmi-en-supply = <&tps65090_fet7>; |
| 187 | vdd-supply = <&ldo8_reg>; |
| 188 | vdd_osc-supply = <&ldo10_reg>; |
| 189 | vdd_pll-supply = <&ldo8_reg>; |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 190 | }; |
| 191 | |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 192 | &hsi2c_4 { |
| 193 | status = "okay"; |
| 194 | clock-frequency = <400000>; |
| 195 | |
Javier Martinez Canillas | fa781dd | 2014-09-24 00:16:45 +0900 | [diff] [blame] | 196 | max77802: max77802-pmic@9 { |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 197 | compatible = "maxim,max77802"; |
| 198 | interrupt-parent = <&gpx3>; |
| 199 | interrupts = <1 IRQ_TYPE_NONE>; |
| 200 | pinctrl-names = "default"; |
| 201 | pinctrl-0 = <&max77802_irq>, <&pmic_selb>, |
| 202 | <&pmic_dvs_1>, <&pmic_dvs_2>, <&pmic_dvs_3>; |
| 203 | wakeup-source; |
| 204 | reg = <0x9>; |
| 205 | #clock-cells = <1>; |
| 206 | |
| 207 | inb1-supply = <&tps65090_dcdc2>; |
| 208 | inb2-supply = <&tps65090_dcdc1>; |
| 209 | inb3-supply = <&tps65090_dcdc2>; |
| 210 | inb4-supply = <&tps65090_dcdc2>; |
| 211 | inb5-supply = <&tps65090_dcdc1>; |
| 212 | inb6-supply = <&tps65090_dcdc2>; |
| 213 | inb7-supply = <&tps65090_dcdc1>; |
| 214 | inb8-supply = <&tps65090_dcdc1>; |
| 215 | inb9-supply = <&tps65090_dcdc1>; |
| 216 | inb10-supply = <&tps65090_dcdc1>; |
| 217 | |
| 218 | inl1-supply = <&buck5_reg>; |
| 219 | inl2-supply = <&buck7_reg>; |
| 220 | inl3-supply = <&buck9_reg>; |
| 221 | inl4-supply = <&buck9_reg>; |
| 222 | inl5-supply = <&buck9_reg>; |
| 223 | inl6-supply = <&tps65090_dcdc2>; |
| 224 | inl7-supply = <&buck9_reg>; |
| 225 | inl9-supply = <&tps65090_dcdc2>; |
| 226 | inl10-supply = <&buck7_reg>; |
| 227 | |
| 228 | regulators { |
| 229 | buck1_reg: BUCK1 { |
| 230 | regulator-name = "vdd_mif"; |
| 231 | regulator-min-microvolt = <800000>; |
| 232 | regulator-max-microvolt = <1300000>; |
| 233 | regulator-always-on; |
| 234 | regulator-boot-on; |
| 235 | regulator-ramp-delay = <12500>; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 236 | regulator-state-mem { |
| 237 | regulator-off-in-suspend; |
| 238 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 239 | }; |
| 240 | |
| 241 | buck2_reg: BUCK2 { |
| 242 | regulator-name = "vdd_arm"; |
| 243 | regulator-min-microvolt = <800000>; |
| 244 | regulator-max-microvolt = <1500000>; |
| 245 | regulator-always-on; |
| 246 | regulator-boot-on; |
| 247 | regulator-ramp-delay = <12500>; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 248 | regulator-state-mem { |
| 249 | regulator-off-in-suspend; |
| 250 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 251 | }; |
| 252 | |
| 253 | buck3_reg: BUCK3 { |
| 254 | regulator-name = "vdd_int"; |
| 255 | regulator-min-microvolt = <800000>; |
| 256 | regulator-max-microvolt = <1400000>; |
| 257 | regulator-always-on; |
| 258 | regulator-boot-on; |
| 259 | regulator-ramp-delay = <12500>; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 260 | regulator-state-mem { |
| 261 | regulator-off-in-suspend; |
| 262 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 263 | }; |
| 264 | |
| 265 | buck4_reg: BUCK4 { |
| 266 | regulator-name = "vdd_g3d"; |
| 267 | regulator-min-microvolt = <700000>; |
| 268 | regulator-max-microvolt = <1400000>; |
| 269 | regulator-always-on; |
| 270 | regulator-boot-on; |
| 271 | regulator-ramp-delay = <12500>; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 272 | regulator-state-mem { |
| 273 | regulator-off-in-suspend; |
| 274 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 275 | }; |
| 276 | |
| 277 | buck5_reg: BUCK5 { |
| 278 | regulator-name = "vdd_1v2"; |
| 279 | regulator-min-microvolt = <1200000>; |
| 280 | regulator-max-microvolt = <1200000>; |
| 281 | regulator-always-on; |
| 282 | regulator-boot-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 283 | regulator-state-mem { |
| 284 | regulator-off-in-suspend; |
| 285 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 286 | }; |
| 287 | |
| 288 | buck6_reg: BUCK6 { |
| 289 | regulator-name = "vdd_kfc"; |
| 290 | regulator-min-microvolt = <800000>; |
| 291 | regulator-max-microvolt = <1500000>; |
| 292 | regulator-always-on; |
| 293 | regulator-boot-on; |
| 294 | regulator-ramp-delay = <12500>; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 295 | regulator-state-mem { |
| 296 | regulator-off-in-suspend; |
| 297 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 298 | }; |
| 299 | |
| 300 | buck7_reg: BUCK7 { |
| 301 | regulator-name = "vdd_1v35"; |
| 302 | regulator-min-microvolt = <1350000>; |
| 303 | regulator-max-microvolt = <1350000>; |
| 304 | regulator-always-on; |
| 305 | regulator-boot-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 306 | regulator-state-mem { |
| 307 | regulator-on-in-suspend; |
| 308 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 309 | }; |
| 310 | |
| 311 | buck8_reg: BUCK8 { |
| 312 | regulator-name = "vdd_emmc"; |
| 313 | regulator-min-microvolt = <2850000>; |
| 314 | regulator-max-microvolt = <2850000>; |
| 315 | regulator-always-on; |
| 316 | regulator-boot-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 317 | regulator-state-mem { |
| 318 | regulator-off-in-suspend; |
| 319 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 320 | }; |
| 321 | |
| 322 | buck9_reg: BUCK9 { |
| 323 | regulator-name = "vdd_2v"; |
| 324 | regulator-min-microvolt = <2000000>; |
| 325 | regulator-max-microvolt = <2000000>; |
| 326 | regulator-always-on; |
| 327 | regulator-boot-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 328 | regulator-state-mem { |
| 329 | regulator-on-in-suspend; |
| 330 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 331 | }; |
| 332 | |
| 333 | buck10_reg: BUCK10 { |
| 334 | regulator-name = "vdd_1v8"; |
| 335 | regulator-min-microvolt = <1800000>; |
| 336 | regulator-max-microvolt = <1800000>; |
| 337 | regulator-always-on; |
| 338 | regulator-boot-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 339 | regulator-state-mem { |
| 340 | regulator-on-in-suspend; |
| 341 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 342 | }; |
| 343 | |
| 344 | ldo1_reg: LDO1 { |
| 345 | regulator-name = "vdd_1v0"; |
| 346 | regulator-min-microvolt = <1000000>; |
| 347 | regulator-max-microvolt = <1000000>; |
| 348 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 349 | regulator-state-mem { |
| 350 | regulator-on-in-suspend; |
| 351 | regulator-mode = <MAX77802_OPMODE_LP>; |
| 352 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 353 | }; |
| 354 | |
| 355 | ldo2_reg: LDO2 { |
| 356 | regulator-name = "vdd_1v2_2"; |
| 357 | regulator-min-microvolt = <1200000>; |
| 358 | regulator-max-microvolt = <1200000>; |
| 359 | }; |
| 360 | |
| 361 | ldo3_reg: LDO3 { |
| 362 | regulator-name = "vdd_1v8_3"; |
| 363 | regulator-min-microvolt = <1800000>; |
| 364 | regulator-max-microvolt = <1800000>; |
| 365 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 366 | regulator-state-mem { |
| 367 | regulator-on-in-suspend; |
| 368 | regulator-mode = <MAX77802_OPMODE_LP>; |
| 369 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 370 | }; |
| 371 | |
| 372 | vqmmc_sdcard: ldo4_reg: LDO4 { |
| 373 | regulator-name = "vdd_sd"; |
| 374 | regulator-min-microvolt = <1800000>; |
| 375 | regulator-max-microvolt = <2800000>; |
| 376 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 377 | regulator-state-mem { |
| 378 | regulator-off-in-suspend; |
| 379 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 380 | }; |
| 381 | |
| 382 | ldo5_reg: LDO5 { |
| 383 | regulator-name = "vdd_1v8_5"; |
| 384 | regulator-min-microvolt = <1800000>; |
| 385 | regulator-max-microvolt = <1800000>; |
| 386 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 387 | regulator-state-mem { |
| 388 | regulator-off-in-suspend; |
| 389 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 390 | }; |
| 391 | |
| 392 | ldo6_reg: LDO6 { |
| 393 | regulator-name = "vdd_1v8_6"; |
| 394 | regulator-min-microvolt = <1800000>; |
| 395 | regulator-max-microvolt = <1800000>; |
| 396 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 397 | regulator-state-mem { |
| 398 | regulator-off-in-suspend; |
| 399 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 400 | }; |
| 401 | |
| 402 | ldo7_reg: LDO7 { |
| 403 | regulator-name = "vdd_1v8_7"; |
| 404 | regulator-min-microvolt = <1800000>; |
| 405 | regulator-max-microvolt = <1800000>; |
| 406 | }; |
| 407 | |
| 408 | ldo8_reg: LDO8 { |
| 409 | regulator-name = "vdd_ldo8"; |
| 410 | regulator-min-microvolt = <1000000>; |
| 411 | regulator-max-microvolt = <1000000>; |
| 412 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 413 | regulator-state-mem { |
| 414 | regulator-off-in-suspend; |
| 415 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 416 | }; |
| 417 | |
| 418 | ldo9_reg: LDO9 { |
| 419 | regulator-name = "vdd_ldo9"; |
| 420 | regulator-min-microvolt = <1800000>; |
| 421 | regulator-max-microvolt = <1800000>; |
| 422 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 423 | regulator-state-mem { |
| 424 | regulator-on-in-suspend; |
| 425 | regulator-mode = <MAX77802_OPMODE_LP>; |
| 426 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 427 | }; |
| 428 | |
| 429 | ldo10_reg: LDO10 { |
| 430 | regulator-name = "vdd_ldo10"; |
| 431 | regulator-min-microvolt = <1800000>; |
| 432 | regulator-max-microvolt = <1800000>; |
| 433 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 434 | regulator-state-mem { |
| 435 | regulator-off-in-suspend; |
| 436 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 437 | }; |
| 438 | |
| 439 | ldo11_reg: LDO11 { |
| 440 | regulator-name = "vdd_ldo11"; |
| 441 | regulator-min-microvolt = <1800000>; |
| 442 | regulator-max-microvolt = <1800000>; |
| 443 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 444 | regulator-state-mem { |
| 445 | regulator-on-in-suspend; |
| 446 | regulator-mode = <MAX77802_OPMODE_LP>; |
| 447 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 448 | }; |
| 449 | |
| 450 | ldo12_reg: LDO12 { |
| 451 | regulator-name = "vdd_ldo12"; |
| 452 | regulator-min-microvolt = <3000000>; |
| 453 | regulator-max-microvolt = <3000000>; |
| 454 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 455 | regulator-state-mem { |
| 456 | regulator-off-in-suspend; |
| 457 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 458 | }; |
| 459 | |
| 460 | ldo13_reg: LDO13 { |
| 461 | regulator-name = "vdd_ldo13"; |
| 462 | regulator-min-microvolt = <1800000>; |
| 463 | regulator-max-microvolt = <1800000>; |
| 464 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 465 | regulator-state-mem { |
| 466 | regulator-on-in-suspend; |
| 467 | regulator-mode = <MAX77802_OPMODE_LP>; |
| 468 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 469 | }; |
| 470 | |
| 471 | ldo14_reg: LDO14 { |
| 472 | regulator-name = "vdd_ldo14"; |
| 473 | regulator-min-microvolt = <1800000>; |
| 474 | regulator-max-microvolt = <1800000>; |
| 475 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 476 | regulator-state-mem { |
| 477 | regulator-off-in-suspend; |
| 478 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 479 | }; |
| 480 | |
| 481 | ldo15_reg: LDO15 { |
| 482 | regulator-name = "vdd_ldo15"; |
| 483 | regulator-min-microvolt = <1000000>; |
| 484 | regulator-max-microvolt = <1000000>; |
| 485 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 486 | regulator-state-mem { |
| 487 | regulator-off-in-suspend; |
| 488 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 489 | }; |
| 490 | |
| 491 | ldo17_reg: LDO17 { |
| 492 | regulator-name = "vdd_g3ds"; |
| 493 | regulator-min-microvolt = <900000>; |
| 494 | regulator-max-microvolt = <1400000>; |
| 495 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 496 | regulator-state-mem { |
| 497 | regulator-off-in-suspend; |
| 498 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 499 | }; |
| 500 | |
| 501 | ldo18_reg: LDO18 { |
| 502 | regulator-name = "ldo_18"; |
| 503 | regulator-min-microvolt = <1800000>; |
| 504 | regulator-max-microvolt = <1800000>; |
| 505 | }; |
| 506 | |
| 507 | ldo19_reg: LDO19 { |
| 508 | regulator-name = "ldo_19"; |
| 509 | regulator-min-microvolt = <1800000>; |
| 510 | regulator-max-microvolt = <1800000>; |
| 511 | }; |
| 512 | |
| 513 | ldo20_reg: LDO20 { |
| 514 | regulator-name = "ldo_20"; |
| 515 | regulator-min-microvolt = <1800000>; |
| 516 | regulator-max-microvolt = <1800000>; |
| 517 | regulator-always-on; |
| 518 | }; |
| 519 | |
| 520 | ldo21_reg: LDO21 { |
| 521 | regulator-name = "ldo_21"; |
| 522 | regulator-min-microvolt = <2800000>; |
| 523 | regulator-max-microvolt = <2800000>; |
| 524 | }; |
| 525 | |
| 526 | ldo23_reg: LDO23 { |
| 527 | regulator-name = "ldo_23"; |
| 528 | regulator-min-microvolt = <3300000>; |
| 529 | regulator-max-microvolt = <3300000>; |
| 530 | }; |
| 531 | ldo24_reg: LDO24 { |
| 532 | regulator-name = "ldo_24"; |
| 533 | regulator-min-microvolt = <2800000>; |
| 534 | regulator-max-microvolt = <2800000>; |
| 535 | }; |
| 536 | |
| 537 | ldo25_reg: LDO25 { |
| 538 | regulator-name = "ldo_25"; |
| 539 | regulator-min-microvolt = <3300000>; |
| 540 | regulator-max-microvolt = <3300000>; |
| 541 | }; |
| 542 | |
| 543 | ldo26_reg: LDO26 { |
| 544 | regulator-name = "ldo_26"; |
| 545 | regulator-min-microvolt = <1200000>; |
| 546 | regulator-max-microvolt = <1200000>; |
| 547 | }; |
| 548 | |
| 549 | ldo27_reg: LDO27 { |
| 550 | regulator-name = "ldo_27"; |
| 551 | regulator-min-microvolt = <1200000>; |
| 552 | regulator-max-microvolt = <1200000>; |
| 553 | }; |
| 554 | |
| 555 | ldo28_reg: LDO28 { |
| 556 | regulator-name = "ldo_28"; |
| 557 | regulator-min-microvolt = <1800000>; |
| 558 | regulator-max-microvolt = <1800000>; |
| 559 | }; |
| 560 | |
| 561 | ldo29_reg: LDO29 { |
| 562 | regulator-name = "ldo_29"; |
| 563 | regulator-min-microvolt = <1800000>; |
| 564 | regulator-max-microvolt = <1800000>; |
| 565 | }; |
| 566 | |
| 567 | ldo30_reg: LDO30 { |
| 568 | regulator-name = "vdd_mifs"; |
| 569 | regulator-min-microvolt = <1000000>; |
| 570 | regulator-max-microvolt = <1000000>; |
| 571 | regulator-always-on; |
Javier Martinez Canillas | 23c76dc | 2015-01-15 00:30:49 +0900 | [diff] [blame] | 572 | regulator-state-mem { |
| 573 | regulator-off-in-suspend; |
| 574 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 575 | }; |
| 576 | |
| 577 | ldo32_reg: LDO32 { |
| 578 | regulator-name = "ldo_32"; |
| 579 | regulator-min-microvolt = <3000000>; |
| 580 | regulator-max-microvolt = <3000000>; |
| 581 | }; |
| 582 | |
| 583 | ldo33_reg: LDO33 { |
| 584 | regulator-name = "ldo_33"; |
| 585 | regulator-min-microvolt = <2800000>; |
| 586 | regulator-max-microvolt = <2800000>; |
| 587 | }; |
| 588 | |
| 589 | ldo34_reg: LDO34 { |
| 590 | regulator-name = "ldo_34"; |
| 591 | regulator-min-microvolt = <3000000>; |
| 592 | regulator-max-microvolt = <3000000>; |
| 593 | }; |
| 594 | |
| 595 | ldo35_reg: LDO35 { |
| 596 | regulator-name = "ldo_35"; |
| 597 | regulator-min-microvolt = <1200000>; |
| 598 | regulator-max-microvolt = <1200000>; |
| 599 | }; |
| 600 | }; |
| 601 | }; |
| 602 | }; |
| 603 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 604 | &hsi2c_7 { |
| 605 | status = "okay"; |
Javier Martinez Canillas | 8be6a6d | 2014-09-14 00:47:22 +0900 | [diff] [blame] | 606 | clock-frequency = <400000>; |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 607 | |
| 608 | max98090: codec@10 { |
| 609 | compatible = "maxim,max98090"; |
| 610 | reg = <0x10>; |
| 611 | interrupts = <2 0>; |
| 612 | interrupt-parent = <&gpx0>; |
| 613 | pinctrl-names = "default"; |
| 614 | pinctrl-0 = <&max98090_irq>; |
Tushar Behera | 2fad972 | 2015-02-27 06:08:52 +0900 | [diff] [blame] | 615 | clocks = <&pmu_system_controller 0>; |
| 616 | clock-names = "mclk"; |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 617 | }; |
Javier Martinez Canillas | dc0cf1a | 2014-09-14 00:47:17 +0900 | [diff] [blame] | 618 | |
| 619 | light-sensor@44 { |
| 620 | compatible = "isil,isl29018"; |
| 621 | reg = <0x44>; |
| 622 | vcc-supply = <&tps65090_fet5>; |
| 623 | }; |
Ajay Kumar | 3b8fe98 | 2014-09-14 02:20:18 +0900 | [diff] [blame] | 624 | |
| 625 | ps8625: lvds-bridge@48 { |
| 626 | compatible = "parade,ps8625"; |
| 627 | reg = <0x48>; |
| 628 | sleep-gpios = <&gpx3 5 GPIO_ACTIVE_HIGH>; |
| 629 | reset-gpios = <&gpy7 7 GPIO_ACTIVE_HIGH>; |
| 630 | lane-count = <2>; |
Ajay Kumar | 3b8fe98 | 2014-09-14 02:20:18 +0900 | [diff] [blame] | 631 | use-external-pwm; |
Ajay Kumar | e07eb1e | 2015-02-05 00:29:56 +0900 | [diff] [blame] | 632 | |
| 633 | ports { |
Javier Martinez Canillas | a7d7865 | 2016-06-06 16:24:44 -0400 | [diff] [blame] | 634 | #address-cells = <1>; |
| 635 | #size-cells = <0>; |
| 636 | |
| 637 | port@0 { |
| 638 | reg = <0>; |
| 639 | |
Ajay Kumar | e07eb1e | 2015-02-05 00:29:56 +0900 | [diff] [blame] | 640 | bridge_out: endpoint { |
| 641 | remote-endpoint = <&panel_in>; |
| 642 | }; |
| 643 | }; |
| 644 | |
Javier Martinez Canillas | a7d7865 | 2016-06-06 16:24:44 -0400 | [diff] [blame] | 645 | port@1 { |
| 646 | reg = <1>; |
| 647 | |
Ajay Kumar | e07eb1e | 2015-02-05 00:29:56 +0900 | [diff] [blame] | 648 | bridge_in: endpoint { |
| 649 | remote-endpoint = <&dp_out>; |
| 650 | }; |
| 651 | }; |
| 652 | }; |
| 653 | |
Ajay Kumar | 3b8fe98 | 2014-09-14 02:20:18 +0900 | [diff] [blame] | 654 | }; |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 655 | }; |
| 656 | |
Sjoerd Simons | 6a9e731 | 2014-09-14 01:33:15 +0900 | [diff] [blame] | 657 | &hsi2c_8 { |
| 658 | status = "okay"; |
| 659 | clock-frequency = <333000>; |
| 660 | |
| 661 | /* Atmel mXT336S */ |
| 662 | trackpad@4b { |
| 663 | compatible = "atmel,maxtouch"; |
| 664 | reg = <0x4b>; |
| 665 | interrupt-parent = <&gpx1>; |
| 666 | interrupts = <1 IRQ_TYPE_EDGE_FALLING>; |
| 667 | wakeup-source; |
| 668 | pinctrl-names = "default"; |
| 669 | pinctrl-0 = <&trackpad_irq>; |
| 670 | linux,gpio-keymap = <KEY_RESERVED |
| 671 | KEY_RESERVED |
| 672 | KEY_RESERVED /* GPIO0 */ |
| 673 | KEY_RESERVED /* GPIO1 */ |
| 674 | KEY_RESERVED /* GPIO2 */ |
| 675 | BTN_LEFT>; /* GPIO3 */ |
| 676 | }; |
| 677 | }; |
| 678 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 679 | &hsi2c_9 { |
| 680 | status = "okay"; |
| 681 | clock-frequency = <400000>; |
| 682 | |
| 683 | tpm@20 { |
| 684 | compatible = "infineon,slb9645tt"; |
| 685 | reg = <0x20>; |
| 686 | |
| 687 | /* Unused irq; but still need to configure the pins */ |
| 688 | pinctrl-names = "default"; |
| 689 | pinctrl-0 = <&tpm_irq>; |
| 690 | }; |
| 691 | }; |
| 692 | |
| 693 | &i2c_2 { |
| 694 | status = "okay"; |
| 695 | samsung,i2c-sda-delay = <100>; |
| 696 | samsung,i2c-max-bus-freq = <66000>; |
| 697 | samsung,i2c-slave-addr = <0x50>; |
| 698 | }; |
| 699 | |
| 700 | &i2s0 { |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 701 | status = "okay"; |
| 702 | }; |
| 703 | |
Javier Martinez Canillas | 7c44e91 | 2016-04-28 15:21:50 -0400 | [diff] [blame] | 704 | &mfc { |
| 705 | samsung,mfc-r = <0x43000000 0x800000>; |
| 706 | samsung,mfc-l = <0x51000000 0x800000>; |
| 707 | }; |
| 708 | |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 709 | &mmc_0 { |
| 710 | status = "okay"; |
| 711 | num-slots = <1>; |
Naveen Krishna Chatradhi | 6535430 | 2014-09-24 00:39:20 +0900 | [diff] [blame] | 712 | mmc-hs200-1_8v; |
Jaehoon Chung | aaa25a5 | 2014-08-18 11:55:32 -0500 | [diff] [blame] | 713 | cap-mmc-highspeed; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 714 | non-removable; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 715 | clock-frequency = <400000000>; |
| 716 | samsung,dw-mshc-ciu-div = <3>; |
| 717 | samsung,dw-mshc-sdr-timing = <0 4>; |
| 718 | samsung,dw-mshc-ddr-timing = <0 2>; |
Seungwon Jeon | 4f59ebe | 2015-03-27 01:52:02 +0900 | [diff] [blame] | 719 | samsung,dw-mshc-hs400-timing = <0 2>; |
| 720 | samsung,read-strobe-delay = <90>; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 721 | pinctrl-names = "default"; |
Seungwon Jeon | 4f59ebe | 2015-03-27 01:52:02 +0900 | [diff] [blame] | 722 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_rclk>; |
Jaehoon Chung | aaa25a5 | 2014-08-18 11:55:32 -0500 | [diff] [blame] | 723 | bus-width = <8>; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 724 | }; |
| 725 | |
Javier Martinez Canillas | 3cb1818 | 2015-02-27 06:08:51 +0900 | [diff] [blame] | 726 | &mmc_1 { |
| 727 | status = "okay"; |
| 728 | num-slots = <1>; |
Javier Martinez Canillas | 29a2289 | 2015-10-15 18:51:09 +0200 | [diff] [blame] | 729 | non-removable; |
Javier Martinez Canillas | 3cb1818 | 2015-02-27 06:08:51 +0900 | [diff] [blame] | 730 | cap-sdio-irq; |
Javier Martinez Canillas | b270687 | 2015-04-07 15:03:34 +0200 | [diff] [blame] | 731 | keep-power-in-suspend; |
Javier Martinez Canillas | 3cb1818 | 2015-02-27 06:08:51 +0900 | [diff] [blame] | 732 | clock-frequency = <400000000>; |
| 733 | samsung,dw-mshc-ciu-div = <1>; |
| 734 | samsung,dw-mshc-sdr-timing = <0 1>; |
| 735 | samsung,dw-mshc-ddr-timing = <0 2>; |
| 736 | pinctrl-names = "default"; |
| 737 | pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_int>, <&sd1_bus1>, |
| 738 | <&sd1_bus4>, <&sd1_bus8>, <&wifi_en>; |
| 739 | bus-width = <4>; |
| 740 | cap-sd-highspeed; |
| 741 | mmc-pwrseq = <&mmc1_pwrseq>; |
| 742 | vqmmc-supply = <&buck10_reg>; |
| 743 | }; |
| 744 | |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 745 | &mmc_2 { |
| 746 | status = "okay"; |
| 747 | num-slots = <1>; |
Jaehoon Chung | aaa25a5 | 2014-08-18 11:55:32 -0500 | [diff] [blame] | 748 | cap-sd-highspeed; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 749 | card-detect-delay = <200>; |
| 750 | clock-frequency = <400000000>; |
| 751 | samsung,dw-mshc-ciu-div = <3>; |
| 752 | samsung,dw-mshc-sdr-timing = <2 3>; |
| 753 | samsung,dw-mshc-ddr-timing = <1 2>; |
| 754 | pinctrl-names = "default"; |
Javier Martinez Canillas | af6ad88 | 2015-02-27 06:08:51 +0900 | [diff] [blame] | 755 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>; |
Jaehoon Chung | aaa25a5 | 2014-08-18 11:55:32 -0500 | [diff] [blame] | 756 | bus-width = <4>; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 757 | }; |
| 758 | |
Tushar Behera | ead3993 | 2014-05-17 07:44:10 +0900 | [diff] [blame] | 759 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 760 | &pinctrl_0 { |
Doug Anderson | ac5ce09 | 2014-07-16 02:38:39 +0900 | [diff] [blame] | 761 | pinctrl-names = "default"; |
| 762 | pinctrl-0 = <&mask_tpm_reset>; |
| 763 | |
Javier Martinez Canillas | 3cb1818 | 2015-02-27 06:08:51 +0900 | [diff] [blame] | 764 | wifi_en: wifi-en { |
| 765 | samsung,pins = "gpx0-0"; |
| 766 | samsung,pin-function = <1>; |
| 767 | samsung,pin-pud = <0>; |
| 768 | samsung,pin-drv = <0>; |
| 769 | }; |
| 770 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 771 | max98090_irq: max98090-irq { |
| 772 | samsung,pins = "gpx0-2"; |
| 773 | samsung,pin-function = <0>; |
| 774 | samsung,pin-pud = <0>; |
| 775 | samsung,pin-drv = <0>; |
| 776 | }; |
| 777 | |
Doug Anderson | ac5ce09 | 2014-07-16 02:38:39 +0900 | [diff] [blame] | 778 | /* We need GPX0_6 to be low at sleep time; just keep it low always */ |
| 779 | mask_tpm_reset: mask-tpm-reset { |
| 780 | samsung,pins = "gpx0-6"; |
| 781 | samsung,pin-function = <1>; |
| 782 | samsung,pin-pud = <0>; |
| 783 | samsung,pin-drv = <0>; |
| 784 | samsung,pin-val = <0>; |
| 785 | }; |
| 786 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 787 | tpm_irq: tpm-irq { |
| 788 | samsung,pins = "gpx1-0"; |
| 789 | samsung,pin-function = <0>; |
| 790 | samsung,pin-pud = <0>; |
| 791 | samsung,pin-drv = <0>; |
| 792 | }; |
| 793 | |
Sjoerd Simons | 6a9e731 | 2014-09-14 01:33:15 +0900 | [diff] [blame] | 794 | trackpad_irq: trackpad-irq { |
| 795 | samsung,pins = "gpx1-1"; |
| 796 | samsung,pin-function = <0xf>; |
| 797 | samsung,pin-pud = <0>; |
| 798 | samsung,pin-drv = <0>; |
| 799 | }; |
| 800 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 801 | power_key_irq: power-key-irq { |
| 802 | samsung,pins = "gpx1-2"; |
| 803 | samsung,pin-function = <0>; |
| 804 | samsung,pin-pud = <0>; |
| 805 | samsung,pin-drv = <0>; |
| 806 | }; |
| 807 | |
Doug Anderson | 8060098 | 2014-07-19 04:09:15 +0900 | [diff] [blame] | 808 | ec_irq: ec-irq { |
| 809 | samsung,pins = "gpx1-5"; |
| 810 | samsung,pin-function = <0>; |
| 811 | samsung,pin-pud = <0>; |
| 812 | samsung,pin-drv = <0>; |
| 813 | }; |
| 814 | |
| 815 | tps65090_irq: tps65090-irq { |
| 816 | samsung,pins = "gpx2-5"; |
| 817 | samsung,pin-function = <0>; |
| 818 | samsung,pin-pud = <0>; |
| 819 | samsung,pin-drv = <0>; |
| 820 | }; |
| 821 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 822 | dp_hpd_gpio: dp_hpd_gpio { |
| 823 | samsung,pins = "gpx2-6"; |
| 824 | samsung,pin-function = <0>; |
| 825 | samsung,pin-pud = <3>; |
| 826 | samsung,pin-drv = <0>; |
| 827 | }; |
| 828 | |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 829 | max77802_irq: max77802-irq { |
| 830 | samsung,pins = "gpx3-1"; |
| 831 | samsung,pin-function = <0>; |
| 832 | samsung,pin-pud = <0>; |
| 833 | samsung,pin-drv = <0>; |
| 834 | }; |
| 835 | |
Javier Martinez Canillas | 1f3cde4 | 2015-01-15 00:30:40 +0900 | [diff] [blame] | 836 | lid_irq: lid-irq { |
| 837 | samsung,pins = "gpx3-4"; |
| 838 | samsung,pin-function = <0xf>; |
| 839 | samsung,pin-pud = <0>; |
| 840 | samsung,pin-drv = <0>; |
| 841 | }; |
| 842 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 843 | hdmi_hpd_irq: hdmi-hpd-irq { |
| 844 | samsung,pins = "gpx3-7"; |
| 845 | samsung,pin-function = <0>; |
| 846 | samsung,pin-pud = <1>; |
| 847 | samsung,pin-drv = <0>; |
Tushar Behera | ead3993 | 2014-05-17 07:44:10 +0900 | [diff] [blame] | 848 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 849 | |
| 850 | pmic_dvs_1: pmic-dvs-1 { |
| 851 | samsung,pins = "gpy7-6"; |
| 852 | samsung,pin-function = <1>; |
| 853 | samsung,pin-pud = <0>; |
| 854 | samsung,pin-drv = <0>; |
| 855 | }; |
| 856 | }; |
| 857 | |
Javier Martinez Canillas | 3cb1818 | 2015-02-27 06:08:51 +0900 | [diff] [blame] | 858 | &pinctrl_1 { |
| 859 | /* Adjust WiFi drive strengths lower for EMI */ |
| 860 | sd1_clk: sd1-clk { |
| 861 | samsung,pin-drv = <2>; |
| 862 | }; |
| 863 | |
| 864 | sd1_cmd: sd1-cmd { |
| 865 | samsung,pin-drv = <2>; |
| 866 | }; |
| 867 | |
| 868 | sd1_bus1: sd1-bus-width1 { |
| 869 | samsung,pin-drv = <2>; |
| 870 | }; |
| 871 | |
| 872 | sd1_bus4: sd1-bus-width4 { |
| 873 | samsung,pin-drv = <2>; |
| 874 | }; |
| 875 | |
| 876 | sd1_bus8: sd1-bus-width8 { |
| 877 | samsung,pin-drv = <2>; |
| 878 | }; |
| 879 | }; |
| 880 | |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 881 | &pinctrl_2 { |
| 882 | pmic_dvs_2: pmic-dvs-2 { |
| 883 | samsung,pins = "gpj4-2"; |
| 884 | samsung,pin-function = <1>; |
| 885 | samsung,pin-pud = <0>; |
| 886 | samsung,pin-drv = <0>; |
| 887 | }; |
| 888 | |
| 889 | pmic_dvs_3: pmic-dvs-3 { |
| 890 | samsung,pins = "gpj4-3"; |
| 891 | samsung,pin-function = <1>; |
| 892 | samsung,pin-pud = <0>; |
| 893 | samsung,pin-drv = <0>; |
| 894 | }; |
Tushar Behera | ead3993 | 2014-05-17 07:44:10 +0900 | [diff] [blame] | 895 | }; |
| 896 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 897 | &pinctrl_3 { |
Doug Anderson | 8060098 | 2014-07-19 04:09:15 +0900 | [diff] [blame] | 898 | /* Drive SPI lines at x2 for better integrity */ |
| 899 | spi2-bus { |
| 900 | samsung,pin-drv = <2>; |
| 901 | }; |
| 902 | |
| 903 | /* Drive SPI chip select at x2 for better integrity */ |
| 904 | ec_spi_cs: ec-spi-cs { |
| 905 | samsung,pins = "gpb1-2"; |
| 906 | samsung,pin-function = <1>; |
| 907 | samsung,pin-pud = <0>; |
| 908 | samsung,pin-drv = <2>; |
| 909 | }; |
| 910 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 911 | usb300_vbus_en: usb300-vbus-en { |
| 912 | samsung,pins = "gph0-0"; |
| 913 | samsung,pin-function = <1>; |
| 914 | samsung,pin-pud = <0>; |
| 915 | samsung,pin-drv = <0>; |
| 916 | }; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 917 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 918 | usb301_vbus_en: usb301-vbus-en { |
| 919 | samsung,pins = "gph0-1"; |
| 920 | samsung,pin-function = <1>; |
| 921 | samsung,pin-pud = <0>; |
| 922 | samsung,pin-drv = <0>; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 923 | }; |
Javier Martinez Canillas | 064ac05 | 2014-09-14 00:45:15 +0900 | [diff] [blame] | 924 | |
| 925 | pmic_selb: pmic-selb { |
| 926 | samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5", |
| 927 | "gph0-6"; |
| 928 | samsung,pin-function = <1>; |
| 929 | samsung,pin-pud = <0>; |
| 930 | samsung,pin-drv = <0>; |
| 931 | }; |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 932 | }; |
| 933 | |
Alim Akhtar | b8bb9ba | 2015-10-13 04:32:53 +0900 | [diff] [blame] | 934 | &pmu_system_controller { |
| 935 | assigned-clocks = <&pmu_system_controller 0>; |
| 936 | assigned-clock-parents = <&clock CLK_FIN_PLL>; |
| 937 | }; |
| 938 | |
Tushar Behera | 522c8ff | 2014-06-21 21:50:17 +0900 | [diff] [blame] | 939 | &rtc { |
Rahul Sharma | 6ac189f | 2014-05-16 05:23:21 +0900 | [diff] [blame] | 940 | status = "okay"; |
Javier Martinez Canillas | fa781dd | 2014-09-24 00:16:45 +0900 | [diff] [blame] | 941 | clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>; |
| 942 | clock-names = "rtc", "rtc_src"; |
Rahul Sharma | 6ac189f | 2014-05-16 05:23:21 +0900 | [diff] [blame] | 943 | }; |
| 944 | |
Doug Anderson | 8060098 | 2014-07-19 04:09:15 +0900 | [diff] [blame] | 945 | &spi_2 { |
| 946 | status = "okay"; |
| 947 | num-cs = <1>; |
| 948 | samsung,spi-src-clk = <0>; |
Javier Martinez Canillas | 31b9903 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 949 | cs-gpios = <&gpb1 2 GPIO_ACTIVE_HIGH>; |
Doug Anderson | 8060098 | 2014-07-19 04:09:15 +0900 | [diff] [blame] | 950 | |
| 951 | cros_ec: cros-ec@0 { |
| 952 | compatible = "google,cros-ec-spi"; |
| 953 | interrupt-parent = <&gpx1>; |
| 954 | interrupts = <5 0>; |
| 955 | pinctrl-names = "default"; |
| 956 | pinctrl-0 = <&ec_spi_cs &ec_irq>; |
| 957 | reg = <0>; |
| 958 | spi-max-frequency = <3125000>; |
Emilio Lopez | 27e6699 | 2015-10-08 07:35:21 +0900 | [diff] [blame] | 959 | google,has-vbc-nvram; |
Doug Anderson | 8060098 | 2014-07-19 04:09:15 +0900 | [diff] [blame] | 960 | |
| 961 | controller-data { |
| 962 | samsung,spi-feedback-delay = <1>; |
| 963 | }; |
| 964 | |
| 965 | i2c-tunnel { |
| 966 | compatible = "google,cros-ec-i2c-tunnel"; |
| 967 | #address-cells = <1>; |
| 968 | #size-cells = <0>; |
| 969 | google,remote-bus = <0>; |
| 970 | |
| 971 | battery: sbs-battery@b { |
| 972 | compatible = "sbs,sbs-battery"; |
| 973 | reg = <0xb>; |
| 974 | sbs,poll-retry-count = <1>; |
| 975 | sbs,i2c-retry-count = <2>; |
| 976 | }; |
| 977 | |
| 978 | power-regulator@48 { |
| 979 | compatible = "ti,tps65090"; |
| 980 | reg = <0x48>; |
| 981 | |
| 982 | /* |
| 983 | * Config irq to disable internal pulls |
| 984 | * even though we run in polling mode. |
| 985 | */ |
| 986 | pinctrl-names = "default"; |
| 987 | pinctrl-0 = <&tps65090_irq>; |
| 988 | |
| 989 | vsys1-supply = <&vbat>; |
| 990 | vsys2-supply = <&vbat>; |
| 991 | vsys3-supply = <&vbat>; |
| 992 | infet1-supply = <&vbat>; |
Javier Martinez Canillas | a130548 | 2014-08-18 13:26:51 -0500 | [diff] [blame] | 993 | infet2-supply = <&tps65090_dcdc1>; |
| 994 | infet3-supply = <&tps65090_dcdc2>; |
| 995 | infet4-supply = <&tps65090_dcdc2>; |
| 996 | infet5-supply = <&tps65090_dcdc2>; |
| 997 | infet6-supply = <&tps65090_dcdc2>; |
| 998 | infet7-supply = <&tps65090_dcdc1>; |
Doug Anderson | 8060098 | 2014-07-19 04:09:15 +0900 | [diff] [blame] | 999 | vsys-l1-supply = <&vbat>; |
| 1000 | vsys-l2-supply = <&vbat>; |
| 1001 | |
| 1002 | regulators { |
| 1003 | tps65090_dcdc1: dcdc1 { |
| 1004 | ti,enable-ext-control; |
| 1005 | }; |
| 1006 | tps65090_dcdc2: dcdc2 { |
| 1007 | ti,enable-ext-control; |
| 1008 | }; |
| 1009 | tps65090_dcdc3: dcdc3 { |
| 1010 | ti,enable-ext-control; |
| 1011 | }; |
| 1012 | tps65090_fet1: fet1 { |
| 1013 | regulator-name = "vcd_led"; |
| 1014 | }; |
| 1015 | tps65090_fet2: fet2 { |
| 1016 | regulator-name = "video_mid"; |
| 1017 | regulator-always-on; |
| 1018 | }; |
| 1019 | tps65090_fet3: fet3 { |
| 1020 | regulator-name = "wwan_r"; |
| 1021 | regulator-always-on; |
| 1022 | }; |
| 1023 | tps65090_fet4: fet4 { |
| 1024 | regulator-name = "sdcard"; |
| 1025 | regulator-always-on; |
| 1026 | }; |
| 1027 | tps65090_fet5: fet5 { |
| 1028 | regulator-name = "camout"; |
Javier Martinez Canillas | ae84547 | 2015-01-15 00:30:44 +0900 | [diff] [blame] | 1029 | regulator-always-on; |
Doug Anderson | 8060098 | 2014-07-19 04:09:15 +0900 | [diff] [blame] | 1030 | }; |
| 1031 | tps65090_fet6: fet6 { |
| 1032 | regulator-name = "lcd_vdd"; |
| 1033 | }; |
| 1034 | tps65090_fet7: fet7 { |
| 1035 | regulator-name = "video_mid_1a"; |
| 1036 | regulator-always-on; |
| 1037 | }; |
| 1038 | tps65090_ldo1: ldo1 { |
| 1039 | }; |
| 1040 | tps65090_ldo2: ldo2 { |
| 1041 | }; |
| 1042 | }; |
| 1043 | |
| 1044 | charger { |
| 1045 | compatible = "ti,tps65090-charger"; |
| 1046 | }; |
| 1047 | }; |
| 1048 | }; |
| 1049 | }; |
| 1050 | }; |
| 1051 | |
Krzysztof Kozlowski | 3a3cf6c | 2015-04-12 20:57:36 +0900 | [diff] [blame] | 1052 | &serial_3 { |
Rahul Sharma | 6ac189f | 2014-05-16 05:23:21 +0900 | [diff] [blame] | 1053 | status = "okay"; |
Rahul Sharma | 6ac189f | 2014-05-16 05:23:21 +0900 | [diff] [blame] | 1054 | }; |
| 1055 | |
Sjoerd Simons | e1c69ef | 2014-09-25 17:32:14 +0900 | [diff] [blame] | 1056 | &usbdrd_dwc3_0 { |
| 1057 | dr_mode = "host"; |
| 1058 | }; |
| 1059 | |
| 1060 | &usbdrd_dwc3_1 { |
| 1061 | dr_mode = "host"; |
| 1062 | }; |
| 1063 | |
Arun Kumar K | 0ce9f47 | 2014-05-31 02:11:39 +0900 | [diff] [blame] | 1064 | &usbdrd_phy0 { |
Vivek Gautam | 14a35ad | 2014-05-19 22:29:42 +0900 | [diff] [blame] | 1065 | vbus-supply = <&usb300_vbus_reg>; |
| 1066 | }; |
| 1067 | |
Arun Kumar K | 0ce9f47 | 2014-05-31 02:11:39 +0900 | [diff] [blame] | 1068 | &usbdrd_phy1 { |
Vivek Gautam | 14a35ad | 2014-05-19 22:29:42 +0900 | [diff] [blame] | 1069 | vbus-supply = <&usb301_vbus_reg>; |
| 1070 | }; |
| 1071 | |
Arun Kumar K | 3528dd3 | 2014-05-09 06:06:25 +0900 | [diff] [blame] | 1072 | /* |
| 1073 | * Use longest HW watchdog in SoC (32 seconds) since the hardware |
| 1074 | * watchdog provides no debugging information (compared to soft/hard |
| 1075 | * lockup detectors) and so should be last resort. |
| 1076 | */ |
| 1077 | &watchdog { |
| 1078 | timeout-sec = <32>; |
| 1079 | }; |
Tushar Behera | ead3993 | 2014-05-17 07:44:10 +0900 | [diff] [blame] | 1080 | |
Doug Anderson | 8060098 | 2014-07-19 04:09:15 +0900 | [diff] [blame] | 1081 | #include "cros-ec-keyboard.dtsi" |
Naveen Krishna Chatradhi | 7b48803 | 2014-09-14 00:46:56 +0900 | [diff] [blame] | 1082 | #include "cros-adc-thermistors.dtsi" |