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