exynos4412-trats2.dts revision 279377
1279377Simp/* 2279377Simp * Samsung's Exynos4412 based Trats 2 board device tree source 3279377Simp * 4279377Simp * Copyright (c) 2013 Samsung Electronics Co., Ltd. 5279377Simp * http://www.samsung.com 6279377Simp * 7279377Simp * Device tree source file for Samsung's Trats 2 board which is based on 8279377Simp * Samsung's Exynos4412 SoC. 9279377Simp * 10279377Simp * This program is free software; you can redistribute it and/or modify 11279377Simp * it under the terms of the GNU General Public License version 2 as 12279377Simp * published by the Free Software Foundation. 13279377Simp*/ 14279377Simp 15279377Simp/dts-v1/; 16279377Simp#include "exynos4412.dtsi" 17279377Simp#include <dt-bindings/gpio/gpio.h> 18279377Simp#include <dt-bindings/interrupt-controller/irq.h> 19279377Simp 20279377Simp/ { 21279377Simp model = "Samsung Trats 2 based on Exynos4412"; 22279377Simp compatible = "samsung,trats2", "samsung,exynos4412", "samsung,exynos4"; 23279377Simp 24279377Simp aliases { 25279377Simp i2c9 = &i2c_ak8975; 26279377Simp i2c10 = &i2c_cm36651; 27279377Simp i2c11 = &i2c_max77693; 28279377Simp i2c12 = &i2c_max77693_fuel; 29279377Simp }; 30279377Simp 31279377Simp memory { 32279377Simp reg = <0x40000000 0x40000000>; 33279377Simp }; 34279377Simp 35279377Simp chosen { 36279377Simp bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; 37279377Simp stdout-path = &serial_2; 38279377Simp }; 39279377Simp 40279377Simp firmware@0204F000 { 41279377Simp compatible = "samsung,secure-firmware"; 42279377Simp reg = <0x0204F000 0x1000>; 43279377Simp }; 44279377Simp 45279377Simp fixed-rate-clocks { 46279377Simp xxti { 47279377Simp compatible = "samsung,clock-xxti", "fixed-clock"; 48279377Simp clock-frequency = <0>; 49279377Simp }; 50279377Simp 51279377Simp xusbxti { 52279377Simp compatible = "samsung,clock-xusbxti", "fixed-clock"; 53279377Simp clock-frequency = <24000000>; 54279377Simp }; 55279377Simp }; 56279377Simp 57279377Simp regulators { 58279377Simp compatible = "simple-bus"; 59279377Simp #address-cells = <1>; 60279377Simp #size-cells = <0>; 61279377Simp 62279377Simp cam_io_reg: voltage-regulator-1 { 63279377Simp compatible = "regulator-fixed"; 64279377Simp regulator-name = "CAM_SENSOR_A"; 65279377Simp regulator-min-microvolt = <2800000>; 66279377Simp regulator-max-microvolt = <2800000>; 67279377Simp gpio = <&gpm0 2 0>; 68279377Simp enable-active-high; 69279377Simp }; 70279377Simp 71279377Simp lcd_vdd3_reg: voltage-regulator-2 { 72279377Simp compatible = "regulator-fixed"; 73279377Simp regulator-name = "LCD_VDD_2.2V"; 74279377Simp regulator-min-microvolt = <2200000>; 75279377Simp regulator-max-microvolt = <2200000>; 76279377Simp gpio = <&gpc0 1 0>; 77279377Simp enable-active-high; 78279377Simp }; 79279377Simp 80279377Simp cam_af_reg: voltage-regulator-3 { 81279377Simp compatible = "regulator-fixed"; 82279377Simp regulator-name = "CAM_AF"; 83279377Simp regulator-min-microvolt = <2800000>; 84279377Simp regulator-max-microvolt = <2800000>; 85279377Simp gpio = <&gpm0 4 0>; 86279377Simp enable-active-high; 87279377Simp }; 88279377Simp 89279377Simp ps_als_reg: voltage-regulator-5 { 90279377Simp compatible = "regulator-fixed"; 91279377Simp regulator-name = "LED_A_3.0V"; 92279377Simp regulator-min-microvolt = <3000000>; 93279377Simp regulator-max-microvolt = <3000000>; 94279377Simp gpio = <&gpj0 5 0>; 95279377Simp enable-active-high; 96279377Simp }; 97279377Simp }; 98279377Simp 99279377Simp gpio-keys { 100279377Simp compatible = "gpio-keys"; 101279377Simp 102279377Simp key-down { 103279377Simp gpios = <&gpx3 3 1>; 104279377Simp linux,code = <114>; 105279377Simp label = "volume down"; 106279377Simp debounce-interval = <10>; 107279377Simp }; 108279377Simp 109279377Simp key-up { 110279377Simp gpios = <&gpx2 2 1>; 111279377Simp linux,code = <115>; 112279377Simp label = "volume up"; 113279377Simp debounce-interval = <10>; 114279377Simp }; 115279377Simp 116279377Simp key-power { 117279377Simp gpios = <&gpx2 7 1>; 118279377Simp linux,code = <116>; 119279377Simp label = "power"; 120279377Simp debounce-interval = <10>; 121279377Simp gpio-key,wakeup; 122279377Simp }; 123279377Simp 124279377Simp key-ok { 125279377Simp gpios = <&gpx0 1 1>; 126279377Simp linux,code = <139>; 127279377Simp label = "ok"; 128279377Simp debounce-inteval = <10>; 129279377Simp gpio-key,wakeup; 130279377Simp }; 131279377Simp }; 132279377Simp 133279377Simp adc: adc@126C0000 { 134279377Simp vdd-supply = <&ldo3_reg>; 135279377Simp status = "okay"; 136279377Simp }; 137279377Simp 138279377Simp i2c@13890000 { 139279377Simp samsung,i2c-sda-delay = <100>; 140279377Simp samsung,i2c-slave-addr = <0x10>; 141279377Simp samsung,i2c-max-bus-freq = <400000>; 142279377Simp pinctrl-0 = <&i2c3_bus>; 143279377Simp pinctrl-names = "default"; 144279377Simp status = "okay"; 145279377Simp 146279377Simp mms114-touchscreen@48 { 147279377Simp compatible = "melfas,mms114"; 148279377Simp reg = <0x48>; 149279377Simp interrupt-parent = <&gpm2>; 150279377Simp interrupts = <3 2>; 151279377Simp x-size = <720>; 152279377Simp y-size = <1280>; 153279377Simp avdd-supply = <&ldo23_reg>; 154279377Simp vdd-supply = <&ldo24_reg>; 155279377Simp }; 156279377Simp }; 157279377Simp 158279377Simp i2c_0: i2c@13860000 { 159279377Simp samsung,i2c-sda-delay = <100>; 160279377Simp samsung,i2c-slave-addr = <0x10>; 161279377Simp samsung,i2c-max-bus-freq = <400000>; 162279377Simp pinctrl-0 = <&i2c0_bus>; 163279377Simp pinctrl-names = "default"; 164279377Simp status = "okay"; 165279377Simp 166279377Simp s5c73m3@3c { 167279377Simp compatible = "samsung,s5c73m3"; 168279377Simp reg = <0x3c>; 169279377Simp standby-gpios = <&gpm0 1 1>; /* ISP_STANDBY */ 170279377Simp xshutdown-gpios = <&gpf1 3 1>; /* ISP_RESET */ 171279377Simp vdd-int-supply = <&buck9_reg>; 172279377Simp vddio-cis-supply = <&ldo9_reg>; 173279377Simp vdda-supply = <&ldo17_reg>; 174279377Simp vddio-host-supply = <&ldo18_reg>; 175279377Simp vdd-af-supply = <&cam_af_reg>; 176279377Simp vdd-reg-supply = <&cam_io_reg>; 177279377Simp clock-frequency = <24000000>; 178279377Simp /* CAM_A_CLKOUT */ 179279377Simp clocks = <&camera 0>; 180279377Simp clock-names = "cis_extclk"; 181279377Simp port { 182279377Simp s5c73m3_ep: endpoint { 183279377Simp remote-endpoint = <&csis0_ep>; 184279377Simp data-lanes = <1 2 3 4>; 185279377Simp }; 186279377Simp }; 187279377Simp }; 188279377Simp }; 189279377Simp 190279377Simp i2c@138A0000 { 191279377Simp samsung,i2c-sda-delay = <100>; 192279377Simp samsung,i2c-slave-addr = <0x10>; 193279377Simp samsung,i2c-max-bus-freq = <100000>; 194279377Simp pinctrl-0 = <&i2c4_bus>; 195279377Simp pinctrl-names = "default"; 196279377Simp status = "okay"; 197279377Simp 198279377Simp wm1811: wm1811@1a { 199279377Simp compatible = "wlf,wm1811"; 200279377Simp reg = <0x1a>; 201279377Simp clocks = <&pmu_system_controller 0>; 202279377Simp clock-names = "MCLK1"; 203279377Simp DCVDD-supply = <&ldo3_reg>; 204279377Simp DBVDD1-supply = <&ldo3_reg>; 205279377Simp wlf,ldo1ena = <&gpj0 4 0>; 206279377Simp }; 207279377Simp }; 208279377Simp 209279377Simp i2c@138D0000 { 210279377Simp samsung,i2c-sda-delay = <100>; 211279377Simp samsung,i2c-slave-addr = <0x10>; 212279377Simp samsung,i2c-max-bus-freq = <100000>; 213279377Simp pinctrl-0 = <&i2c7_bus>; 214279377Simp pinctrl-names = "default"; 215279377Simp status = "okay"; 216279377Simp 217279377Simp max77686_pmic@09 { 218279377Simp compatible = "maxim,max77686"; 219279377Simp interrupt-parent = <&gpx0>; 220279377Simp interrupts = <7 0>; 221279377Simp reg = <0x09>; 222279377Simp #clock-cells = <1>; 223279377Simp 224279377Simp voltage-regulators { 225279377Simp ldo1_reg: ldo1 { 226279377Simp regulator-compatible = "LDO1"; 227279377Simp regulator-name = "VALIVE_1.0V_AP"; 228279377Simp regulator-min-microvolt = <1000000>; 229279377Simp regulator-max-microvolt = <1000000>; 230279377Simp regulator-always-on; 231279377Simp }; 232279377Simp 233279377Simp ldo2_reg: ldo2 { 234279377Simp regulator-compatible = "LDO2"; 235279377Simp regulator-name = "VM1M2_1.2V_AP"; 236279377Simp regulator-min-microvolt = <1200000>; 237279377Simp regulator-max-microvolt = <1200000>; 238279377Simp regulator-always-on; 239279377Simp regulator-state-mem { 240279377Simp regulator-on-in-suspend; 241279377Simp }; 242279377Simp }; 243279377Simp 244279377Simp ldo3_reg: ldo3 { 245279377Simp regulator-compatible = "LDO3"; 246279377Simp regulator-name = "VCC_1.8V_AP"; 247279377Simp regulator-min-microvolt = <1800000>; 248279377Simp regulator-max-microvolt = <1800000>; 249279377Simp regulator-always-on; 250279377Simp }; 251279377Simp 252279377Simp ldo4_reg: ldo4 { 253279377Simp regulator-compatible = "LDO4"; 254279377Simp regulator-name = "VCC_2.8V_AP"; 255279377Simp regulator-min-microvolt = <2800000>; 256279377Simp regulator-max-microvolt = <2800000>; 257279377Simp regulator-always-on; 258279377Simp }; 259279377Simp 260279377Simp ldo5_reg: ldo5 { 261279377Simp regulator-compatible = "LDO5"; 262279377Simp regulator-name = "VCC_1.8V_IO"; 263279377Simp regulator-min-microvolt = <1800000>; 264279377Simp regulator-max-microvolt = <1800000>; 265279377Simp regulator-always-on; 266279377Simp }; 267279377Simp 268279377Simp ldo6_reg: ldo6 { 269279377Simp regulator-compatible = "LDO6"; 270279377Simp regulator-name = "VMPLL_1.0V_AP"; 271279377Simp regulator-min-microvolt = <1000000>; 272279377Simp regulator-max-microvolt = <1000000>; 273279377Simp regulator-always-on; 274279377Simp regulator-state-mem { 275279377Simp regulator-on-in-suspend; 276279377Simp }; 277279377Simp }; 278279377Simp 279279377Simp ldo7_reg: ldo7 { 280279377Simp regulator-compatible = "LDO7"; 281279377Simp regulator-name = "VPLL_1.0V_AP"; 282279377Simp regulator-min-microvolt = <1000000>; 283279377Simp regulator-max-microvolt = <1000000>; 284279377Simp regulator-always-on; 285279377Simp regulator-state-mem { 286279377Simp regulator-on-in-suspend; 287279377Simp }; 288279377Simp }; 289279377Simp 290279377Simp ldo8_reg: ldo8 { 291279377Simp regulator-compatible = "LDO8"; 292279377Simp regulator-name = "VMIPI_1.0V"; 293279377Simp regulator-min-microvolt = <1000000>; 294279377Simp regulator-max-microvolt = <1000000>; 295279377Simp regulator-state-mem { 296279377Simp regulator-off-in-suspend; 297279377Simp }; 298279377Simp }; 299279377Simp 300279377Simp ldo9_reg: ldo9 { 301279377Simp regulator-compatible = "LDO9"; 302279377Simp regulator-name = "CAM_ISP_MIPI_1.2V"; 303279377Simp regulator-min-microvolt = <1200000>; 304279377Simp regulator-max-microvolt = <1200000>; 305279377Simp }; 306279377Simp 307279377Simp ldo10_reg: ldo10 { 308279377Simp regulator-compatible = "LDO10"; 309279377Simp regulator-name = "VMIPI_1.8V"; 310279377Simp regulator-min-microvolt = <1800000>; 311279377Simp regulator-max-microvolt = <1800000>; 312279377Simp regulator-state-mem { 313279377Simp regulator-off-in-suspend; 314279377Simp }; 315279377Simp }; 316279377Simp 317279377Simp ldo11_reg: ldo11 { 318279377Simp regulator-compatible = "LDO11"; 319279377Simp regulator-name = "VABB1_1.95V"; 320279377Simp regulator-min-microvolt = <1950000>; 321279377Simp regulator-max-microvolt = <1950000>; 322279377Simp regulator-always-on; 323279377Simp regulator-state-mem { 324279377Simp regulator-off-in-suspend; 325279377Simp }; 326279377Simp }; 327279377Simp 328279377Simp ldo12_reg: ldo12 { 329279377Simp regulator-compatible = "LDO12"; 330279377Simp regulator-name = "VUOTG_3.0V"; 331279377Simp regulator-min-microvolt = <3000000>; 332279377Simp regulator-max-microvolt = <3000000>; 333279377Simp regulator-state-mem { 334279377Simp regulator-off-in-suspend; 335279377Simp }; 336279377Simp }; 337279377Simp 338279377Simp ldo13_reg: ldo13 { 339279377Simp regulator-compatible = "LDO13"; 340279377Simp regulator-name = "NFC_AVDD_1.8V"; 341279377Simp regulator-min-microvolt = <1800000>; 342279377Simp regulator-max-microvolt = <1800000>; 343279377Simp }; 344279377Simp 345279377Simp ldo14_reg: ldo14 { 346279377Simp regulator-compatible = "LDO14"; 347279377Simp regulator-name = "VABB2_1.95V"; 348279377Simp regulator-min-microvolt = <1950000>; 349279377Simp regulator-max-microvolt = <1950000>; 350279377Simp regulator-always-on; 351279377Simp regulator-state-mem { 352279377Simp regulator-off-in-suspend; 353279377Simp }; 354279377Simp }; 355279377Simp 356279377Simp ldo15_reg: ldo15 { 357279377Simp regulator-compatible = "LDO15"; 358279377Simp regulator-name = "VHSIC_1.0V"; 359279377Simp regulator-min-microvolt = <1000000>; 360279377Simp regulator-max-microvolt = <1000000>; 361279377Simp regulator-state-mem { 362279377Simp regulator-on-in-suspend; 363279377Simp }; 364279377Simp }; 365279377Simp 366279377Simp ldo16_reg: ldo16 { 367279377Simp regulator-compatible = "LDO16"; 368279377Simp regulator-name = "VHSIC_1.8V"; 369279377Simp regulator-min-microvolt = <1800000>; 370279377Simp regulator-max-microvolt = <1800000>; 371279377Simp regulator-state-mem { 372279377Simp regulator-on-in-suspend; 373279377Simp }; 374279377Simp }; 375279377Simp 376279377Simp ldo17_reg: ldo17 { 377279377Simp regulator-compatible = "LDO17"; 378279377Simp regulator-name = "CAM_SENSOR_CORE_1.2V"; 379279377Simp regulator-min-microvolt = <1200000>; 380279377Simp regulator-max-microvolt = <1200000>; 381279377Simp }; 382279377Simp 383279377Simp ldo18_reg: ldo18 { 384279377Simp regulator-compatible = "LDO18"; 385279377Simp regulator-name = "CAM_ISP_SEN_IO_1.8V"; 386279377Simp regulator-min-microvolt = <1800000>; 387279377Simp regulator-max-microvolt = <1800000>; 388279377Simp }; 389279377Simp 390279377Simp ldo19_reg: ldo19 { 391279377Simp regulator-compatible = "LDO19"; 392279377Simp regulator-name = "VT_CAM_1.8V"; 393279377Simp regulator-min-microvolt = <1800000>; 394279377Simp regulator-max-microvolt = <1800000>; 395279377Simp }; 396279377Simp 397279377Simp ldo20_reg: ldo20 { 398279377Simp regulator-compatible = "LDO20"; 399279377Simp regulator-name = "VDDQ_PRE_1.8V"; 400279377Simp regulator-min-microvolt = <1800000>; 401279377Simp regulator-max-microvolt = <1800000>; 402279377Simp }; 403279377Simp 404279377Simp ldo21_reg: ldo21 { 405279377Simp regulator-compatible = "LDO21"; 406279377Simp regulator-name = "VTF_2.8V"; 407279377Simp regulator-min-microvolt = <2800000>; 408279377Simp regulator-max-microvolt = <2800000>; 409279377Simp maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>; 410279377Simp }; 411279377Simp 412279377Simp ldo22_reg: ldo22 { 413279377Simp regulator-compatible = "LDO22"; 414279377Simp regulator-name = "VMEM_VDD_2.8V"; 415279377Simp regulator-min-microvolt = <2800000>; 416279377Simp regulator-max-microvolt = <2800000>; 417279377Simp maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>; 418279377Simp }; 419279377Simp 420279377Simp ldo23_reg: ldo23 { 421279377Simp regulator-compatible = "LDO23"; 422279377Simp regulator-name = "TSP_AVDD_3.3V"; 423279377Simp regulator-min-microvolt = <3300000>; 424279377Simp regulator-max-microvolt = <3300000>; 425279377Simp }; 426279377Simp 427279377Simp ldo24_reg: ldo24 { 428279377Simp regulator-compatible = "LDO24"; 429279377Simp regulator-name = "TSP_VDD_1.8V"; 430279377Simp regulator-min-microvolt = <1800000>; 431279377Simp regulator-max-microvolt = <1800000>; 432279377Simp }; 433279377Simp 434279377Simp ldo25_reg: ldo25 { 435279377Simp regulator-compatible = "LDO25"; 436279377Simp regulator-name = "LCD_VCC_3.3V"; 437279377Simp regulator-min-microvolt = <2800000>; 438279377Simp regulator-max-microvolt = <2800000>; 439279377Simp }; 440279377Simp 441279377Simp ldo26_reg: ldo26 { 442279377Simp regulator-compatible = "LDO26"; 443279377Simp regulator-name = "MOTOR_VCC_3.0V"; 444279377Simp regulator-min-microvolt = <3000000>; 445279377Simp regulator-max-microvolt = <3000000>; 446279377Simp }; 447279377Simp 448279377Simp buck1_reg: buck1 { 449279377Simp regulator-compatible = "BUCK1"; 450279377Simp regulator-name = "vdd_mif"; 451279377Simp regulator-min-microvolt = <850000>; 452279377Simp regulator-max-microvolt = <1100000>; 453279377Simp regulator-always-on; 454279377Simp regulator-boot-on; 455279377Simp regulator-state-mem { 456279377Simp regulator-off-in-suspend; 457279377Simp }; 458279377Simp }; 459279377Simp 460279377Simp buck2_reg: buck2 { 461279377Simp regulator-compatible = "BUCK2"; 462279377Simp regulator-name = "vdd_arm"; 463279377Simp regulator-min-microvolt = <850000>; 464279377Simp regulator-max-microvolt = <1500000>; 465279377Simp regulator-always-on; 466279377Simp regulator-boot-on; 467279377Simp regulator-state-mem { 468279377Simp regulator-on-in-suspend; 469279377Simp }; 470279377Simp }; 471279377Simp 472279377Simp buck3_reg: buck3 { 473279377Simp regulator-compatible = "BUCK3"; 474279377Simp regulator-name = "vdd_int"; 475279377Simp regulator-min-microvolt = <850000>; 476279377Simp regulator-max-microvolt = <1150000>; 477279377Simp regulator-always-on; 478279377Simp regulator-boot-on; 479279377Simp regulator-state-mem { 480279377Simp regulator-off-in-suspend; 481279377Simp }; 482279377Simp }; 483279377Simp 484279377Simp buck4_reg: buck4 { 485279377Simp regulator-compatible = "BUCK4"; 486279377Simp regulator-name = "vdd_g3d"; 487279377Simp regulator-min-microvolt = <850000>; 488279377Simp regulator-max-microvolt = <1150000>; 489279377Simp regulator-boot-on; 490279377Simp regulator-state-mem { 491279377Simp regulator-off-in-suspend; 492279377Simp }; 493279377Simp }; 494279377Simp 495279377Simp buck5_reg: buck5 { 496279377Simp regulator-compatible = "BUCK5"; 497279377Simp regulator-name = "VMEM_1.2V_AP"; 498279377Simp regulator-min-microvolt = <1200000>; 499279377Simp regulator-max-microvolt = <1200000>; 500279377Simp regulator-always-on; 501279377Simp }; 502279377Simp 503279377Simp buck6_reg: buck6 { 504279377Simp regulator-compatible = "BUCK6"; 505279377Simp regulator-name = "VCC_SUB_1.35V"; 506279377Simp regulator-min-microvolt = <1350000>; 507279377Simp regulator-max-microvolt = <1350000>; 508279377Simp regulator-always-on; 509279377Simp }; 510279377Simp 511279377Simp buck7_reg: buck7 { 512279377Simp regulator-compatible = "BUCK7"; 513279377Simp regulator-name = "VCC_SUB_2.0V"; 514279377Simp regulator-min-microvolt = <2000000>; 515279377Simp regulator-max-microvolt = <2000000>; 516279377Simp regulator-always-on; 517279377Simp }; 518279377Simp 519279377Simp buck8_reg: buck8 { 520279377Simp regulator-compatible = "BUCK8"; 521279377Simp regulator-name = "VMEM_VDDF_3.0V"; 522279377Simp regulator-min-microvolt = <2850000>; 523279377Simp regulator-max-microvolt = <2850000>; 524279377Simp maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>; 525279377Simp }; 526279377Simp 527279377Simp buck9_reg: buck9 { 528279377Simp regulator-compatible = "BUCK9"; 529279377Simp regulator-name = "CAM_ISP_CORE_1.2V"; 530279377Simp regulator-min-microvolt = <1000000>; 531279377Simp regulator-max-microvolt = <1200000>; 532279377Simp maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>; 533279377Simp }; 534279377Simp }; 535279377Simp }; 536279377Simp }; 537279377Simp 538279377Simp i2c_max77693: i2c-gpio-1 { 539279377Simp compatible = "i2c-gpio"; 540279377Simp gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>; 541279377Simp i2c-gpio,delay-us = <2>; 542279377Simp #address-cells = <1>; 543279377Simp #size-cells = <0>; 544279377Simp status = "okay"; 545279377Simp 546279377Simp max77693@66 { 547279377Simp compatible = "maxim,max77693"; 548279377Simp interrupt-parent = <&gpx1>; 549279377Simp interrupts = <5 2>; 550279377Simp reg = <0x66>; 551279377Simp 552279377Simp regulators { 553279377Simp esafeout1_reg: ESAFEOUT1@1 { 554279377Simp regulator-name = "ESAFEOUT1"; 555279377Simp }; 556279377Simp esafeout2_reg: ESAFEOUT2@2 { 557279377Simp regulator-name = "ESAFEOUT2"; 558279377Simp }; 559279377Simp charger_reg: CHARGER@0 { 560279377Simp regulator-name = "CHARGER"; 561279377Simp regulator-min-microamp = <60000>; 562279377Simp regulator-max-microamp = <2580000>; 563279377Simp }; 564279377Simp }; 565279377Simp 566279377Simp max77693_haptic { 567279377Simp compatible = "maxim,max77693-haptic"; 568279377Simp haptic-supply = <&ldo26_reg>; 569279377Simp pwms = <&pwm 0 38022 0>; 570279377Simp }; 571279377Simp 572279377Simp charger { 573279377Simp compatible = "maxim,max77693-charger"; 574279377Simp 575279377Simp maxim,constant-microvolt = <4350000>; 576279377Simp maxim,min-system-microvolt = <3600000>; 577279377Simp maxim,thermal-regulation-celsius = <100>; 578279377Simp maxim,battery-overcurrent-microamp = <3500000>; 579279377Simp maxim,charge-input-threshold-microvolt = <4300000>; 580279377Simp }; 581279377Simp }; 582279377Simp }; 583279377Simp 584279377Simp i2c_max77693_fuel: i2c-gpio-3 { 585279377Simp compatible = "i2c-gpio"; 586279377Simp gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>; 587279377Simp i2c-gpio,delay-us = <2>; 588279377Simp #address-cells = <1>; 589279377Simp #size-cells = <0>; 590279377Simp status = "okay"; 591279377Simp 592279377Simp max77693-fuel-gauge@36 { 593279377Simp compatible = "maxim,max17047"; 594279377Simp interrupt-parent = <&gpx2>; 595279377Simp interrupts = <3 IRQ_TYPE_EDGE_FALLING>; 596279377Simp reg = <0x36>; 597279377Simp }; 598279377Simp }; 599279377Simp 600279377Simp mmc@12550000 { 601279377Simp num-slots = <1>; 602279377Simp broken-cd; 603279377Simp non-removable; 604279377Simp card-detect-delay = <200>; 605279377Simp vmmc-supply = <&ldo22_reg>; 606279377Simp clock-frequency = <400000000>; 607279377Simp samsung,dw-mshc-ciu-div = <0>; 608279377Simp samsung,dw-mshc-sdr-timing = <2 3>; 609279377Simp samsung,dw-mshc-ddr-timing = <1 2>; 610279377Simp pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; 611279377Simp pinctrl-names = "default"; 612279377Simp status = "okay"; 613279377Simp bus-width = <8>; 614279377Simp cap-mmc-highspeed; 615279377Simp }; 616279377Simp 617279377Simp sdhci@12530000 { 618279377Simp bus-width = <4>; 619279377Simp cd-gpios = <&gpx3 4 0>; 620279377Simp cd-inverted; 621279377Simp pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>; 622279377Simp pinctrl-names = "default"; 623279377Simp vmmc-supply = <&ldo21_reg>; 624279377Simp status = "okay"; 625279377Simp }; 626279377Simp 627279377Simp serial@13800000 { 628279377Simp status = "okay"; 629279377Simp }; 630279377Simp 631279377Simp serial@13810000 { 632279377Simp status = "okay"; 633279377Simp }; 634279377Simp 635279377Simp serial@13820000 { 636279377Simp status = "okay"; 637279377Simp }; 638279377Simp 639279377Simp serial@13830000 { 640279377Simp status = "okay"; 641279377Simp }; 642279377Simp 643279377Simp tmu@100C0000 { 644279377Simp vtmu-supply = <&ldo10_reg>; 645279377Simp status = "okay"; 646279377Simp }; 647279377Simp 648279377Simp i2c_ak8975: i2c-gpio-0 { 649279377Simp compatible = "i2c-gpio"; 650279377Simp gpios = <&gpy2 4 0>, <&gpy2 5 0>; 651279377Simp i2c-gpio,delay-us = <2>; 652279377Simp #address-cells = <1>; 653279377Simp #size-cells = <0>; 654279377Simp status = "okay"; 655279377Simp 656279377Simp ak8975@0c { 657279377Simp compatible = "asahi-kasei,ak8975"; 658279377Simp reg = <0x0c>; 659279377Simp gpios = <&gpj0 7 0>; 660279377Simp }; 661279377Simp }; 662279377Simp 663279377Simp i2c_cm36651: i2c-gpio-2 { 664279377Simp compatible = "i2c-gpio"; 665279377Simp gpios = <&gpf0 0 1>, <&gpf0 1 1>; 666279377Simp i2c-gpio,delay-us = <2>; 667279377Simp #address-cells = <1>; 668279377Simp #size-cells = <0>; 669279377Simp 670279377Simp cm36651@18 { 671279377Simp compatible = "capella,cm36651"; 672279377Simp reg = <0x18>; 673279377Simp interrupt-parent = <&gpx0>; 674279377Simp interrupts = <2 2>; 675279377Simp vled-supply = <&ps_als_reg>; 676279377Simp }; 677279377Simp }; 678279377Simp 679279377Simp spi_1: spi@13930000 { 680279377Simp pinctrl-names = "default"; 681279377Simp pinctrl-0 = <&spi1_bus>; 682279377Simp cs-gpios = <&gpb 5 0>; 683279377Simp status = "okay"; 684279377Simp 685279377Simp s5c73m3_spi: s5c73m3 { 686279377Simp compatible = "samsung,s5c73m3"; 687279377Simp spi-max-frequency = <50000000>; 688279377Simp reg = <0>; 689279377Simp controller-data { 690279377Simp samsung,spi-feedback-delay = <2>; 691279377Simp }; 692279377Simp }; 693279377Simp }; 694279377Simp 695279377Simp pwm: pwm@139D0000 { 696279377Simp pinctrl-0 = <&pwm0_out>; 697279377Simp pinctrl-names = "default"; 698279377Simp samsung,pwm-outputs = <0>; 699279377Simp status = "okay"; 700279377Simp }; 701279377Simp 702279377Simp dsi_0: dsi@11C80000 { 703279377Simp vddcore-supply = <&ldo8_reg>; 704279377Simp vddio-supply = <&ldo10_reg>; 705279377Simp samsung,pll-clock-frequency = <24000000>; 706279377Simp status = "okay"; 707279377Simp 708279377Simp ports { 709279377Simp #address-cells = <1>; 710279377Simp #size-cells = <0>; 711279377Simp 712279377Simp port@1 { 713279377Simp reg = <1>; 714279377Simp 715279377Simp dsi_out: endpoint { 716279377Simp remote-endpoint = <&dsi_in>; 717279377Simp samsung,burst-clock-frequency = <500000000>; 718279377Simp samsung,esc-clock-frequency = <20000000>; 719279377Simp }; 720279377Simp }; 721279377Simp }; 722279377Simp 723279377Simp panel@0 { 724279377Simp compatible = "samsung,s6e8aa0"; 725279377Simp reg = <0>; 726279377Simp vdd3-supply = <&lcd_vdd3_reg>; 727279377Simp vci-supply = <&ldo25_reg>; 728279377Simp reset-gpios = <&gpy4 5 0>; 729279377Simp power-on-delay= <50>; 730279377Simp reset-delay = <100>; 731279377Simp init-delay = <100>; 732279377Simp flip-horizontal; 733279377Simp flip-vertical; 734279377Simp panel-width-mm = <58>; 735279377Simp panel-height-mm = <103>; 736279377Simp 737279377Simp display-timings { 738279377Simp timing-0 { 739279377Simp clock-frequency = <0>; 740279377Simp hactive = <720>; 741279377Simp vactive = <1280>; 742279377Simp hfront-porch = <5>; 743279377Simp hback-porch = <5>; 744279377Simp hsync-len = <5>; 745279377Simp vfront-porch = <13>; 746279377Simp vback-porch = <1>; 747279377Simp vsync-len = <2>; 748279377Simp }; 749279377Simp }; 750279377Simp 751279377Simp port { 752279377Simp dsi_in: endpoint { 753279377Simp remote-endpoint = <&dsi_out>; 754279377Simp }; 755279377Simp }; 756279377Simp }; 757279377Simp }; 758279377Simp 759279377Simp fimd@11c00000 { 760279377Simp status = "okay"; 761279377Simp }; 762279377Simp 763279377Simp camera: camera { 764279377Simp pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>; 765279377Simp pinctrl-names = "default"; 766279377Simp status = "okay"; 767279377Simp assigned-clocks = <&clock CLK_MOUT_CAM0>, 768279377Simp <&clock CLK_MOUT_CAM1>; 769279377Simp assigned-clock-parents = <&clock CLK_XUSBXTI>, 770279377Simp <&clock CLK_XUSBXTI>; 771279377Simp 772279377Simp fimc_0: fimc@11800000 { 773279377Simp status = "okay"; 774279377Simp assigned-clocks = <&clock CLK_MOUT_FIMC0>, 775279377Simp <&clock CLK_SCLK_FIMC0>; 776279377Simp assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; 777279377Simp assigned-clock-rates = <0>, <176000000>; 778279377Simp }; 779279377Simp 780279377Simp fimc_1: fimc@11810000 { 781279377Simp status = "okay"; 782279377Simp assigned-clocks = <&clock CLK_MOUT_FIMC1>, 783279377Simp <&clock CLK_SCLK_FIMC1>; 784279377Simp assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; 785279377Simp assigned-clock-rates = <0>, <176000000>; 786279377Simp }; 787279377Simp 788279377Simp fimc_2: fimc@11820000 { 789279377Simp status = "okay"; 790279377Simp assigned-clocks = <&clock CLK_MOUT_FIMC2>, 791279377Simp <&clock CLK_SCLK_FIMC2>; 792279377Simp assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; 793279377Simp assigned-clock-rates = <0>, <176000000>; 794279377Simp }; 795279377Simp 796279377Simp fimc_3: fimc@11830000 { 797279377Simp status = "okay"; 798279377Simp assigned-clocks = <&clock CLK_MOUT_FIMC3>, 799279377Simp <&clock CLK_SCLK_FIMC3>; 800279377Simp assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; 801279377Simp assigned-clock-rates = <0>, <176000000>; 802279377Simp }; 803279377Simp 804279377Simp csis_0: csis@11880000 { 805279377Simp status = "okay"; 806279377Simp vddcore-supply = <&ldo8_reg>; 807279377Simp vddio-supply = <&ldo10_reg>; 808279377Simp assigned-clocks = <&clock CLK_MOUT_CSIS0>, 809279377Simp <&clock CLK_SCLK_CSIS0>; 810279377Simp assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; 811279377Simp assigned-clock-rates = <0>, <176000000>; 812279377Simp 813279377Simp /* Camera C (3) MIPI CSI-2 (CSIS0) */ 814279377Simp port@3 { 815279377Simp reg = <3>; 816279377Simp csis0_ep: endpoint { 817279377Simp remote-endpoint = <&s5c73m3_ep>; 818279377Simp data-lanes = <1 2 3 4>; 819279377Simp samsung,csis-hs-settle = <12>; 820279377Simp }; 821279377Simp }; 822279377Simp }; 823279377Simp 824279377Simp csis_1: csis@11890000 { 825279377Simp status = "okay"; 826279377Simp vddcore-supply = <&ldo8_reg>; 827279377Simp vddio-supply = <&ldo10_reg>; 828279377Simp assigned-clocks = <&clock CLK_MOUT_CSIS1>, 829279377Simp <&clock CLK_SCLK_CSIS1>; 830279377Simp assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; 831279377Simp assigned-clock-rates = <0>, <176000000>; 832279377Simp 833279377Simp /* Camera D (4) MIPI CSI-2 (CSIS1) */ 834279377Simp port@4 { 835279377Simp reg = <4>; 836279377Simp csis1_ep: endpoint { 837279377Simp remote-endpoint = <&is_s5k6a3_ep>; 838279377Simp data-lanes = <1>; 839279377Simp samsung,csis-hs-settle = <18>; 840279377Simp samsung,csis-wclk; 841279377Simp }; 842279377Simp }; 843279377Simp }; 844279377Simp 845279377Simp fimc_lite_0: fimc-lite@12390000 { 846279377Simp status = "okay"; 847279377Simp }; 848279377Simp 849279377Simp fimc_lite_1: fimc-lite@123A0000 { 850279377Simp status = "okay"; 851279377Simp }; 852279377Simp 853279377Simp fimc-is@12000000 { 854279377Simp pinctrl-0 = <&fimc_is_uart>; 855279377Simp pinctrl-names = "default"; 856279377Simp status = "okay"; 857279377Simp 858279377Simp i2c1_isp: i2c-isp@12140000 { 859279377Simp pinctrl-0 = <&fimc_is_i2c1>; 860279377Simp pinctrl-names = "default"; 861279377Simp 862279377Simp s5k6a3@10 { 863279377Simp compatible = "samsung,s5k6a3"; 864279377Simp reg = <0x10>; 865279377Simp svdda-supply = <&cam_io_reg>; 866279377Simp svddio-supply = <&ldo19_reg>; 867279377Simp afvdd-supply = <&ldo19_reg>; 868279377Simp clock-frequency = <24000000>; 869279377Simp /* CAM_B_CLKOUT */ 870279377Simp clocks = <&camera 1>; 871279377Simp clock-names = "extclk"; 872279377Simp samsung,camclk-out = <1>; 873279377Simp gpios = <&gpm1 6 0>; 874279377Simp 875279377Simp port { 876279377Simp is_s5k6a3_ep: endpoint { 877279377Simp remote-endpoint = <&csis1_ep>; 878279377Simp data-lanes = <1>; 879279377Simp }; 880279377Simp }; 881279377Simp }; 882279377Simp }; 883279377Simp }; 884279377Simp }; 885279377Simp 886279377Simp i2s0: i2s@03830000 { 887279377Simp pinctrl-0 = <&i2s0_bus>; 888279377Simp pinctrl-names = "default"; 889279377Simp status = "okay"; 890279377Simp }; 891279377Simp 892279377Simp sound { 893279377Simp compatible = "samsung,trats2-audio"; 894279377Simp samsung,i2s-controller = <&i2s0>; 895279377Simp samsung,model = "Trats2"; 896279377Simp samsung,audio-codec = <&wm1811>; 897279377Simp samsung,audio-routing = 898279377Simp "SPK", "SPKOUTLN", 899279377Simp "SPK", "SPKOUTLP", 900279377Simp "SPK", "SPKOUTRN", 901279377Simp "SPK", "SPKOUTRP"; 902279377Simp }; 903279377Simp 904279377Simp exynos-usbphy@125B0000 { 905279377Simp status = "okay"; 906279377Simp }; 907279377Simp 908279377Simp hsotg@12480000 { 909279377Simp vusb_d-supply = <&ldo15_reg>; 910279377Simp vusb_a-supply = <&ldo12_reg>; 911279377Simp dr_mode = "peripheral"; 912279377Simp status = "okay"; 913279377Simp }; 914279377Simp 915279377Simp thermistor-ap@0 { 916279377Simp compatible = "ntc,ncp15wb473"; 917279377Simp pullup-uv = <1800000>; /* VCC_1.8V_AP */ 918279377Simp pullup-ohm = <100000>; /* 100K */ 919279377Simp pulldown-ohm = <100000>; /* 100K */ 920279377Simp io-channels = <&adc 1>; /* AP temperature */ 921279377Simp }; 922279377Simp 923279377Simp thermistor-battery@1 { 924279377Simp compatible = "ntc,ncp15wb473"; 925279377Simp pullup-uv = <1800000>; /* VCC_1.8V_AP */ 926279377Simp pullup-ohm = <100000>; /* 100K */ 927279377Simp pulldown-ohm = <100000>; /* 100K */ 928279377Simp io-channels = <&adc 2>; /* Battery temperature */ 929279377Simp }; 930279377Simp}; 931279377Simp 932279377Simp&pmu_system_controller { 933279377Simp assigned-clocks = <&pmu_system_controller 0>; 934279377Simp assigned-clock-parents = <&clock CLK_XUSBXTI>; 935279377Simp}; 936279377Simp 937279377Simp&ppmu_dmc0 { 938279377Simp status = "okay"; 939279377Simp 940279377Simp events { 941279377Simp ppmu_dmc0_3: ppmu-event3-dmc0 { 942279377Simp event-name = "ppmu-event3-dmc0"; 943279377Simp }; 944279377Simp }; 945279377Simp}; 946279377Simp 947279377Simp&ppmu_dmc1 { 948279377Simp status = "okay"; 949279377Simp 950279377Simp events { 951279377Simp ppmu_dmc1_3: ppmu-event3-dmc1 { 952279377Simp event-name = "ppmu-event3-dmc1"; 953279377Simp }; 954279377Simp }; 955279377Simp}; 956279377Simp 957279377Simp&ppmu_leftbus { 958279377Simp status = "okay"; 959279377Simp 960279377Simp events { 961279377Simp ppmu_leftbus_3: ppmu-event3-leftbus { 962279377Simp event-name = "ppmu-event3-leftbus"; 963279377Simp }; 964279377Simp }; 965279377Simp}; 966279377Simp 967279377Simp&ppmu_rightbus { 968279377Simp status = "okay"; 969279377Simp 970279377Simp events { 971279377Simp ppmu_rightbus_3: ppmu-event3-rightbus { 972279377Simp event-name = "ppmu-event3-rightbus"; 973279377Simp }; 974279377Simp }; 975279377Simp}; 976279377Simp 977279377Simp&pinctrl_0 { 978279377Simp pinctrl-names = "default"; 979279377Simp pinctrl-0 = <&sleep0>; 980279377Simp 981279377Simp sleep0: sleep-states { 982279377Simp PIN_SLP(gpa0-0, INPUT, NONE); 983279377Simp PIN_SLP(gpa0-1, OUT0, NONE); 984279377Simp PIN_SLP(gpa0-2, INPUT, NONE); 985279377Simp PIN_SLP(gpa0-3, INPUT, UP); 986279377Simp PIN_SLP(gpa0-4, INPUT, NONE); 987279377Simp PIN_SLP(gpa0-5, INPUT, DOWN); 988279377Simp PIN_SLP(gpa0-6, INPUT, DOWN); 989279377Simp PIN_SLP(gpa0-7, INPUT, UP); 990279377Simp 991279377Simp PIN_SLP(gpa1-0, INPUT, DOWN); 992279377Simp PIN_SLP(gpa1-1, INPUT, DOWN); 993279377Simp PIN_SLP(gpa1-2, INPUT, DOWN); 994279377Simp PIN_SLP(gpa1-3, INPUT, DOWN); 995279377Simp PIN_SLP(gpa1-4, INPUT, DOWN); 996279377Simp PIN_SLP(gpa1-5, INPUT, DOWN); 997279377Simp 998279377Simp PIN_SLP(gpb-0, INPUT, NONE); 999279377Simp PIN_SLP(gpb-1, INPUT, NONE); 1000279377Simp PIN_SLP(gpb-2, INPUT, NONE); 1001279377Simp PIN_SLP(gpb-3, INPUT, NONE); 1002279377Simp PIN_SLP(gpb-4, INPUT, DOWN); 1003279377Simp PIN_SLP(gpb-5, INPUT, UP); 1004279377Simp PIN_SLP(gpb-6, INPUT, DOWN); 1005279377Simp PIN_SLP(gpb-7, INPUT, DOWN); 1006279377Simp 1007279377Simp PIN_SLP(gpc0-0, INPUT, DOWN); 1008279377Simp PIN_SLP(gpc0-1, INPUT, DOWN); 1009279377Simp PIN_SLP(gpc0-2, INPUT, DOWN); 1010279377Simp PIN_SLP(gpc0-3, INPUT, DOWN); 1011279377Simp PIN_SLP(gpc0-4, INPUT, DOWN); 1012279377Simp 1013279377Simp PIN_SLP(gpc1-0, INPUT, NONE); 1014279377Simp PIN_SLP(gpc1-1, PREV, NONE); 1015279377Simp PIN_SLP(gpc1-2, INPUT, NONE); 1016279377Simp PIN_SLP(gpc1-3, INPUT, NONE); 1017279377Simp PIN_SLP(gpc1-4, INPUT, NONE); 1018279377Simp 1019279377Simp PIN_SLP(gpd0-0, INPUT, DOWN); 1020279377Simp PIN_SLP(gpd0-1, INPUT, DOWN); 1021279377Simp PIN_SLP(gpd0-2, INPUT, NONE); 1022279377Simp PIN_SLP(gpd0-3, INPUT, NONE); 1023279377Simp 1024279377Simp PIN_SLP(gpd1-0, INPUT, DOWN); 1025279377Simp PIN_SLP(gpd1-1, INPUT, DOWN); 1026279377Simp PIN_SLP(gpd1-2, INPUT, NONE); 1027279377Simp PIN_SLP(gpd1-3, INPUT, NONE); 1028279377Simp 1029279377Simp PIN_SLP(gpf0-0, INPUT, NONE); 1030279377Simp PIN_SLP(gpf0-1, INPUT, NONE); 1031279377Simp PIN_SLP(gpf0-2, INPUT, DOWN); 1032279377Simp PIN_SLP(gpf0-3, INPUT, DOWN); 1033279377Simp PIN_SLP(gpf0-4, INPUT, NONE); 1034279377Simp PIN_SLP(gpf0-5, INPUT, DOWN); 1035279377Simp PIN_SLP(gpf0-6, INPUT, NONE); 1036279377Simp PIN_SLP(gpf0-7, INPUT, DOWN); 1037279377Simp 1038279377Simp PIN_SLP(gpf1-0, INPUT, DOWN); 1039279377Simp PIN_SLP(gpf1-1, INPUT, DOWN); 1040279377Simp PIN_SLP(gpf1-2, INPUT, DOWN); 1041279377Simp PIN_SLP(gpf1-3, INPUT, DOWN); 1042279377Simp PIN_SLP(gpf1-4, INPUT, NONE); 1043279377Simp PIN_SLP(gpf1-5, INPUT, NONE); 1044279377Simp PIN_SLP(gpf1-6, INPUT, DOWN); 1045279377Simp PIN_SLP(gpf1-7, PREV, NONE); 1046279377Simp 1047279377Simp PIN_SLP(gpf2-0, PREV, NONE); 1048279377Simp PIN_SLP(gpf2-1, INPUT, DOWN); 1049279377Simp PIN_SLP(gpf2-2, INPUT, DOWN); 1050279377Simp PIN_SLP(gpf2-3, INPUT, DOWN); 1051279377Simp PIN_SLP(gpf2-4, INPUT, DOWN); 1052279377Simp PIN_SLP(gpf2-5, INPUT, DOWN); 1053279377Simp PIN_SLP(gpf2-6, INPUT, NONE); 1054279377Simp PIN_SLP(gpf2-7, INPUT, NONE); 1055279377Simp 1056279377Simp PIN_SLP(gpf3-0, INPUT, NONE); 1057279377Simp PIN_SLP(gpf3-1, PREV, NONE); 1058279377Simp PIN_SLP(gpf3-2, PREV, NONE); 1059279377Simp PIN_SLP(gpf3-3, PREV, NONE); 1060279377Simp PIN_SLP(gpf3-4, OUT1, NONE); 1061279377Simp PIN_SLP(gpf3-5, INPUT, DOWN); 1062279377Simp 1063279377Simp PIN_SLP(gpj0-0, PREV, NONE); 1064279377Simp PIN_SLP(gpj0-1, PREV, NONE); 1065279377Simp PIN_SLP(gpj0-2, PREV, NONE); 1066279377Simp PIN_SLP(gpj0-3, INPUT, DOWN); 1067279377Simp PIN_SLP(gpj0-4, PREV, NONE); 1068279377Simp PIN_SLP(gpj0-5, PREV, NONE); 1069279377Simp PIN_SLP(gpj0-6, INPUT, DOWN); 1070279377Simp PIN_SLP(gpj0-7, INPUT, DOWN); 1071279377Simp 1072279377Simp PIN_SLP(gpj1-0, INPUT, DOWN); 1073279377Simp PIN_SLP(gpj1-1, PREV, NONE); 1074279377Simp PIN_SLP(gpj1-2, PREV, NONE); 1075279377Simp PIN_SLP(gpj1-3, INPUT, DOWN); 1076279377Simp PIN_SLP(gpj1-4, INPUT, DOWN); 1077279377Simp }; 1078279377Simp}; 1079279377Simp 1080279377Simp&pinctrl_1 { 1081279377Simp pinctrl-names = "default"; 1082279377Simp pinctrl-0 = <&sleep1>; 1083279377Simp 1084279377Simp sleep1: sleep-states { 1085279377Simp PIN_SLP(gpk0-0, PREV, NONE); 1086279377Simp PIN_SLP(gpk0-1, PREV, NONE); 1087279377Simp PIN_SLP(gpk0-2, OUT0, NONE); 1088279377Simp PIN_SLP(gpk0-3, PREV, NONE); 1089279377Simp PIN_SLP(gpk0-4, PREV, NONE); 1090279377Simp PIN_SLP(gpk0-5, PREV, NONE); 1091279377Simp PIN_SLP(gpk0-6, PREV, NONE); 1092279377Simp 1093279377Simp PIN_SLP(gpk1-0, INPUT, DOWN); 1094279377Simp PIN_SLP(gpk1-1, INPUT, DOWN); 1095279377Simp PIN_SLP(gpk1-2, INPUT, DOWN); 1096279377Simp PIN_SLP(gpk1-3, PREV, NONE); 1097279377Simp PIN_SLP(gpk1-4, PREV, NONE); 1098279377Simp PIN_SLP(gpk1-5, PREV, NONE); 1099279377Simp PIN_SLP(gpk1-6, PREV, NONE); 1100279377Simp 1101279377Simp PIN_SLP(gpk2-0, INPUT, DOWN); 1102279377Simp PIN_SLP(gpk2-1, INPUT, DOWN); 1103279377Simp PIN_SLP(gpk2-2, INPUT, DOWN); 1104279377Simp PIN_SLP(gpk2-3, INPUT, DOWN); 1105279377Simp PIN_SLP(gpk2-4, INPUT, DOWN); 1106279377Simp PIN_SLP(gpk2-5, INPUT, DOWN); 1107279377Simp PIN_SLP(gpk2-6, INPUT, DOWN); 1108279377Simp 1109279377Simp PIN_SLP(gpk3-0, OUT0, NONE); 1110279377Simp PIN_SLP(gpk3-1, INPUT, NONE); 1111279377Simp PIN_SLP(gpk3-2, INPUT, DOWN); 1112279377Simp PIN_SLP(gpk3-3, INPUT, NONE); 1113279377Simp PIN_SLP(gpk3-4, INPUT, NONE); 1114279377Simp PIN_SLP(gpk3-5, INPUT, NONE); 1115279377Simp PIN_SLP(gpk3-6, INPUT, NONE); 1116279377Simp 1117279377Simp PIN_SLP(gpl0-0, INPUT, DOWN); 1118279377Simp PIN_SLP(gpl0-1, INPUT, DOWN); 1119279377Simp PIN_SLP(gpl0-2, INPUT, DOWN); 1120279377Simp PIN_SLP(gpl0-3, INPUT, DOWN); 1121279377Simp PIN_SLP(gpl0-4, PREV, NONE); 1122279377Simp PIN_SLP(gpl0-6, PREV, NONE); 1123279377Simp 1124279377Simp PIN_SLP(gpl1-0, INPUT, DOWN); 1125279377Simp PIN_SLP(gpl1-1, INPUT, DOWN); 1126279377Simp PIN_SLP(gpl2-0, INPUT, DOWN); 1127279377Simp PIN_SLP(gpl2-1, INPUT, DOWN); 1128279377Simp PIN_SLP(gpl2-2, INPUT, DOWN); 1129279377Simp PIN_SLP(gpl2-3, INPUT, DOWN); 1130279377Simp PIN_SLP(gpl2-4, INPUT, DOWN); 1131279377Simp PIN_SLP(gpl2-5, INPUT, DOWN); 1132279377Simp PIN_SLP(gpl2-6, PREV, NONE); 1133279377Simp PIN_SLP(gpl2-7, INPUT, DOWN); 1134279377Simp 1135279377Simp PIN_SLP(gpm0-0, INPUT, DOWN); 1136279377Simp PIN_SLP(gpm0-1, INPUT, DOWN); 1137279377Simp PIN_SLP(gpm0-2, INPUT, DOWN); 1138279377Simp PIN_SLP(gpm0-3, INPUT, DOWN); 1139279377Simp PIN_SLP(gpm0-4, INPUT, DOWN); 1140279377Simp PIN_SLP(gpm0-5, INPUT, DOWN); 1141279377Simp PIN_SLP(gpm0-6, INPUT, DOWN); 1142279377Simp PIN_SLP(gpm0-7, INPUT, DOWN); 1143279377Simp 1144279377Simp PIN_SLP(gpm1-0, INPUT, DOWN); 1145279377Simp PIN_SLP(gpm1-1, INPUT, DOWN); 1146279377Simp PIN_SLP(gpm1-2, INPUT, NONE); 1147279377Simp PIN_SLP(gpm1-3, INPUT, NONE); 1148279377Simp PIN_SLP(gpm1-4, INPUT, NONE); 1149279377Simp PIN_SLP(gpm1-5, INPUT, NONE); 1150279377Simp PIN_SLP(gpm1-6, INPUT, DOWN); 1151279377Simp 1152279377Simp PIN_SLP(gpm2-0, INPUT, NONE); 1153279377Simp PIN_SLP(gpm2-1, INPUT, NONE); 1154279377Simp PIN_SLP(gpm2-2, INPUT, DOWN); 1155279377Simp PIN_SLP(gpm2-3, INPUT, DOWN); 1156279377Simp PIN_SLP(gpm2-4, INPUT, DOWN); 1157279377Simp 1158279377Simp PIN_SLP(gpm3-0, PREV, NONE); 1159279377Simp PIN_SLP(gpm3-1, PREV, NONE); 1160279377Simp PIN_SLP(gpm3-2, PREV, NONE); 1161279377Simp PIN_SLP(gpm3-3, OUT1, NONE); 1162279377Simp PIN_SLP(gpm3-4, INPUT, DOWN); 1163279377Simp PIN_SLP(gpm3-5, INPUT, DOWN); 1164279377Simp PIN_SLP(gpm3-6, INPUT, DOWN); 1165279377Simp PIN_SLP(gpm3-7, INPUT, DOWN); 1166279377Simp 1167279377Simp PIN_SLP(gpm4-0, INPUT, DOWN); 1168279377Simp PIN_SLP(gpm4-1, INPUT, DOWN); 1169279377Simp PIN_SLP(gpm4-2, INPUT, DOWN); 1170279377Simp PIN_SLP(gpm4-3, INPUT, DOWN); 1171279377Simp PIN_SLP(gpm4-4, INPUT, DOWN); 1172279377Simp PIN_SLP(gpm4-5, INPUT, DOWN); 1173279377Simp PIN_SLP(gpm4-6, INPUT, DOWN); 1174279377Simp PIN_SLP(gpm4-7, INPUT, DOWN); 1175279377Simp 1176279377Simp PIN_SLP(gpy0-0, INPUT, DOWN); 1177279377Simp PIN_SLP(gpy0-1, INPUT, DOWN); 1178279377Simp PIN_SLP(gpy0-2, INPUT, DOWN); 1179279377Simp PIN_SLP(gpy0-3, INPUT, DOWN); 1180279377Simp PIN_SLP(gpy0-4, INPUT, DOWN); 1181279377Simp PIN_SLP(gpy0-5, INPUT, DOWN); 1182279377Simp 1183279377Simp PIN_SLP(gpy1-0, INPUT, DOWN); 1184279377Simp PIN_SLP(gpy1-1, INPUT, DOWN); 1185279377Simp PIN_SLP(gpy1-2, INPUT, DOWN); 1186279377Simp PIN_SLP(gpy1-3, INPUT, DOWN); 1187279377Simp 1188279377Simp PIN_SLP(gpy2-0, PREV, NONE); 1189279377Simp PIN_SLP(gpy2-1, INPUT, DOWN); 1190279377Simp PIN_SLP(gpy2-2, INPUT, NONE); 1191279377Simp PIN_SLP(gpy2-3, INPUT, NONE); 1192279377Simp PIN_SLP(gpy2-4, INPUT, NONE); 1193279377Simp PIN_SLP(gpy2-5, INPUT, NONE); 1194279377Simp 1195279377Simp PIN_SLP(gpy3-0, INPUT, DOWN); 1196279377Simp PIN_SLP(gpy3-1, INPUT, DOWN); 1197279377Simp PIN_SLP(gpy3-2, INPUT, DOWN); 1198279377Simp PIN_SLP(gpy3-3, INPUT, DOWN); 1199279377Simp PIN_SLP(gpy3-4, INPUT, DOWN); 1200279377Simp PIN_SLP(gpy3-5, INPUT, DOWN); 1201279377Simp PIN_SLP(gpy3-6, INPUT, DOWN); 1202279377Simp PIN_SLP(gpy3-7, INPUT, DOWN); 1203279377Simp 1204279377Simp PIN_SLP(gpy4-0, INPUT, DOWN); 1205279377Simp PIN_SLP(gpy4-1, INPUT, DOWN); 1206279377Simp PIN_SLP(gpy4-2, INPUT, DOWN); 1207279377Simp PIN_SLP(gpy4-3, INPUT, DOWN); 1208279377Simp PIN_SLP(gpy4-4, INPUT, DOWN); 1209279377Simp PIN_SLP(gpy4-5, INPUT, DOWN); 1210279377Simp PIN_SLP(gpy4-6, INPUT, DOWN); 1211279377Simp PIN_SLP(gpy4-7, INPUT, DOWN); 1212279377Simp 1213279377Simp PIN_SLP(gpy5-0, INPUT, DOWN); 1214279377Simp PIN_SLP(gpy5-1, INPUT, DOWN); 1215279377Simp PIN_SLP(gpy5-2, INPUT, DOWN); 1216279377Simp PIN_SLP(gpy5-3, INPUT, DOWN); 1217279377Simp PIN_SLP(gpy5-4, INPUT, DOWN); 1218279377Simp PIN_SLP(gpy5-5, INPUT, DOWN); 1219279377Simp PIN_SLP(gpy5-6, INPUT, DOWN); 1220279377Simp PIN_SLP(gpy5-7, INPUT, DOWN); 1221279377Simp 1222279377Simp PIN_SLP(gpy6-0, INPUT, DOWN); 1223279377Simp PIN_SLP(gpy6-1, INPUT, DOWN); 1224279377Simp PIN_SLP(gpy6-2, INPUT, DOWN); 1225279377Simp PIN_SLP(gpy6-3, INPUT, DOWN); 1226279377Simp PIN_SLP(gpy6-4, INPUT, DOWN); 1227279377Simp PIN_SLP(gpy6-5, INPUT, DOWN); 1228279377Simp PIN_SLP(gpy6-6, INPUT, DOWN); 1229279377Simp PIN_SLP(gpy6-7, INPUT, DOWN); 1230279377Simp }; 1231279377Simp}; 1232279377Simp 1233279377Simp&pinctrl_2 { 1234279377Simp pinctrl-names = "default"; 1235279377Simp pinctrl-0 = <&sleep2>; 1236279377Simp 1237279377Simp sleep2: sleep-states { 1238279377Simp PIN_SLP(gpz-0, INPUT, DOWN); 1239279377Simp PIN_SLP(gpz-1, INPUT, DOWN); 1240279377Simp PIN_SLP(gpz-2, INPUT, DOWN); 1241279377Simp PIN_SLP(gpz-3, INPUT, DOWN); 1242279377Simp PIN_SLP(gpz-4, INPUT, DOWN); 1243279377Simp PIN_SLP(gpz-5, INPUT, DOWN); 1244279377Simp PIN_SLP(gpz-6, INPUT, DOWN); 1245279377Simp }; 1246279377Simp}; 1247279377Simp 1248279377Simp&pinctrl_3 { 1249279377Simp pinctrl-names = "default"; 1250279377Simp pinctrl-0 = <&sleep3>; 1251279377Simp 1252279377Simp sleep3: sleep-states { 1253279377Simp PIN_SLP(gpv0-0, INPUT, DOWN); 1254279377Simp PIN_SLP(gpv0-1, INPUT, DOWN); 1255279377Simp PIN_SLP(gpv0-2, INPUT, DOWN); 1256279377Simp PIN_SLP(gpv0-3, INPUT, DOWN); 1257279377Simp PIN_SLP(gpv0-4, INPUT, DOWN); 1258279377Simp PIN_SLP(gpv0-5, INPUT, DOWN); 1259279377Simp PIN_SLP(gpv0-6, INPUT, DOWN); 1260279377Simp PIN_SLP(gpv0-7, INPUT, DOWN); 1261279377Simp 1262279377Simp PIN_SLP(gpv1-0, INPUT, DOWN); 1263279377Simp PIN_SLP(gpv1-1, INPUT, DOWN); 1264279377Simp PIN_SLP(gpv1-2, INPUT, DOWN); 1265279377Simp PIN_SLP(gpv1-3, INPUT, DOWN); 1266279377Simp PIN_SLP(gpv1-4, INPUT, DOWN); 1267279377Simp PIN_SLP(gpv1-5, INPUT, DOWN); 1268279377Simp PIN_SLP(gpv1-6, INPUT, DOWN); 1269279377Simp PIN_SLP(gpv1-7, INPUT, DOWN); 1270279377Simp 1271279377Simp PIN_SLP(gpv2-0, INPUT, DOWN); 1272279377Simp PIN_SLP(gpv2-1, INPUT, DOWN); 1273279377Simp PIN_SLP(gpv2-2, INPUT, DOWN); 1274279377Simp PIN_SLP(gpv2-3, INPUT, DOWN); 1275279377Simp PIN_SLP(gpv2-4, INPUT, DOWN); 1276279377Simp PIN_SLP(gpv2-5, INPUT, DOWN); 1277279377Simp PIN_SLP(gpv2-6, INPUT, DOWN); 1278279377Simp PIN_SLP(gpv2-7, INPUT, DOWN); 1279279377Simp 1280279377Simp PIN_SLP(gpv3-0, INPUT, DOWN); 1281279377Simp PIN_SLP(gpv3-1, INPUT, DOWN); 1282279377Simp PIN_SLP(gpv3-2, INPUT, DOWN); 1283279377Simp PIN_SLP(gpv3-3, INPUT, DOWN); 1284279377Simp PIN_SLP(gpv3-4, INPUT, DOWN); 1285279377Simp PIN_SLP(gpv3-5, INPUT, DOWN); 1286279377Simp PIN_SLP(gpv3-6, INPUT, DOWN); 1287279377Simp PIN_SLP(gpv3-7, INPUT, DOWN); 1288279377Simp 1289279377Simp PIN_SLP(gpv4-0, INPUT, DOWN); 1290279377Simp }; 1291279377Simp}; 1292