1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 3 #include "msm8916-pm8916.dtsi" 3 #include "msm8916-pm8916.dtsi" 4 #include "msm8916-modem-qdsp6.dtsi" 4 #include "msm8916-modem-qdsp6.dtsi" 5 5 6 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h 9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 10 10 11 / { 11 / { 12 aliases { 12 aliases { 13 mmc0 = &sdhc_1; /* eMMC */ 13 mmc0 = &sdhc_1; /* eMMC */ 14 mmc1 = &sdhc_2; /* SD card */ 14 mmc1 = &sdhc_2; /* SD card */ 15 serial0 = &blsp_uart2; 15 serial0 = &blsp_uart2; 16 }; 16 }; 17 17 18 chosen { 18 chosen { 19 stdout-path = "serial0"; 19 stdout-path = "serial0"; 20 }; 20 }; 21 21 22 reserved-memory { 22 reserved-memory { 23 /* Additional memory used by S 23 /* Additional memory used by Samsung firmware modifications */ 24 tz-apps@85a00000 { 24 tz-apps@85a00000 { 25 reg = <0x0 0x85a00000 25 reg = <0x0 0x85a00000 0x0 0x600000>; 26 no-map; 26 no-map; 27 }; 27 }; 28 }; 28 }; 29 29 30 battery: battery { 30 battery: battery { 31 compatible = "simple-battery"; 31 compatible = "simple-battery"; 32 precharge-current-microamp = < 32 precharge-current-microamp = <450000>; 33 precharge-upper-limit-microvol 33 precharge-upper-limit-microvolt = <3500000>; 34 }; 34 }; 35 35 36 clk_pwm_backlight: backlight { 36 clk_pwm_backlight: backlight { 37 compatible = "pwm-backlight"; 37 compatible = "pwm-backlight"; 38 pwms = <&clk_pwm 0 100000>; 38 pwms = <&clk_pwm 0 100000>; 39 39 40 enable-gpios = <&tlmm 98 GPIO_ 40 enable-gpios = <&tlmm 98 GPIO_ACTIVE_HIGH>; 41 41 42 brightness-levels = <0 255>; 42 brightness-levels = <0 255>; 43 num-interpolated-steps = <255> 43 num-interpolated-steps = <255>; 44 default-brightness-level = <12 44 default-brightness-level = <128>; 45 45 46 pinctrl-0 = <&backlight_en_def 46 pinctrl-0 = <&backlight_en_default>; 47 pinctrl-names = "default"; 47 pinctrl-names = "default"; 48 }; 48 }; 49 49 50 clk_pwm: pwm { 50 clk_pwm: pwm { 51 compatible = "clk-pwm"; 51 compatible = "clk-pwm"; 52 #pwm-cells = <2>; 52 #pwm-cells = <2>; 53 53 54 clocks = <&gcc GCC_GP2_CLK>; 54 clocks = <&gcc GCC_GP2_CLK>; 55 55 56 pinctrl-0 = <&backlight_pwm_de 56 pinctrl-0 = <&backlight_pwm_default>; 57 pinctrl-names = "default"; 57 pinctrl-names = "default"; 58 }; 58 }; 59 59 60 gpio-keys { 60 gpio-keys { 61 compatible = "gpio-keys"; 61 compatible = "gpio-keys"; 62 62 63 pinctrl-0 = <&gpio_keys_defaul 63 pinctrl-0 = <&gpio_keys_default>; 64 pinctrl-names = "default"; 64 pinctrl-names = "default"; 65 65 66 label = "GPIO Buttons"; 66 label = "GPIO Buttons"; 67 67 68 button-volume-up { 68 button-volume-up { 69 label = "Volume Up"; 69 label = "Volume Up"; 70 gpios = <&tlmm 107 GPI 70 gpios = <&tlmm 107 GPIO_ACTIVE_LOW>; 71 linux,code = <KEY_VOLU 71 linux,code = <KEY_VOLUMEUP>; 72 }; 72 }; 73 73 74 button-home { 74 button-home { 75 label = "Home"; 75 label = "Home"; 76 gpios = <&tlmm 109 GPI 76 gpios = <&tlmm 109 GPIO_ACTIVE_LOW>; 77 linux,code = <KEY_HOME 77 linux,code = <KEY_HOMEPAGE>; 78 }; 78 }; 79 }; 79 }; 80 80 81 haptic { 81 haptic { 82 compatible = "regulator-haptic 82 compatible = "regulator-haptic"; 83 haptic-supply = <®_motor_vd 83 haptic-supply = <®_motor_vdd>; 84 min-microvolt = <3300000>; 84 min-microvolt = <3300000>; 85 max-microvolt = <3300000>; 85 max-microvolt = <3300000>; 86 }; 86 }; 87 87 88 i2c_nfc: i2c-nfc { 88 i2c_nfc: i2c-nfc { 89 compatible = "i2c-gpio"; 89 compatible = "i2c-gpio"; 90 sda-gpios = <&tlmm 0 (GPIO_ACT 90 sda-gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 91 scl-gpios = <&tlmm 1 (GPIO_ACT 91 scl-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 92 92 93 pinctrl-0 = <&nfc_i2c_default> 93 pinctrl-0 = <&nfc_i2c_default>; 94 pinctrl-names = "default"; 94 pinctrl-names = "default"; 95 95 96 #address-cells = <1>; 96 #address-cells = <1>; 97 #size-cells = <0>; 97 #size-cells = <0>; 98 98 99 s3fwrn5_nfc: nfc@27 { 99 s3fwrn5_nfc: nfc@27 { 100 compatible = "samsung, 100 compatible = "samsung,s3fwrn5-i2c"; 101 reg = <0x27>; 101 reg = <0x27>; 102 102 103 interrupts-extended = 103 interrupts-extended = <&tlmm 21 IRQ_TYPE_EDGE_RISING>; 104 104 105 en-gpios = <&tlmm 20 G 105 en-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>; 106 wake-gpios = <&tlmm 49 106 wake-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>; 107 107 108 clocks = <&rpmcc RPM_S 108 clocks = <&rpmcc RPM_SMD_BB_CLK2_PIN>; 109 109 110 pinctrl-0 = <&nfc_defa 110 pinctrl-0 = <&nfc_default>, <&nfc_clk_req>; 111 pinctrl-names = "defau 111 pinctrl-names = "default"; 112 112 113 status = "disabled"; 113 status = "disabled"; 114 }; 114 }; 115 }; 115 }; 116 116 117 reg_motor_vdd: regulator-motor-vdd { 117 reg_motor_vdd: regulator-motor-vdd { 118 compatible = "regulator-fixed" 118 compatible = "regulator-fixed"; 119 regulator-name = "motor_vdd"; 119 regulator-name = "motor_vdd"; 120 regulator-min-microvolt = <330 120 regulator-min-microvolt = <3300000>; 121 regulator-max-microvolt = <330 121 regulator-max-microvolt = <3300000>; 122 122 123 gpio = <&tlmm 72 GPIO_ACTIVE_H 123 gpio = <&tlmm 72 GPIO_ACTIVE_HIGH>; 124 enable-active-high; 124 enable-active-high; 125 125 126 pinctrl-0 = <&motor_en_default 126 pinctrl-0 = <&motor_en_default>; 127 pinctrl-names = "default"; 127 pinctrl-names = "default"; 128 }; 128 }; 129 129 130 reg_vdd_tsp_a: regulator-vdd-tsp-a { 130 reg_vdd_tsp_a: regulator-vdd-tsp-a { 131 compatible = "regulator-fixed" 131 compatible = "regulator-fixed"; 132 regulator-name = "vdd_tsp_a"; 132 regulator-name = "vdd_tsp_a"; 133 regulator-min-microvolt = <300 133 regulator-min-microvolt = <3000000>; 134 regulator-max-microvolt = <300 134 regulator-max-microvolt = <3000000>; 135 135 136 gpio = <&tlmm 73 GPIO_ACTIVE_H 136 gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>; 137 enable-active-high; 137 enable-active-high; 138 138 139 pinctrl-0 = <&tsp_en_default>; 139 pinctrl-0 = <&tsp_en_default>; 140 pinctrl-names = "default"; 140 pinctrl-names = "default"; 141 }; 141 }; 142 }; 142 }; 143 143 144 &blsp_i2c1 { 144 &blsp_i2c1 { 145 status = "okay"; 145 status = "okay"; 146 146 147 muic: extcon@25 { 147 muic: extcon@25 { 148 compatible = "siliconmitus,sm5 148 compatible = "siliconmitus,sm5502-muic"; 149 reg = <0x25>; 149 reg = <0x25>; 150 interrupts-extended = <&tlmm 1 150 interrupts-extended = <&tlmm 12 IRQ_TYPE_EDGE_FALLING>; 151 pinctrl-0 = <&muic_int_default 151 pinctrl-0 = <&muic_int_default>; 152 pinctrl-names = "default"; 152 pinctrl-names = "default"; 153 153 154 usb_con: connector { 154 usb_con: connector { 155 compatible = "usb-b-co 155 compatible = "usb-b-connector"; 156 label = "micro-USB"; 156 label = "micro-USB"; 157 type = "micro"; 157 type = "micro"; 158 }; 158 }; 159 }; 159 }; 160 }; 160 }; 161 161 162 &blsp_i2c2 { 162 &blsp_i2c2 { 163 /* Available sensors vary depending on 163 /* Available sensors vary depending on model variant */ 164 status = "okay"; 164 status = "okay"; 165 165 166 bosch_accel: accelerometer@10 { 166 bosch_accel: accelerometer@10 { 167 compatible = "bosch,bmc150_acc 167 compatible = "bosch,bmc150_accel"; 168 reg = <0x10>; 168 reg = <0x10>; 169 interrupts-extended = <&tlmm 1 169 interrupts-extended = <&tlmm 115 IRQ_TYPE_EDGE_RISING>; 170 170 171 vdd-supply = <&pm8916_l5>; 171 vdd-supply = <&pm8916_l5>; 172 vddio-supply = <&pm8916_l5>; 172 vddio-supply = <&pm8916_l5>; 173 173 174 pinctrl-0 = <&accel_int_defaul 174 pinctrl-0 = <&accel_int_default>; 175 pinctrl-names = "default"; 175 pinctrl-names = "default"; 176 176 177 mount-matrix = "0", "-1", "0", 177 mount-matrix = "0", "-1", "0", 178 "-1", "0", "0", 178 "-1", "0", "0", 179 "0", "0", "1"; 179 "0", "0", "1"; 180 180 181 status = "disabled"; 181 status = "disabled"; 182 }; 182 }; 183 183 184 bosch_magn: magnetometer@12 { 184 bosch_magn: magnetometer@12 { 185 compatible = "bosch,bmc150_mag 185 compatible = "bosch,bmc150_magn"; 186 reg = <0x12>; 186 reg = <0x12>; 187 187 188 vdd-supply = <&pm8916_l5>; 188 vdd-supply = <&pm8916_l5>; 189 vddio-supply = <&pm8916_l5>; 189 vddio-supply = <&pm8916_l5>; 190 190 191 mount-matrix = "0", "-1", "0", 191 mount-matrix = "0", "-1", "0", 192 "-1", "0", "0", 192 "-1", "0", "0", 193 "0", "0", "1"; 193 "0", "0", "1"; 194 194 195 status = "disabled"; 195 status = "disabled"; 196 }; 196 }; 197 197 198 st_accel: accelerometer@1d { 198 st_accel: accelerometer@1d { 199 compatible = "st,lsm303c-accel 199 compatible = "st,lsm303c-accel"; 200 reg = <0x1d>; 200 reg = <0x1d>; 201 interrupts-extended = <&tlmm 1 201 interrupts-extended = <&tlmm 115 IRQ_TYPE_LEVEL_HIGH>; 202 202 203 vdd-supply = <&pm8916_l17>; 203 vdd-supply = <&pm8916_l17>; 204 vddio-supply = <&pm8916_l5>; 204 vddio-supply = <&pm8916_l5>; 205 205 206 pinctrl-0 = <&accel_int_defaul 206 pinctrl-0 = <&accel_int_default>; 207 pinctrl-names = "default"; 207 pinctrl-names = "default"; 208 208 209 st,drdy-int-pin = <1>; 209 st,drdy-int-pin = <1>; 210 mount-matrix = "0", "-1", "0" 210 mount-matrix = "0", "-1", "0", 211 "1", "0", "0" 211 "1", "0", "0", 212 "0", "0", "-1" 212 "0", "0", "-1"; 213 213 214 status = "disabled"; 214 status = "disabled"; 215 }; 215 }; 216 216 217 st_magn: magnetometer@1e { 217 st_magn: magnetometer@1e { 218 compatible = "st,lsm303c-magn" 218 compatible = "st,lsm303c-magn"; 219 reg = <0x1e>; 219 reg = <0x1e>; 220 220 221 vdd-supply = <&pm8916_l17>; 221 vdd-supply = <&pm8916_l17>; 222 vddio-supply = <&pm8916_l5>; 222 vddio-supply = <&pm8916_l5>; 223 223 224 mount-matrix = "0", "-1", "0" 224 mount-matrix = "0", "-1", "0", 225 "1", "0", "0" 225 "1", "0", "0", 226 "0", "0", "-1" 226 "0", "0", "-1"; 227 227 228 status = "disabled"; 228 status = "disabled"; 229 }; 229 }; 230 }; 230 }; 231 231 232 &blsp_i2c4 { 232 &blsp_i2c4 { 233 status = "okay"; 233 status = "okay"; 234 234 235 fuel-gauge@35 { 235 fuel-gauge@35 { 236 compatible = "richtek,rt5033-b 236 compatible = "richtek,rt5033-battery"; 237 reg = <0x35>; 237 reg = <0x35>; 238 238 239 interrupts-extended = <&tlmm 1 239 interrupts-extended = <&tlmm 121 IRQ_TYPE_EDGE_FALLING>; 240 240 241 pinctrl-0 = <&fg_alert_default 241 pinctrl-0 = <&fg_alert_default>; 242 pinctrl-names = "default"; 242 pinctrl-names = "default"; 243 243 244 power-supplies = <&charger>; 244 power-supplies = <&charger>; 245 }; 245 }; 246 }; 246 }; 247 247 248 &blsp_i2c5 { 248 &blsp_i2c5 { 249 status = "okay"; 249 status = "okay"; 250 250 251 touchscreen: touchscreen@20 { 251 touchscreen: touchscreen@20 { 252 compatible = "zinitix,bt541"; 252 compatible = "zinitix,bt541"; 253 reg = <0x20>; 253 reg = <0x20>; 254 254 255 interrupts-extended = <&tlmm 1 255 interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>; 256 256 257 touchscreen-size-x = <540>; 257 touchscreen-size-x = <540>; 258 touchscreen-size-y = <960>; 258 touchscreen-size-y = <960>; 259 259 260 vcca-supply = <®_vdd_tsp_a> 260 vcca-supply = <®_vdd_tsp_a>; 261 vdd-supply = <&pm8916_l6>; 261 vdd-supply = <&pm8916_l6>; 262 262 263 pinctrl-0 = <&tsp_int_default> 263 pinctrl-0 = <&tsp_int_default>; 264 pinctrl-names = "default"; 264 pinctrl-names = "default"; 265 265 266 linux,keycodes = <KEY_APPSELEC 266 linux,keycodes = <KEY_APPSELECT KEY_BACK>; 267 }; 267 }; 268 }; 268 }; 269 269 270 &blsp_i2c6 { 270 &blsp_i2c6 { 271 status = "okay"; 271 status = "okay"; 272 272 273 pmic@34 { 273 pmic@34 { 274 compatible = "richtek,rt5033"; 274 compatible = "richtek,rt5033"; 275 reg = <0x34>; 275 reg = <0x34>; 276 276 277 interrupts-extended = <&tlmm 6 277 interrupts-extended = <&tlmm 62 IRQ_TYPE_EDGE_FALLING>; 278 278 279 pinctrl-0 = <&pmic_int_default 279 pinctrl-0 = <&pmic_int_default>; 280 pinctrl-names = "default"; 280 pinctrl-names = "default"; 281 281 282 regulators { 282 regulators { 283 rt5033_reg_safe_ldo: S 283 rt5033_reg_safe_ldo: SAFE_LDO { 284 regulator-min- 284 regulator-min-microvolt = <4900000>; 285 regulator-max- 285 regulator-max-microvolt = <4900000>; 286 regulator-alwa 286 regulator-always-on; 287 }; 287 }; 288 288 289 /* 289 /* 290 * Needed for camera, 290 * Needed for camera, but not used yet. 291 * Define empty nodes 291 * Define empty nodes to allow disabling the unused 292 * regulators. 292 * regulators. 293 */ 293 */ 294 LDO {}; 294 LDO {}; 295 BUCK {}; 295 BUCK {}; 296 }; 296 }; 297 297 298 charger: charger { 298 charger: charger { 299 compatible = "richtek, 299 compatible = "richtek,rt5033-charger"; 300 monitored-battery = <& 300 monitored-battery = <&battery>; 301 richtek,usb-connector 301 richtek,usb-connector = <&usb_con>; 302 }; 302 }; 303 }; 303 }; 304 }; 304 }; 305 305 306 &blsp_uart2 { 306 &blsp_uart2 { 307 status = "okay"; 307 status = "okay"; 308 }; 308 }; 309 309 310 &mpss_mem { 310 &mpss_mem { 311 reg = <0x0 0x86800000 0x0 0x5000000>; 311 reg = <0x0 0x86800000 0x0 0x5000000>; 312 }; 312 }; 313 313 314 &pm8916_resin { 314 &pm8916_resin { 315 linux,code = <KEY_VOLUMEDOWN>; 315 linux,code = <KEY_VOLUMEDOWN>; 316 status = "okay"; 316 status = "okay"; 317 }; 317 }; 318 318 319 &pm8916_rpm_regulators { 319 &pm8916_rpm_regulators { 320 pm8916_l17: l17 { 320 pm8916_l17: l17 { 321 regulator-min-microvolt = <285 321 regulator-min-microvolt = <2850000>; 322 regulator-max-microvolt = <285 322 regulator-max-microvolt = <2850000>; 323 }; 323 }; 324 }; 324 }; 325 325 326 &sdhc_1 { 326 &sdhc_1 { 327 status = "okay"; 327 status = "okay"; 328 }; 328 }; 329 329 330 &sdhc_2 { 330 &sdhc_2 { 331 pinctrl-0 = <&sdc2_default &sdc2_cd_de 331 pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 332 pinctrl-1 = <&sdc2_sleep &sdc2_cd_defa 332 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 333 pinctrl-names = "default", "sleep"; 333 pinctrl-names = "default", "sleep"; 334 334 335 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; 335 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; 336 336 337 status = "okay"; 337 status = "okay"; 338 }; 338 }; 339 339 340 &sound { 340 &sound { 341 model = "msm8916-1mic"; 341 model = "msm8916-1mic"; 342 audio-routing = 342 audio-routing = 343 "AMIC1", "MIC BIAS External1", 343 "AMIC1", "MIC BIAS External1", 344 "AMIC2", "MIC BIAS Internal2", 344 "AMIC2", "MIC BIAS Internal2", 345 "AMIC3", "MIC BIAS External1"; 345 "AMIC3", "MIC BIAS External1"; 346 }; 346 }; 347 347 348 &usb { 348 &usb { 349 extcon = <&muic>, <&muic>; 349 extcon = <&muic>, <&muic>; 350 status = "okay"; 350 status = "okay"; 351 }; 351 }; 352 352 353 &usb_hs_phy { 353 &usb_hs_phy { 354 extcon = <&muic>; 354 extcon = <&muic>; 355 }; 355 }; 356 356 357 &venus { 357 &venus { 358 status = "okay"; 358 status = "okay"; 359 }; 359 }; 360 360 361 &venus_mem { 361 &venus_mem { 362 status = "okay"; 362 status = "okay"; 363 }; 363 }; 364 364 365 &wcnss { 365 &wcnss { 366 status = "okay"; 366 status = "okay"; 367 }; 367 }; 368 368 369 &wcnss_iris { 369 &wcnss_iris { 370 compatible = "qcom,wcn3620"; 370 compatible = "qcom,wcn3620"; 371 }; 371 }; 372 372 373 &wcnss_mem { 373 &wcnss_mem { 374 status = "okay"; 374 status = "okay"; 375 }; 375 }; 376 376 377 &tlmm { 377 &tlmm { 378 accel_int_default: accel-int-default-s 378 accel_int_default: accel-int-default-state { 379 pins = "gpio115"; 379 pins = "gpio115"; 380 function = "gpio"; 380 function = "gpio"; 381 drive-strength = <2>; 381 drive-strength = <2>; 382 bias-disable; 382 bias-disable; 383 }; 383 }; 384 384 385 backlight_en_default: backlight-en-def 385 backlight_en_default: backlight-en-default-state { 386 pins = "gpio98"; 386 pins = "gpio98"; 387 function = "gpio"; 387 function = "gpio"; 388 drive-strength = <2>; 388 drive-strength = <2>; 389 bias-disable; 389 bias-disable; 390 }; 390 }; 391 391 392 backlight_pwm_default: backlight-pwm-d 392 backlight_pwm_default: backlight-pwm-default-state { 393 pins = "gpio50"; 393 pins = "gpio50"; 394 function = "gcc_gp2_clk_a"; 394 function = "gcc_gp2_clk_a"; 395 }; 395 }; 396 396 397 fg_alert_default: fg-alert-default-sta 397 fg_alert_default: fg-alert-default-state { 398 pins = "gpio121"; 398 pins = "gpio121"; 399 function = "gpio"; 399 function = "gpio"; 400 drive-strength = <2>; 400 drive-strength = <2>; 401 bias-disable; 401 bias-disable; 402 }; 402 }; 403 403 404 gpio_keys_default: gpio-keys-default-s 404 gpio_keys_default: gpio-keys-default-state { 405 pins = "gpio107", "gpio109"; 405 pins = "gpio107", "gpio109"; 406 function = "gpio"; 406 function = "gpio"; 407 drive-strength = <2>; 407 drive-strength = <2>; 408 bias-pull-up; 408 bias-pull-up; 409 }; 409 }; 410 410 411 motor_en_default: motor-en-default-sta 411 motor_en_default: motor-en-default-state { 412 pins = "gpio72"; 412 pins = "gpio72"; 413 function = "gpio"; 413 function = "gpio"; 414 drive-strength = <2>; 414 drive-strength = <2>; 415 bias-disable; 415 bias-disable; 416 }; 416 }; 417 417 418 muic_int_default: muic-int-default-sta 418 muic_int_default: muic-int-default-state { 419 pins = "gpio12"; 419 pins = "gpio12"; 420 function = "gpio"; 420 function = "gpio"; 421 drive-strength = <2>; 421 drive-strength = <2>; 422 bias-disable; 422 bias-disable; 423 }; 423 }; 424 424 425 nfc_default: nfc-default-state { 425 nfc_default: nfc-default-state { 426 irq-pins { 426 irq-pins { 427 pins = "gpio21"; 427 pins = "gpio21"; 428 function = "gpio"; 428 function = "gpio"; 429 drive-strength = <2>; 429 drive-strength = <2>; 430 bias-pull-down; 430 bias-pull-down; 431 }; 431 }; 432 432 433 nfc-pins { 433 nfc-pins { 434 pins = "gpio20", "gpio 434 pins = "gpio20", "gpio49"; 435 function = "gpio"; 435 function = "gpio"; 436 drive-strength = <2>; 436 drive-strength = <2>; 437 bias-disable; 437 bias-disable; 438 }; 438 }; 439 }; 439 }; 440 440 441 nfc_i2c_default: nfc-i2c-default-state 441 nfc_i2c_default: nfc-i2c-default-state { 442 pins = "gpio0", "gpio1"; 442 pins = "gpio0", "gpio1"; 443 function = "gpio"; 443 function = "gpio"; 444 drive-strength = <2>; 444 drive-strength = <2>; 445 bias-disable; 445 bias-disable; 446 }; 446 }; 447 447 448 pmic_int_default: pmic-int-default-sta 448 pmic_int_default: pmic-int-default-state { 449 pins = "gpio62"; 449 pins = "gpio62"; 450 function = "gpio"; 450 function = "gpio"; 451 drive-strength = <2>; 451 drive-strength = <2>; 452 bias-disable; 452 bias-disable; 453 }; 453 }; 454 454 455 sdc2_cd_default: sdc2-cd-default-state 455 sdc2_cd_default: sdc2-cd-default-state { 456 pins = "gpio38"; 456 pins = "gpio38"; 457 function = "gpio"; 457 function = "gpio"; 458 drive-strength = <2>; 458 drive-strength = <2>; 459 bias-disable; 459 bias-disable; 460 }; 460 }; 461 461 462 tsp_en_default: tsp-en-default-state { 462 tsp_en_default: tsp-en-default-state { 463 pins = "gpio73"; 463 pins = "gpio73"; 464 function = "gpio"; 464 function = "gpio"; 465 drive-strength = <2>; 465 drive-strength = <2>; 466 bias-disable; 466 bias-disable; 467 }; 467 }; 468 468 469 tsp_int_default: tsp-int-default-state 469 tsp_int_default: tsp-int-default-state { 470 pins = "gpio13"; 470 pins = "gpio13"; 471 function = "gpio"; 471 function = "gpio"; 472 drive-strength = <2>; 472 drive-strength = <2>; 473 bias-disable; 473 bias-disable; 474 }; 474 }; 475 }; 475 }; 476 476 477 &pm8916_gpios { 477 &pm8916_gpios { 478 nfc_clk_req: nfc-clk-req-state { 478 nfc_clk_req: nfc-clk-req-state { 479 pins = "gpio2"; 479 pins = "gpio2"; 480 function = "func1"; 480 function = "func1"; 481 power-source = <PM8916_GPIO_L2 481 power-source = <PM8916_GPIO_L2>; 482 bias-disable; 482 bias-disable; 483 input-enable; 483 input-enable; 484 }; 484 }; 485 }; 485 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.