Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Samsung's Exynos4412 based Trats 2 board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * |
| 7 | * Device tree source file for Samsung's Trats 2 board which is based on |
| 8 | * Samsung's Exynos4412 SoC. |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License version 2 as |
| 12 | * published by the Free Software Foundation. |
| 13 | */ |
| 14 | |
| 15 | /dts-v1/; |
| 16 | #include "exynos4412.dtsi" |
Chanwoo Choi | 4a80467 | 2016-04-11 12:57:55 +0900 | [diff] [blame] | 17 | #include "exynos4412-ppmu-common.dtsi" |
Krzysztof Kozlowski | 7eec126 | 2014-09-24 01:22:49 +0900 | [diff] [blame] | 18 | #include <dt-bindings/gpio/gpio.h> |
Krzysztof Kozlowski | e861429 | 2015-02-04 07:43:44 +0900 | [diff] [blame] | 19 | #include <dt-bindings/interrupt-controller/irq.h> |
Krzysztof Kozlowski | ce9940a | 2015-05-02 14:40:08 +0900 | [diff] [blame] | 20 | #include <dt-bindings/clock/maxim,max77686.h> |
Maciej Purski | 5fb9ae8 | 2017-10-09 09:39:38 +0200 | [diff] [blame] | 21 | #include <dt-bindings/pinctrl/samsung.h> |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 22 | |
| 23 | / { |
| 24 | model = "Samsung Trats 2 based on Exynos4412"; |
Sachin Kamat | 8bdb31b | 2014-03-21 02:17:22 +0900 | [diff] [blame] | 25 | compatible = "samsung,trats2", "samsung,exynos4412", "samsung,exynos4"; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 26 | |
Jacek Anaszewski | 9f1eaef | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 27 | aliases { |
Tomasz Stanislawski | 6af2ba9 | 2014-05-09 05:58:59 +0900 | [diff] [blame] | 28 | i2c9 = &i2c_ak8975; |
Beomho Seo | 85cb4e0 | 2014-05-22 07:56:53 +0900 | [diff] [blame] | 29 | i2c10 = &i2c_cm36651; |
Krzysztof Kozlowski | 7eec126 | 2014-09-24 01:22:49 +0900 | [diff] [blame] | 30 | i2c11 = &i2c_max77693; |
Krzysztof Kozlowski | e861429 | 2015-02-04 07:43:44 +0900 | [diff] [blame] | 31 | i2c12 = &i2c_max77693_fuel; |
Jacek Anaszewski | 9f1eaef | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 32 | }; |
| 33 | |
Javier Martinez Canillas | 824e413 | 2016-09-01 11:06:55 +0200 | [diff] [blame] | 34 | memory@40000000 { |
Javier Martinez Canillas | 1354835 | 2016-09-01 11:06:52 +0200 | [diff] [blame] | 35 | device_type = "memory"; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 36 | reg = <0x40000000 0x40000000>; |
| 37 | }; |
| 38 | |
| 39 | chosen { |
| 40 | bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; |
Tomasz Figa | 62d3809 | 2015-01-23 14:47:42 +0100 | [diff] [blame] | 41 | stdout-path = &serial_2; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 42 | }; |
| 43 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 44 | firmware@204f000 { |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 45 | compatible = "samsung,secure-firmware"; |
| 46 | reg = <0x0204F000 0x1000>; |
| 47 | }; |
| 48 | |
| 49 | fixed-rate-clocks { |
| 50 | xxti { |
| 51 | compatible = "samsung,clock-xxti", "fixed-clock"; |
| 52 | clock-frequency = <0>; |
| 53 | }; |
| 54 | |
| 55 | xusbxti { |
| 56 | compatible = "samsung,clock-xusbxti", "fixed-clock"; |
| 57 | clock-frequency = <24000000>; |
| 58 | }; |
| 59 | }; |
| 60 | |
| 61 | regulators { |
| 62 | compatible = "simple-bus"; |
| 63 | #address-cells = <1>; |
| 64 | #size-cells = <0>; |
| 65 | |
Sylwester Nawrocki | b4fec64 | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 66 | cam_io_reg: voltage-regulator-1 { |
| 67 | compatible = "regulator-fixed"; |
| 68 | regulator-name = "CAM_SENSOR_A"; |
| 69 | regulator-min-microvolt = <2800000>; |
| 70 | regulator-max-microvolt = <2800000>; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 71 | gpio = <&gpm0 2 GPIO_ACTIVE_HIGH>; |
Sylwester Nawrocki | b4fec64 | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 72 | enable-active-high; |
| 73 | }; |
| 74 | |
Andrzej Hajda | 420ae84 | 2014-03-28 12:52:45 +0100 | [diff] [blame] | 75 | lcd_vdd3_reg: voltage-regulator-2 { |
| 76 | compatible = "regulator-fixed"; |
| 77 | regulator-name = "LCD_VDD_2.2V"; |
| 78 | regulator-min-microvolt = <2200000>; |
| 79 | regulator-max-microvolt = <2200000>; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 80 | gpio = <&gpc0 1 GPIO_ACTIVE_HIGH>; |
Andrzej Hajda | 420ae84 | 2014-03-28 12:52:45 +0100 | [diff] [blame] | 81 | enable-active-high; |
| 82 | }; |
| 83 | |
Sylwester Nawrocki | 4cb3786 | 2014-05-09 06:01:40 +0900 | [diff] [blame] | 84 | cam_af_reg: voltage-regulator-3 { |
| 85 | compatible = "regulator-fixed"; |
| 86 | regulator-name = "CAM_AF"; |
| 87 | regulator-min-microvolt = <2800000>; |
| 88 | regulator-max-microvolt = <2800000>; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 89 | gpio = <&gpm0 4 GPIO_ACTIVE_HIGH>; |
Sylwester Nawrocki | 4cb3786 | 2014-05-09 06:01:40 +0900 | [diff] [blame] | 90 | enable-active-high; |
| 91 | }; |
| 92 | |
Beomho Seo | 85cb4e0 | 2014-05-22 07:56:53 +0900 | [diff] [blame] | 93 | ps_als_reg: voltage-regulator-5 { |
| 94 | compatible = "regulator-fixed"; |
| 95 | regulator-name = "LED_A_3.0V"; |
| 96 | regulator-min-microvolt = <3000000>; |
| 97 | regulator-max-microvolt = <3000000>; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 98 | gpio = <&gpj0 5 GPIO_ACTIVE_HIGH>; |
Beomho Seo | 85cb4e0 | 2014-05-22 07:56:53 +0900 | [diff] [blame] | 99 | enable-active-high; |
| 100 | }; |
Maciej Purski | 5fb9ae8 | 2017-10-09 09:39:38 +0200 | [diff] [blame] | 101 | |
| 102 | vsil12: voltage-regulator-6 { |
| 103 | compatible = "regulator-fixed"; |
| 104 | regulator-name = "VSIL_1.2V"; |
| 105 | regulator-min-microvolt = <1200000>; |
| 106 | regulator-max-microvolt = <1200000>; |
| 107 | gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>; |
| 108 | enable-active-high; |
| 109 | vin-supply = <&buck7_reg>; |
| 110 | }; |
| 111 | |
| 112 | vcc33mhl: voltage-regulator-7 { |
| 113 | compatible = "regulator-fixed"; |
| 114 | regulator-name = "VCC_3.3_MHL"; |
| 115 | regulator-min-microvolt = <3300000>; |
| 116 | regulator-max-microvolt = <3300000>; |
| 117 | gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>; |
| 118 | enable-active-high; |
| 119 | }; |
| 120 | |
| 121 | vcc18mhl: voltage-regulator-8 { |
| 122 | compatible = "regulator-fixed"; |
| 123 | regulator-name = "VCC_1.8_MHL"; |
| 124 | regulator-min-microvolt = <1800000>; |
| 125 | regulator-max-microvolt = <1800000>; |
| 126 | gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>; |
| 127 | enable-active-high; |
| 128 | }; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 129 | }; |
| 130 | |
| 131 | gpio-keys { |
| 132 | compatible = "gpio-keys"; |
| 133 | |
| 134 | key-down { |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 135 | gpios = <&gpx3 3 GPIO_ACTIVE_LOW>; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 136 | linux,code = <114>; |
| 137 | label = "volume down"; |
| 138 | debounce-interval = <10>; |
| 139 | }; |
| 140 | |
| 141 | key-up { |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 142 | gpios = <&gpx2 2 GPIO_ACTIVE_LOW>; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 143 | linux,code = <115>; |
| 144 | label = "volume up"; |
| 145 | debounce-interval = <10>; |
| 146 | }; |
| 147 | |
| 148 | key-power { |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 149 | gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 150 | linux,code = <116>; |
| 151 | label = "power"; |
| 152 | debounce-interval = <10>; |
Sudeep Holla | 36a0282 | 2016-01-28 15:59:58 +0000 | [diff] [blame] | 153 | wakeup-source; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 154 | }; |
Beomho Seo | 172ff6c | 2014-05-22 07:57:39 +0900 | [diff] [blame] | 155 | |
| 156 | key-ok { |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 157 | gpios = <&gpx0 1 GPIO_ACTIVE_LOW>; |
Beomho Seo | 172ff6c | 2014-05-22 07:57:39 +0900 | [diff] [blame] | 158 | linux,code = <139>; |
| 159 | label = "ok"; |
| 160 | debounce-inteval = <10>; |
Sudeep Holla | 36a0282 | 2016-01-28 15:59:58 +0000 | [diff] [blame] | 161 | wakeup-source; |
Beomho Seo | 172ff6c | 2014-05-22 07:57:39 +0900 | [diff] [blame] | 162 | }; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 163 | }; |
| 164 | |
Krzysztof Kozlowski | 7eec126 | 2014-09-24 01:22:49 +0900 | [diff] [blame] | 165 | i2c_max77693: i2c-gpio-1 { |
| 166 | compatible = "i2c-gpio"; |
| 167 | gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>; |
| 168 | i2c-gpio,delay-us = <2>; |
| 169 | #address-cells = <1>; |
| 170 | #size-cells = <0>; |
| 171 | status = "okay"; |
| 172 | |
| 173 | max77693@66 { |
| 174 | compatible = "maxim,max77693"; |
| 175 | interrupt-parent = <&gpx1>; |
Krzysztof Kozlowski | 6ff0b90 | 2017-06-02 20:13:45 +0200 | [diff] [blame] | 176 | interrupts = <5 IRQ_TYPE_EDGE_FALLING>; |
Krzysztof Kozlowski | 7eec126 | 2014-09-24 01:22:49 +0900 | [diff] [blame] | 177 | reg = <0x66>; |
| 178 | |
| 179 | regulators { |
Krzysztof Kozlowski | 26ee29a | 2016-04-06 11:00:43 +0900 | [diff] [blame] | 180 | esafeout1_reg: ESAFEOUT1 { |
Krzysztof Kozlowski | 7eec126 | 2014-09-24 01:22:49 +0900 | [diff] [blame] | 181 | regulator-name = "ESAFEOUT1"; |
| 182 | }; |
Krzysztof Kozlowski | 26ee29a | 2016-04-06 11:00:43 +0900 | [diff] [blame] | 183 | esafeout2_reg: ESAFEOUT2 { |
Krzysztof Kozlowski | 7eec126 | 2014-09-24 01:22:49 +0900 | [diff] [blame] | 184 | regulator-name = "ESAFEOUT2"; |
| 185 | }; |
Krzysztof Kozlowski | 26ee29a | 2016-04-06 11:00:43 +0900 | [diff] [blame] | 186 | charger_reg: CHARGER { |
Krzysztof Kozlowski | 7eec126 | 2014-09-24 01:22:49 +0900 | [diff] [blame] | 187 | regulator-name = "CHARGER"; |
| 188 | regulator-min-microamp = <60000>; |
| 189 | regulator-max-microamp = <2580000>; |
| 190 | }; |
| 191 | }; |
Jaewon Kim | d9c6808 | 2014-11-22 23:19:22 +0900 | [diff] [blame] | 192 | |
| 193 | max77693_haptic { |
| 194 | compatible = "maxim,max77693-haptic"; |
| 195 | haptic-supply = <&ldo26_reg>; |
| 196 | pwms = <&pwm 0 38022 0>; |
| 197 | }; |
Krzysztof Kozlowski | 043ef14 | 2015-02-04 07:47:39 +0900 | [diff] [blame] | 198 | |
| 199 | charger { |
| 200 | compatible = "maxim,max77693-charger"; |
| 201 | |
| 202 | maxim,constant-microvolt = <4350000>; |
| 203 | maxim,min-system-microvolt = <3600000>; |
| 204 | maxim,thermal-regulation-celsius = <100>; |
| 205 | maxim,battery-overcurrent-microamp = <3500000>; |
| 206 | maxim,charge-input-threshold-microvolt = <4300000>; |
| 207 | }; |
Krzysztof Kozlowski | 7eec126 | 2014-09-24 01:22:49 +0900 | [diff] [blame] | 208 | }; |
| 209 | }; |
| 210 | |
Krzysztof Kozlowski | e861429 | 2015-02-04 07:43:44 +0900 | [diff] [blame] | 211 | i2c_max77693_fuel: i2c-gpio-3 { |
| 212 | compatible = "i2c-gpio"; |
| 213 | gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>; |
| 214 | i2c-gpio,delay-us = <2>; |
| 215 | #address-cells = <1>; |
| 216 | #size-cells = <0>; |
| 217 | status = "okay"; |
| 218 | |
| 219 | max77693-fuel-gauge@36 { |
| 220 | compatible = "maxim,max17047"; |
| 221 | interrupt-parent = <&gpx2>; |
| 222 | interrupts = <3 IRQ_TYPE_EDGE_FALLING>; |
| 223 | reg = <0x36>; |
Krzysztof Kozlowski | 82449f2 | 2015-06-07 13:21:00 +0900 | [diff] [blame] | 224 | |
| 225 | maxim,over-heat-temp = <700>; |
| 226 | maxim,over-volt = <4500>; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 227 | }; |
| 228 | }; |
| 229 | |
Jacek Anaszewski | 9f1eaef | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 230 | i2c_ak8975: i2c-gpio-0 { |
| 231 | compatible = "i2c-gpio"; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 232 | gpios = <&gpy2 4 GPIO_ACTIVE_HIGH>, <&gpy2 5 GPIO_ACTIVE_HIGH>; |
Jacek Anaszewski | 9f1eaef | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 233 | i2c-gpio,delay-us = <2>; |
| 234 | #address-cells = <1>; |
| 235 | #size-cells = <0>; |
| 236 | status = "okay"; |
| 237 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 238 | ak8975@c { |
Beomho Seo | 30cc798 | 2014-05-20 01:12:50 +0900 | [diff] [blame] | 239 | compatible = "asahi-kasei,ak8975"; |
Jacek Anaszewski | 9f1eaef | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 240 | reg = <0x0c>; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 241 | gpios = <&gpj0 7 GPIO_ACTIVE_HIGH>; |
Jacek Anaszewski | 9f1eaef | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 242 | }; |
| 243 | }; |
Sylwester Nawrocki | b4fec64 | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 244 | |
Beomho Seo | 85cb4e0 | 2014-05-22 07:56:53 +0900 | [diff] [blame] | 245 | i2c_cm36651: i2c-gpio-2 { |
| 246 | compatible = "i2c-gpio"; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 247 | gpios = <&gpf0 0 GPIO_ACTIVE_LOW>, <&gpf0 1 GPIO_ACTIVE_LOW>; |
Beomho Seo | 85cb4e0 | 2014-05-22 07:56:53 +0900 | [diff] [blame] | 248 | i2c-gpio,delay-us = <2>; |
| 249 | #address-cells = <1>; |
| 250 | #size-cells = <0>; |
| 251 | |
| 252 | cm36651@18 { |
| 253 | compatible = "capella,cm36651"; |
| 254 | reg = <0x18>; |
| 255 | interrupt-parent = <&gpx0>; |
Krzysztof Kozlowski | 6ff0b90 | 2017-06-02 20:13:45 +0200 | [diff] [blame] | 256 | interrupts = <2 IRQ_TYPE_EDGE_FALLING>; |
Beomho Seo | 85cb4e0 | 2014-05-22 07:56:53 +0900 | [diff] [blame] | 257 | vled-supply = <&ps_als_reg>; |
| 258 | }; |
| 259 | }; |
| 260 | |
Maciej Purski | 5fb9ae8 | 2017-10-09 09:39:38 +0200 | [diff] [blame] | 261 | i2c-mhl { |
| 262 | compatible = "i2c-gpio"; |
| 263 | gpios = <&gpf0 4 GPIO_ACTIVE_HIGH>, <&gpf0 6 GPIO_ACTIVE_HIGH>; |
| 264 | i2c-gpio,delay-us = <100>; |
| 265 | #address-cells = <1>; |
| 266 | #size-cells = <0>; |
| 267 | |
| 268 | pinctrl-0 = <&i2c_mhl_bus>; |
| 269 | pinctrl-names = "default"; |
| 270 | status = "okay"; |
| 271 | |
| 272 | sii9234: hdmi-bridge@39 { |
| 273 | compatible = "sil,sii9234"; |
| 274 | avcc33-supply = <&vcc33mhl>; |
| 275 | iovcc18-supply = <&vcc18mhl>; |
| 276 | avcc12-supply = <&vsil12>; |
| 277 | cvcc12-supply = <&vsil12>; |
| 278 | reset-gpios = <&gpf3 4 GPIO_ACTIVE_LOW>; |
| 279 | interrupt-parent = <&gpf3>; |
| 280 | interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; |
| 281 | reg = <0x39>; |
| 282 | |
| 283 | port { |
| 284 | mhl_to_hdmi: endpoint { |
| 285 | remote-endpoint = <&hdmi_to_mhl>; |
| 286 | }; |
| 287 | }; |
| 288 | }; |
| 289 | }; |
| 290 | |
Sylwester Nawrocki | 4cb3786 | 2014-05-09 06:01:40 +0900 | [diff] [blame] | 291 | camera: camera { |
| 292 | pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>; |
Sylwester Nawrocki | b4fec64 | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 293 | pinctrl-names = "default"; |
| 294 | status = "okay"; |
Sylwester Nawrocki | 0357a44 | 2014-11-22 23:13:03 +0900 | [diff] [blame] | 295 | assigned-clocks = <&clock CLK_MOUT_CAM0>, |
| 296 | <&clock CLK_MOUT_CAM1>; |
Sylwester Nawrocki | cfe3b89 | 2015-02-04 07:49:49 +0900 | [diff] [blame] | 297 | assigned-clock-parents = <&clock CLK_XUSBXTI>, |
| 298 | <&clock CLK_XUSBXTI>; |
Sylwester Nawrocki | b4fec64 | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 299 | |
Sylwester Nawrocki | b4fec64 | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 300 | |
Inha Song | 440e5ae | 2015-02-04 07:51:38 +0900 | [diff] [blame] | 301 | }; |
| 302 | |
| 303 | sound { |
| 304 | compatible = "samsung,trats2-audio"; |
| 305 | samsung,i2s-controller = <&i2s0>; |
| 306 | samsung,model = "Trats2"; |
| 307 | samsung,audio-codec = <&wm1811>; |
| 308 | samsung,audio-routing = |
| 309 | "SPK", "SPKOUTLN", |
| 310 | "SPK", "SPKOUTLP", |
| 311 | "SPK", "SPKOUTRN", |
| 312 | "SPK", "SPKOUTRP"; |
| 313 | }; |
| 314 | |
Krzysztof Kozlowski | 26ee29a | 2016-04-06 11:00:43 +0900 | [diff] [blame] | 315 | thermistor-ap { |
Naveen Krishna Chatradhi | dd9ad46 | 2014-06-25 11:59:32 +0530 | [diff] [blame] | 316 | compatible = "murata,ncp15wb473"; |
Chanwoo Choi | 4f42378 | 2014-03-18 06:25:59 +0900 | [diff] [blame] | 317 | pullup-uv = <1800000>; /* VCC_1.8V_AP */ |
| 318 | pullup-ohm = <100000>; /* 100K */ |
| 319 | pulldown-ohm = <100000>; /* 100K */ |
| 320 | io-channels = <&adc 1>; /* AP temperature */ |
| 321 | }; |
| 322 | |
Krzysztof Kozlowski | 26ee29a | 2016-04-06 11:00:43 +0900 | [diff] [blame] | 323 | thermistor-battery { |
Naveen Krishna Chatradhi | dd9ad46 | 2014-06-25 11:59:32 +0530 | [diff] [blame] | 324 | compatible = "murata,ncp15wb473"; |
Chanwoo Choi | 4f42378 | 2014-03-18 06:25:59 +0900 | [diff] [blame] | 325 | pullup-uv = <1800000>; /* VCC_1.8V_AP */ |
| 326 | pullup-ohm = <100000>; /* 100K */ |
| 327 | pulldown-ohm = <100000>; /* 100K */ |
| 328 | io-channels = <&adc 2>; /* Battery temperature */ |
| 329 | }; |
Lukasz Majewski | bf4a0be | 2015-01-30 08:26:02 +0900 | [diff] [blame] | 330 | |
| 331 | thermal-zones { |
| 332 | cpu_thermal: cpu-thermal { |
| 333 | cooling-maps { |
| 334 | map0 { |
| 335 | /* Corresponds to 800MHz at freq_table */ |
| 336 | cooling-device = <&cpu0 7 7>; |
| 337 | }; |
| 338 | map1 { |
| 339 | /* Corresponds to 200MHz at freq_table */ |
| 340 | cooling-device = <&cpu0 13 13>; |
| 341 | }; |
| 342 | }; |
| 343 | }; |
| 344 | }; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 345 | }; |
Tomasz Figa | 09918a9 | 2014-09-24 01:20:03 +0900 | [diff] [blame] | 346 | |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 347 | &adc { |
| 348 | vdd-supply = <&ldo3_reg>; |
| 349 | status = "okay"; |
| 350 | }; |
| 351 | |
Chanwoo Choi | 4f20aa0 | 2016-04-11 12:57:58 +0900 | [diff] [blame] | 352 | &bus_dmc { |
| 353 | devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>; |
| 354 | vdd-supply = <&buck1_reg>; |
| 355 | status = "okay"; |
| 356 | }; |
| 357 | |
| 358 | &bus_acp { |
| 359 | devfreq = <&bus_dmc>; |
| 360 | status = "okay"; |
| 361 | }; |
| 362 | |
| 363 | &bus_c2c { |
| 364 | devfreq = <&bus_dmc>; |
| 365 | status = "okay"; |
| 366 | }; |
| 367 | |
| 368 | &bus_leftbus { |
| 369 | devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>; |
| 370 | vdd-supply = <&buck3_reg>; |
| 371 | status = "okay"; |
| 372 | }; |
| 373 | |
| 374 | &bus_rightbus { |
| 375 | devfreq = <&bus_leftbus>; |
| 376 | status = "okay"; |
| 377 | }; |
| 378 | |
| 379 | &bus_display { |
| 380 | devfreq = <&bus_leftbus>; |
| 381 | status = "okay"; |
| 382 | }; |
| 383 | |
| 384 | &bus_fsys { |
| 385 | devfreq = <&bus_leftbus>; |
| 386 | status = "okay"; |
| 387 | }; |
| 388 | |
| 389 | &bus_peri { |
| 390 | devfreq = <&bus_leftbus>; |
| 391 | status = "okay"; |
| 392 | }; |
| 393 | |
| 394 | &bus_mfc { |
| 395 | devfreq = <&bus_leftbus>; |
| 396 | status = "okay"; |
| 397 | }; |
| 398 | |
Bartlomiej Zolnierkiewicz | f449974 | 2015-08-12 07:38:45 +0900 | [diff] [blame] | 399 | &cpu0 { |
| 400 | cpu0-supply = <&buck2_reg>; |
| 401 | }; |
| 402 | |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 403 | &csis_0 { |
| 404 | status = "okay"; |
| 405 | vddcore-supply = <&ldo8_reg>; |
| 406 | vddio-supply = <&ldo10_reg>; |
| 407 | assigned-clocks = <&clock CLK_MOUT_CSIS0>, |
| 408 | <&clock CLK_SCLK_CSIS0>; |
| 409 | assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; |
| 410 | assigned-clock-rates = <0>, <176000000>; |
| 411 | |
| 412 | /* Camera C (3) MIPI CSI-2 (CSIS0) */ |
| 413 | port@3 { |
| 414 | reg = <3>; |
| 415 | csis0_ep: endpoint { |
| 416 | remote-endpoint = <&s5c73m3_ep>; |
| 417 | data-lanes = <1 2 3 4>; |
| 418 | samsung,csis-hs-settle = <12>; |
| 419 | }; |
| 420 | }; |
| 421 | }; |
| 422 | |
| 423 | &csis_1 { |
| 424 | status = "okay"; |
| 425 | vddcore-supply = <&ldo8_reg>; |
| 426 | vddio-supply = <&ldo10_reg>; |
| 427 | assigned-clocks = <&clock CLK_MOUT_CSIS1>, |
| 428 | <&clock CLK_SCLK_CSIS1>; |
| 429 | assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; |
| 430 | assigned-clock-rates = <0>, <176000000>; |
| 431 | |
| 432 | /* Camera D (4) MIPI CSI-2 (CSIS1) */ |
| 433 | port@4 { |
| 434 | reg = <4>; |
| 435 | csis1_ep: endpoint { |
| 436 | remote-endpoint = <&is_s5k6a3_ep>; |
| 437 | data-lanes = <1>; |
| 438 | samsung,csis-hs-settle = <18>; |
| 439 | samsung,csis-wclk; |
| 440 | }; |
| 441 | }; |
| 442 | }; |
| 443 | |
| 444 | &dsi_0 { |
| 445 | vddcore-supply = <&ldo8_reg>; |
| 446 | vddio-supply = <&ldo10_reg>; |
Hoegeun Kwon | 4c74ea4 | 2017-03-08 13:54:09 +0900 | [diff] [blame] | 447 | samsung,burst-clock-frequency = <500000000>; |
| 448 | samsung,esc-clock-frequency = <20000000>; |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 449 | samsung,pll-clock-frequency = <24000000>; |
| 450 | status = "okay"; |
| 451 | |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 452 | panel@0 { |
| 453 | compatible = "samsung,s6e8aa0"; |
| 454 | reg = <0>; |
| 455 | vdd3-supply = <&lcd_vdd3_reg>; |
| 456 | vci-supply = <&ldo25_reg>; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 457 | reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>; |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 458 | power-on-delay= <50>; |
| 459 | reset-delay = <100>; |
| 460 | init-delay = <100>; |
| 461 | flip-horizontal; |
| 462 | flip-vertical; |
| 463 | panel-width-mm = <58>; |
| 464 | panel-height-mm = <103>; |
| 465 | |
| 466 | display-timings { |
| 467 | timing-0 { |
| 468 | clock-frequency = <57153600>; |
| 469 | hactive = <720>; |
| 470 | vactive = <1280>; |
| 471 | hfront-porch = <5>; |
| 472 | hback-porch = <5>; |
| 473 | hsync-len = <5>; |
| 474 | vfront-porch = <13>; |
| 475 | vback-porch = <1>; |
| 476 | vsync-len = <2>; |
| 477 | }; |
| 478 | }; |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 479 | }; |
| 480 | }; |
| 481 | |
| 482 | &exynos_usbphy { |
Marek Szyprowski | 4ae9a4c | 2015-08-21 14:38:38 +0200 | [diff] [blame] | 483 | vbus-supply = <&esafeout1_reg>; |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 484 | status = "okay"; |
| 485 | }; |
| 486 | |
| 487 | &fimc_0 { |
| 488 | status = "okay"; |
| 489 | assigned-clocks = <&clock CLK_MOUT_FIMC0>, |
| 490 | <&clock CLK_SCLK_FIMC0>; |
| 491 | assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; |
| 492 | assigned-clock-rates = <0>, <176000000>; |
| 493 | }; |
| 494 | |
| 495 | &fimc_1 { |
| 496 | status = "okay"; |
| 497 | assigned-clocks = <&clock CLK_MOUT_FIMC1>, |
| 498 | <&clock CLK_SCLK_FIMC1>; |
| 499 | assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; |
| 500 | assigned-clock-rates = <0>, <176000000>; |
| 501 | }; |
| 502 | |
| 503 | &fimc_2 { |
| 504 | status = "okay"; |
| 505 | assigned-clocks = <&clock CLK_MOUT_FIMC2>, |
| 506 | <&clock CLK_SCLK_FIMC2>; |
| 507 | assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; |
| 508 | assigned-clock-rates = <0>, <176000000>; |
| 509 | }; |
| 510 | |
| 511 | &fimc_3 { |
| 512 | status = "okay"; |
| 513 | assigned-clocks = <&clock CLK_MOUT_FIMC3>, |
| 514 | <&clock CLK_SCLK_FIMC3>; |
| 515 | assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; |
| 516 | assigned-clock-rates = <0>, <176000000>; |
| 517 | }; |
| 518 | |
| 519 | &fimc_is { |
| 520 | pinctrl-0 = <&fimc_is_uart>; |
| 521 | pinctrl-names = "default"; |
| 522 | status = "okay"; |
| 523 | |
| 524 | i2c1_isp: i2c-isp@12140000 { |
| 525 | pinctrl-0 = <&fimc_is_i2c1>; |
| 526 | pinctrl-names = "default"; |
| 527 | |
| 528 | s5k6a3@10 { |
| 529 | compatible = "samsung,s5k6a3"; |
| 530 | reg = <0x10>; |
| 531 | svdda-supply = <&cam_io_reg>; |
| 532 | svddio-supply = <&ldo19_reg>; |
| 533 | afvdd-supply = <&ldo19_reg>; |
| 534 | clock-frequency = <24000000>; |
| 535 | /* CAM_B_CLKOUT */ |
| 536 | clocks = <&camera 1>; |
| 537 | clock-names = "extclk"; |
| 538 | samsung,camclk-out = <1>; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 539 | gpios = <&gpm1 6 GPIO_ACTIVE_HIGH>; |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 540 | |
| 541 | port { |
| 542 | is_s5k6a3_ep: endpoint { |
| 543 | remote-endpoint = <&csis1_ep>; |
| 544 | data-lanes = <1>; |
| 545 | }; |
| 546 | }; |
| 547 | }; |
| 548 | }; |
| 549 | }; |
| 550 | |
| 551 | &fimc_lite_0 { |
| 552 | status = "okay"; |
| 553 | }; |
| 554 | |
| 555 | &fimc_lite_1 { |
| 556 | status = "okay"; |
| 557 | }; |
| 558 | |
| 559 | &fimd { |
| 560 | status = "okay"; |
| 561 | }; |
| 562 | |
Maciej Purski | 5fb9ae8 | 2017-10-09 09:39:38 +0200 | [diff] [blame] | 563 | &hdmi { |
| 564 | hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; |
| 565 | pinctrl-names = "default"; |
| 566 | pinctrl-0 = <&hdmi_hpd>; |
| 567 | vdd-supply = <&ldo3_reg>; |
| 568 | vdd_osc-supply = <&ldo4_reg>; |
| 569 | vdd_pll-supply = <&ldo3_reg>; |
| 570 | ddc = <&i2c_5>; |
| 571 | status = "okay"; |
| 572 | |
| 573 | ports { |
| 574 | #address-cells = <1>; |
| 575 | #size-cells = <0>; |
| 576 | |
| 577 | port@1 { |
| 578 | reg = <1>; |
| 579 | hdmi_to_mhl: endpoint { |
| 580 | remote-endpoint = <&mhl_to_hdmi>; |
| 581 | }; |
| 582 | }; |
| 583 | }; |
| 584 | }; |
| 585 | |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 586 | &hsotg { |
| 587 | vusb_d-supply = <&ldo15_reg>; |
| 588 | vusb_a-supply = <&ldo12_reg>; |
| 589 | dr_mode = "peripheral"; |
| 590 | status = "okay"; |
| 591 | }; |
| 592 | |
| 593 | &i2c_0 { |
| 594 | samsung,i2c-sda-delay = <100>; |
| 595 | samsung,i2c-slave-addr = <0x10>; |
| 596 | samsung,i2c-max-bus-freq = <400000>; |
| 597 | pinctrl-0 = <&i2c0_bus>; |
| 598 | pinctrl-names = "default"; |
| 599 | status = "okay"; |
| 600 | |
| 601 | s5c73m3@3c { |
| 602 | compatible = "samsung,s5c73m3"; |
| 603 | reg = <0x3c>; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 604 | standby-gpios = <&gpm0 1 GPIO_ACTIVE_LOW>; /* ISP_STANDBY */ |
| 605 | xshutdown-gpios = <&gpf1 3 GPIO_ACTIVE_LOW>; /* ISP_RESET */ |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 606 | vdd-int-supply = <&buck9_reg>; |
| 607 | vddio-cis-supply = <&ldo9_reg>; |
| 608 | vdda-supply = <&ldo17_reg>; |
| 609 | vddio-host-supply = <&ldo18_reg>; |
| 610 | vdd-af-supply = <&cam_af_reg>; |
| 611 | vdd-reg-supply = <&cam_io_reg>; |
| 612 | clock-frequency = <24000000>; |
| 613 | /* CAM_A_CLKOUT */ |
| 614 | clocks = <&camera 0>; |
| 615 | clock-names = "cis_extclk"; |
| 616 | port { |
| 617 | s5c73m3_ep: endpoint { |
| 618 | remote-endpoint = <&csis0_ep>; |
| 619 | data-lanes = <1 2 3 4>; |
| 620 | }; |
| 621 | }; |
| 622 | }; |
| 623 | }; |
| 624 | |
| 625 | &i2c_3 { |
| 626 | samsung,i2c-sda-delay = <100>; |
| 627 | samsung,i2c-slave-addr = <0x10>; |
| 628 | samsung,i2c-max-bus-freq = <400000>; |
| 629 | pinctrl-0 = <&i2c3_bus>; |
| 630 | pinctrl-names = "default"; |
| 631 | status = "okay"; |
| 632 | |
| 633 | mms114-touchscreen@48 { |
| 634 | compatible = "melfas,mms114"; |
| 635 | reg = <0x48>; |
| 636 | interrupt-parent = <&gpm2>; |
Krzysztof Kozlowski | 6ff0b90 | 2017-06-02 20:13:45 +0200 | [diff] [blame] | 637 | interrupts = <3 IRQ_TYPE_EDGE_FALLING>; |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 638 | x-size = <720>; |
| 639 | y-size = <1280>; |
| 640 | avdd-supply = <&ldo23_reg>; |
| 641 | vdd-supply = <&ldo24_reg>; |
| 642 | }; |
| 643 | }; |
| 644 | |
| 645 | &i2c_4 { |
| 646 | samsung,i2c-sda-delay = <100>; |
| 647 | samsung,i2c-slave-addr = <0x10>; |
| 648 | samsung,i2c-max-bus-freq = <100000>; |
| 649 | pinctrl-0 = <&i2c4_bus>; |
| 650 | pinctrl-names = "default"; |
| 651 | status = "okay"; |
| 652 | |
| 653 | wm1811: wm1811@1a { |
| 654 | compatible = "wlf,wm1811"; |
| 655 | reg = <0x1a>; |
| 656 | clocks = <&pmu_system_controller 0>; |
| 657 | clock-names = "MCLK1"; |
| 658 | DCVDD-supply = <&ldo3_reg>; |
| 659 | DBVDD1-supply = <&ldo3_reg>; |
| 660 | wlf,ldo1ena = <&gpj0 4 0>; |
| 661 | }; |
| 662 | }; |
| 663 | |
Maciej Purski | 5fb9ae8 | 2017-10-09 09:39:38 +0200 | [diff] [blame] | 664 | &i2c_5 { |
| 665 | status = "okay"; |
| 666 | }; |
| 667 | |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 668 | &i2c_7 { |
| 669 | samsung,i2c-sda-delay = <100>; |
| 670 | samsung,i2c-slave-addr = <0x10>; |
| 671 | samsung,i2c-max-bus-freq = <100000>; |
| 672 | pinctrl-0 = <&i2c7_bus>; |
| 673 | pinctrl-names = "default"; |
| 674 | status = "okay"; |
| 675 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 676 | max77686: max77686_pmic@9 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 677 | compatible = "maxim,max77686"; |
| 678 | interrupt-parent = <&gpx0>; |
Krzysztof Kozlowski | 6ff0b90 | 2017-06-02 20:13:45 +0200 | [diff] [blame] | 679 | interrupts = <7 IRQ_TYPE_NONE>; |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 680 | reg = <0x09>; |
| 681 | #clock-cells = <1>; |
| 682 | |
| 683 | voltage-regulators { |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 684 | ldo1_reg: LDO1 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 685 | regulator-name = "VALIVE_1.0V_AP"; |
| 686 | regulator-min-microvolt = <1000000>; |
| 687 | regulator-max-microvolt = <1000000>; |
| 688 | regulator-always-on; |
| 689 | }; |
| 690 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 691 | ldo2_reg: LDO2 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 692 | regulator-name = "VM1M2_1.2V_AP"; |
| 693 | regulator-min-microvolt = <1200000>; |
| 694 | regulator-max-microvolt = <1200000>; |
| 695 | regulator-always-on; |
| 696 | regulator-state-mem { |
| 697 | regulator-on-in-suspend; |
| 698 | }; |
| 699 | }; |
| 700 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 701 | ldo3_reg: LDO3 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 702 | regulator-name = "VCC_1.8V_AP"; |
| 703 | regulator-min-microvolt = <1800000>; |
| 704 | regulator-max-microvolt = <1800000>; |
| 705 | regulator-always-on; |
| 706 | }; |
| 707 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 708 | ldo4_reg: LDO4 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 709 | regulator-name = "VCC_2.8V_AP"; |
| 710 | regulator-min-microvolt = <2800000>; |
| 711 | regulator-max-microvolt = <2800000>; |
| 712 | regulator-always-on; |
| 713 | }; |
| 714 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 715 | ldo5_reg: LDO5 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 716 | regulator-name = "VCC_1.8V_IO"; |
| 717 | regulator-min-microvolt = <1800000>; |
| 718 | regulator-max-microvolt = <1800000>; |
| 719 | regulator-always-on; |
| 720 | }; |
| 721 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 722 | ldo6_reg: LDO6 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 723 | regulator-name = "VMPLL_1.0V_AP"; |
| 724 | regulator-min-microvolt = <1000000>; |
| 725 | regulator-max-microvolt = <1000000>; |
| 726 | regulator-always-on; |
| 727 | regulator-state-mem { |
| 728 | regulator-on-in-suspend; |
| 729 | }; |
| 730 | }; |
| 731 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 732 | ldo7_reg: LDO7 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 733 | regulator-name = "VPLL_1.0V_AP"; |
| 734 | regulator-min-microvolt = <1000000>; |
| 735 | regulator-max-microvolt = <1000000>; |
| 736 | regulator-always-on; |
| 737 | regulator-state-mem { |
| 738 | regulator-on-in-suspend; |
| 739 | }; |
| 740 | }; |
| 741 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 742 | ldo8_reg: LDO8 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 743 | regulator-name = "VMIPI_1.0V"; |
| 744 | regulator-min-microvolt = <1000000>; |
| 745 | regulator-max-microvolt = <1000000>; |
| 746 | regulator-state-mem { |
| 747 | regulator-off-in-suspend; |
| 748 | }; |
| 749 | }; |
| 750 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 751 | ldo9_reg: LDO9 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 752 | regulator-name = "CAM_ISP_MIPI_1.2V"; |
| 753 | regulator-min-microvolt = <1200000>; |
| 754 | regulator-max-microvolt = <1200000>; |
| 755 | }; |
| 756 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 757 | ldo10_reg: LDO10 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 758 | regulator-name = "VMIPI_1.8V"; |
| 759 | regulator-min-microvolt = <1800000>; |
| 760 | regulator-max-microvolt = <1800000>; |
| 761 | regulator-state-mem { |
| 762 | regulator-off-in-suspend; |
| 763 | }; |
| 764 | }; |
| 765 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 766 | ldo11_reg: LDO11 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 767 | regulator-name = "VABB1_1.95V"; |
| 768 | regulator-min-microvolt = <1950000>; |
| 769 | regulator-max-microvolt = <1950000>; |
| 770 | regulator-always-on; |
| 771 | regulator-state-mem { |
| 772 | regulator-off-in-suspend; |
| 773 | }; |
| 774 | }; |
| 775 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 776 | ldo12_reg: LDO12 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 777 | regulator-name = "VUOTG_3.0V"; |
| 778 | regulator-min-microvolt = <3000000>; |
| 779 | regulator-max-microvolt = <3000000>; |
| 780 | regulator-state-mem { |
| 781 | regulator-off-in-suspend; |
| 782 | }; |
| 783 | }; |
| 784 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 785 | ldo13_reg: LDO13 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 786 | regulator-name = "NFC_AVDD_1.8V"; |
| 787 | regulator-min-microvolt = <1800000>; |
| 788 | regulator-max-microvolt = <1800000>; |
| 789 | }; |
| 790 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 791 | ldo14_reg: LDO14 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 792 | regulator-name = "VABB2_1.95V"; |
| 793 | regulator-min-microvolt = <1950000>; |
| 794 | regulator-max-microvolt = <1950000>; |
| 795 | regulator-always-on; |
| 796 | regulator-state-mem { |
| 797 | regulator-off-in-suspend; |
| 798 | }; |
| 799 | }; |
| 800 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 801 | ldo15_reg: LDO15 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 802 | regulator-name = "VHSIC_1.0V"; |
| 803 | regulator-min-microvolt = <1000000>; |
| 804 | regulator-max-microvolt = <1000000>; |
| 805 | regulator-state-mem { |
| 806 | regulator-on-in-suspend; |
| 807 | }; |
| 808 | }; |
| 809 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 810 | ldo16_reg: LDO16 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 811 | regulator-name = "VHSIC_1.8V"; |
| 812 | regulator-min-microvolt = <1800000>; |
| 813 | regulator-max-microvolt = <1800000>; |
| 814 | regulator-state-mem { |
| 815 | regulator-on-in-suspend; |
| 816 | }; |
| 817 | }; |
| 818 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 819 | ldo17_reg: LDO17 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 820 | regulator-name = "CAM_SENSOR_CORE_1.2V"; |
| 821 | regulator-min-microvolt = <1200000>; |
| 822 | regulator-max-microvolt = <1200000>; |
| 823 | }; |
| 824 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 825 | ldo18_reg: LDO18 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 826 | regulator-name = "CAM_ISP_SEN_IO_1.8V"; |
| 827 | regulator-min-microvolt = <1800000>; |
| 828 | regulator-max-microvolt = <1800000>; |
| 829 | }; |
| 830 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 831 | ldo19_reg: LDO19 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 832 | regulator-name = "VT_CAM_1.8V"; |
| 833 | regulator-min-microvolt = <1800000>; |
| 834 | regulator-max-microvolt = <1800000>; |
| 835 | }; |
| 836 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 837 | ldo20_reg: LDO20 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 838 | regulator-name = "VDDQ_PRE_1.8V"; |
| 839 | regulator-min-microvolt = <1800000>; |
| 840 | regulator-max-microvolt = <1800000>; |
| 841 | }; |
| 842 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 843 | ldo21_reg: LDO21 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 844 | regulator-name = "VTF_2.8V"; |
| 845 | regulator-min-microvolt = <2800000>; |
| 846 | regulator-max-microvolt = <2800000>; |
| 847 | maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>; |
| 848 | }; |
| 849 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 850 | ldo22_reg: LDO22 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 851 | regulator-name = "VMEM_VDD_2.8V"; |
| 852 | regulator-min-microvolt = <2800000>; |
| 853 | regulator-max-microvolt = <2800000>; |
| 854 | maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>; |
| 855 | }; |
| 856 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 857 | ldo23_reg: LDO23 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 858 | regulator-name = "TSP_AVDD_3.3V"; |
| 859 | regulator-min-microvolt = <3300000>; |
| 860 | regulator-max-microvolt = <3300000>; |
| 861 | }; |
| 862 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 863 | ldo24_reg: LDO24 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 864 | regulator-name = "TSP_VDD_1.8V"; |
| 865 | regulator-min-microvolt = <1800000>; |
| 866 | regulator-max-microvolt = <1800000>; |
| 867 | }; |
| 868 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 869 | ldo25_reg: LDO25 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 870 | regulator-name = "LCD_VCC_3.3V"; |
| 871 | regulator-min-microvolt = <2800000>; |
| 872 | regulator-max-microvolt = <2800000>; |
| 873 | }; |
| 874 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 875 | ldo26_reg: LDO26 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 876 | regulator-name = "MOTOR_VCC_3.0V"; |
| 877 | regulator-min-microvolt = <3000000>; |
| 878 | regulator-max-microvolt = <3000000>; |
| 879 | }; |
| 880 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 881 | buck1_reg: BUCK1 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 882 | regulator-name = "vdd_mif"; |
| 883 | regulator-min-microvolt = <850000>; |
| 884 | regulator-max-microvolt = <1100000>; |
| 885 | regulator-always-on; |
| 886 | regulator-boot-on; |
| 887 | regulator-state-mem { |
| 888 | regulator-off-in-suspend; |
| 889 | }; |
| 890 | }; |
| 891 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 892 | buck2_reg: BUCK2 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 893 | regulator-name = "vdd_arm"; |
| 894 | regulator-min-microvolt = <850000>; |
| 895 | regulator-max-microvolt = <1500000>; |
| 896 | regulator-always-on; |
| 897 | regulator-boot-on; |
| 898 | regulator-state-mem { |
| 899 | regulator-on-in-suspend; |
| 900 | }; |
| 901 | }; |
| 902 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 903 | buck3_reg: BUCK3 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 904 | regulator-name = "vdd_int"; |
| 905 | regulator-min-microvolt = <850000>; |
| 906 | regulator-max-microvolt = <1150000>; |
| 907 | regulator-always-on; |
| 908 | regulator-boot-on; |
| 909 | regulator-state-mem { |
| 910 | regulator-off-in-suspend; |
| 911 | }; |
| 912 | }; |
| 913 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 914 | buck4_reg: BUCK4 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 915 | regulator-name = "vdd_g3d"; |
| 916 | regulator-min-microvolt = <850000>; |
| 917 | regulator-max-microvolt = <1150000>; |
| 918 | regulator-boot-on; |
| 919 | regulator-state-mem { |
| 920 | regulator-off-in-suspend; |
| 921 | }; |
| 922 | }; |
| 923 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 924 | buck5_reg: BUCK5 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 925 | regulator-name = "VMEM_1.2V_AP"; |
| 926 | regulator-min-microvolt = <1200000>; |
| 927 | regulator-max-microvolt = <1200000>; |
| 928 | regulator-always-on; |
| 929 | }; |
| 930 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 931 | buck6_reg: BUCK6 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 932 | regulator-name = "VCC_SUB_1.35V"; |
| 933 | regulator-min-microvolt = <1350000>; |
| 934 | regulator-max-microvolt = <1350000>; |
| 935 | regulator-always-on; |
| 936 | }; |
| 937 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 938 | buck7_reg: BUCK7 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 939 | regulator-name = "VCC_SUB_2.0V"; |
| 940 | regulator-min-microvolt = <2000000>; |
| 941 | regulator-max-microvolt = <2000000>; |
| 942 | regulator-always-on; |
| 943 | }; |
| 944 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 945 | buck8_reg: BUCK8 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 946 | regulator-name = "VMEM_VDDF_3.0V"; |
| 947 | regulator-min-microvolt = <2850000>; |
| 948 | regulator-max-microvolt = <2850000>; |
| 949 | maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>; |
| 950 | }; |
| 951 | |
Javier Martinez Canillas | c21dbcfe | 2015-09-28 12:38:34 +0200 | [diff] [blame] | 952 | buck9_reg: BUCK9 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 953 | regulator-name = "CAM_ISP_CORE_1.2V"; |
| 954 | regulator-min-microvolt = <1000000>; |
| 955 | regulator-max-microvolt = <1200000>; |
| 956 | maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>; |
| 957 | }; |
| 958 | }; |
| 959 | }; |
| 960 | }; |
| 961 | |
Maciej Purski | 5fb9ae8 | 2017-10-09 09:39:38 +0200 | [diff] [blame] | 962 | &i2c_8 { |
| 963 | status = "okay"; |
| 964 | }; |
| 965 | |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 966 | &i2s0 { |
| 967 | pinctrl-0 = <&i2s0_bus>; |
| 968 | pinctrl-names = "default"; |
| 969 | status = "okay"; |
| 970 | }; |
| 971 | |
Maciej Purski | 5fb9ae8 | 2017-10-09 09:39:38 +0200 | [diff] [blame] | 972 | &mixer { |
| 973 | status = "okay"; |
| 974 | }; |
| 975 | |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 976 | &mshc_0 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 977 | broken-cd; |
| 978 | non-removable; |
| 979 | card-detect-delay = <200>; |
| 980 | vmmc-supply = <&ldo22_reg>; |
| 981 | clock-frequency = <400000000>; |
| 982 | samsung,dw-mshc-ciu-div = <0>; |
| 983 | samsung,dw-mshc-sdr-timing = <2 3>; |
| 984 | samsung,dw-mshc-ddr-timing = <1 2>; |
| 985 | pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; |
| 986 | pinctrl-names = "default"; |
| 987 | status = "okay"; |
| 988 | bus-width = <8>; |
| 989 | cap-mmc-highspeed; |
| 990 | }; |
| 991 | |
Inha Song | 440e5ae | 2015-02-04 07:51:38 +0900 | [diff] [blame] | 992 | &pmu_system_controller { |
| 993 | assigned-clocks = <&pmu_system_controller 0>; |
| 994 | assigned-clock-parents = <&clock CLK_XUSBXTI>; |
| 995 | }; |
| 996 | |
Tomasz Figa | 09918a9 | 2014-09-24 01:20:03 +0900 | [diff] [blame] | 997 | &pinctrl_0 { |
| 998 | pinctrl-names = "default"; |
| 999 | pinctrl-0 = <&sleep0>; |
| 1000 | |
Maciej Purski | 5fb9ae8 | 2017-10-09 09:39:38 +0200 | [diff] [blame] | 1001 | mhl_int: mhl-int { |
| 1002 | samsung,pins = "gpf3-5"; |
| 1003 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 1004 | }; |
| 1005 | |
| 1006 | i2c_mhl_bus: i2c-mhl-bus { |
| 1007 | samsung,pins = "gpf0-4", "gpf0-6"; |
| 1008 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
| 1009 | samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; |
| 1010 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
| 1011 | }; |
| 1012 | |
Tomasz Figa | 09918a9 | 2014-09-24 01:20:03 +0900 | [diff] [blame] | 1013 | sleep0: sleep-states { |
| 1014 | PIN_SLP(gpa0-0, INPUT, NONE); |
| 1015 | PIN_SLP(gpa0-1, OUT0, NONE); |
| 1016 | PIN_SLP(gpa0-2, INPUT, NONE); |
| 1017 | PIN_SLP(gpa0-3, INPUT, UP); |
| 1018 | PIN_SLP(gpa0-4, INPUT, NONE); |
| 1019 | PIN_SLP(gpa0-5, INPUT, DOWN); |
| 1020 | PIN_SLP(gpa0-6, INPUT, DOWN); |
| 1021 | PIN_SLP(gpa0-7, INPUT, UP); |
| 1022 | |
| 1023 | PIN_SLP(gpa1-0, INPUT, DOWN); |
| 1024 | PIN_SLP(gpa1-1, INPUT, DOWN); |
| 1025 | PIN_SLP(gpa1-2, INPUT, DOWN); |
| 1026 | PIN_SLP(gpa1-3, INPUT, DOWN); |
| 1027 | PIN_SLP(gpa1-4, INPUT, DOWN); |
| 1028 | PIN_SLP(gpa1-5, INPUT, DOWN); |
| 1029 | |
| 1030 | PIN_SLP(gpb-0, INPUT, NONE); |
| 1031 | PIN_SLP(gpb-1, INPUT, NONE); |
| 1032 | PIN_SLP(gpb-2, INPUT, NONE); |
| 1033 | PIN_SLP(gpb-3, INPUT, NONE); |
| 1034 | PIN_SLP(gpb-4, INPUT, DOWN); |
| 1035 | PIN_SLP(gpb-5, INPUT, UP); |
| 1036 | PIN_SLP(gpb-6, INPUT, DOWN); |
| 1037 | PIN_SLP(gpb-7, INPUT, DOWN); |
| 1038 | |
| 1039 | PIN_SLP(gpc0-0, INPUT, DOWN); |
| 1040 | PIN_SLP(gpc0-1, INPUT, DOWN); |
| 1041 | PIN_SLP(gpc0-2, INPUT, DOWN); |
| 1042 | PIN_SLP(gpc0-3, INPUT, DOWN); |
| 1043 | PIN_SLP(gpc0-4, INPUT, DOWN); |
| 1044 | |
| 1045 | PIN_SLP(gpc1-0, INPUT, NONE); |
| 1046 | PIN_SLP(gpc1-1, PREV, NONE); |
| 1047 | PIN_SLP(gpc1-2, INPUT, NONE); |
| 1048 | PIN_SLP(gpc1-3, INPUT, NONE); |
| 1049 | PIN_SLP(gpc1-4, INPUT, NONE); |
| 1050 | |
| 1051 | PIN_SLP(gpd0-0, INPUT, DOWN); |
| 1052 | PIN_SLP(gpd0-1, INPUT, DOWN); |
| 1053 | PIN_SLP(gpd0-2, INPUT, NONE); |
| 1054 | PIN_SLP(gpd0-3, INPUT, NONE); |
| 1055 | |
| 1056 | PIN_SLP(gpd1-0, INPUT, DOWN); |
| 1057 | PIN_SLP(gpd1-1, INPUT, DOWN); |
| 1058 | PIN_SLP(gpd1-2, INPUT, NONE); |
| 1059 | PIN_SLP(gpd1-3, INPUT, NONE); |
| 1060 | |
| 1061 | PIN_SLP(gpf0-0, INPUT, NONE); |
| 1062 | PIN_SLP(gpf0-1, INPUT, NONE); |
| 1063 | PIN_SLP(gpf0-2, INPUT, DOWN); |
| 1064 | PIN_SLP(gpf0-3, INPUT, DOWN); |
| 1065 | PIN_SLP(gpf0-4, INPUT, NONE); |
| 1066 | PIN_SLP(gpf0-5, INPUT, DOWN); |
| 1067 | PIN_SLP(gpf0-6, INPUT, NONE); |
| 1068 | PIN_SLP(gpf0-7, INPUT, DOWN); |
| 1069 | |
| 1070 | PIN_SLP(gpf1-0, INPUT, DOWN); |
| 1071 | PIN_SLP(gpf1-1, INPUT, DOWN); |
| 1072 | PIN_SLP(gpf1-2, INPUT, DOWN); |
| 1073 | PIN_SLP(gpf1-3, INPUT, DOWN); |
| 1074 | PIN_SLP(gpf1-4, INPUT, NONE); |
| 1075 | PIN_SLP(gpf1-5, INPUT, NONE); |
| 1076 | PIN_SLP(gpf1-6, INPUT, DOWN); |
| 1077 | PIN_SLP(gpf1-7, PREV, NONE); |
| 1078 | |
| 1079 | PIN_SLP(gpf2-0, PREV, NONE); |
| 1080 | PIN_SLP(gpf2-1, INPUT, DOWN); |
| 1081 | PIN_SLP(gpf2-2, INPUT, DOWN); |
| 1082 | PIN_SLP(gpf2-3, INPUT, DOWN); |
| 1083 | PIN_SLP(gpf2-4, INPUT, DOWN); |
| 1084 | PIN_SLP(gpf2-5, INPUT, DOWN); |
| 1085 | PIN_SLP(gpf2-6, INPUT, NONE); |
| 1086 | PIN_SLP(gpf2-7, INPUT, NONE); |
| 1087 | |
| 1088 | PIN_SLP(gpf3-0, INPUT, NONE); |
| 1089 | PIN_SLP(gpf3-1, PREV, NONE); |
| 1090 | PIN_SLP(gpf3-2, PREV, NONE); |
| 1091 | PIN_SLP(gpf3-3, PREV, NONE); |
| 1092 | PIN_SLP(gpf3-4, OUT1, NONE); |
| 1093 | PIN_SLP(gpf3-5, INPUT, DOWN); |
| 1094 | |
| 1095 | PIN_SLP(gpj0-0, PREV, NONE); |
| 1096 | PIN_SLP(gpj0-1, PREV, NONE); |
| 1097 | PIN_SLP(gpj0-2, PREV, NONE); |
| 1098 | PIN_SLP(gpj0-3, INPUT, DOWN); |
| 1099 | PIN_SLP(gpj0-4, PREV, NONE); |
| 1100 | PIN_SLP(gpj0-5, PREV, NONE); |
| 1101 | PIN_SLP(gpj0-6, INPUT, DOWN); |
| 1102 | PIN_SLP(gpj0-7, INPUT, DOWN); |
| 1103 | |
| 1104 | PIN_SLP(gpj1-0, INPUT, DOWN); |
| 1105 | PIN_SLP(gpj1-1, PREV, NONE); |
| 1106 | PIN_SLP(gpj1-2, PREV, NONE); |
| 1107 | PIN_SLP(gpj1-3, INPUT, DOWN); |
| 1108 | PIN_SLP(gpj1-4, INPUT, DOWN); |
| 1109 | }; |
| 1110 | }; |
| 1111 | |
| 1112 | &pinctrl_1 { |
| 1113 | pinctrl-names = "default"; |
| 1114 | pinctrl-0 = <&sleep1>; |
| 1115 | |
Maciej Purski | 5fb9ae8 | 2017-10-09 09:39:38 +0200 | [diff] [blame] | 1116 | hdmi_hpd: hdmi-hpd { |
| 1117 | samsung,pins = "gpx3-7"; |
| 1118 | samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; |
| 1119 | }; |
| 1120 | |
Tomasz Figa | 09918a9 | 2014-09-24 01:20:03 +0900 | [diff] [blame] | 1121 | sleep1: sleep-states { |
| 1122 | PIN_SLP(gpk0-0, PREV, NONE); |
| 1123 | PIN_SLP(gpk0-1, PREV, NONE); |
| 1124 | PIN_SLP(gpk0-2, OUT0, NONE); |
| 1125 | PIN_SLP(gpk0-3, PREV, NONE); |
| 1126 | PIN_SLP(gpk0-4, PREV, NONE); |
| 1127 | PIN_SLP(gpk0-5, PREV, NONE); |
| 1128 | PIN_SLP(gpk0-6, PREV, NONE); |
| 1129 | |
| 1130 | PIN_SLP(gpk1-0, INPUT, DOWN); |
| 1131 | PIN_SLP(gpk1-1, INPUT, DOWN); |
| 1132 | PIN_SLP(gpk1-2, INPUT, DOWN); |
| 1133 | PIN_SLP(gpk1-3, PREV, NONE); |
| 1134 | PIN_SLP(gpk1-4, PREV, NONE); |
| 1135 | PIN_SLP(gpk1-5, PREV, NONE); |
| 1136 | PIN_SLP(gpk1-6, PREV, NONE); |
| 1137 | |
| 1138 | PIN_SLP(gpk2-0, INPUT, DOWN); |
| 1139 | PIN_SLP(gpk2-1, INPUT, DOWN); |
| 1140 | PIN_SLP(gpk2-2, INPUT, DOWN); |
| 1141 | PIN_SLP(gpk2-3, INPUT, DOWN); |
| 1142 | PIN_SLP(gpk2-4, INPUT, DOWN); |
| 1143 | PIN_SLP(gpk2-5, INPUT, DOWN); |
| 1144 | PIN_SLP(gpk2-6, INPUT, DOWN); |
| 1145 | |
| 1146 | PIN_SLP(gpk3-0, OUT0, NONE); |
| 1147 | PIN_SLP(gpk3-1, INPUT, NONE); |
| 1148 | PIN_SLP(gpk3-2, INPUT, DOWN); |
| 1149 | PIN_SLP(gpk3-3, INPUT, NONE); |
| 1150 | PIN_SLP(gpk3-4, INPUT, NONE); |
| 1151 | PIN_SLP(gpk3-5, INPUT, NONE); |
| 1152 | PIN_SLP(gpk3-6, INPUT, NONE); |
| 1153 | |
| 1154 | PIN_SLP(gpl0-0, INPUT, DOWN); |
| 1155 | PIN_SLP(gpl0-1, INPUT, DOWN); |
| 1156 | PIN_SLP(gpl0-2, INPUT, DOWN); |
| 1157 | PIN_SLP(gpl0-3, INPUT, DOWN); |
| 1158 | PIN_SLP(gpl0-4, PREV, NONE); |
| 1159 | PIN_SLP(gpl0-6, PREV, NONE); |
| 1160 | |
| 1161 | PIN_SLP(gpl1-0, INPUT, DOWN); |
| 1162 | PIN_SLP(gpl1-1, INPUT, DOWN); |
| 1163 | PIN_SLP(gpl2-0, INPUT, DOWN); |
| 1164 | PIN_SLP(gpl2-1, INPUT, DOWN); |
| 1165 | PIN_SLP(gpl2-2, INPUT, DOWN); |
| 1166 | PIN_SLP(gpl2-3, INPUT, DOWN); |
| 1167 | PIN_SLP(gpl2-4, INPUT, DOWN); |
| 1168 | PIN_SLP(gpl2-5, INPUT, DOWN); |
| 1169 | PIN_SLP(gpl2-6, PREV, NONE); |
| 1170 | PIN_SLP(gpl2-7, INPUT, DOWN); |
| 1171 | |
| 1172 | PIN_SLP(gpm0-0, INPUT, DOWN); |
| 1173 | PIN_SLP(gpm0-1, INPUT, DOWN); |
| 1174 | PIN_SLP(gpm0-2, INPUT, DOWN); |
| 1175 | PIN_SLP(gpm0-3, INPUT, DOWN); |
| 1176 | PIN_SLP(gpm0-4, INPUT, DOWN); |
| 1177 | PIN_SLP(gpm0-5, INPUT, DOWN); |
| 1178 | PIN_SLP(gpm0-6, INPUT, DOWN); |
| 1179 | PIN_SLP(gpm0-7, INPUT, DOWN); |
| 1180 | |
| 1181 | PIN_SLP(gpm1-0, INPUT, DOWN); |
| 1182 | PIN_SLP(gpm1-1, INPUT, DOWN); |
| 1183 | PIN_SLP(gpm1-2, INPUT, NONE); |
| 1184 | PIN_SLP(gpm1-3, INPUT, NONE); |
| 1185 | PIN_SLP(gpm1-4, INPUT, NONE); |
| 1186 | PIN_SLP(gpm1-5, INPUT, NONE); |
| 1187 | PIN_SLP(gpm1-6, INPUT, DOWN); |
| 1188 | |
| 1189 | PIN_SLP(gpm2-0, INPUT, NONE); |
| 1190 | PIN_SLP(gpm2-1, INPUT, NONE); |
| 1191 | PIN_SLP(gpm2-2, INPUT, DOWN); |
| 1192 | PIN_SLP(gpm2-3, INPUT, DOWN); |
| 1193 | PIN_SLP(gpm2-4, INPUT, DOWN); |
| 1194 | |
| 1195 | PIN_SLP(gpm3-0, PREV, NONE); |
| 1196 | PIN_SLP(gpm3-1, PREV, NONE); |
| 1197 | PIN_SLP(gpm3-2, PREV, NONE); |
| 1198 | PIN_SLP(gpm3-3, OUT1, NONE); |
| 1199 | PIN_SLP(gpm3-4, INPUT, DOWN); |
| 1200 | PIN_SLP(gpm3-5, INPUT, DOWN); |
| 1201 | PIN_SLP(gpm3-6, INPUT, DOWN); |
| 1202 | PIN_SLP(gpm3-7, INPUT, DOWN); |
| 1203 | |
| 1204 | PIN_SLP(gpm4-0, INPUT, DOWN); |
| 1205 | PIN_SLP(gpm4-1, INPUT, DOWN); |
| 1206 | PIN_SLP(gpm4-2, INPUT, DOWN); |
| 1207 | PIN_SLP(gpm4-3, INPUT, DOWN); |
| 1208 | PIN_SLP(gpm4-4, INPUT, DOWN); |
| 1209 | PIN_SLP(gpm4-5, INPUT, DOWN); |
| 1210 | PIN_SLP(gpm4-6, INPUT, DOWN); |
| 1211 | PIN_SLP(gpm4-7, INPUT, DOWN); |
| 1212 | |
| 1213 | PIN_SLP(gpy0-0, INPUT, DOWN); |
| 1214 | PIN_SLP(gpy0-1, INPUT, DOWN); |
| 1215 | PIN_SLP(gpy0-2, INPUT, DOWN); |
| 1216 | PIN_SLP(gpy0-3, INPUT, DOWN); |
| 1217 | PIN_SLP(gpy0-4, INPUT, DOWN); |
| 1218 | PIN_SLP(gpy0-5, INPUT, DOWN); |
| 1219 | |
| 1220 | PIN_SLP(gpy1-0, INPUT, DOWN); |
| 1221 | PIN_SLP(gpy1-1, INPUT, DOWN); |
| 1222 | PIN_SLP(gpy1-2, INPUT, DOWN); |
| 1223 | PIN_SLP(gpy1-3, INPUT, DOWN); |
| 1224 | |
| 1225 | PIN_SLP(gpy2-0, PREV, NONE); |
| 1226 | PIN_SLP(gpy2-1, INPUT, DOWN); |
| 1227 | PIN_SLP(gpy2-2, INPUT, NONE); |
| 1228 | PIN_SLP(gpy2-3, INPUT, NONE); |
| 1229 | PIN_SLP(gpy2-4, INPUT, NONE); |
| 1230 | PIN_SLP(gpy2-5, INPUT, NONE); |
| 1231 | |
| 1232 | PIN_SLP(gpy3-0, INPUT, DOWN); |
| 1233 | PIN_SLP(gpy3-1, INPUT, DOWN); |
| 1234 | PIN_SLP(gpy3-2, INPUT, DOWN); |
| 1235 | PIN_SLP(gpy3-3, INPUT, DOWN); |
| 1236 | PIN_SLP(gpy3-4, INPUT, DOWN); |
| 1237 | PIN_SLP(gpy3-5, INPUT, DOWN); |
| 1238 | PIN_SLP(gpy3-6, INPUT, DOWN); |
| 1239 | PIN_SLP(gpy3-7, INPUT, DOWN); |
| 1240 | |
| 1241 | PIN_SLP(gpy4-0, INPUT, DOWN); |
| 1242 | PIN_SLP(gpy4-1, INPUT, DOWN); |
| 1243 | PIN_SLP(gpy4-2, INPUT, DOWN); |
| 1244 | PIN_SLP(gpy4-3, INPUT, DOWN); |
| 1245 | PIN_SLP(gpy4-4, INPUT, DOWN); |
| 1246 | PIN_SLP(gpy4-5, INPUT, DOWN); |
| 1247 | PIN_SLP(gpy4-6, INPUT, DOWN); |
| 1248 | PIN_SLP(gpy4-7, INPUT, DOWN); |
| 1249 | |
| 1250 | PIN_SLP(gpy5-0, INPUT, DOWN); |
| 1251 | PIN_SLP(gpy5-1, INPUT, DOWN); |
| 1252 | PIN_SLP(gpy5-2, INPUT, DOWN); |
| 1253 | PIN_SLP(gpy5-3, INPUT, DOWN); |
| 1254 | PIN_SLP(gpy5-4, INPUT, DOWN); |
| 1255 | PIN_SLP(gpy5-5, INPUT, DOWN); |
| 1256 | PIN_SLP(gpy5-6, INPUT, DOWN); |
| 1257 | PIN_SLP(gpy5-7, INPUT, DOWN); |
| 1258 | |
| 1259 | PIN_SLP(gpy6-0, INPUT, DOWN); |
| 1260 | PIN_SLP(gpy6-1, INPUT, DOWN); |
| 1261 | PIN_SLP(gpy6-2, INPUT, DOWN); |
| 1262 | PIN_SLP(gpy6-3, INPUT, DOWN); |
| 1263 | PIN_SLP(gpy6-4, INPUT, DOWN); |
| 1264 | PIN_SLP(gpy6-5, INPUT, DOWN); |
| 1265 | PIN_SLP(gpy6-6, INPUT, DOWN); |
| 1266 | PIN_SLP(gpy6-7, INPUT, DOWN); |
| 1267 | }; |
| 1268 | }; |
| 1269 | |
| 1270 | &pinctrl_2 { |
| 1271 | pinctrl-names = "default"; |
| 1272 | pinctrl-0 = <&sleep2>; |
| 1273 | |
| 1274 | sleep2: sleep-states { |
| 1275 | PIN_SLP(gpz-0, INPUT, DOWN); |
| 1276 | PIN_SLP(gpz-1, INPUT, DOWN); |
| 1277 | PIN_SLP(gpz-2, INPUT, DOWN); |
| 1278 | PIN_SLP(gpz-3, INPUT, DOWN); |
| 1279 | PIN_SLP(gpz-4, INPUT, DOWN); |
| 1280 | PIN_SLP(gpz-5, INPUT, DOWN); |
| 1281 | PIN_SLP(gpz-6, INPUT, DOWN); |
| 1282 | }; |
| 1283 | }; |
| 1284 | |
| 1285 | &pinctrl_3 { |
| 1286 | pinctrl-names = "default"; |
| 1287 | pinctrl-0 = <&sleep3>; |
| 1288 | |
| 1289 | sleep3: sleep-states { |
| 1290 | PIN_SLP(gpv0-0, INPUT, DOWN); |
| 1291 | PIN_SLP(gpv0-1, INPUT, DOWN); |
| 1292 | PIN_SLP(gpv0-2, INPUT, DOWN); |
| 1293 | PIN_SLP(gpv0-3, INPUT, DOWN); |
| 1294 | PIN_SLP(gpv0-4, INPUT, DOWN); |
| 1295 | PIN_SLP(gpv0-5, INPUT, DOWN); |
| 1296 | PIN_SLP(gpv0-6, INPUT, DOWN); |
| 1297 | PIN_SLP(gpv0-7, INPUT, DOWN); |
| 1298 | |
| 1299 | PIN_SLP(gpv1-0, INPUT, DOWN); |
| 1300 | PIN_SLP(gpv1-1, INPUT, DOWN); |
| 1301 | PIN_SLP(gpv1-2, INPUT, DOWN); |
| 1302 | PIN_SLP(gpv1-3, INPUT, DOWN); |
| 1303 | PIN_SLP(gpv1-4, INPUT, DOWN); |
| 1304 | PIN_SLP(gpv1-5, INPUT, DOWN); |
| 1305 | PIN_SLP(gpv1-6, INPUT, DOWN); |
| 1306 | PIN_SLP(gpv1-7, INPUT, DOWN); |
| 1307 | |
| 1308 | PIN_SLP(gpv2-0, INPUT, DOWN); |
| 1309 | PIN_SLP(gpv2-1, INPUT, DOWN); |
| 1310 | PIN_SLP(gpv2-2, INPUT, DOWN); |
| 1311 | PIN_SLP(gpv2-3, INPUT, DOWN); |
| 1312 | PIN_SLP(gpv2-4, INPUT, DOWN); |
| 1313 | PIN_SLP(gpv2-5, INPUT, DOWN); |
| 1314 | PIN_SLP(gpv2-6, INPUT, DOWN); |
| 1315 | PIN_SLP(gpv2-7, INPUT, DOWN); |
| 1316 | |
| 1317 | PIN_SLP(gpv3-0, INPUT, DOWN); |
| 1318 | PIN_SLP(gpv3-1, INPUT, DOWN); |
| 1319 | PIN_SLP(gpv3-2, INPUT, DOWN); |
| 1320 | PIN_SLP(gpv3-3, INPUT, DOWN); |
| 1321 | PIN_SLP(gpv3-4, INPUT, DOWN); |
| 1322 | PIN_SLP(gpv3-5, INPUT, DOWN); |
| 1323 | PIN_SLP(gpv3-6, INPUT, DOWN); |
| 1324 | PIN_SLP(gpv3-7, INPUT, DOWN); |
| 1325 | |
| 1326 | PIN_SLP(gpv4-0, INPUT, DOWN); |
| 1327 | }; |
| 1328 | }; |
Krzysztof Kozlowski | ce9940a | 2015-05-02 14:40:08 +0900 | [diff] [blame] | 1329 | |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 1330 | &pwm { |
| 1331 | pinctrl-0 = <&pwm0_out>; |
| 1332 | pinctrl-names = "default"; |
| 1333 | samsung,pwm-outputs = <0>; |
| 1334 | status = "okay"; |
| 1335 | }; |
| 1336 | |
Krzysztof Kozlowski | ce9940a | 2015-05-02 14:40:08 +0900 | [diff] [blame] | 1337 | &rtc { |
| 1338 | status = "okay"; |
| 1339 | clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>; |
| 1340 | clock-names = "rtc", "rtc_src"; |
| 1341 | }; |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 1342 | |
| 1343 | &sdhci_2 { |
| 1344 | bus-width = <4>; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 1345 | cd-gpios = <&gpx3 4 GPIO_ACTIVE_HIGH>; |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 1346 | cd-inverted; |
| 1347 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>; |
| 1348 | pinctrl-names = "default"; |
| 1349 | vmmc-supply = <&ldo21_reg>; |
| 1350 | status = "okay"; |
| 1351 | }; |
| 1352 | |
| 1353 | &serial_0 { |
| 1354 | status = "okay"; |
| 1355 | }; |
| 1356 | |
| 1357 | &serial_1 { |
| 1358 | status = "okay"; |
| 1359 | }; |
| 1360 | |
| 1361 | &serial_2 { |
| 1362 | status = "okay"; |
| 1363 | }; |
| 1364 | |
| 1365 | &serial_3 { |
| 1366 | status = "okay"; |
| 1367 | }; |
| 1368 | |
| 1369 | &spi_1 { |
| 1370 | pinctrl-names = "default"; |
| 1371 | pinctrl-0 = <&spi1_bus>; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 1372 | cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>; |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 1373 | status = "okay"; |
| 1374 | |
Krzysztof Kozlowski | 26ee29a | 2016-04-06 11:00:43 +0900 | [diff] [blame] | 1375 | s5c73m3_spi: s5c73m3@0 { |
Krzysztof Kozlowski | 1fe9a94 | 2015-04-06 21:07:42 +0200 | [diff] [blame] | 1376 | compatible = "samsung,s5c73m3"; |
| 1377 | spi-max-frequency = <50000000>; |
| 1378 | reg = <0>; |
| 1379 | controller-data { |
| 1380 | samsung,spi-feedback-delay = <2>; |
| 1381 | }; |
| 1382 | }; |
| 1383 | }; |
| 1384 | |
| 1385 | &tmu { |
| 1386 | vtmu-supply = <&ldo10_reg>; |
| 1387 | status = "okay"; |
| 1388 | }; |