1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring#include "qcom-msm8974pro.dtsi" 3724ba675SRob Herring#include "qcom-pm8841.dtsi" 4724ba675SRob Herring#include "qcom-pm8941.dtsi" 5724ba675SRob Herring#include <dt-bindings/input/input.h> 6724ba675SRob Herring#include <dt-bindings/leds/common.h> 7724ba675SRob Herring#include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 8724ba675SRob Herring 9724ba675SRob Herring/ { 10724ba675SRob Herring model = "Sony Xperia Z2 Tablet"; 11724ba675SRob Herring compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974"; 12724ba675SRob Herring chassis-type = "tablet"; 13724ba675SRob Herring 14724ba675SRob Herring aliases { 15724ba675SRob Herring serial0 = &blsp1_uart2; 16724ba675SRob Herring serial1 = &blsp2_uart1; 17724ba675SRob Herring }; 18724ba675SRob Herring 19724ba675SRob Herring chosen { 20724ba675SRob Herring stdout-path = "serial0:115200n8"; 21724ba675SRob Herring }; 22724ba675SRob Herring 23724ba675SRob Herring gpio-keys { 24724ba675SRob Herring compatible = "gpio-keys"; 25724ba675SRob Herring 26724ba675SRob Herring pinctrl-names = "default"; 27724ba675SRob Herring pinctrl-0 = <&gpio_keys_pin_a>; 28724ba675SRob Herring 29724ba675SRob Herring key-volume-down { 30724ba675SRob Herring label = "volume_down"; 31724ba675SRob Herring gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>; 32724ba675SRob Herring linux,input-type = <1>; 33724ba675SRob Herring linux,code = <KEY_VOLUMEDOWN>; 34724ba675SRob Herring }; 35724ba675SRob Herring 36724ba675SRob Herring key-camera-snapshot { 37724ba675SRob Herring label = "camera_snapshot"; 38724ba675SRob Herring gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>; 39724ba675SRob Herring linux,input-type = <1>; 40724ba675SRob Herring linux,code = <KEY_CAMERA>; 41724ba675SRob Herring }; 42724ba675SRob Herring 43724ba675SRob Herring key-camera-focus { 44724ba675SRob Herring label = "camera_focus"; 45724ba675SRob Herring gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>; 46724ba675SRob Herring linux,input-type = <1>; 47724ba675SRob Herring linux,code = <KEY_CAMERA_FOCUS>; 48724ba675SRob Herring }; 49724ba675SRob Herring 50724ba675SRob Herring key-volume-up { 51724ba675SRob Herring label = "volume_up"; 52724ba675SRob Herring gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>; 53724ba675SRob Herring linux,input-type = <1>; 54724ba675SRob Herring linux,code = <KEY_VOLUMEUP>; 55724ba675SRob Herring }; 56724ba675SRob Herring }; 57724ba675SRob Herring 58724ba675SRob Herring vreg_bl_vddio: lcd-backlight-vddio { 59724ba675SRob Herring compatible = "regulator-fixed"; 60724ba675SRob Herring regulator-name = "vreg_bl_vddio"; 61724ba675SRob Herring regulator-min-microvolt = <3150000>; 62724ba675SRob Herring regulator-max-microvolt = <3150000>; 63724ba675SRob Herring 64724ba675SRob Herring gpio = <&tlmm 69 0>; 65724ba675SRob Herring enable-active-high; 66724ba675SRob Herring 67724ba675SRob Herring vin-supply = <&pm8941_s3>; 68724ba675SRob Herring startup-delay-us = <70000>; 69724ba675SRob Herring 70724ba675SRob Herring pinctrl-names = "default"; 71724ba675SRob Herring pinctrl-0 = <&lcd_backlight_en_pin_a>; 72724ba675SRob Herring }; 73724ba675SRob Herring 74724ba675SRob Herring vreg_vsp: lcd-dcdc-regulator { 75724ba675SRob Herring compatible = "regulator-fixed"; 76724ba675SRob Herring regulator-name = "vreg_vsp"; 77724ba675SRob Herring regulator-min-microvolt = <5600000>; 78724ba675SRob Herring regulator-max-microvolt = <5600000>; 79724ba675SRob Herring 80724ba675SRob Herring gpio = <&pm8941_gpios 20 GPIO_ACTIVE_HIGH>; 81724ba675SRob Herring enable-active-high; 82724ba675SRob Herring 83724ba675SRob Herring pinctrl-names = "default"; 84724ba675SRob Herring pinctrl-0 = <&lcd_dcdc_en_pin_a>; 85724ba675SRob Herring }; 86724ba675SRob Herring 87724ba675SRob Herring vreg_wlan: wlan-regulator { 88724ba675SRob Herring compatible = "regulator-fixed"; 89724ba675SRob Herring 90724ba675SRob Herring regulator-name = "wl-reg"; 91724ba675SRob Herring regulator-min-microvolt = <3300000>; 92724ba675SRob Herring regulator-max-microvolt = <3300000>; 93724ba675SRob Herring 94724ba675SRob Herring gpio = <&pm8941_gpios 18 GPIO_ACTIVE_HIGH>; 95724ba675SRob Herring enable-active-high; 96724ba675SRob Herring 97724ba675SRob Herring pinctrl-names = "default"; 98724ba675SRob Herring pinctrl-0 = <&wlan_regulator_pin>; 99724ba675SRob Herring }; 100724ba675SRob Herring}; 101724ba675SRob Herring 102724ba675SRob Herring&blsp1_uart2 { 103724ba675SRob Herring status = "okay"; 104724ba675SRob Herring}; 105724ba675SRob Herring 106724ba675SRob Herring&blsp2_i2c2 { 107724ba675SRob Herring status = "okay"; 108724ba675SRob Herring clock-frequency = <355000>; 109724ba675SRob Herring 110724ba675SRob Herring synaptics@2c { 111724ba675SRob Herring compatible = "syna,rmi4-i2c"; 112724ba675SRob Herring reg = <0x2c>; 113724ba675SRob Herring 114724ba675SRob Herring interrupt-parent = <&tlmm>; 115724ba675SRob Herring interrupts = <86 IRQ_TYPE_EDGE_FALLING>; 116724ba675SRob Herring 117724ba675SRob Herring #address-cells = <1>; 118724ba675SRob Herring #size-cells = <0>; 119724ba675SRob Herring 120724ba675SRob Herring vdd-supply = <&pm8941_l22>; 121724ba675SRob Herring vio-supply = <&pm8941_lvs3>; 122724ba675SRob Herring 123724ba675SRob Herring pinctrl-names = "default"; 124724ba675SRob Herring pinctrl-0 = <&ts_int_pin>; 125724ba675SRob Herring 126724ba675SRob Herring syna,startup-delay-ms = <100>; 127724ba675SRob Herring 128724ba675SRob Herring rmi-f01@1 { 129724ba675SRob Herring reg = <0x1>; 130724ba675SRob Herring syna,nosleep = <1>; 131724ba675SRob Herring }; 132724ba675SRob Herring 133724ba675SRob Herring rmi-f11@11 { 134724ba675SRob Herring reg = <0x11>; 135724ba675SRob Herring syna,sensor-type = <1>; 136*43db6926SKrzysztof Kozlowski touchscreen-inverted-x; 137724ba675SRob Herring }; 138724ba675SRob Herring }; 139724ba675SRob Herring}; 140724ba675SRob Herring 141724ba675SRob Herring&blsp2_i2c5 { 142724ba675SRob Herring status = "okay"; 143724ba675SRob Herring clock-frequency = <355000>; 144724ba675SRob Herring 145724ba675SRob Herring lp8566_wled: backlight@2c { 146724ba675SRob Herring compatible = "ti,lp8556"; 147724ba675SRob Herring reg = <0x2c>; 148724ba675SRob Herring power-supply = <&vreg_bl_vddio>; 149724ba675SRob Herring 150724ba675SRob Herring bl-name = "backlight"; 151724ba675SRob Herring dev-ctrl = /bits/ 8 <0x05>; 152724ba675SRob Herring init-brt = /bits/ 8 <0x3f>; 153724ba675SRob Herring 154724ba675SRob Herring rom-a0h { 155724ba675SRob Herring rom-addr = /bits/ 8 <0xa0>; 156724ba675SRob Herring rom-val = /bits/ 8 <0xff>; 157724ba675SRob Herring }; 158724ba675SRob Herring rom-a1h { 159724ba675SRob Herring rom-addr = /bits/ 8 <0xa1>; 160724ba675SRob Herring rom-val = /bits/ 8 <0x3f>; 161724ba675SRob Herring }; 162724ba675SRob Herring rom-a2h { 163724ba675SRob Herring rom-addr = /bits/ 8 <0xa2>; 164724ba675SRob Herring rom-val = /bits/ 8 <0x20>; 165724ba675SRob Herring }; 166724ba675SRob Herring rom-a3h { 167724ba675SRob Herring rom-addr = /bits/ 8 <0xa3>; 168724ba675SRob Herring rom-val = /bits/ 8 <0x5e>; 169724ba675SRob Herring }; 170724ba675SRob Herring rom-a4h { 171724ba675SRob Herring rom-addr = /bits/ 8 <0xa4>; 172724ba675SRob Herring rom-val = /bits/ 8 <0x02>; 173724ba675SRob Herring }; 174724ba675SRob Herring rom-a5h { 175724ba675SRob Herring rom-addr = /bits/ 8 <0xa5>; 176724ba675SRob Herring rom-val = /bits/ 8 <0x04>; 177724ba675SRob Herring }; 178724ba675SRob Herring rom-a6h { 179724ba675SRob Herring rom-addr = /bits/ 8 <0xa6>; 180724ba675SRob Herring rom-val = /bits/ 8 <0x80>; 181724ba675SRob Herring }; 182724ba675SRob Herring rom-a7h { 183724ba675SRob Herring rom-addr = /bits/ 8 <0xa7>; 184724ba675SRob Herring rom-val = /bits/ 8 <0xf7>; 185724ba675SRob Herring }; 186724ba675SRob Herring rom-a9h { 187724ba675SRob Herring rom-addr = /bits/ 8 <0xa9>; 188724ba675SRob Herring rom-val = /bits/ 8 <0x80>; 189724ba675SRob Herring }; 190724ba675SRob Herring rom-aah { 191724ba675SRob Herring rom-addr = /bits/ 8 <0xaa>; 192724ba675SRob Herring rom-val = /bits/ 8 <0x0f>; 193724ba675SRob Herring }; 194724ba675SRob Herring rom-aeh { 195724ba675SRob Herring rom-addr = /bits/ 8 <0xae>; 196724ba675SRob Herring rom-val = /bits/ 8 <0x0f>; 197724ba675SRob Herring }; 198724ba675SRob Herring }; 199724ba675SRob Herring}; 200724ba675SRob Herring 201724ba675SRob Herring&blsp2_uart1 { 202724ba675SRob Herring status = "okay"; 203724ba675SRob Herring 204724ba675SRob Herring bluetooth { 205724ba675SRob Herring compatible = "brcm,bcm43438-bt"; 206724ba675SRob Herring max-speed = <3000000>; 207724ba675SRob Herring 208724ba675SRob Herring pinctrl-names = "default"; 209724ba675SRob Herring pinctrl-0 = <&bt_host_wake_pin>, <&bt_dev_wake_pin>, <&bt_reg_on_pin>; 210724ba675SRob Herring 211724ba675SRob Herring host-wakeup-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>; 212724ba675SRob Herring device-wakeup-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 213724ba675SRob Herring shutdown-gpios = <&pm8941_gpios 16 GPIO_ACTIVE_HIGH>; 214724ba675SRob Herring }; 215724ba675SRob Herring}; 216724ba675SRob Herring 217724ba675SRob Herring&pm8941_coincell { 218724ba675SRob Herring status = "okay"; 219724ba675SRob Herring 220724ba675SRob Herring qcom,rset-ohms = <2100>; 221724ba675SRob Herring qcom,vset-millivolts = <3000>; 222724ba675SRob Herring}; 223724ba675SRob Herring 224724ba675SRob Herring&pm8941_gpios { 225724ba675SRob Herring gpio_keys_pin_a: gpio-keys-active-state { 226724ba675SRob Herring pins = "gpio2", "gpio5"; 227724ba675SRob Herring function = "normal"; 228724ba675SRob Herring 229724ba675SRob Herring bias-pull-up; 230724ba675SRob Herring power-source = <PM8941_GPIO_S3>; 231724ba675SRob Herring }; 232724ba675SRob Herring 233724ba675SRob Herring bt_reg_on_pin: bt-reg-on-state { 234724ba675SRob Herring pins = "gpio16"; 235724ba675SRob Herring function = "normal"; 236724ba675SRob Herring 237724ba675SRob Herring output-low; 238724ba675SRob Herring power-source = <PM8941_GPIO_S3>; 239724ba675SRob Herring }; 240724ba675SRob Herring 241724ba675SRob Herring wlan_sleep_clk_pin: wl-sleep-clk-state { 242724ba675SRob Herring pins = "gpio17"; 243724ba675SRob Herring function = "func2"; 244724ba675SRob Herring 245724ba675SRob Herring output-high; 246724ba675SRob Herring power-source = <PM8941_GPIO_S3>; 247724ba675SRob Herring }; 248724ba675SRob Herring 249724ba675SRob Herring wlan_regulator_pin: wl-reg-active-state { 250724ba675SRob Herring pins = "gpio18"; 251724ba675SRob Herring function = "normal"; 252724ba675SRob Herring 253724ba675SRob Herring bias-disable; 254724ba675SRob Herring power-source = <PM8941_GPIO_S3>; 255724ba675SRob Herring }; 256724ba675SRob Herring 257724ba675SRob Herring lcd_dcdc_en_pin_a: lcd-dcdc-en-active-state { 258724ba675SRob Herring pins = "gpio20"; 259724ba675SRob Herring function = "normal"; 260724ba675SRob Herring 261724ba675SRob Herring bias-disable; 262724ba675SRob Herring power-source = <PM8941_GPIO_S3>; 263724ba675SRob Herring input-disable; 264724ba675SRob Herring output-low; 265724ba675SRob Herring }; 266724ba675SRob Herring 267724ba675SRob Herring}; 268724ba675SRob Herring 269724ba675SRob Herring&pm8941_lpg { 270724ba675SRob Herring status = "okay"; 271724ba675SRob Herring 272724ba675SRob Herring qcom,power-source = <1>; 273724ba675SRob Herring 274724ba675SRob Herring multi-led { 275724ba675SRob Herring color = <LED_COLOR_ID_RGB>; 276724ba675SRob Herring function = LED_FUNCTION_STATUS; 277724ba675SRob Herring 278724ba675SRob Herring #address-cells = <1>; 279724ba675SRob Herring #size-cells = <0>; 280724ba675SRob Herring 281724ba675SRob Herring led@5 { 282724ba675SRob Herring reg = <5>; 283724ba675SRob Herring color = <LED_COLOR_ID_BLUE>; 284724ba675SRob Herring }; 285724ba675SRob Herring 286724ba675SRob Herring led@6 { 287724ba675SRob Herring reg = <6>; 288724ba675SRob Herring color = <LED_COLOR_ID_GREEN>; 289724ba675SRob Herring }; 290724ba675SRob Herring 291724ba675SRob Herring led@7 { 292724ba675SRob Herring reg = <7>; 293724ba675SRob Herring color = <LED_COLOR_ID_RED>; 294724ba675SRob Herring }; 295724ba675SRob Herring }; 296724ba675SRob Herring}; 297724ba675SRob Herring 298724ba675SRob Herring&remoteproc_adsp { 299724ba675SRob Herring cx-supply = <&pm8841_s2>; 300724ba675SRob Herring}; 301724ba675SRob Herring 302724ba675SRob Herring&remoteproc_mss { 303724ba675SRob Herring cx-supply = <&pm8841_s2>; 304724ba675SRob Herring mss-supply = <&pm8841_s3>; 305724ba675SRob Herring mx-supply = <&pm8841_s1>; 306724ba675SRob Herring pll-supply = <&pm8941_l12>; 307724ba675SRob Herring}; 308724ba675SRob Herring 309724ba675SRob Herring&rpm_requests { 310724ba675SRob Herring regulators-0 { 311724ba675SRob Herring compatible = "qcom,rpm-pm8841-regulators"; 312724ba675SRob Herring 313724ba675SRob Herring pm8841_s1: s1 { 314724ba675SRob Herring regulator-min-microvolt = <675000>; 315724ba675SRob Herring regulator-max-microvolt = <1050000>; 316724ba675SRob Herring }; 317724ba675SRob Herring 318724ba675SRob Herring pm8841_s2: s2 { 319724ba675SRob Herring regulator-min-microvolt = <500000>; 320724ba675SRob Herring regulator-max-microvolt = <1050000>; 321724ba675SRob Herring }; 322724ba675SRob Herring 323724ba675SRob Herring pm8841_s3: s3 { 324724ba675SRob Herring regulator-min-microvolt = <500000>; 325724ba675SRob Herring regulator-max-microvolt = <1050000>; 326724ba675SRob Herring }; 327724ba675SRob Herring 328724ba675SRob Herring pm8841_s4: s4 { 329724ba675SRob Herring regulator-min-microvolt = <500000>; 330724ba675SRob Herring regulator-max-microvolt = <1050000>; 331724ba675SRob Herring }; 332724ba675SRob Herring }; 333724ba675SRob Herring 334724ba675SRob Herring regulators-1 { 335724ba675SRob Herring compatible = "qcom,rpm-pm8941-regulators"; 336724ba675SRob Herring 337724ba675SRob Herring vdd_l1_l3-supply = <&pm8941_s1>; 338724ba675SRob Herring vdd_l2_lvs1_2_3-supply = <&pm8941_s3>; 339724ba675SRob Herring vdd_l4_l11-supply = <&pm8941_s1>; 340724ba675SRob Herring vdd_l5_l7-supply = <&pm8941_s2>; 341724ba675SRob Herring vdd_l6_l12_l14_l15-supply = <&pm8941_s2>; 342724ba675SRob Herring vdd_l9_l10_l17_l22-supply = <&vreg_boost>; 343724ba675SRob Herring vdd_l13_l20_l23_l24-supply = <&vreg_boost>; 344724ba675SRob Herring vdd_l21-supply = <&vreg_boost>; 345724ba675SRob Herring 346724ba675SRob Herring pm8941_s1: s1 { 347724ba675SRob Herring regulator-min-microvolt = <1300000>; 348724ba675SRob Herring regulator-max-microvolt = <1300000>; 349724ba675SRob Herring regulator-always-on; 350724ba675SRob Herring regulator-boot-on; 351724ba675SRob Herring }; 352724ba675SRob Herring 353724ba675SRob Herring pm8941_s2: s2 { 354724ba675SRob Herring regulator-min-microvolt = <2150000>; 355724ba675SRob Herring regulator-max-microvolt = <2150000>; 356724ba675SRob Herring regulator-boot-on; 357724ba675SRob Herring }; 358724ba675SRob Herring 359724ba675SRob Herring pm8941_s3: s3 { 360724ba675SRob Herring regulator-min-microvolt = <1800000>; 361724ba675SRob Herring regulator-max-microvolt = <1800000>; 362724ba675SRob Herring regulator-system-load = <154000>; 363724ba675SRob Herring regulator-always-on; 364724ba675SRob Herring regulator-boot-on; 365724ba675SRob Herring }; 366724ba675SRob Herring 367724ba675SRob Herring pm8941_s4: s4 { 368724ba675SRob Herring regulator-min-microvolt = <5000000>; 369724ba675SRob Herring regulator-max-microvolt = <5000000>; 370724ba675SRob Herring }; 371724ba675SRob Herring 372724ba675SRob Herring pm8941_l1: l1 { 373724ba675SRob Herring regulator-min-microvolt = <1225000>; 374724ba675SRob Herring regulator-max-microvolt = <1225000>; 375724ba675SRob Herring regulator-always-on; 376724ba675SRob Herring regulator-boot-on; 377724ba675SRob Herring }; 378724ba675SRob Herring 379724ba675SRob Herring pm8941_l2: l2 { 380724ba675SRob Herring regulator-min-microvolt = <1200000>; 381724ba675SRob Herring regulator-max-microvolt = <1200000>; 382724ba675SRob Herring }; 383724ba675SRob Herring 384724ba675SRob Herring pm8941_l3: l3 { 385724ba675SRob Herring regulator-min-microvolt = <1200000>; 386724ba675SRob Herring regulator-max-microvolt = <1200000>; 387724ba675SRob Herring }; 388724ba675SRob Herring 389724ba675SRob Herring pm8941_l4: l4 { 390724ba675SRob Herring regulator-min-microvolt = <1225000>; 391724ba675SRob Herring regulator-max-microvolt = <1225000>; 392724ba675SRob Herring }; 393724ba675SRob Herring 394724ba675SRob Herring pm8941_l5: l5 { 395724ba675SRob Herring regulator-min-microvolt = <1800000>; 396724ba675SRob Herring regulator-max-microvolt = <1800000>; 397724ba675SRob Herring }; 398724ba675SRob Herring 399724ba675SRob Herring pm8941_l6: l6 { 400724ba675SRob Herring regulator-min-microvolt = <1800000>; 401724ba675SRob Herring regulator-max-microvolt = <1800000>; 402724ba675SRob Herring regulator-boot-on; 403724ba675SRob Herring }; 404724ba675SRob Herring 405724ba675SRob Herring pm8941_l7: l7 { 406724ba675SRob Herring regulator-min-microvolt = <1800000>; 407724ba675SRob Herring regulator-max-microvolt = <1800000>; 408724ba675SRob Herring regulator-boot-on; 409724ba675SRob Herring }; 410724ba675SRob Herring 411724ba675SRob Herring pm8941_l8: l8 { 412724ba675SRob Herring regulator-min-microvolt = <1800000>; 413724ba675SRob Herring regulator-max-microvolt = <1800000>; 414724ba675SRob Herring }; 415724ba675SRob Herring 416724ba675SRob Herring pm8941_l9: l9 { 417724ba675SRob Herring regulator-min-microvolt = <1800000>; 418724ba675SRob Herring regulator-max-microvolt = <2950000>; 419724ba675SRob Herring }; 420724ba675SRob Herring 421724ba675SRob Herring pm8941_l11: l11 { 422724ba675SRob Herring regulator-min-microvolt = <1300000>; 423724ba675SRob Herring regulator-max-microvolt = <1350000>; 424724ba675SRob Herring }; 425724ba675SRob Herring 426724ba675SRob Herring pm8941_l12: l12 { 427724ba675SRob Herring regulator-min-microvolt = <1800000>; 428724ba675SRob Herring regulator-max-microvolt = <1800000>; 429724ba675SRob Herring regulator-always-on; 430724ba675SRob Herring regulator-boot-on; 431724ba675SRob Herring }; 432724ba675SRob Herring 433724ba675SRob Herring pm8941_l13: l13 { 434724ba675SRob Herring regulator-min-microvolt = <1800000>; 435724ba675SRob Herring regulator-max-microvolt = <2950000>; 436724ba675SRob Herring regulator-boot-on; 437724ba675SRob Herring }; 438724ba675SRob Herring 439724ba675SRob Herring pm8941_l14: l14 { 440724ba675SRob Herring regulator-min-microvolt = <1800000>; 441724ba675SRob Herring regulator-max-microvolt = <1800000>; 442724ba675SRob Herring }; 443724ba675SRob Herring 444724ba675SRob Herring pm8941_l15: l15 { 445724ba675SRob Herring regulator-min-microvolt = <2050000>; 446724ba675SRob Herring regulator-max-microvolt = <2050000>; 447724ba675SRob Herring }; 448724ba675SRob Herring 449724ba675SRob Herring pm8941_l16: l16 { 450724ba675SRob Herring regulator-min-microvolt = <2700000>; 451724ba675SRob Herring regulator-max-microvolt = <2700000>; 452724ba675SRob Herring }; 453724ba675SRob Herring 454724ba675SRob Herring pm8941_l17: l17 { 455724ba675SRob Herring regulator-min-microvolt = <2700000>; 456724ba675SRob Herring regulator-max-microvolt = <2700000>; 457724ba675SRob Herring }; 458724ba675SRob Herring 459724ba675SRob Herring pm8941_l18: l18 { 460724ba675SRob Herring regulator-min-microvolt = <2850000>; 461724ba675SRob Herring regulator-max-microvolt = <2850000>; 462724ba675SRob Herring }; 463724ba675SRob Herring 464724ba675SRob Herring pm8941_l19: l19 { 465724ba675SRob Herring regulator-min-microvolt = <2850000>; 466724ba675SRob Herring regulator-max-microvolt = <2850000>; 467724ba675SRob Herring }; 468724ba675SRob Herring 469724ba675SRob Herring pm8941_l20: l20 { 470724ba675SRob Herring regulator-min-microvolt = <2950000>; 471724ba675SRob Herring regulator-max-microvolt = <2950000>; 472724ba675SRob Herring regulator-system-load = <500000>; 473724ba675SRob Herring regulator-allow-set-load; 474724ba675SRob Herring regulator-boot-on; 475724ba675SRob Herring }; 476724ba675SRob Herring 477724ba675SRob Herring pm8941_l21: l21 { 478724ba675SRob Herring regulator-min-microvolt = <2950000>; 479724ba675SRob Herring regulator-max-microvolt = <2950000>; 480724ba675SRob Herring regulator-boot-on; 481724ba675SRob Herring }; 482724ba675SRob Herring 483724ba675SRob Herring pm8941_l22: l22 { 484724ba675SRob Herring regulator-min-microvolt = <3000000>; 485724ba675SRob Herring regulator-max-microvolt = <3000000>; 486724ba675SRob Herring }; 487724ba675SRob Herring 488724ba675SRob Herring pm8941_l23: l23 { 489724ba675SRob Herring regulator-min-microvolt = <2800000>; 490724ba675SRob Herring regulator-max-microvolt = <2800000>; 491724ba675SRob Herring }; 492724ba675SRob Herring 493724ba675SRob Herring pm8941_l24: l24 { 494724ba675SRob Herring regulator-min-microvolt = <3075000>; 495724ba675SRob Herring regulator-max-microvolt = <3075000>; 496724ba675SRob Herring regulator-boot-on; 497724ba675SRob Herring }; 498724ba675SRob Herring 499724ba675SRob Herring pm8941_lvs3: lvs3 {}; 500724ba675SRob Herring }; 501724ba675SRob Herring}; 502724ba675SRob Herring 503724ba675SRob Herring&sdhc_1 { 504724ba675SRob Herring status = "okay"; 505724ba675SRob Herring 506724ba675SRob Herring vmmc-supply = <&pm8941_l20>; 507724ba675SRob Herring vqmmc-supply = <&pm8941_s3>; 508724ba675SRob Herring 509724ba675SRob Herring pinctrl-names = "default", "sleep"; 510724ba675SRob Herring pinctrl-0 = <&sdc1_on>; 511724ba675SRob Herring pinctrl-1 = <&sdc1_off>; 512724ba675SRob Herring}; 513724ba675SRob Herring 514724ba675SRob Herring&sdhc_2 { 515724ba675SRob Herring status = "okay"; 516724ba675SRob Herring 517724ba675SRob Herring vmmc-supply = <&pm8941_l21>; 518724ba675SRob Herring vqmmc-supply = <&pm8941_l13>; 519724ba675SRob Herring 520724ba675SRob Herring cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>; 521724ba675SRob Herring 522724ba675SRob Herring pinctrl-names = "default", "sleep"; 523724ba675SRob Herring pinctrl-0 = <&sdc2_on>; 524724ba675SRob Herring pinctrl-1 = <&sdc2_off>; 525724ba675SRob Herring}; 526724ba675SRob Herring 527724ba675SRob Herring&sdhc_3 { 528724ba675SRob Herring status = "okay"; 529724ba675SRob Herring 530724ba675SRob Herring max-frequency = <100000000>; 531724ba675SRob Herring vmmc-supply = <&vreg_wlan>; 532724ba675SRob Herring non-removable; 533724ba675SRob Herring 534724ba675SRob Herring pinctrl-names = "default"; 535724ba675SRob Herring pinctrl-0 = <&sdc3_on>; 536724ba675SRob Herring 537724ba675SRob Herring #address-cells = <1>; 538724ba675SRob Herring #size-cells = <0>; 539724ba675SRob Herring 540724ba675SRob Herring bcrmf@1 { 541724ba675SRob Herring compatible = "brcm,bcm4339-fmac", "brcm,bcm4329-fmac"; 542724ba675SRob Herring reg = <1>; 543724ba675SRob Herring 544724ba675SRob Herring brcm,drive-strength = <10>; 545724ba675SRob Herring 546724ba675SRob Herring pinctrl-names = "default"; 547724ba675SRob Herring pinctrl-0 = <&wlan_sleep_clk_pin>; 548724ba675SRob Herring }; 549724ba675SRob Herring}; 550724ba675SRob Herring 551724ba675SRob Herring&smbb { 552724ba675SRob Herring qcom,fast-charge-safe-current = <1500000>; 553724ba675SRob Herring qcom,fast-charge-current-limit = <1500000>; 554724ba675SRob Herring qcom,dc-current-limit = <1800000>; 555724ba675SRob Herring usb-charge-current-limit = <1800000>; 556724ba675SRob Herring qcom,fast-charge-safe-voltage = <4400000>; 557724ba675SRob Herring qcom,fast-charge-high-threshold-voltage = <4350000>; 558724ba675SRob Herring qcom,fast-charge-low-threshold-voltage = <3400000>; 559724ba675SRob Herring qcom,auto-recharge-threshold-voltage = <4200000>; 560724ba675SRob Herring qcom,minimum-input-voltage = <4300000>; 561724ba675SRob Herring}; 562724ba675SRob Herring 563724ba675SRob Herring&tlmm { 564724ba675SRob Herring lcd_backlight_en_pin_a: lcd-backlight-vddio-state { 565724ba675SRob Herring pins = "gpio69"; 566724ba675SRob Herring function = "gpio"; 567724ba675SRob Herring drive-strength = <10>; 568724ba675SRob Herring output-low; 569724ba675SRob Herring bias-disable; 570724ba675SRob Herring }; 571724ba675SRob Herring 572724ba675SRob Herring sdc1_on: sdc1-on-state { 573724ba675SRob Herring clk-pins { 574724ba675SRob Herring pins = "sdc1_clk"; 575724ba675SRob Herring drive-strength = <16>; 576724ba675SRob Herring bias-disable; 577724ba675SRob Herring }; 578724ba675SRob Herring 579724ba675SRob Herring cmd-data-pins { 580724ba675SRob Herring pins = "sdc1_cmd", "sdc1_data"; 581724ba675SRob Herring drive-strength = <10>; 582724ba675SRob Herring bias-pull-up; 583724ba675SRob Herring }; 584724ba675SRob Herring }; 585724ba675SRob Herring 586724ba675SRob Herring sdc2_on: sdc2-on-state { 587724ba675SRob Herring clk-pins { 588724ba675SRob Herring pins = "sdc2_clk"; 589724ba675SRob Herring drive-strength = <6>; 590724ba675SRob Herring bias-disable; 591724ba675SRob Herring }; 592724ba675SRob Herring 593724ba675SRob Herring cmd-data-pins { 594724ba675SRob Herring pins = "sdc2_cmd", "sdc2_data"; 595724ba675SRob Herring drive-strength = <6>; 596724ba675SRob Herring bias-pull-up; 597724ba675SRob Herring }; 598724ba675SRob Herring 599724ba675SRob Herring cd-pins { 600724ba675SRob Herring pins = "gpio62"; 601724ba675SRob Herring function = "gpio"; 602724ba675SRob Herring drive-strength = <2>; 603724ba675SRob Herring bias-disable; 604724ba675SRob Herring }; 605724ba675SRob Herring }; 606724ba675SRob Herring 607724ba675SRob Herring sdc3_on: sdc3-on-state { 608724ba675SRob Herring clk-pins { 609724ba675SRob Herring pins = "gpio40"; 610724ba675SRob Herring function = "sdc3"; 611724ba675SRob Herring drive-strength = <10>; 612724ba675SRob Herring bias-disable; 613724ba675SRob Herring }; 614724ba675SRob Herring 615724ba675SRob Herring cmd-pins { 616724ba675SRob Herring pins = "gpio39"; 617724ba675SRob Herring function = "sdc3"; 618724ba675SRob Herring drive-strength = <10>; 619724ba675SRob Herring bias-pull-up; 620724ba675SRob Herring }; 621724ba675SRob Herring 622724ba675SRob Herring data-pins { 623724ba675SRob Herring pins = "gpio35", "gpio36", "gpio37", "gpio38"; 624724ba675SRob Herring function = "sdc3"; 625724ba675SRob Herring drive-strength = <10>; 626724ba675SRob Herring bias-pull-up; 627724ba675SRob Herring }; 628724ba675SRob Herring }; 629724ba675SRob Herring 630724ba675SRob Herring ts_int_pin: ts-int-pin-state { 631724ba675SRob Herring pins = "gpio86"; 632724ba675SRob Herring function = "gpio"; 633724ba675SRob Herring drive-strength = <2>; 634724ba675SRob Herring bias-disable; 635724ba675SRob Herring }; 636724ba675SRob Herring 637724ba675SRob Herring bt_host_wake_pin: bt-host-wake-state { 638724ba675SRob Herring pins = "gpio95"; 639724ba675SRob Herring function = "gpio"; 640724ba675SRob Herring drive-strength = <2>; 641724ba675SRob Herring bias-disable; 642724ba675SRob Herring output-low; 643724ba675SRob Herring }; 644724ba675SRob Herring 645724ba675SRob Herring bt_dev_wake_pin: bt-dev-wake-state { 646724ba675SRob Herring pins = "gpio96"; 647724ba675SRob Herring function = "gpio"; 648724ba675SRob Herring drive-strength = <2>; 649724ba675SRob Herring bias-disable; 650724ba675SRob Herring }; 651724ba675SRob Herring}; 652724ba675SRob Herring 653724ba675SRob Herring&usb { 654724ba675SRob Herring status = "okay"; 655724ba675SRob Herring 656724ba675SRob Herring phys = <&usb_hs1_phy>; 657724ba675SRob Herring phy-select = <&tcsr 0xb000 0>; 658724ba675SRob Herring extcon = <&smbb>, <&usb_id>; 659724ba675SRob Herring vbus-supply = <&chg_otg>; 660724ba675SRob Herring 661724ba675SRob Herring hnp-disable; 662724ba675SRob Herring srp-disable; 663724ba675SRob Herring adp-disable; 664724ba675SRob Herring}; 665724ba675SRob Herring 666724ba675SRob Herring&usb_hs1_phy { 667724ba675SRob Herring status = "okay"; 668724ba675SRob Herring 669724ba675SRob Herring v1p8-supply = <&pm8941_l6>; 670724ba675SRob Herring v3p3-supply = <&pm8941_l24>; 671724ba675SRob Herring 672724ba675SRob Herring extcon = <&smbb>; 673724ba675SRob Herring qcom,init-seq = /bits/ 8 <0x1 0x64>; 674724ba675SRob Herring}; 675