1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * Samsung's Exynos3250 based Rinato board dev 3 * Samsung's Exynos3250 based Rinato board device tree source 4 * 4 * 5 * Copyright (c) 2014 Samsung Electronics Co., 5 * Copyright (c) 2014 Samsung Electronics Co., Ltd. 6 * http://www.samsung.com 6 * http://www.samsung.com 7 * 7 * 8 * Device tree source file for Samsung's Rinat 8 * Device tree source file for Samsung's Rinato board which is based on 9 * Samsung Exynos3250 SoC. 9 * Samsung Exynos3250 SoC. 10 */ 10 */ 11 11 12 /dts-v1/; 12 /dts-v1/; 13 #include "exynos3250.dtsi" 13 #include "exynos3250.dtsi" 14 #include "exynos4412-ppmu-common.dtsi" 14 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/clock/samsung,s2mps11.h> 17 #include <dt-bindings/clock/samsung,s2mps11.h> 18 18 19 / { 19 / { 20 model = "Samsung Rinato board"; 20 model = "Samsung Rinato board"; 21 compatible = "samsung,rinato", "samsun 21 compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3"; 22 chassis-type = "watch"; 22 chassis-type = "watch"; 23 23 24 aliases { 24 aliases { 25 i2c7 = &i2c_max77836; 25 i2c7 = &i2c_max77836; 26 mmc0 = &mshc_0; 26 mmc0 = &mshc_0; 27 mmc1 = &mshc_1; 27 mmc1 = &mshc_1; 28 }; 28 }; 29 29 30 chosen { 30 chosen { 31 stdout-path = &serial_1; 31 stdout-path = &serial_1; 32 }; 32 }; 33 33 34 memory@40000000 { 34 memory@40000000 { 35 device_type = "memory"; 35 device_type = "memory"; 36 reg = <0x40000000 0x1ff00000>; 36 reg = <0x40000000 0x1ff00000>; 37 }; 37 }; 38 38 39 firmware@205f000 { 39 firmware@205f000 { 40 compatible = "samsung,secure-f 40 compatible = "samsung,secure-firmware"; 41 reg = <0x0205f000 0x1000>; 41 reg = <0x0205f000 0x1000>; 42 }; 42 }; 43 43 44 gpio-keys { 44 gpio-keys { 45 compatible = "gpio-keys"; 45 compatible = "gpio-keys"; 46 46 47 power-key { 47 power-key { 48 gpios = <&gpx2 7 GPIO_ 48 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; 49 linux,code = <KEY_POWE 49 linux,code = <KEY_POWER>; 50 label = "power key"; 50 label = "power key"; 51 debounce-interval = <1 51 debounce-interval = <10>; 52 wakeup-source; 52 wakeup-source; 53 }; 53 }; 54 }; 54 }; 55 55 56 wlan_pwrseq: mshc1-pwrseq { 56 wlan_pwrseq: mshc1-pwrseq { 57 compatible = "mmc-pwrseq-simpl 57 compatible = "mmc-pwrseq-simple"; 58 reset-gpios = <&gpe0 4 GPIO_AC 58 reset-gpios = <&gpe0 4 GPIO_ACTIVE_LOW>; 59 }; 59 }; 60 60 61 i2c_max77836: i2c-gpio-0 { 61 i2c_max77836: i2c-gpio-0 { 62 compatible = "i2c-gpio"; 62 compatible = "i2c-gpio"; 63 sda-gpios = <&gpd0 2 (GPIO_ACT 63 sda-gpios = <&gpd0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 64 scl-gpios = <&gpd0 3 (GPIO_ACT 64 scl-gpios = <&gpd0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 65 #address-cells = <1>; 65 #address-cells = <1>; 66 #size-cells = <0>; 66 #size-cells = <0>; 67 67 68 max77836: pmic@25 { 68 max77836: pmic@25 { 69 compatible = "maxim,ma 69 compatible = "maxim,max77836"; 70 interrupt-parent = <&g 70 interrupt-parent = <&gpx1>; 71 interrupts = <5 IRQ_TY 71 interrupts = <5 IRQ_TYPE_NONE>; 72 reg = <0x25>; 72 reg = <0x25>; 73 wakeup-source; 73 wakeup-source; 74 74 75 extcon { 75 extcon { 76 compatible = " 76 compatible = "maxim,max77836-muic"; 77 }; 77 }; 78 78 79 regulators { 79 regulators { 80 compatible = " 80 compatible = "maxim,max77836-regulator"; 81 safeout_reg: S 81 safeout_reg: SAFEOUT { 82 regula 82 regulator-name = "SAFEOUT"; 83 }; 83 }; 84 84 85 charger_reg: C 85 charger_reg: CHARGER { 86 regula 86 regulator-name = "CHARGER"; 87 regula 87 regulator-min-microamp = <45000>; 88 regula 88 regulator-max-microamp = <475000>; 89 regula 89 regulator-boot-on; 90 }; 90 }; 91 91 92 motor_reg: LDO 92 motor_reg: LDO1 { 93 regula 93 regulator-name = "MOT_2.7V"; 94 regula 94 regulator-min-microvolt = <1100000>; 95 regula 95 regulator-max-microvolt = <2700000>; 96 }; 96 }; 97 97 98 LDO2 { 98 LDO2 { 99 regula 99 regulator-name = "UNUSED_LDO2"; 100 regula 100 regulator-min-microvolt = <800000>; 101 regula 101 regulator-max-microvolt = <3950000>; 102 }; 102 }; 103 }; 103 }; 104 104 105 charger { 105 charger { 106 compatible = " 106 compatible = "maxim,max77836-charger"; 107 107 108 maxim,constant 108 maxim,constant-uvolt = <4350000>; 109 maxim,fast-cha 109 maxim,fast-charge-uamp = <225000>; 110 maxim,eoc-uamp 110 maxim,eoc-uamp = <7500>; 111 maxim,ovp-uvol 111 maxim,ovp-uvolt = <6500000>; 112 }; 112 }; 113 }; 113 }; 114 }; 114 }; 115 115 116 haptics { 116 haptics { 117 compatible = "regulator-haptic 117 compatible = "regulator-haptic"; 118 haptic-supply = <&motor_reg>; 118 haptic-supply = <&motor_reg>; 119 min-microvolt = <1100000>; 119 min-microvolt = <1100000>; 120 max-microvolt = <2700000>; 120 max-microvolt = <2700000>; 121 }; 121 }; 122 122 123 thermal-zones { 123 thermal-zones { 124 cpu_thermal: cpu-thermal { 124 cpu_thermal: cpu-thermal { 125 cooling-maps { 125 cooling-maps { 126 map0 { 126 map0 { 127 /* Cor 127 /* Corresponds to 500MHz */ 128 coolin 128 cooling-device = <&cpu0 5 5>, 129 129 <&cpu1 5 5>; 130 }; 130 }; 131 map1 { 131 map1 { 132 /* Cor 132 /* Corresponds to 200MHz */ 133 coolin 133 cooling-device = <&cpu0 8 8>, 134 134 <&cpu1 8 8>; 135 }; 135 }; 136 }; 136 }; 137 }; 137 }; 138 }; 138 }; 139 }; 139 }; 140 140 141 &adc { 141 &adc { 142 vdd-supply = <&ldo3_reg>; 142 vdd-supply = <&ldo3_reg>; 143 status = "okay"; 143 status = "okay"; 144 assigned-clocks = <&cmu CLK_SCLK_TSADC 144 assigned-clocks = <&cmu CLK_SCLK_TSADC>; 145 assigned-clock-rates = <6000000>; 145 assigned-clock-rates = <6000000>; 146 146 147 thermistor-ap { 147 thermistor-ap { 148 compatible = "murata,ncp15wb47 148 compatible = "murata,ncp15wb473"; 149 pullup-uv = <1800000>; 149 pullup-uv = <1800000>; 150 pullup-ohm = <100000>; 150 pullup-ohm = <100000>; 151 pulldown-ohm = <100000>; 151 pulldown-ohm = <100000>; 152 io-channels = <&adc 0>; 152 io-channels = <&adc 0>; 153 }; 153 }; 154 154 155 thermistor-battery { 155 thermistor-battery { 156 compatible = "murata,ncp15wb47 156 compatible = "murata,ncp15wb473"; 157 pullup-uv = <1800000>; 157 pullup-uv = <1800000>; 158 pullup-ohm = <100000>; 158 pullup-ohm = <100000>; 159 pulldown-ohm = <100000>; 159 pulldown-ohm = <100000>; 160 io-channels = <&adc 1>; 160 io-channels = <&adc 1>; 161 }; 161 }; 162 }; 162 }; 163 163 164 &bus_dmc { 164 &bus_dmc { 165 devfreq-events = <&ppmu_dmc0_3>, <&ppm 165 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>; 166 vdd-supply = <&buck1_reg>; 166 vdd-supply = <&buck1_reg>; 167 status = "okay"; 167 status = "okay"; 168 }; 168 }; 169 169 170 &bus_leftbus { 170 &bus_leftbus { 171 devfreq-events = <&ppmu_leftbus_3>, <& 171 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>; 172 vdd-supply = <&buck3_reg>; 172 vdd-supply = <&buck3_reg>; 173 status = "okay"; 173 status = "okay"; 174 }; 174 }; 175 175 176 &bus_rightbus { 176 &bus_rightbus { 177 devfreq = <&bus_leftbus>; 177 devfreq = <&bus_leftbus>; 178 status = "okay"; 178 status = "okay"; 179 }; 179 }; 180 180 181 &bus_lcd0 { 181 &bus_lcd0 { 182 devfreq = <&bus_leftbus>; 182 devfreq = <&bus_leftbus>; 183 status = "okay"; 183 status = "okay"; 184 }; 184 }; 185 185 186 &bus_fsys { 186 &bus_fsys { 187 devfreq = <&bus_leftbus>; 187 devfreq = <&bus_leftbus>; 188 status = "okay"; 188 status = "okay"; 189 }; 189 }; 190 190 191 &bus_mcuisp { 191 &bus_mcuisp { 192 devfreq = <&bus_leftbus>; 192 devfreq = <&bus_leftbus>; 193 status = "okay"; 193 status = "okay"; 194 }; 194 }; 195 195 196 &bus_isp { 196 &bus_isp { 197 devfreq = <&bus_leftbus>; 197 devfreq = <&bus_leftbus>; 198 status = "okay"; 198 status = "okay"; 199 }; 199 }; 200 200 201 &bus_peril { 201 &bus_peril { 202 devfreq = <&bus_leftbus>; 202 devfreq = <&bus_leftbus>; 203 status = "okay"; 203 status = "okay"; 204 }; 204 }; 205 205 206 &bus_mfc { 206 &bus_mfc { 207 devfreq = <&bus_leftbus>; 207 devfreq = <&bus_leftbus>; 208 status = "okay"; 208 status = "okay"; 209 }; 209 }; 210 210 211 &cmu { 211 &cmu { 212 clocks = <&xusbxti>; 212 clocks = <&xusbxti>; 213 }; 213 }; 214 214 215 &cpu0 { 215 &cpu0 { 216 cpu0-supply = <&buck2_reg>; 216 cpu0-supply = <&buck2_reg>; 217 }; 217 }; 218 218 219 &exynos_usbphy { 219 &exynos_usbphy { 220 status = "okay"; 220 status = "okay"; 221 vbus-supply = <&safeout_reg>; 221 vbus-supply = <&safeout_reg>; 222 }; 222 }; 223 223 224 &hsotg { 224 &hsotg { 225 vusb_d-supply = <&ldo15_reg>; 225 vusb_d-supply = <&ldo15_reg>; 226 vusb_a-supply = <&ldo12_reg>; 226 vusb_a-supply = <&ldo12_reg>; 227 dr_mode = "peripheral"; 227 dr_mode = "peripheral"; 228 status = "okay"; 228 status = "okay"; 229 }; 229 }; 230 230 231 &dsi_0 { 231 &dsi_0 { 232 vddcore-supply = <&ldo6_reg>; 232 vddcore-supply = <&ldo6_reg>; 233 vddio-supply = <&ldo6_reg>; 233 vddio-supply = <&ldo6_reg>; 234 samsung,burst-clock-frequency = <25000 234 samsung,burst-clock-frequency = <250000000>; 235 samsung,esc-clock-frequency = <2000000 235 samsung,esc-clock-frequency = <20000000>; 236 samsung,pll-clock-frequency = <2400000 236 samsung,pll-clock-frequency = <24000000>; 237 status = "okay"; 237 status = "okay"; 238 238 239 panel@0 { 239 panel@0 { 240 compatible = "samsung,s6e63j0x 240 compatible = "samsung,s6e63j0x03"; 241 reg = <0>; 241 reg = <0>; 242 vdd3-supply = <&ldo16_reg>; 242 vdd3-supply = <&ldo16_reg>; 243 vci-supply = <&ldo20_reg>; 243 vci-supply = <&ldo20_reg>; 244 reset-gpios = <&gpe0 1 GPIO_AC 244 reset-gpios = <&gpe0 1 GPIO_ACTIVE_LOW>; 245 te-gpios = <&gpx0 6 GPIO_ACTIV 245 te-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>; 246 }; 246 }; 247 }; 247 }; 248 248 249 &fimd { 249 &fimd { 250 status = "okay"; 250 status = "okay"; 251 251 252 i80-if-timings { 252 i80-if-timings { 253 cs-setup = <0>; 253 cs-setup = <0>; 254 wr-setup = <0>; 254 wr-setup = <0>; 255 wr-active = <1>; 255 wr-active = <1>; 256 wr-hold = <0>; 256 wr-hold = <0>; 257 }; 257 }; 258 }; 258 }; 259 259 260 &gpu { 260 &gpu { 261 mali-supply = <&buck3_reg>; 261 mali-supply = <&buck3_reg>; 262 status = "okay"; 262 status = "okay"; 263 }; 263 }; 264 264 265 &i2c_0 { 265 &i2c_0 { 266 #address-cells = <1>; 266 #address-cells = <1>; 267 #size-cells = <0>; 267 #size-cells = <0>; 268 samsung,i2c-sda-delay = <100>; 268 samsung,i2c-sda-delay = <100>; 269 samsung,i2c-slave-addr = <0x10>; 269 samsung,i2c-slave-addr = <0x10>; 270 samsung,i2c-max-bus-freq = <100000>; 270 samsung,i2c-max-bus-freq = <100000>; 271 status = "okay"; 271 status = "okay"; 272 272 273 pmic@66 { 273 pmic@66 { 274 compatible = "samsung,s2mps14- 274 compatible = "samsung,s2mps14-pmic"; 275 interrupt-parent = <&gpx0>; 275 interrupt-parent = <&gpx0>; 276 interrupts = <7 IRQ_TYPE_LEVEL 276 interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 277 reg = <0x66>; 277 reg = <0x66>; 278 wakeup-source; 278 wakeup-source; 279 279 280 s2mps14_osc: clocks { 280 s2mps14_osc: clocks { 281 compatible = "samsung, 281 compatible = "samsung,s2mps14-clk"; 282 #clock-cells = <1>; 282 #clock-cells = <1>; 283 clock-output-names = " 283 clock-output-names = "s2mps14_ap", "unused", 284 "s2mps14_bt"; 284 "s2mps14_bt"; 285 }; 285 }; 286 286 287 regulators { 287 regulators { 288 ldo1_reg: LDO1 { 288 ldo1_reg: LDO1 { 289 regulator-name 289 regulator-name = "VAP_ALIVE_1.0V"; 290 regulator-min- 290 regulator-min-microvolt = <1000000>; 291 regulator-max- 291 regulator-max-microvolt = <1000000>; 292 regulator-alwa 292 regulator-always-on; 293 293 294 regulator-stat 294 regulator-state-mem { 295 regula 295 regulator-on-in-suspend; 296 }; 296 }; 297 }; 297 }; 298 298 299 ldo2_reg: LDO2 { 299 ldo2_reg: LDO2 { 300 regulator-name 300 regulator-name = "VAP_M1_1.2V"; 301 regulator-min- 301 regulator-min-microvolt = <1200000>; 302 regulator-max- 302 regulator-max-microvolt = <1200000>; 303 regulator-alwa 303 regulator-always-on; 304 304 305 regulator-stat 305 regulator-state-mem { 306 regula 306 regulator-off-in-suspend; 307 }; 307 }; 308 }; 308 }; 309 309 310 ldo3_reg: LDO3 { 310 ldo3_reg: LDO3 { 311 regulator-name 311 regulator-name = "VCC_AP_1.8V"; 312 regulator-min- 312 regulator-min-microvolt = <1800000>; 313 regulator-max- 313 regulator-max-microvolt = <1800000>; 314 regulator-alwa 314 regulator-always-on; 315 315 316 regulator-stat 316 regulator-state-mem { 317 regula 317 regulator-off-in-suspend; 318 }; 318 }; 319 }; 319 }; 320 320 321 ldo4_reg: LDO4 { 321 ldo4_reg: LDO4 { 322 regulator-name 322 regulator-name = "VAP_AVDD_PLL1"; 323 regulator-min- 323 regulator-min-microvolt = <1800000>; 324 regulator-max- 324 regulator-max-microvolt = <1800000>; 325 regulator-alwa 325 regulator-always-on; 326 326 327 regulator-stat 327 regulator-state-mem { 328 regula 328 regulator-off-in-suspend; 329 }; 329 }; 330 }; 330 }; 331 331 332 ldo5_reg: LDO5 { 332 ldo5_reg: LDO5 { 333 regulator-name 333 regulator-name = "VAP_PLL_ISO_1.0V"; 334 regulator-min- 334 regulator-min-microvolt = <1000000>; 335 regulator-max- 335 regulator-max-microvolt = <1000000>; 336 regulator-alwa 336 regulator-always-on; 337 337 338 regulator-stat 338 regulator-state-mem { 339 regula 339 regulator-off-in-suspend; 340 }; 340 }; 341 }; 341 }; 342 342 343 ldo6_reg: LDO6 { 343 ldo6_reg: LDO6 { 344 regulator-name 344 regulator-name = "VAP_VMIPI_1.0V"; 345 regulator-min- 345 regulator-min-microvolt = <1000000>; 346 regulator-max- 346 regulator-max-microvolt = <1000000>; 347 regulator-alwa 347 regulator-always-on; 348 348 349 regulator-stat 349 regulator-state-mem { 350 regula 350 regulator-off-in-suspend; 351 }; 351 }; 352 }; 352 }; 353 353 354 ldo7_reg: LDO7 { 354 ldo7_reg: LDO7 { 355 regulator-name 355 regulator-name = "VAP_AVDD_1.8V"; 356 regulator-min- 356 regulator-min-microvolt = <1800000>; 357 regulator-max- 357 regulator-max-microvolt = <1800000>; 358 regulator-alwa 358 regulator-always-on; 359 359 360 regulator-stat 360 regulator-state-mem { 361 regula 361 regulator-off-in-suspend; 362 }; 362 }; 363 }; 363 }; 364 364 365 ldo8_reg: LDO8 { 365 ldo8_reg: LDO8 { 366 regulator-name 366 regulator-name = "VAP_USB_3.0V"; 367 regulator-min- 367 regulator-min-microvolt = <3000000>; 368 regulator-max- 368 regulator-max-microvolt = <3000000>; 369 regulator-alwa 369 regulator-always-on; 370 370 371 regulator-stat 371 regulator-state-mem { 372 regula 372 regulator-off-in-suspend; 373 }; 373 }; 374 }; 374 }; 375 375 376 ldo9_reg: LDO9 { 376 ldo9_reg: LDO9 { 377 regulator-name 377 regulator-name = "V_LPDDR_1.2V"; 378 regulator-min- 378 regulator-min-microvolt = <1200000>; 379 regulator-max- 379 regulator-max-microvolt = <1200000>; 380 regulator-alwa 380 regulator-always-on; 381 381 382 regulator-stat 382 regulator-state-mem { 383 regula 383 regulator-on-in-suspend; 384 }; 384 }; 385 }; 385 }; 386 386 387 ldo10_reg: LDO10 { 387 ldo10_reg: LDO10 { 388 regulator-name 388 regulator-name = "UNUSED_LDO10"; 389 regulator-min- 389 regulator-min-microvolt = <1000000>; 390 regulator-max- 390 regulator-max-microvolt = <1000000>; 391 391 392 regulator-stat 392 regulator-state-mem { 393 regula 393 regulator-off-in-suspend; 394 }; 394 }; 395 }; 395 }; 396 396 397 ldo11_reg: LDO11 { 397 ldo11_reg: LDO11 { 398 regulator-name 398 regulator-name = "V_EMMC_1.8V"; 399 regulator-min- 399 regulator-min-microvolt = <1800000>; 400 regulator-max- 400 regulator-max-microvolt = <1800000>; 401 samsung,ext-co 401 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>; 402 }; 402 }; 403 403 404 ldo12_reg: LDO12 { 404 ldo12_reg: LDO12 { 405 regulator-name 405 regulator-name = "V_EMMC_2.8V"; 406 regulator-min- 406 regulator-min-microvolt = <2800000>; 407 regulator-max- 407 regulator-max-microvolt = <2800000>; 408 samsung,ext-co 408 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>; 409 }; 409 }; 410 410 411 ldo13_reg: LDO13 { 411 ldo13_reg: LDO13 { 412 regulator-name 412 regulator-name = "CAM_AVDD_2.8V"; 413 regulator-min- 413 regulator-min-microvolt = <2800000>; 414 regulator-max- 414 regulator-max-microvolt = <2800000>; 415 415 416 regulator-stat 416 regulator-state-mem { 417 regula 417 regulator-off-in-suspend; 418 }; 418 }; 419 }; 419 }; 420 420 421 ldo14_reg: LDO14 { 421 ldo14_reg: LDO14 { 422 regulator-name 422 regulator-name = "UNUSED_LDO14"; 423 regulator-min- 423 regulator-min-microvolt = <2700000>; 424 regulator-max- 424 regulator-max-microvolt = <2700000>; 425 425 426 regulator-stat 426 regulator-state-mem { 427 regula 427 regulator-off-in-suspend; 428 }; 428 }; 429 }; 429 }; 430 430 431 ldo15_reg: LDO15 { 431 ldo15_reg: LDO15 { 432 regulator-name 432 regulator-name = "TSP_AVDD_3.3V"; 433 regulator-min- 433 regulator-min-microvolt = <3300000>; 434 regulator-max- 434 regulator-max-microvolt = <3300000>; 435 435 436 regulator-stat 436 regulator-state-mem { 437 regula 437 regulator-off-in-suspend; 438 }; 438 }; 439 }; 439 }; 440 440 441 ldo16_reg: LDO16 { 441 ldo16_reg: LDO16 { 442 regulator-name 442 regulator-name = "LCD_VDD_3.3V"; 443 regulator-min- 443 regulator-min-microvolt = <3300000>; 444 regulator-max- 444 regulator-max-microvolt = <3300000>; 445 445 446 regulator-stat 446 regulator-state-mem { 447 regula 447 regulator-off-in-suspend; 448 }; 448 }; 449 }; 449 }; 450 450 451 ldo17_reg: LDO17 { 451 ldo17_reg: LDO17 { 452 regulator-name 452 regulator-name = "V_IRLED_3.3V"; 453 regulator-min- 453 regulator-min-microvolt = <3300000>; 454 regulator-max- 454 regulator-max-microvolt = <3300000>; 455 455 456 regulator-stat 456 regulator-state-mem { 457 regula 457 regulator-off-in-suspend; 458 }; 458 }; 459 }; 459 }; 460 460 461 ldo18_reg: LDO18 { 461 ldo18_reg: LDO18 { 462 regulator-name 462 regulator-name = "CAM_AF_2.8V"; 463 regulator-min- 463 regulator-min-microvolt = <2800000>; 464 regulator-max- 464 regulator-max-microvolt = <2800000>; 465 465 466 regulator-stat 466 regulator-state-mem { 467 regula 467 regulator-off-in-suspend; 468 }; 468 }; 469 }; 469 }; 470 470 471 ldo19_reg: LDO19 { 471 ldo19_reg: LDO19 { 472 regulator-name 472 regulator-name = "TSP_VDD_1.8V"; 473 regulator-min- 473 regulator-min-microvolt = <1800000>; 474 regulator-max- 474 regulator-max-microvolt = <1800000>; 475 475 476 regulator-stat 476 regulator-state-mem { 477 regula 477 regulator-off-in-suspend; 478 }; 478 }; 479 }; 479 }; 480 480 481 ldo20_reg: LDO20 { 481 ldo20_reg: LDO20 { 482 regulator-name 482 regulator-name = "LCD_VDD_1.8V"; 483 regulator-min- 483 regulator-min-microvolt = <1800000>; 484 regulator-max- 484 regulator-max-microvolt = <1800000>; 485 485 486 regulator-stat 486 regulator-state-mem { 487 regula 487 regulator-off-in-suspend; 488 }; 488 }; 489 }; 489 }; 490 490 491 ldo21_reg: LDO21 { 491 ldo21_reg: LDO21 { 492 regulator-name 492 regulator-name = "CAM_IO_1.8V"; 493 regulator-min- 493 regulator-min-microvolt = <1800000>; 494 regulator-max- 494 regulator-max-microvolt = <1800000>; 495 495 496 regulator-stat 496 regulator-state-mem { 497 regula 497 regulator-off-in-suspend; 498 }; 498 }; 499 }; 499 }; 500 500 501 ldo22_reg: LDO22 { 501 ldo22_reg: LDO22 { 502 regulator-name 502 regulator-name = "CAM_DVDD_1.2V"; 503 regulator-min- 503 regulator-min-microvolt = <1200000>; 504 regulator-max- 504 regulator-max-microvolt = <1200000>; 505 505 506 regulator-stat 506 regulator-state-mem { 507 regula 507 regulator-off-in-suspend; 508 }; 508 }; 509 }; 509 }; 510 510 511 ldo23_reg: LDO23 { 511 ldo23_reg: LDO23 { 512 regulator-name 512 regulator-name = "HRM_VCC_1.8V"; 513 regulator-min- 513 regulator-min-microvolt = <1800000>; 514 regulator-max- 514 regulator-max-microvolt = <1800000>; 515 regulator-alwa 515 regulator-always-on; 516 }; 516 }; 517 517 518 ldo24_reg: LDO24 { 518 ldo24_reg: LDO24 { 519 regulator-name 519 regulator-name = "HRM_VCC_3.3V"; 520 regulator-min- 520 regulator-min-microvolt = <3000000>; 521 regulator-max- 521 regulator-max-microvolt = <3000000>; 522 522 523 regulator-stat 523 regulator-state-mem { 524 regula 524 regulator-off-in-suspend; 525 }; 525 }; 526 }; 526 }; 527 527 528 ldo25_reg: LDO25 { 528 ldo25_reg: LDO25 { 529 regulator-name 529 regulator-name = "UNUSED_LDO25"; 530 regulator-min- 530 regulator-min-microvolt = <3000000>; 531 regulator-max- 531 regulator-max-microvolt = <3000000>; 532 532 533 regulator-stat 533 regulator-state-mem { 534 regula 534 regulator-off-in-suspend; 535 }; 535 }; 536 }; 536 }; 537 537 538 buck1_reg: BUCK1 { 538 buck1_reg: BUCK1 { 539 regulator-name 539 regulator-name = "VAP_MIF_1.0V"; 540 regulator-min- 540 regulator-min-microvolt = <800000>; 541 regulator-max- 541 regulator-max-microvolt = <900000>; 542 regulator-alwa 542 regulator-always-on; 543 543 544 regulator-stat 544 regulator-state-mem { 545 regula 545 regulator-off-in-suspend; 546 }; 546 }; 547 }; 547 }; 548 548 549 buck2_reg: BUCK2 { 549 buck2_reg: BUCK2 { 550 regulator-name 550 regulator-name = "VAP_ARM_1.0V"; 551 regulator-min- 551 regulator-min-microvolt = <850000>; 552 regulator-max- 552 regulator-max-microvolt = <1150000>; 553 regulator-alwa 553 regulator-always-on; 554 554 555 regulator-stat 555 regulator-state-mem { 556 regula 556 regulator-off-in-suspend; 557 }; 557 }; 558 }; 558 }; 559 559 560 buck3_reg: BUCK3 { 560 buck3_reg: BUCK3 { 561 regulator-name 561 regulator-name = "VAP_INT3D_1.0V"; 562 regulator-min- 562 regulator-min-microvolt = <850000>; 563 regulator-max- 563 regulator-max-microvolt = <1000000>; 564 regulator-alwa 564 regulator-always-on; 565 565 566 regulator-stat 566 regulator-state-mem { 567 regula 567 regulator-off-in-suspend; 568 }; 568 }; 569 }; 569 }; 570 570 571 buck4_reg: BUCK4 { 571 buck4_reg: BUCK4 { 572 regulator-name 572 regulator-name = "VCC_SUB_1.95V"; 573 regulator-min- 573 regulator-min-microvolt = <1950000>; 574 regulator-max- 574 regulator-max-microvolt = <1950000>; 575 regulator-alwa 575 regulator-always-on; 576 576 577 regulator-stat 577 regulator-state-mem { 578 regula 578 regulator-on-in-suspend; 579 }; 579 }; 580 }; 580 }; 581 581 582 buck5_reg: BUCK5 { 582 buck5_reg: BUCK5 { 583 regulator-name 583 regulator-name = "VCC_SUB_1.35V"; 584 regulator-min- 584 regulator-min-microvolt = <1350000>; 585 regulator-max- 585 regulator-max-microvolt = <1350000>; 586 regulator-alwa 586 regulator-always-on; 587 587 588 regulator-stat 588 regulator-state-mem { 589 regula 589 regulator-on-in-suspend; 590 }; 590 }; 591 }; 591 }; 592 }; 592 }; 593 }; 593 }; 594 }; 594 }; 595 595 596 &i2c_1 { 596 &i2c_1 { 597 #address-cells = <1>; 597 #address-cells = <1>; 598 #size-cells = <0>; 598 #size-cells = <0>; 599 samsung,i2c-sda-delay = <100>; 599 samsung,i2c-sda-delay = <100>; 600 samsung,i2c-slave-addr = <0x10>; 600 samsung,i2c-slave-addr = <0x10>; 601 samsung,i2c-max-bus-freq = <400000>; 601 samsung,i2c-max-bus-freq = <400000>; 602 status = "okay"; 602 status = "okay"; 603 603 604 fuelgauge@36 { 604 fuelgauge@36 { 605 compatible = "maxim,max77836-b 605 compatible = "maxim,max77836-battery"; 606 interrupt-parent = <&gpx1>; 606 interrupt-parent = <&gpx1>; 607 interrupts = <2 IRQ_TYPE_LEVEL 607 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 608 reg = <0x36>; 608 reg = <0x36>; 609 }; 609 }; 610 }; 610 }; 611 611 612 &i2s2 { 612 &i2s2 { 613 status = "okay"; 613 status = "okay"; 614 }; 614 }; 615 615 616 &jpeg { 616 &jpeg { 617 status = "okay"; 617 status = "okay"; 618 }; 618 }; 619 619 620 &mshc_0 { 620 &mshc_0 { 621 broken-cd; 621 broken-cd; 622 non-removable; 622 non-removable; 623 cap-mmc-highspeed; 623 cap-mmc-highspeed; 624 mmc-hs200-1_8v; 624 mmc-hs200-1_8v; 625 card-detect-delay = <200>; 625 card-detect-delay = <200>; 626 vmmc-supply = <&ldo12_reg>; 626 vmmc-supply = <&ldo12_reg>; 627 clock-frequency = <100000000>; 627 clock-frequency = <100000000>; 628 max-frequency = <100000000>; 628 max-frequency = <100000000>; 629 mmc-ddr-1_8v; 629 mmc-ddr-1_8v; 630 samsung,dw-mshc-ciu-div = <1>; 630 samsung,dw-mshc-ciu-div = <1>; 631 samsung,dw-mshc-sdr-timing = <0 1>; 631 samsung,dw-mshc-sdr-timing = <0 1>; 632 samsung,dw-mshc-ddr-timing = <1 2>; 632 samsung,dw-mshc-ddr-timing = <1 2>; 633 pinctrl-names = "default"; 633 pinctrl-names = "default"; 634 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_b 634 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>; 635 bus-width = <8>; 635 bus-width = <8>; 636 status = "okay"; 636 status = "okay"; 637 }; 637 }; 638 638 639 &mshc_1 { 639 &mshc_1 { 640 status = "okay"; 640 status = "okay"; 641 641 642 #address-cells = <1>; 642 #address-cells = <1>; 643 #size-cells = <0>; 643 #size-cells = <0>; 644 644 645 non-removable; 645 non-removable; 646 cap-sd-highspeed; 646 cap-sd-highspeed; 647 cap-sdio-irq; 647 cap-sdio-irq; 648 keep-power-in-suspend; 648 keep-power-in-suspend; 649 samsung,dw-mshc-ciu-div = <1>; 649 samsung,dw-mshc-ciu-div = <1>; 650 samsung,dw-mshc-sdr-timing = <0 1>; 650 samsung,dw-mshc-sdr-timing = <0 1>; 651 samsung,dw-mshc-ddr-timing = <1 2>; 651 samsung,dw-mshc-ddr-timing = <1 2>; 652 pinctrl-names = "default"; 652 pinctrl-names = "default"; 653 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bu 653 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus1 &sd1_bus4>; 654 bus-width = <4>; 654 bus-width = <4>; 655 655 656 mmc-pwrseq = <&wlan_pwrseq>; 656 mmc-pwrseq = <&wlan_pwrseq>; 657 657 658 brcmf: wifi@1 { 658 brcmf: wifi@1 { 659 compatible = "brcm,bcm4334-fma 659 compatible = "brcm,bcm4334-fmac", "brcm,bcm4329-fmac"; 660 reg = <1>; 660 reg = <1>; 661 661 662 interrupt-parent = <&gpx1>; 662 interrupt-parent = <&gpx1>; 663 interrupts = <1 IRQ_TYPE_LEVEL 663 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>; 664 interrupt-names = "host-wake"; 664 interrupt-names = "host-wake"; 665 }; 665 }; 666 }; 666 }; 667 667 668 &serial_0 { 668 &serial_0 { 669 assigned-clocks = <&cmu CLK_SCLK_UART0 669 assigned-clocks = <&cmu CLK_SCLK_UART0>; 670 assigned-clock-rates = <100000000>; 670 assigned-clock-rates = <100000000>; 671 status = "okay"; 671 status = "okay"; 672 672 673 bluetooth { 673 bluetooth { 674 compatible = "brcm,bcm4330-bt" 674 compatible = "brcm,bcm4330-bt"; 675 max-speed = <3000000>; 675 max-speed = <3000000>; 676 shutdown-gpios = <&gpe0 0 GPIO 676 shutdown-gpios = <&gpe0 0 GPIO_ACTIVE_HIGH>; 677 device-wakeup-gpios = <&gpx3 1 677 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>; 678 host-wakeup-gpios = <&gpx2 6 G 678 host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>; 679 clocks = <&s2mps14_osc S2MPS11 679 clocks = <&s2mps14_osc S2MPS11_CLK_BT>; 680 }; 680 }; 681 }; 681 }; 682 682 683 &serial_1 { 683 &serial_1 { 684 status = "okay"; 684 status = "okay"; 685 }; 685 }; 686 686 687 &tmu { 687 &tmu { 688 vtmu-supply = <&ldo7_reg>; 688 vtmu-supply = <&ldo7_reg>; 689 status = "okay"; 689 status = "okay"; 690 }; 690 }; 691 691 692 &rtc { 692 &rtc { 693 clocks = <&cmu CLK_RTC>, <&s2mps14_osc 693 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>; 694 clock-names = "rtc", "rtc_src"; 694 clock-names = "rtc", "rtc_src"; 695 status = "okay"; 695 status = "okay"; 696 }; 696 }; 697 697 698 &xusbxti { 698 &xusbxti { 699 clock-frequency = <24000000>; 699 clock-frequency = <24000000>; 700 }; 700 }; 701 701 702 &pinctrl_0 { 702 &pinctrl_0 { 703 pinctrl-names = "default"; 703 pinctrl-names = "default"; 704 pinctrl-0 = <&initial0 &sleep0>; 704 pinctrl-0 = <&initial0 &sleep0>; 705 705 706 initial0: initial-state { 706 initial0: initial-state { 707 PIN_IN(gpa1-4, DOWN, LV1); 707 PIN_IN(gpa1-4, DOWN, LV1); 708 PIN_IN(gpa1-5, DOWN, LV1); 708 PIN_IN(gpa1-5, DOWN, LV1); 709 709 710 PIN_IN(gpc0-0, DOWN, LV1); 710 PIN_IN(gpc0-0, DOWN, LV1); 711 PIN_IN(gpc0-1, DOWN, LV1); 711 PIN_IN(gpc0-1, DOWN, LV1); 712 PIN_IN(gpc0-2, DOWN, LV1); 712 PIN_IN(gpc0-2, DOWN, LV1); 713 PIN_IN(gpc0-3, DOWN, LV1); 713 PIN_IN(gpc0-3, DOWN, LV1); 714 PIN_IN(gpc0-4, DOWN, LV1); 714 PIN_IN(gpc0-4, DOWN, LV1); 715 715 716 PIN_IN(gpd0-0, DOWN, LV1); 716 PIN_IN(gpd0-0, DOWN, LV1); 717 PIN_IN(gpd0-1, DOWN, LV1); 717 PIN_IN(gpd0-1, DOWN, LV1); 718 }; 718 }; 719 719 720 sleep0: sleep-state { 720 sleep0: sleep-state { 721 PIN_SLP(gpa0-0, INPUT, DOWN); 721 PIN_SLP(gpa0-0, INPUT, DOWN); 722 PIN_SLP(gpa0-1, INPUT, DOWN); 722 PIN_SLP(gpa0-1, INPUT, DOWN); 723 PIN_SLP(gpa0-2, INPUT, DOWN); 723 PIN_SLP(gpa0-2, INPUT, DOWN); 724 PIN_SLP(gpa0-3, INPUT, DOWN); 724 PIN_SLP(gpa0-3, INPUT, DOWN); 725 PIN_SLP(gpa0-4, INPUT, DOWN); 725 PIN_SLP(gpa0-4, INPUT, DOWN); 726 PIN_SLP(gpa0-5, INPUT, DOWN); 726 PIN_SLP(gpa0-5, INPUT, DOWN); 727 PIN_SLP(gpa0-6, INPUT, DOWN); 727 PIN_SLP(gpa0-6, INPUT, DOWN); 728 PIN_SLP(gpa0-7, INPUT, DOWN); 728 PIN_SLP(gpa0-7, INPUT, DOWN); 729 729 730 PIN_SLP(gpa1-0, INPUT, DOWN); 730 PIN_SLP(gpa1-0, INPUT, DOWN); 731 PIN_SLP(gpa1-1, INPUT, DOWN); 731 PIN_SLP(gpa1-1, INPUT, DOWN); 732 PIN_SLP(gpa1-2, INPUT, DOWN); 732 PIN_SLP(gpa1-2, INPUT, DOWN); 733 PIN_SLP(gpa1-3, INPUT, DOWN); 733 PIN_SLP(gpa1-3, INPUT, DOWN); 734 PIN_SLP(gpa1-4, INPUT, DOWN); 734 PIN_SLP(gpa1-4, INPUT, DOWN); 735 PIN_SLP(gpa1-5, INPUT, DOWN); 735 PIN_SLP(gpa1-5, INPUT, DOWN); 736 736 737 PIN_SLP(gpb-0, PREV, NONE); 737 PIN_SLP(gpb-0, PREV, NONE); 738 PIN_SLP(gpb-1, PREV, NONE); 738 PIN_SLP(gpb-1, PREV, NONE); 739 PIN_SLP(gpb-2, PREV, NONE); 739 PIN_SLP(gpb-2, PREV, NONE); 740 PIN_SLP(gpb-3, PREV, NONE); 740 PIN_SLP(gpb-3, PREV, NONE); 741 PIN_SLP(gpb-4, INPUT, DOWN); 741 PIN_SLP(gpb-4, INPUT, DOWN); 742 PIN_SLP(gpb-5, INPUT, DOWN); 742 PIN_SLP(gpb-5, INPUT, DOWN); 743 PIN_SLP(gpb-6, INPUT, DOWN); 743 PIN_SLP(gpb-6, INPUT, DOWN); 744 PIN_SLP(gpb-7, INPUT, DOWN); 744 PIN_SLP(gpb-7, INPUT, DOWN); 745 745 746 PIN_SLP(gpc0-0, INPUT, DOWN); 746 PIN_SLP(gpc0-0, INPUT, DOWN); 747 PIN_SLP(gpc0-1, INPUT, DOWN); 747 PIN_SLP(gpc0-1, INPUT, DOWN); 748 PIN_SLP(gpc0-2, INPUT, DOWN); 748 PIN_SLP(gpc0-2, INPUT, DOWN); 749 PIN_SLP(gpc0-3, INPUT, DOWN); 749 PIN_SLP(gpc0-3, INPUT, DOWN); 750 PIN_SLP(gpc0-4, INPUT, DOWN); 750 PIN_SLP(gpc0-4, INPUT, DOWN); 751 751 752 PIN_SLP(gpc1-0, INPUT, DOWN); 752 PIN_SLP(gpc1-0, INPUT, DOWN); 753 PIN_SLP(gpc1-1, INPUT, DOWN); 753 PIN_SLP(gpc1-1, INPUT, DOWN); 754 PIN_SLP(gpc1-2, INPUT, DOWN); 754 PIN_SLP(gpc1-2, INPUT, DOWN); 755 PIN_SLP(gpc1-3, INPUT, DOWN); 755 PIN_SLP(gpc1-3, INPUT, DOWN); 756 PIN_SLP(gpc1-4, INPUT, DOWN); 756 PIN_SLP(gpc1-4, INPUT, DOWN); 757 757 758 PIN_SLP(gpd0-0, INPUT, DOWN); 758 PIN_SLP(gpd0-0, INPUT, DOWN); 759 PIN_SLP(gpd0-1, INPUT, DOWN); 759 PIN_SLP(gpd0-1, INPUT, DOWN); 760 PIN_SLP(gpd0-2, INPUT, NONE); 760 PIN_SLP(gpd0-2, INPUT, NONE); 761 PIN_SLP(gpd0-3, INPUT, NONE); 761 PIN_SLP(gpd0-3, INPUT, NONE); 762 762 763 PIN_SLP(gpd1-0, INPUT, NONE); 763 PIN_SLP(gpd1-0, INPUT, NONE); 764 PIN_SLP(gpd1-1, INPUT, NONE); 764 PIN_SLP(gpd1-1, INPUT, NONE); 765 PIN_SLP(gpd1-2, INPUT, NONE); 765 PIN_SLP(gpd1-2, INPUT, NONE); 766 PIN_SLP(gpd1-3, INPUT, NONE); 766 PIN_SLP(gpd1-3, INPUT, NONE); 767 }; 767 }; 768 }; 768 }; 769 769 770 &pinctrl_1 { 770 &pinctrl_1 { 771 pinctrl-names = "default"; 771 pinctrl-names = "default"; 772 pinctrl-0 = <&initial1 &sleep1>; 772 pinctrl-0 = <&initial1 &sleep1>; 773 773 774 initial1: initial-state { 774 initial1: initial-state { 775 PIN_IN(gpe0-6, DOWN, LV1); 775 PIN_IN(gpe0-6, DOWN, LV1); 776 PIN_IN(gpe0-7, DOWN, LV1); 776 PIN_IN(gpe0-7, DOWN, LV1); 777 777 778 PIN_IN(gpe1-0, DOWN, LV1); 778 PIN_IN(gpe1-0, DOWN, LV1); 779 PIN_IN(gpe1-3, DOWN, LV1); 779 PIN_IN(gpe1-3, DOWN, LV1); 780 PIN_IN(gpe1-4, DOWN, LV1); 780 PIN_IN(gpe1-4, DOWN, LV1); 781 PIN_IN(gpe1-5, DOWN, LV1); 781 PIN_IN(gpe1-5, DOWN, LV1); 782 PIN_IN(gpe1-6, DOWN, LV1); 782 PIN_IN(gpe1-6, DOWN, LV1); 783 783 784 PIN_IN(gpk2-0, DOWN, LV1); 784 PIN_IN(gpk2-0, DOWN, LV1); 785 PIN_IN(gpk2-1, DOWN, LV1); 785 PIN_IN(gpk2-1, DOWN, LV1); 786 PIN_IN(gpk2-2, DOWN, LV1); 786 PIN_IN(gpk2-2, DOWN, LV1); 787 PIN_IN(gpk2-3, DOWN, LV1); 787 PIN_IN(gpk2-3, DOWN, LV1); 788 PIN_IN(gpk2-4, DOWN, LV1); 788 PIN_IN(gpk2-4, DOWN, LV1); 789 PIN_IN(gpk2-5, DOWN, LV1); 789 PIN_IN(gpk2-5, DOWN, LV1); 790 PIN_IN(gpk2-6, DOWN, LV1); 790 PIN_IN(gpk2-6, DOWN, LV1); 791 791 792 PIN_IN(gpm0-0, DOWN, LV1); 792 PIN_IN(gpm0-0, DOWN, LV1); 793 PIN_IN(gpm0-1, DOWN, LV1); 793 PIN_IN(gpm0-1, DOWN, LV1); 794 PIN_IN(gpm0-2, DOWN, LV1); 794 PIN_IN(gpm0-2, DOWN, LV1); 795 PIN_IN(gpm0-3, DOWN, LV1); 795 PIN_IN(gpm0-3, DOWN, LV1); 796 PIN_IN(gpm0-4, DOWN, LV1); 796 PIN_IN(gpm0-4, DOWN, LV1); 797 PIN_IN(gpm0-5, DOWN, LV1); 797 PIN_IN(gpm0-5, DOWN, LV1); 798 PIN_IN(gpm0-6, DOWN, LV1); 798 PIN_IN(gpm0-6, DOWN, LV1); 799 PIN_IN(gpm0-7, DOWN, LV1); 799 PIN_IN(gpm0-7, DOWN, LV1); 800 800 801 PIN_IN(gpm1-0, DOWN, LV1); 801 PIN_IN(gpm1-0, DOWN, LV1); 802 PIN_IN(gpm1-1, DOWN, LV1); 802 PIN_IN(gpm1-1, DOWN, LV1); 803 PIN_IN(gpm1-2, DOWN, LV1); 803 PIN_IN(gpm1-2, DOWN, LV1); 804 PIN_IN(gpm1-3, DOWN, LV1); 804 PIN_IN(gpm1-3, DOWN, LV1); 805 PIN_IN(gpm1-4, DOWN, LV1); 805 PIN_IN(gpm1-4, DOWN, LV1); 806 PIN_IN(gpm1-5, DOWN, LV1); 806 PIN_IN(gpm1-5, DOWN, LV1); 807 PIN_IN(gpm1-6, DOWN, LV1); 807 PIN_IN(gpm1-6, DOWN, LV1); 808 808 809 PIN_IN(gpm2-0, DOWN, LV1); 809 PIN_IN(gpm2-0, DOWN, LV1); 810 PIN_IN(gpm2-1, DOWN, LV1); 810 PIN_IN(gpm2-1, DOWN, LV1); 811 811 812 PIN_IN(gpm3-0, DOWN, LV1); 812 PIN_IN(gpm3-0, DOWN, LV1); 813 PIN_IN(gpm3-1, DOWN, LV1); 813 PIN_IN(gpm3-1, DOWN, LV1); 814 PIN_IN(gpm3-2, DOWN, LV1); 814 PIN_IN(gpm3-2, DOWN, LV1); 815 PIN_IN(gpm3-3, DOWN, LV1); 815 PIN_IN(gpm3-3, DOWN, LV1); 816 PIN_IN(gpm3-4, DOWN, LV1); 816 PIN_IN(gpm3-4, DOWN, LV1); 817 817 818 PIN_IN(gpm4-1, DOWN, LV1); 818 PIN_IN(gpm4-1, DOWN, LV1); 819 PIN_IN(gpm4-2, DOWN, LV1); 819 PIN_IN(gpm4-2, DOWN, LV1); 820 PIN_IN(gpm4-3, DOWN, LV1); 820 PIN_IN(gpm4-3, DOWN, LV1); 821 PIN_IN(gpm4-4, DOWN, LV1); 821 PIN_IN(gpm4-4, DOWN, LV1); 822 PIN_IN(gpm4-5, DOWN, LV1); 822 PIN_IN(gpm4-5, DOWN, LV1); 823 PIN_IN(gpm4-6, DOWN, LV1); 823 PIN_IN(gpm4-6, DOWN, LV1); 824 PIN_IN(gpm4-7, DOWN, LV1); 824 PIN_IN(gpm4-7, DOWN, LV1); 825 }; 825 }; 826 826 827 sleep1: sleep-state { 827 sleep1: sleep-state { 828 PIN_SLP(gpe0-0, PREV, NONE); 828 PIN_SLP(gpe0-0, PREV, NONE); 829 PIN_SLP(gpe0-1, PREV, NONE); 829 PIN_SLP(gpe0-1, PREV, NONE); 830 PIN_SLP(gpe0-2, INPUT, DOWN); 830 PIN_SLP(gpe0-2, INPUT, DOWN); 831 PIN_SLP(gpe0-3, INPUT, UP); 831 PIN_SLP(gpe0-3, INPUT, UP); 832 PIN_SLP(gpe0-4, INPUT, DOWN); 832 PIN_SLP(gpe0-4, INPUT, DOWN); 833 PIN_SLP(gpe0-5, INPUT, DOWN); 833 PIN_SLP(gpe0-5, INPUT, DOWN); 834 PIN_SLP(gpe0-6, INPUT, DOWN); 834 PIN_SLP(gpe0-6, INPUT, DOWN); 835 PIN_SLP(gpe0-7, INPUT, DOWN); 835 PIN_SLP(gpe0-7, INPUT, DOWN); 836 836 837 PIN_SLP(gpe1-0, INPUT, DOWN); 837 PIN_SLP(gpe1-0, INPUT, DOWN); 838 PIN_SLP(gpe1-1, PREV, NONE); 838 PIN_SLP(gpe1-1, PREV, NONE); 839 PIN_SLP(gpe1-2, INPUT, DOWN); 839 PIN_SLP(gpe1-2, INPUT, DOWN); 840 PIN_SLP(gpe1-3, INPUT, DOWN); 840 PIN_SLP(gpe1-3, INPUT, DOWN); 841 PIN_SLP(gpe1-4, INPUT, DOWN); 841 PIN_SLP(gpe1-4, INPUT, DOWN); 842 PIN_SLP(gpe1-5, INPUT, DOWN); 842 PIN_SLP(gpe1-5, INPUT, DOWN); 843 PIN_SLP(gpe1-6, INPUT, DOWN); 843 PIN_SLP(gpe1-6, INPUT, DOWN); 844 PIN_SLP(gpe1-7, INPUT, NONE); 844 PIN_SLP(gpe1-7, INPUT, NONE); 845 845 846 PIN_SLP(gpe2-0, INPUT, NONE); 846 PIN_SLP(gpe2-0, INPUT, NONE); 847 PIN_SLP(gpe2-1, INPUT, NONE); 847 PIN_SLP(gpe2-1, INPUT, NONE); 848 PIN_SLP(gpe2-2, INPUT, NONE); 848 PIN_SLP(gpe2-2, INPUT, NONE); 849 849 850 PIN_SLP(gpk0-0, INPUT, DOWN); 850 PIN_SLP(gpk0-0, INPUT, DOWN); 851 PIN_SLP(gpk0-1, INPUT, DOWN); 851 PIN_SLP(gpk0-1, INPUT, DOWN); 852 PIN_SLP(gpk0-2, OUT0, NONE); 852 PIN_SLP(gpk0-2, OUT0, NONE); 853 PIN_SLP(gpk0-3, INPUT, DOWN); 853 PIN_SLP(gpk0-3, INPUT, DOWN); 854 PIN_SLP(gpk0-4, INPUT, DOWN); 854 PIN_SLP(gpk0-4, INPUT, DOWN); 855 PIN_SLP(gpk0-5, INPUT, DOWN); 855 PIN_SLP(gpk0-5, INPUT, DOWN); 856 PIN_SLP(gpk0-6, INPUT, DOWN); 856 PIN_SLP(gpk0-6, INPUT, DOWN); 857 PIN_SLP(gpk0-7, INPUT, DOWN); 857 PIN_SLP(gpk0-7, INPUT, DOWN); 858 858 859 PIN_SLP(gpk1-0, INPUT, DOWN); 859 PIN_SLP(gpk1-0, INPUT, DOWN); 860 PIN_SLP(gpk1-1, INPUT, DOWN); 860 PIN_SLP(gpk1-1, INPUT, DOWN); 861 PIN_SLP(gpk1-2, INPUT, DOWN); 861 PIN_SLP(gpk1-2, INPUT, DOWN); 862 PIN_SLP(gpk1-3, INPUT, DOWN); 862 PIN_SLP(gpk1-3, INPUT, DOWN); 863 PIN_SLP(gpk1-4, INPUT, DOWN); 863 PIN_SLP(gpk1-4, INPUT, DOWN); 864 PIN_SLP(gpk1-5, INPUT, DOWN); 864 PIN_SLP(gpk1-5, INPUT, DOWN); 865 PIN_SLP(gpk1-6, INPUT, DOWN); 865 PIN_SLP(gpk1-6, INPUT, DOWN); 866 866 867 PIN_SLP(gpk2-0, INPUT, DOWN); 867 PIN_SLP(gpk2-0, INPUT, DOWN); 868 PIN_SLP(gpk2-1, INPUT, DOWN); 868 PIN_SLP(gpk2-1, INPUT, DOWN); 869 PIN_SLP(gpk2-2, INPUT, DOWN); 869 PIN_SLP(gpk2-2, INPUT, DOWN); 870 PIN_SLP(gpk2-3, INPUT, DOWN); 870 PIN_SLP(gpk2-3, INPUT, DOWN); 871 PIN_SLP(gpk2-4, INPUT, DOWN); 871 PIN_SLP(gpk2-4, INPUT, DOWN); 872 PIN_SLP(gpk2-5, INPUT, DOWN); 872 PIN_SLP(gpk2-5, INPUT, DOWN); 873 PIN_SLP(gpk2-6, INPUT, DOWN); 873 PIN_SLP(gpk2-6, INPUT, DOWN); 874 874 875 PIN_SLP(gpl0-0, INPUT, DOWN); 875 PIN_SLP(gpl0-0, INPUT, DOWN); 876 PIN_SLP(gpl0-1, INPUT, DOWN); 876 PIN_SLP(gpl0-1, INPUT, DOWN); 877 PIN_SLP(gpl0-2, INPUT, DOWN); 877 PIN_SLP(gpl0-2, INPUT, DOWN); 878 PIN_SLP(gpl0-3, INPUT, DOWN); 878 PIN_SLP(gpl0-3, INPUT, DOWN); 879 879 880 PIN_SLP(gpm0-0, INPUT, DOWN); 880 PIN_SLP(gpm0-0, INPUT, DOWN); 881 PIN_SLP(gpm0-1, INPUT, DOWN); 881 PIN_SLP(gpm0-1, INPUT, DOWN); 882 PIN_SLP(gpm0-2, INPUT, DOWN); 882 PIN_SLP(gpm0-2, INPUT, DOWN); 883 PIN_SLP(gpm0-3, INPUT, DOWN); 883 PIN_SLP(gpm0-3, INPUT, DOWN); 884 PIN_SLP(gpm0-4, INPUT, DOWN); 884 PIN_SLP(gpm0-4, INPUT, DOWN); 885 PIN_SLP(gpm0-5, INPUT, DOWN); 885 PIN_SLP(gpm0-5, INPUT, DOWN); 886 PIN_SLP(gpm0-6, INPUT, DOWN); 886 PIN_SLP(gpm0-6, INPUT, DOWN); 887 PIN_SLP(gpm0-7, INPUT, DOWN); 887 PIN_SLP(gpm0-7, INPUT, DOWN); 888 888 889 PIN_SLP(gpm1-0, INPUT, DOWN); 889 PIN_SLP(gpm1-0, INPUT, DOWN); 890 PIN_SLP(gpm1-1, INPUT, DOWN); 890 PIN_SLP(gpm1-1, INPUT, DOWN); 891 PIN_SLP(gpm1-2, INPUT, DOWN); 891 PIN_SLP(gpm1-2, INPUT, DOWN); 892 PIN_SLP(gpm1-3, INPUT, DOWN); 892 PIN_SLP(gpm1-3, INPUT, DOWN); 893 PIN_SLP(gpm1-4, INPUT, DOWN); 893 PIN_SLP(gpm1-4, INPUT, DOWN); 894 PIN_SLP(gpm1-5, INPUT, DOWN); 894 PIN_SLP(gpm1-5, INPUT, DOWN); 895 PIN_SLP(gpm1-6, INPUT, DOWN); 895 PIN_SLP(gpm1-6, INPUT, DOWN); 896 896 897 PIN_SLP(gpm2-0, INPUT, DOWN); 897 PIN_SLP(gpm2-0, INPUT, DOWN); 898 PIN_SLP(gpm2-1, INPUT, DOWN); 898 PIN_SLP(gpm2-1, INPUT, DOWN); 899 PIN_SLP(gpm2-2, INPUT, DOWN); 899 PIN_SLP(gpm2-2, INPUT, DOWN); 900 PIN_SLP(gpm2-3, INPUT, DOWN); 900 PIN_SLP(gpm2-3, INPUT, DOWN); 901 PIN_SLP(gpm2-4, INPUT, DOWN); 901 PIN_SLP(gpm2-4, INPUT, DOWN); 902 902 903 PIN_SLP(gpm3-0, INPUT, DOWN); 903 PIN_SLP(gpm3-0, INPUT, DOWN); 904 PIN_SLP(gpm3-1, INPUT, DOWN); 904 PIN_SLP(gpm3-1, INPUT, DOWN); 905 PIN_SLP(gpm3-2, INPUT, DOWN); 905 PIN_SLP(gpm3-2, INPUT, DOWN); 906 PIN_SLP(gpm3-3, INPUT, DOWN); 906 PIN_SLP(gpm3-3, INPUT, DOWN); 907 PIN_SLP(gpm3-4, INPUT, DOWN); 907 PIN_SLP(gpm3-4, INPUT, DOWN); 908 PIN_SLP(gpm3-5, INPUT, DOWN); 908 PIN_SLP(gpm3-5, INPUT, DOWN); 909 PIN_SLP(gpm3-6, INPUT, DOWN); 909 PIN_SLP(gpm3-6, INPUT, DOWN); 910 PIN_SLP(gpm3-7, INPUT, DOWN); 910 PIN_SLP(gpm3-7, INPUT, DOWN); 911 911 912 PIN_SLP(gpm4-0, INPUT, DOWN); 912 PIN_SLP(gpm4-0, INPUT, DOWN); 913 PIN_SLP(gpm4-1, INPUT, DOWN); 913 PIN_SLP(gpm4-1, INPUT, DOWN); 914 PIN_SLP(gpm4-2, INPUT, DOWN); 914 PIN_SLP(gpm4-2, INPUT, DOWN); 915 PIN_SLP(gpm4-3, INPUT, DOWN); 915 PIN_SLP(gpm4-3, INPUT, DOWN); 916 PIN_SLP(gpm4-4, INPUT, DOWN); 916 PIN_SLP(gpm4-4, INPUT, DOWN); 917 PIN_SLP(gpm4-5, INPUT, DOWN); 917 PIN_SLP(gpm4-5, INPUT, DOWN); 918 PIN_SLP(gpm4-6, INPUT, DOWN); 918 PIN_SLP(gpm4-6, INPUT, DOWN); 919 PIN_SLP(gpm4-7, INPUT, DOWN); 919 PIN_SLP(gpm4-7, INPUT, DOWN); 920 }; 920 }; 921 }; 921 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.