1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring#include <dt-bindings/input/input.h> 3724ba675SRob Herring 4724ba675SRob Herring#include "qcom-msm8960.dtsi" 5724ba675SRob Herring#include <dt-bindings/reset/qcom,gcc-msm8960.h> 6724ba675SRob Herring 7724ba675SRob Herring/ { 8724ba675SRob Herring model = "Samsung Galaxy Express SGH-I437"; 9724ba675SRob Herring compatible = "samsung,expressatt", "qcom,msm8960"; 10724ba675SRob Herring chassis-type = "handset"; 11724ba675SRob Herring 12724ba675SRob Herring aliases { 13724ba675SRob Herring serial0 = &gsbi5_serial; 14724ba675SRob Herring mmc0 = &sdcc1; /* SDCC1 eMMC slot */ 15724ba675SRob Herring mmc1 = &sdcc3; /* SDCC3 SD card slot */ 16724ba675SRob Herring }; 17724ba675SRob Herring 18724ba675SRob Herring chosen { 19724ba675SRob Herring stdout-path = "serial0:115200n8"; 20724ba675SRob Herring }; 21724ba675SRob Herring}; 22724ba675SRob Herring 23724ba675SRob Herring&gsbi5 { 24724ba675SRob Herring qcom,mode = <GSBI_PROT_I2C_UART>; 25724ba675SRob Herring status = "okay"; 26724ba675SRob Herring}; 27724ba675SRob Herring 28724ba675SRob Herring&gsbi5_serial { 29724ba675SRob Herring status = "okay"; 30724ba675SRob Herring}; 31724ba675SRob Herring 32724ba675SRob Herring&sdcc1 { 33724ba675SRob Herring vmmc-supply = <&pm8921_l5>; 34724ba675SRob Herring status = "okay"; 35724ba675SRob Herring}; 36724ba675SRob Herring 37724ba675SRob Herring&sdcc3 { 38724ba675SRob Herring vmmc-supply = <&pm8921_l6>; 39724ba675SRob Herring vqmmc-supply = <&pm8921_l7>; 40724ba675SRob Herring status = "okay"; 41724ba675SRob Herring}; 42724ba675SRob Herring 43724ba675SRob Herring&gsbi1 { 44724ba675SRob Herring qcom,mode = <GSBI_PROT_SPI>; 45724ba675SRob Herring pinctrl-0 = <&spi1_default>; 46724ba675SRob Herring pinctrl-names = "default"; 47724ba675SRob Herring status = "okay"; 48724ba675SRob Herring}; 49724ba675SRob Herring 50724ba675SRob Herring&gsbi1_spi { 51724ba675SRob Herring status = "okay"; 52724ba675SRob Herring}; 53724ba675SRob Herring 54724ba675SRob Herring&msmgpio { 55724ba675SRob Herring spi1_default: spi1-default-state { 56724ba675SRob Herring mosi-pins { 57724ba675SRob Herring pins = "gpio6"; 58724ba675SRob Herring function = "gsbi1"; 59724ba675SRob Herring drive-strength = <12>; 60724ba675SRob Herring bias-disable; 61724ba675SRob Herring }; 62724ba675SRob Herring 63724ba675SRob Herring miso-pins { 64724ba675SRob Herring pins = "gpio7"; 65724ba675SRob Herring function = "gsbi1"; 66724ba675SRob Herring drive-strength = <12>; 67724ba675SRob Herring bias-disable; 68724ba675SRob Herring }; 69724ba675SRob Herring 70724ba675SRob Herring cs-pins { 71724ba675SRob Herring pins = "gpio8"; 72724ba675SRob Herring function = "gsbi1"; 73724ba675SRob Herring drive-strength = <12>; 74724ba675SRob Herring bias-disable; 75724ba675SRob Herring output-low; 76724ba675SRob Herring }; 77724ba675SRob Herring 78724ba675SRob Herring clk-pins { 79724ba675SRob Herring pins = "gpio9"; 80724ba675SRob Herring function = "gsbi1"; 81724ba675SRob Herring drive-strength = <12>; 82724ba675SRob Herring bias-disable; 83724ba675SRob Herring }; 84724ba675SRob Herring }; 85724ba675SRob Herring}; 86724ba675SRob Herring 87*31c4b741SDmitry Baryshkov&pm8921 { 88*31c4b741SDmitry Baryshkov interrupts-extended = <&msmgpio 104 IRQ_TYPE_LEVEL_LOW>; 89*31c4b741SDmitry Baryshkov}; 90*31c4b741SDmitry Baryshkov 91724ba675SRob Herring&rpm { 92724ba675SRob Herring regulators { 93724ba675SRob Herring compatible = "qcom,rpm-pm8921-regulators"; 94724ba675SRob Herring vin_lvs1_3_6-supply = <&pm8921_s4>; 95724ba675SRob Herring vin_lvs2-supply = <&pm8921_s4>; 96724ba675SRob Herring vin_lvs4_5_7-supply = <&pm8921_s4>; 97724ba675SRob Herring vdd_ncp-supply = <&pm8921_l6>; 98724ba675SRob Herring vdd_l1_l2_l12_l18-supply = <&pm8921_s4>; 99724ba675SRob Herring vdd_l21_l23_l29-supply = <&pm8921_s8>; 100724ba675SRob Herring vdd_l24-supply = <&pm8921_s1>; 101724ba675SRob Herring vdd_l25-supply = <&pm8921_s1>; 102724ba675SRob Herring vdd_l27-supply = <&pm8921_s7>; 103724ba675SRob Herring vdd_l28-supply = <&pm8921_s7>; 104724ba675SRob Herring 105724ba675SRob Herring /* Buck SMPS */ 106724ba675SRob Herring pm8921_s1: s1 { 107724ba675SRob Herring regulator-always-on; 108724ba675SRob Herring regulator-min-microvolt = <1225000>; 109724ba675SRob Herring regulator-max-microvolt = <1225000>; 110724ba675SRob Herring qcom,switch-mode-frequency = <3200000>; 111724ba675SRob Herring bias-pull-down; 112724ba675SRob Herring }; 113724ba675SRob Herring 114724ba675SRob Herring pm8921_s2: s2 { 115724ba675SRob Herring regulator-min-microvolt = <1300000>; 116724ba675SRob Herring regulator-max-microvolt = <1300000>; 117724ba675SRob Herring qcom,switch-mode-frequency = <1600000>; 118724ba675SRob Herring bias-pull-down; 119724ba675SRob Herring }; 120724ba675SRob Herring 121724ba675SRob Herring pm8921_s3: s3 { 122724ba675SRob Herring regulator-min-microvolt = <500000>; 123724ba675SRob Herring regulator-max-microvolt = <1150000>; 124724ba675SRob Herring qcom,switch-mode-frequency = <4800000>; 125724ba675SRob Herring bias-pull-down; 126724ba675SRob Herring }; 127724ba675SRob Herring 128724ba675SRob Herring pm8921_s4: s4 { 129724ba675SRob Herring regulator-always-on; 130724ba675SRob Herring regulator-min-microvolt = <1800000>; 131724ba675SRob Herring regulator-max-microvolt = <1800000>; 132724ba675SRob Herring qcom,switch-mode-frequency = <1600000>; 133724ba675SRob Herring bias-pull-down; 134724ba675SRob Herring qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>; 135724ba675SRob Herring }; 136724ba675SRob Herring 137724ba675SRob Herring pm8921_s7: s7 { 138724ba675SRob Herring regulator-min-microvolt = <1150000>; 139724ba675SRob Herring regulator-max-microvolt = <1150000>; 140724ba675SRob Herring qcom,switch-mode-frequency = <3200000>; 141724ba675SRob Herring bias-pull-down; 142724ba675SRob Herring }; 143724ba675SRob Herring 144724ba675SRob Herring pm8921_s8: s8 { 145724ba675SRob Herring regulator-always-on; 146724ba675SRob Herring regulator-min-microvolt = <2050000>; 147724ba675SRob Herring regulator-max-microvolt = <2050000>; 148724ba675SRob Herring qcom,switch-mode-frequency = <1600000>; 149724ba675SRob Herring bias-pull-down; 150724ba675SRob Herring }; 151724ba675SRob Herring 152724ba675SRob Herring /* PMOS LDO */ 153724ba675SRob Herring pm8921_l1: l1 { 154724ba675SRob Herring regulator-always-on; 155724ba675SRob Herring regulator-min-microvolt = <1050000>; 156724ba675SRob Herring regulator-max-microvolt = <1050000>; 157724ba675SRob Herring bias-pull-down; 158724ba675SRob Herring }; 159724ba675SRob Herring 160724ba675SRob Herring pm8921_l2: l2 { 161724ba675SRob Herring regulator-min-microvolt = <1200000>; 162724ba675SRob Herring regulator-max-microvolt = <1200000>; 163724ba675SRob Herring bias-pull-down; 164724ba675SRob Herring }; 165724ba675SRob Herring 166724ba675SRob Herring pm8921_l3: l3 { 167724ba675SRob Herring regulator-min-microvolt = <3075000>; 168724ba675SRob Herring regulator-max-microvolt = <3300000>; 169724ba675SRob Herring bias-pull-down; 170724ba675SRob Herring }; 171724ba675SRob Herring 172724ba675SRob Herring pm8921_l4: l4 { 173724ba675SRob Herring regulator-always-on; 174724ba675SRob Herring regulator-min-microvolt = <1800000>; 175724ba675SRob Herring regulator-max-microvolt = <1800000>; 176724ba675SRob Herring bias-pull-down; 177724ba675SRob Herring }; 178724ba675SRob Herring 179724ba675SRob Herring pm8921_l5: l5 { 180724ba675SRob Herring regulator-min-microvolt = <2950000>; 181724ba675SRob Herring regulator-max-microvolt = <2950000>; 182724ba675SRob Herring bias-pull-down; 183724ba675SRob Herring }; 184724ba675SRob Herring 185724ba675SRob Herring pm8921_l6: l6 { 186724ba675SRob Herring regulator-min-microvolt = <2950000>; 187724ba675SRob Herring regulator-max-microvolt = <2950000>; 188724ba675SRob Herring bias-pull-down; 189724ba675SRob Herring }; 190724ba675SRob Herring 191724ba675SRob Herring pm8921_l7: l7 { 192724ba675SRob Herring regulator-always-on; 193724ba675SRob Herring regulator-min-microvolt = <1850000>; 194724ba675SRob Herring regulator-max-microvolt = <2950000>; 195724ba675SRob Herring bias-pull-down; 196724ba675SRob Herring }; 197724ba675SRob Herring 198724ba675SRob Herring pm8921_l8: l8 { 199724ba675SRob Herring regulator-min-microvolt = <3000000>; 200724ba675SRob Herring regulator-max-microvolt = <3100000>; 201724ba675SRob Herring bias-pull-down; 202724ba675SRob Herring }; 203724ba675SRob Herring 204724ba675SRob Herring pm8921_l9: l9 { 205724ba675SRob Herring regulator-min-microvolt = <2850000>; 206724ba675SRob Herring regulator-max-microvolt = <2850000>; 207724ba675SRob Herring bias-pull-down; 208724ba675SRob Herring }; 209724ba675SRob Herring 210724ba675SRob Herring pm8921_l10: l10 { 211724ba675SRob Herring regulator-min-microvolt = <3000000>; 212724ba675SRob Herring regulator-max-microvolt = <3000000>; 213724ba675SRob Herring bias-pull-down; 214724ba675SRob Herring }; 215724ba675SRob Herring 216724ba675SRob Herring pm8921_l11: l11 { 217724ba675SRob Herring regulator-min-microvolt = <2800000>; 218724ba675SRob Herring regulator-max-microvolt = <3300000>; 219724ba675SRob Herring bias-pull-down; 220724ba675SRob Herring }; 221724ba675SRob Herring 222724ba675SRob Herring pm8921_l12: l12 { 223724ba675SRob Herring regulator-min-microvolt = <1200000>; 224724ba675SRob Herring regulator-max-microvolt = <1200000>; 225724ba675SRob Herring bias-pull-down; 226724ba675SRob Herring }; 227724ba675SRob Herring 228724ba675SRob Herring pm8921_l14: l14 { 229724ba675SRob Herring regulator-min-microvolt = <1800000>; 230724ba675SRob Herring regulator-max-microvolt = <1800000>; 231724ba675SRob Herring bias-pull-down; 232724ba675SRob Herring }; 233724ba675SRob Herring 234724ba675SRob Herring pm8921_l15: l15 { 235724ba675SRob Herring regulator-min-microvolt = <1800000>; 236724ba675SRob Herring regulator-max-microvolt = <2950000>; 237724ba675SRob Herring bias-pull-down; 238724ba675SRob Herring }; 239724ba675SRob Herring 240724ba675SRob Herring pm8921_l16: l16 { 241724ba675SRob Herring regulator-min-microvolt = <2800000>; 242724ba675SRob Herring regulator-max-microvolt = <3000000>; 243724ba675SRob Herring bias-pull-down; 244724ba675SRob Herring }; 245724ba675SRob Herring 246724ba675SRob Herring pm8921_l17: l17 { 247724ba675SRob Herring regulator-min-microvolt = <1800000>; 248724ba675SRob Herring regulator-max-microvolt = <3300000>; 249724ba675SRob Herring bias-pull-down; 250724ba675SRob Herring }; 251724ba675SRob Herring 252724ba675SRob Herring pm8921_l18: l18 { 253724ba675SRob Herring regulator-min-microvolt = <1200000>; 254724ba675SRob Herring regulator-max-microvolt = <1500000>; 255724ba675SRob Herring bias-pull-down; 256724ba675SRob Herring }; 257724ba675SRob Herring 258724ba675SRob Herring pm8921_l21: l21 { 259724ba675SRob Herring regulator-min-microvolt = <1900000>; 260724ba675SRob Herring regulator-max-microvolt = <1900000>; 261724ba675SRob Herring bias-pull-down; 262724ba675SRob Herring }; 263724ba675SRob Herring 264724ba675SRob Herring pm8921_l22: l22 { 265724ba675SRob Herring regulator-min-microvolt = <2750000>; 266724ba675SRob Herring regulator-max-microvolt = <2750000>; 267724ba675SRob Herring bias-pull-down; 268724ba675SRob Herring }; 269724ba675SRob Herring 270724ba675SRob Herring pm8921_l23: l23 { 271724ba675SRob Herring regulator-always-on; 272724ba675SRob Herring regulator-min-microvolt = <1800000>; 273724ba675SRob Herring regulator-max-microvolt = <1800000>; 274724ba675SRob Herring bias-pull-down; 275724ba675SRob Herring }; 276724ba675SRob Herring 277724ba675SRob Herring pm8921_l24: l24 { 278724ba675SRob Herring regulator-min-microvolt = <750000>; 279724ba675SRob Herring regulator-max-microvolt = <1150000>; 280724ba675SRob Herring bias-pull-down; 281724ba675SRob Herring }; 282724ba675SRob Herring 283724ba675SRob Herring pm8921_l25: l25 { 284724ba675SRob Herring regulator-always-on; 285724ba675SRob Herring regulator-min-microvolt = <1225000>; 286724ba675SRob Herring regulator-max-microvolt = <1225000>; 287724ba675SRob Herring bias-pull-down; 288724ba675SRob Herring }; 289724ba675SRob Herring 290724ba675SRob Herring /* Low Voltage Switch */ 291724ba675SRob Herring pm8921_lvs1: lvs1 { 292724ba675SRob Herring bias-pull-down; 293724ba675SRob Herring }; 294724ba675SRob Herring 295724ba675SRob Herring pm8921_lvs2: lvs2 { 296724ba675SRob Herring bias-pull-down; 297724ba675SRob Herring }; 298724ba675SRob Herring 299724ba675SRob Herring pm8921_lvs3: lvs3 { 300724ba675SRob Herring bias-pull-down; 301724ba675SRob Herring }; 302724ba675SRob Herring 303724ba675SRob Herring pm8921_lvs4: lvs4 { 304724ba675SRob Herring bias-pull-down; 305724ba675SRob Herring }; 306724ba675SRob Herring 307724ba675SRob Herring pm8921_lvs5: lvs5 { 308724ba675SRob Herring bias-pull-down; 309724ba675SRob Herring }; 310724ba675SRob Herring 311724ba675SRob Herring pm8921_lvs6: lvs6 { 312724ba675SRob Herring bias-pull-down; 313724ba675SRob Herring }; 314724ba675SRob Herring 315724ba675SRob Herring pm8921_lvs7: lvs7 { 316724ba675SRob Herring bias-pull-down; 317724ba675SRob Herring }; 318724ba675SRob Herring 319724ba675SRob Herring pm8921_ncp: ncp { 320724ba675SRob Herring regulator-min-microvolt = <1800000>; 321724ba675SRob Herring regulator-max-microvolt = <1800000>; 322724ba675SRob Herring qcom,switch-mode-frequency = <1600000>; 323724ba675SRob Herring }; 324724ba675SRob Herring }; 325724ba675SRob Herring}; 326724ba675SRob Herring 327724ba675SRob Herring&usb_hs1_phy { 328724ba675SRob Herring v3p3-supply = <&pm8921_l3>; 329724ba675SRob Herring v1p8-supply = <&pm8921_l4>; 330724ba675SRob Herring}; 331724ba675SRob Herring 332724ba675SRob Herring&usb1 { 333724ba675SRob Herring dr_mode = "otg"; 334724ba675SRob Herring status = "okay"; 335724ba675SRob Herring}; 336