1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 2 /* 3 * Copyright (c) 2015, The Linux Foundation. A 3 * Copyright (c) 2015, The Linux Foundation. All rights reserved. 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include "msm8916-pm8916.dtsi" 8 #include "msm8916-pm8916.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> << 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 13 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 14 #include <dt-bindings/sound/apq8016-lpass.h> 13 #include <dt-bindings/sound/apq8016-lpass.h> 15 14 16 / { 15 / { 17 model = "Qualcomm Technologies, Inc. A 16 model = "Qualcomm Technologies, Inc. APQ 8016 SBC"; 18 compatible = "qcom,apq8016-sbc", "qcom 17 compatible = "qcom,apq8016-sbc", "qcom,apq8016"; 19 18 20 aliases { 19 aliases { 21 mmc0 = &sdhc_1; /* eMMC */ !! 20 serial0 = &blsp1_uart2; 22 mmc1 = &sdhc_2; /* SD card */ !! 21 serial1 = &blsp1_uart1; 23 serial0 = &blsp_uart2; << 24 serial1 = &blsp_uart1; << 25 usid0 = &pm8916_0; 22 usid0 = &pm8916_0; 26 i2c0 = &blsp_i2c2; !! 23 i2c0 = &blsp_i2c2; 27 i2c1 = &blsp_i2c6; !! 24 i2c1 = &blsp_i2c6; 28 i2c3 = &blsp_i2c4; !! 25 i2c3 = &blsp_i2c4; 29 spi0 = &blsp_spi5; !! 26 spi0 = &blsp_spi5; 30 spi1 = &blsp_spi3; !! 27 spi1 = &blsp_spi3; 31 }; 28 }; 32 29 33 chosen { 30 chosen { 34 stdout-path = "serial0"; 31 stdout-path = "serial0"; 35 }; 32 }; 36 33 >> 34 camera_vdddo_1v8: camera-vdddo-1v8 { >> 35 compatible = "regulator-fixed"; >> 36 regulator-name = "camera_vdddo"; >> 37 regulator-min-microvolt = <1800000>; >> 38 regulator-max-microvolt = <1800000>; >> 39 regulator-always-on; >> 40 }; >> 41 >> 42 camera_vdda_2v8: camera-vdda-2v8 { >> 43 compatible = "regulator-fixed"; >> 44 regulator-name = "camera_vdda"; >> 45 regulator-min-microvolt = <2800000>; >> 46 regulator-max-microvolt = <2800000>; >> 47 regulator-always-on; >> 48 }; >> 49 >> 50 camera_vddd_1v5: camera-vddd-1v5 { >> 51 compatible = "regulator-fixed"; >> 52 regulator-name = "camera_vddd"; >> 53 regulator-min-microvolt = <1500000>; >> 54 regulator-max-microvolt = <1500000>; >> 55 regulator-always-on; >> 56 }; >> 57 37 reserved-memory { 58 reserved-memory { 38 ramoops@bff00000 { 59 ramoops@bff00000 { 39 compatible = "ramoops" 60 compatible = "ramoops"; 40 reg = <0x0 0xbff00000 61 reg = <0x0 0xbff00000 0x0 0x100000>; 41 62 42 record-size = <0x20000 63 record-size = <0x20000>; 43 console-size = <0x2000 64 console-size = <0x20000>; 44 ftrace-size = <0x20000 65 ftrace-size = <0x20000>; 45 }; 66 }; 46 }; 67 }; 47 68 48 usb2513 { 69 usb2513 { 49 compatible = "smsc,usb3503"; 70 compatible = "smsc,usb3503"; 50 reset-gpios = <&pm8916_gpios 3 71 reset-gpios = <&pm8916_gpios 3 GPIO_ACTIVE_LOW>; 51 initial-mode = <1>; 72 initial-mode = <1>; 52 }; 73 }; 53 74 54 usb_id: usb-id { 75 usb_id: usb-id { 55 compatible = "linux,extcon-usb 76 compatible = "linux,extcon-usb-gpio"; 56 id-gpios = <&tlmm 121 GPIO_ACT !! 77 id-gpio = <&msmgpio 121 GPIO_ACTIVE_HIGH>; 57 pinctrl-names = "default"; 78 pinctrl-names = "default"; 58 pinctrl-0 = <&usb_id_default>; 79 pinctrl-0 = <&usb_id_default>; 59 }; 80 }; 60 81 61 hdmi-out { 82 hdmi-out { 62 compatible = "hdmi-connector"; 83 compatible = "hdmi-connector"; 63 type = "a"; 84 type = "a"; 64 85 65 port { 86 port { 66 hdmi_con: endpoint { 87 hdmi_con: endpoint { 67 remote-endpoin 88 remote-endpoint = <&adv7533_out>; 68 }; 89 }; 69 }; 90 }; 70 }; 91 }; 71 92 72 gpio-keys { 93 gpio-keys { 73 compatible = "gpio-keys"; 94 compatible = "gpio-keys"; >> 95 #address-cells = <1>; >> 96 #size-cells = <0>; 74 autorepeat; 97 autorepeat; 75 98 76 pinctrl-names = "default"; 99 pinctrl-names = "default"; 77 pinctrl-0 = <&msm_key_volp_n_d 100 pinctrl-0 = <&msm_key_volp_n_default>; 78 101 79 button { !! 102 button@0 { 80 label = "Volume Up"; 103 label = "Volume Up"; 81 linux,code = <KEY_VOLU 104 linux,code = <KEY_VOLUMEUP>; 82 gpios = <&tlmm 107 GPI !! 105 gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>; 83 }; 106 }; 84 }; 107 }; 85 108 86 leds { 109 leds { 87 pinctrl-names = "default"; 110 pinctrl-names = "default"; 88 pinctrl-0 = <&tlmm_leds>, !! 111 pinctrl-0 = <&msmgpio_leds>, 89 <&pm8916_gpios_led 112 <&pm8916_gpios_leds>, 90 <&pm8916_mpps_leds 113 <&pm8916_mpps_leds>; 91 114 92 compatible = "gpio-leds"; 115 compatible = "gpio-leds"; 93 116 94 led-1 { !! 117 led@1 { 95 label = "apq8016-sbc:g 118 label = "apq8016-sbc:green:user1"; 96 function = LED_FUNCTIO !! 119 gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>; 97 color = <LED_COLOR_ID_ << 98 gpios = <&tlmm 21 GPIO << 99 linux,default-trigger 120 linux,default-trigger = "heartbeat"; 100 default-state = "off"; 121 default-state = "off"; 101 }; 122 }; 102 123 103 led-2 { !! 124 led@2 { 104 label = "apq8016-sbc:g 125 label = "apq8016-sbc:green:user2"; 105 function = LED_FUNCTIO !! 126 gpios = <&msmgpio 120 GPIO_ACTIVE_HIGH>; 106 color = <LED_COLOR_ID_ << 107 gpios = <&tlmm 120 GPI << 108 linux,default-trigger 127 linux,default-trigger = "mmc0"; 109 default-state = "off"; 128 default-state = "off"; 110 }; 129 }; 111 130 112 led-3 { !! 131 led@3 { 113 label = "apq8016-sbc:g 132 label = "apq8016-sbc:green:user3"; 114 function = LED_FUNCTIO << 115 color = <LED_COLOR_ID_ << 116 gpios = <&pm8916_gpios 133 gpios = <&pm8916_gpios 1 GPIO_ACTIVE_HIGH>; 117 linux,default-trigger 134 linux,default-trigger = "mmc1"; 118 default-state = "off"; 135 default-state = "off"; 119 }; 136 }; 120 137 121 led-4 { !! 138 led@4 { 122 label = "apq8016-sbc:g 139 label = "apq8016-sbc:green:user4"; 123 color = <LED_COLOR_ID_ << 124 gpios = <&pm8916_gpios 140 gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>; 125 linux,default-trigger 141 linux,default-trigger = "none"; 126 panic-indicator; 142 panic-indicator; 127 default-state = "off"; 143 default-state = "off"; 128 }; 144 }; 129 145 130 led-5 { !! 146 led@5 { 131 label = "apq8016-sbc:y 147 label = "apq8016-sbc:yellow:wlan"; 132 function = LED_FUNCTIO << 133 color = <LED_COLOR_ID_ << 134 gpios = <&pm8916_mpps 148 gpios = <&pm8916_mpps 2 GPIO_ACTIVE_HIGH>; 135 linux,default-trigger 149 linux,default-trigger = "phy0tx"; 136 default-state = "off"; 150 default-state = "off"; 137 }; 151 }; 138 152 139 led-6 { !! 153 led@6 { 140 label = "apq8016-sbc:b 154 label = "apq8016-sbc:blue:bt"; 141 function = LED_FUNCTIO << 142 color = <LED_COLOR_ID_ << 143 gpios = <&pm8916_mpps 155 gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>; 144 linux,default-trigger 156 linux,default-trigger = "bluetooth-power"; 145 default-state = "off"; 157 default-state = "off"; 146 }; 158 }; 147 }; 159 }; 148 }; 160 }; 149 161 >> 162 &blsp_dma { >> 163 status = "okay"; >> 164 }; >> 165 150 &blsp_i2c2 { 166 &blsp_i2c2 { 151 /* On Low speed expansion: LS-I2C0 */ !! 167 /* On Low speed expansion */ 152 status = "okay"; 168 status = "okay"; >> 169 label = "LS-I2C0"; 153 }; 170 }; 154 171 155 &blsp_i2c4 { 172 &blsp_i2c4 { 156 /* On High speed expansion: HS-I2C2 */ !! 173 /* On High speed expansion */ 157 status = "okay"; 174 status = "okay"; >> 175 label = "HS-I2C2"; 158 176 159 adv_bridge: bridge@39 { 177 adv_bridge: bridge@39 { 160 status = "okay"; 178 status = "okay"; 161 179 162 compatible = "adi,adv7533"; 180 compatible = "adi,adv7533"; 163 reg = <0x39>; 181 reg = <0x39>; 164 182 165 interrupt-parent = <&tlmm>; !! 183 interrupt-parent = <&msmgpio>; 166 interrupts = <31 IRQ_TYPE_EDGE 184 interrupts = <31 IRQ_TYPE_EDGE_FALLING>; 167 185 168 adi,dsi-lanes = <4>; 186 adi,dsi-lanes = <4>; 169 clocks = <&rpmcc RPM_SMD_BB_CL 187 clocks = <&rpmcc RPM_SMD_BB_CLK2>; 170 clock-names = "cec"; 188 clock-names = "cec"; 171 189 172 pd-gpios = <&tlmm 32 GPIO_ACTI !! 190 pd-gpios = <&msmgpio 32 GPIO_ACTIVE_HIGH>; 173 191 174 avdd-supply = <&pm8916_l6>; 192 avdd-supply = <&pm8916_l6>; 175 a2vdd-supply = <&pm8916_l6>; << 176 dvdd-supply = <&pm8916_l6>; << 177 pvdd-supply = <&pm8916_l6>; << 178 v1p2-supply = <&pm8916_l6>; 193 v1p2-supply = <&pm8916_l6>; 179 v3p3-supply = <&pm8916_l17>; 194 v3p3-supply = <&pm8916_l17>; 180 195 181 pinctrl-names = "default","sle 196 pinctrl-names = "default","sleep"; 182 pinctrl-0 = <&adv7533_int_acti 197 pinctrl-0 = <&adv7533_int_active &adv7533_switch_active>; 183 pinctrl-1 = <&adv7533_int_susp 198 pinctrl-1 = <&adv7533_int_suspend &adv7533_switch_suspend>; 184 #sound-dai-cells = <1>; 199 #sound-dai-cells = <1>; 185 200 186 ports { 201 ports { 187 #address-cells = <1>; 202 #address-cells = <1>; 188 #size-cells = <0>; 203 #size-cells = <0>; 189 204 190 port@0 { 205 port@0 { 191 reg = <0>; 206 reg = <0>; 192 adv7533_in: en 207 adv7533_in: endpoint { 193 remote !! 208 remote-endpoint = <&dsi0_out>; 194 }; 209 }; 195 }; 210 }; 196 211 197 port@1 { 212 port@1 { 198 reg = <1>; 213 reg = <1>; 199 adv7533_out: e 214 adv7533_out: endpoint { 200 remote 215 remote-endpoint = <&hdmi_con>; 201 }; 216 }; 202 }; 217 }; 203 }; 218 }; 204 }; 219 }; 205 }; 220 }; 206 221 207 &blsp_i2c6 { 222 &blsp_i2c6 { 208 /* On Low speed expansion: LS-I2C1 */ !! 223 /* On Low speed expansion */ 209 status = "okay"; 224 status = "okay"; >> 225 label = "LS-I2C1"; 210 }; 226 }; 211 227 212 &blsp_spi3 { 228 &blsp_spi3 { 213 /* On High speed expansion: HS-SPI1 */ !! 229 /* On High speed expansion */ 214 status = "okay"; 230 status = "okay"; >> 231 label = "HS-SPI1"; 215 }; 232 }; 216 233 217 &blsp_spi5 { 234 &blsp_spi5 { 218 /* On Low speed expansion: LS-SPI0 */ !! 235 /* On Low speed expansion */ 219 status = "okay"; 236 status = "okay"; >> 237 label = "LS-SPI0"; 220 }; 238 }; 221 239 222 &blsp_uart1 { !! 240 &blsp1_uart1 { 223 status = "okay"; 241 status = "okay"; 224 label = "LS-UART0"; 242 label = "LS-UART0"; 225 }; 243 }; 226 244 227 &blsp_uart2 { !! 245 &blsp1_uart2 { 228 status = "okay"; 246 status = "okay"; 229 label = "LS-UART1"; 247 label = "LS-UART1"; 230 }; 248 }; 231 249 232 &camss { 250 &camss { 233 status = "okay"; 251 status = "okay"; >> 252 ports { >> 253 port@0 { >> 254 reg = <0>; >> 255 csiphy0_ep: endpoint { >> 256 data-lanes = <0 2>; >> 257 remote-endpoint = <&ov5640_ep>; >> 258 status = "okay"; >> 259 }; >> 260 }; >> 261 }; 234 }; 262 }; 235 263 236 &gpu { !! 264 &cci { 237 status = "okay"; 265 status = "okay"; 238 }; 266 }; 239 267 240 &lpass { !! 268 &cci_i2c0 { 241 status = "okay"; !! 269 camera_rear@3b { 242 }; !! 270 compatible = "ovti,ov5640"; >> 271 reg = <0x3b>; 243 272 244 &lpass_codec { !! 273 enable-gpios = <&msmgpio 34 GPIO_ACTIVE_HIGH>; 245 status = "okay"; !! 274 reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>; 246 }; !! 275 pinctrl-names = "default"; >> 276 pinctrl-0 = <&camera_rear_default>; 247 277 248 &mba_mem { !! 278 clocks = <&gcc GCC_CAMSS_MCLK0_CLK>; 249 status = "okay"; !! 279 clock-names = "xclk"; 250 }; !! 280 clock-frequency = <23880000>; >> 281 >> 282 vdddo-supply = <&camera_vdddo_1v8>; >> 283 vdda-supply = <&camera_vdda_2v8>; >> 284 vddd-supply = <&camera_vddd_1v5>; 251 285 252 &mdss { !! 286 /* No camera mezzanine by default */ 253 status = "okay"; !! 287 status = "disabled"; >> 288 >> 289 port { >> 290 ov5640_ep: endpoint { >> 291 data-lanes = <0 2>; >> 292 remote-endpoint = <&csiphy0_ep>; >> 293 }; >> 294 }; >> 295 }; 254 }; 296 }; 255 297 256 &mdss_dsi0_out { !! 298 &dsi0_out { 257 data-lanes = <0 1 2 3>; 299 data-lanes = <0 1 2 3>; 258 remote-endpoint = <&adv7533_in>; 300 remote-endpoint = <&adv7533_in>; 259 }; 301 }; 260 302 261 &mpss { !! 303 &lpass { 262 status = "okay"; 304 status = "okay"; 263 << 264 firmware-name = "qcom/apq8016/mba.mbn" << 265 }; 305 }; 266 306 267 &mpss_mem { !! 307 &mdss { 268 status = "okay"; 308 status = "okay"; 269 reg = <0x0 0x86800000 0x0 0x2b00000>; << 270 }; 309 }; 271 310 272 &pm8916_codec { !! 311 &mpss { 273 status = "okay"; 312 status = "okay"; 274 qcom,mbhc-vthreshold-low = <75 150 237 !! 313 275 qcom,mbhc-vthreshold-high = <75 150 23 !! 314 firmware-name = "qcom/apq8016/mba.mbn", "qcom/apq8016/modem.mbn"; 276 }; 315 }; 277 316 278 &pm8916_resin { 317 &pm8916_resin { 279 status = "okay"; 318 status = "okay"; 280 linux,code = <KEY_VOLUMEDOWN>; 319 linux,code = <KEY_VOLUMEDOWN>; 281 }; 320 }; 282 321 283 &pm8916_rpm_regulators { !! 322 &pronto { 284 /* !! 323 status = "okay"; 285 * The 96Boards specification expects << 286 * expansion connector that is able to << 287 * L15/L16 are connected in parallel t << 288 * must be specified to ensure the reg << 289 * would only provide 5 mA. << 290 */ << 291 pm8916_l15: l15 { << 292 regulator-min-microvolt = <180 << 293 regulator-max-microvolt = <180 << 294 regulator-system-load = <50000 << 295 regulator-allow-set-load; << 296 regulator-always-on; << 297 }; << 298 pm8916_l16: l16 { << 299 regulator-min-microvolt = <180 << 300 regulator-max-microvolt = <180 << 301 regulator-system-load = <50000 << 302 regulator-allow-set-load; << 303 regulator-always-on; << 304 }; << 305 324 306 pm8916_l17: l17 { !! 325 firmware-name = "qcom/apq8016/wcnss.mbn"; 307 regulator-min-microvolt = <330 << 308 regulator-max-microvolt = <330 << 309 }; << 310 }; 326 }; 311 327 312 &sdhc_1 { 328 &sdhc_1 { 313 status = "okay"; 329 status = "okay"; >> 330 >> 331 pinctrl-names = "default", "sleep"; >> 332 pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; >> 333 pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 314 }; 334 }; 315 335 316 &sdhc_2 { 336 &sdhc_2 { 317 status = "okay"; 337 status = "okay"; 318 338 319 pinctrl-names = "default", "sleep"; 339 pinctrl-names = "default", "sleep"; 320 pinctrl-0 = <&sdc2_default &sdc2_cd_de !! 340 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; 321 pinctrl-1 = <&sdc2_sleep &sdc2_cd_defa !! 341 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; 322 342 323 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; !! 343 cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>; 324 }; 344 }; 325 345 326 &sound { 346 &sound { 327 status = "okay"; 347 status = "okay"; 328 348 329 pinctrl-0 = <&cdc_pdm_default &sec_mi2 !! 349 pinctrl-0 = <&cdc_pdm_lines_act &ext_sec_tlmm_lines_act &ext_mclk_tlmm_lines_act>; 330 pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_ !! 350 pinctrl-1 = <&cdc_pdm_lines_sus &ext_sec_tlmm_lines_sus &ext_mclk_tlmm_lines_sus>; 331 pinctrl-names = "default", "sleep"; 351 pinctrl-names = "default", "sleep"; 332 model = "DB410c"; 352 model = "DB410c"; 333 audio-routing = 353 audio-routing = 334 "AMIC2", "MIC BIAS Internal2", 354 "AMIC2", "MIC BIAS Internal2", 335 "AMIC3", "MIC BIAS External1"; 355 "AMIC3", "MIC BIAS External1"; 336 356 337 quaternary-dai-link { 357 quaternary-dai-link { 338 link-name = "ADV7533"; 358 link-name = "ADV7533"; 339 cpu { 359 cpu { 340 sound-dai = <&lpass MI 360 sound-dai = <&lpass MI2S_QUATERNARY>; 341 }; 361 }; 342 codec { 362 codec { 343 sound-dai = <&adv_brid 363 sound-dai = <&adv_bridge 0>; 344 }; 364 }; 345 }; 365 }; 346 366 347 primary-dai-link { 367 primary-dai-link { 348 link-name = "WCD"; 368 link-name = "WCD"; 349 cpu { 369 cpu { 350 sound-dai = <&lpass MI 370 sound-dai = <&lpass MI2S_PRIMARY>; 351 }; 371 }; 352 codec { 372 codec { 353 sound-dai = <&lpass_co !! 373 sound-dai = <&lpass_codec 0>, <&wcd_codec 0>; 354 }; 374 }; 355 }; 375 }; 356 376 357 tertiary-dai-link { 377 tertiary-dai-link { 358 link-name = "WCD-Capture"; 378 link-name = "WCD-Capture"; 359 cpu { 379 cpu { 360 sound-dai = <&lpass MI 380 sound-dai = <&lpass MI2S_TERTIARY>; 361 }; 381 }; 362 codec { 382 codec { 363 sound-dai = <&lpass_co !! 383 sound-dai = <&lpass_codec 1>, <&wcd_codec 1>; 364 }; 384 }; 365 }; 385 }; 366 }; 386 }; 367 387 368 &usb { 388 &usb { 369 status = "okay"; 389 status = "okay"; 370 extcon = <&usb_id>, <&usb_id>; 390 extcon = <&usb_id>, <&usb_id>; 371 391 372 pinctrl-names = "default", "device"; 392 pinctrl-names = "default", "device"; 373 pinctrl-0 = <&usb_sw_sel_pm &usb_hub_r 393 pinctrl-0 = <&usb_sw_sel_pm &usb_hub_reset_pm>; 374 pinctrl-1 = <&usb_sw_sel_pm_device &us 394 pinctrl-1 = <&usb_sw_sel_pm_device &usb_hub_reset_pm_device>; 375 }; 395 }; 376 396 377 &usb_hs_phy { 397 &usb_hs_phy { 378 extcon = <&usb_id>; 398 extcon = <&usb_id>; 379 }; 399 }; 380 400 381 &venus { !! 401 &wcd_codec { 382 status = "okay"; !! 402 clocks = <&gcc GCC_CODEC_DIGCODEC_CLK>; 383 }; !! 403 clock-names = "mclk"; 384 !! 404 qcom,mbhc-vthreshold-low = <75 150 237 450 500>; 385 &venus_mem { !! 405 qcom,mbhc-vthreshold-high = <75 150 237 450 500>; 386 status = "okay"; << 387 }; << 388 << 389 &wcnss { << 390 status = "okay"; << 391 firmware-name = "qcom/apq8016/wcnss.mb << 392 }; 406 }; 393 407 394 &wcnss_ctrl { 408 &wcnss_ctrl { 395 firmware-name = "qcom/apq8016/WCNSS_qc 409 firmware-name = "qcom/apq8016/WCNSS_qcom_wlan_nv_sbc.bin"; 396 }; 410 }; 397 411 398 &wcnss_iris { << 399 compatible = "qcom,wcn3620"; << 400 }; << 401 << 402 &wcnss_mem { << 403 status = "okay"; << 404 }; << 405 << 406 /* Enable CoreSight */ 412 /* Enable CoreSight */ 407 &cti0 { status = "okay"; }; 413 &cti0 { status = "okay"; }; 408 &cti1 { status = "okay"; }; 414 &cti1 { status = "okay"; }; 409 &cti12 { status = "okay"; }; 415 &cti12 { status = "okay"; }; 410 &cti13 { status = "okay"; }; 416 &cti13 { status = "okay"; }; 411 &cti14 { status = "okay"; }; 417 &cti14 { status = "okay"; }; 412 &cti15 { status = "okay"; }; 418 &cti15 { status = "okay"; }; 413 &debug0 { status = "okay"; }; 419 &debug0 { status = "okay"; }; 414 &debug1 { status = "okay"; }; 420 &debug1 { status = "okay"; }; 415 &debug2 { status = "okay"; }; 421 &debug2 { status = "okay"; }; 416 &debug3 { status = "okay"; }; 422 &debug3 { status = "okay"; }; 417 &etf { status = "okay"; }; 423 &etf { status = "okay"; }; 418 &etm0 { status = "okay"; }; 424 &etm0 { status = "okay"; }; 419 &etm1 { status = "okay"; }; 425 &etm1 { status = "okay"; }; 420 &etm2 { status = "okay"; }; 426 &etm2 { status = "okay"; }; 421 &etm3 { status = "okay"; }; 427 &etm3 { status = "okay"; }; 422 &etr { status = "okay"; }; 428 &etr { status = "okay"; }; 423 &funnel0 { status = "okay"; }; 429 &funnel0 { status = "okay"; }; 424 &funnel1 { status = "okay"; }; 430 &funnel1 { status = "okay"; }; 425 &replicator { status = "okay"; }; 431 &replicator { status = "okay"; }; 426 &stm { status = "okay"; }; 432 &stm { status = "okay"; }; 427 &tpiu { status = "okay"; }; 433 &tpiu { status = "okay"; }; 428 434 >> 435 &smd_rpm_regulators { >> 436 vdd_l1_l2_l3-supply = <&pm8916_s3>; >> 437 vdd_l4_l5_l6-supply = <&pm8916_s4>; >> 438 vdd_l7-supply = <&pm8916_s4>; >> 439 >> 440 s3 { >> 441 regulator-min-microvolt = <375000>; >> 442 regulator-max-microvolt = <1562000>; >> 443 }; >> 444 >> 445 s4 { >> 446 regulator-min-microvolt = <1800000>; >> 447 regulator-max-microvolt = <1800000>; >> 448 >> 449 regulator-always-on; >> 450 regulator-boot-on; >> 451 }; >> 452 >> 453 l1 { >> 454 regulator-min-microvolt = <375000>; >> 455 regulator-max-microvolt = <1525000>; >> 456 }; >> 457 >> 458 l2 { >> 459 regulator-min-microvolt = <1200000>; >> 460 regulator-max-microvolt = <1200000>; >> 461 }; >> 462 >> 463 l4 { >> 464 regulator-min-microvolt = <1750000>; >> 465 regulator-max-microvolt = <3337000>; >> 466 }; >> 467 >> 468 l5 { >> 469 regulator-min-microvolt = <1750000>; >> 470 regulator-max-microvolt = <3337000>; >> 471 }; >> 472 >> 473 l6 { >> 474 regulator-min-microvolt = <1800000>; >> 475 regulator-max-microvolt = <1800000>; >> 476 }; >> 477 >> 478 l7 { >> 479 regulator-min-microvolt = <1750000>; >> 480 regulator-max-microvolt = <3337000>; >> 481 }; >> 482 >> 483 l8 { >> 484 regulator-min-microvolt = <1750000>; >> 485 regulator-max-microvolt = <3337000>; >> 486 }; >> 487 >> 488 l9 { >> 489 regulator-min-microvolt = <1750000>; >> 490 regulator-max-microvolt = <3337000>; >> 491 }; >> 492 >> 493 l10 { >> 494 regulator-min-microvolt = <1750000>; >> 495 regulator-max-microvolt = <3337000>; >> 496 }; >> 497 >> 498 l11 { >> 499 regulator-min-microvolt = <1750000>; >> 500 regulator-max-microvolt = <3337000>; >> 501 regulator-allow-set-load; >> 502 regulator-system-load = <200000>; >> 503 }; >> 504 >> 505 l12 { >> 506 regulator-min-microvolt = <1750000>; >> 507 regulator-max-microvolt = <3337000>; >> 508 }; >> 509 >> 510 l13 { >> 511 regulator-min-microvolt = <1750000>; >> 512 regulator-max-microvolt = <3337000>; >> 513 }; >> 514 >> 515 l14 { >> 516 regulator-min-microvolt = <1750000>; >> 517 regulator-max-microvolt = <3337000>; >> 518 }; >> 519 >> 520 /** >> 521 * 1.8v required on LS expansion >> 522 * for mezzanine boards >> 523 */ >> 524 l15 { >> 525 regulator-min-microvolt = <1750000>; >> 526 regulator-max-microvolt = <3337000>; >> 527 regulator-always-on; >> 528 }; >> 529 >> 530 l16 { >> 531 regulator-min-microvolt = <1750000>; >> 532 regulator-max-microvolt = <3337000>; >> 533 }; >> 534 >> 535 l17 { >> 536 regulator-min-microvolt = <3300000>; >> 537 regulator-max-microvolt = <3300000>; >> 538 }; >> 539 >> 540 l18 { >> 541 regulator-min-microvolt = <1750000>; >> 542 regulator-max-microvolt = <3337000>; >> 543 }; >> 544 }; >> 545 429 /* 546 /* 430 * 2mA drive strength is not enough when conne 547 * 2mA drive strength is not enough when connecting multiple 431 * I2C devices with different pull up resistor 548 * I2C devices with different pull up resistors. 432 */ 549 */ 433 &blsp_i2c2_default { !! 550 &i2c2_default { 434 drive-strength = <16>; 551 drive-strength = <16>; 435 }; 552 }; 436 553 437 &blsp_i2c4_default { !! 554 &i2c4_default { 438 drive-strength = <16>; 555 drive-strength = <16>; 439 }; 556 }; 440 557 441 &blsp_i2c6_default { !! 558 &i2c6_default { 442 drive-strength = <16>; 559 drive-strength = <16>; 443 }; 560 }; 444 561 445 /* 562 /* 446 * GPIO name legend: proper name = the GPIO li 563 * GPIO name legend: proper name = the GPIO line is used as GPIO 447 * NC = not connected (pin out but not 564 * NC = not connected (pin out but not routed from the chip to 448 * anything the board) 565 * anything the board) 449 * "[PER]" = pin is muxed for [periphe 566 * "[PER]" = pin is muxed for [peripheral] (not GPIO) 450 * LSEC = Low Speed External Connector 567 * LSEC = Low Speed External Connector 451 * HSEC = High Speed External Connecto 568 * HSEC = High Speed External Connector 452 * 569 * 453 * Line names are taken from the schematic "Dr 570 * Line names are taken from the schematic "DragonBoard410c" 454 * dated monday, august 31, 2015. Page 5 in pa 571 * dated monday, august 31, 2015. Page 5 in particular. 455 * 572 * 456 * For the lines routed to the external connec 573 * For the lines routed to the external connectors the 457 * lines are named after the 96Boards CE Speci 574 * lines are named after the 96Boards CE Specification 1.0, 458 * Appendix "Expansion Connector Signal Descri 575 * Appendix "Expansion Connector Signal Description". 459 * 576 * 460 * When the 96Board naming of a line and the s 577 * When the 96Board naming of a line and the schematic name of 461 * the same line are in conflict, the 96Board 578 * the same line are in conflict, the 96Board specification 462 * takes precedence, which means that the exte 579 * takes precedence, which means that the external UART on the 463 * LSEC is named UART0 while the schematic and 580 * LSEC is named UART0 while the schematic and SoC names this 464 * UART3. This is only for the informational l 581 * UART3. This is only for the informational lines i.e. "[FOO]", 465 * the GPIO named lines "GPIO-A" thru "GPIO-L" 582 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only 466 * ones actually used for GPIO. 583 * ones actually used for GPIO. 467 */ 584 */ 468 585 469 &tlmm { !! 586 &msmgpio { 470 gpio-line-names = 587 gpio-line-names = 471 "[UART0_TX]", /* GPIO_0, LSEC 588 "[UART0_TX]", /* GPIO_0, LSEC pin 5 */ 472 "[UART0_RX]", /* GPIO_1, LSEC 589 "[UART0_RX]", /* GPIO_1, LSEC pin 7 */ 473 "[UART0_CTS_N]", /* GPIO_2, LS 590 "[UART0_CTS_N]", /* GPIO_2, LSEC pin 3 */ 474 "[UART0_RTS_N]", /* GPIO_3, LS 591 "[UART0_RTS_N]", /* GPIO_3, LSEC pin 9 */ 475 "[UART1_TX]", /* GPIO_4, LSEC 592 "[UART1_TX]", /* GPIO_4, LSEC pin 11 */ 476 "[UART1_RX]", /* GPIO_5, LSEC 593 "[UART1_RX]", /* GPIO_5, LSEC pin 13 */ 477 "[I2C0_SDA]", /* GPIO_8, LSEC 594 "[I2C0_SDA]", /* GPIO_8, LSEC pin 17 */ 478 "[I2C0_SCL]", /* GPIO_7, LSEC 595 "[I2C0_SCL]", /* GPIO_7, LSEC pin 15 */ 479 "[SPI1_DOUT]", /* SPI1_MOSI, H 596 "[SPI1_DOUT]", /* SPI1_MOSI, HSEC pin 1 */ 480 "[SPI1_DIN]", /* SPI1_MISO, HS 597 "[SPI1_DIN]", /* SPI1_MISO, HSEC pin 11 */ 481 "[SPI1_CS]", /* SPI1_CS_N, HSE 598 "[SPI1_CS]", /* SPI1_CS_N, HSEC pin 7 */ 482 "[SPI1_SCLK]", /* SPI1_CLK, HS 599 "[SPI1_SCLK]", /* SPI1_CLK, HSEC pin 9 */ 483 "GPIO-B", /* LS_EXP_GPIO_B, LS 600 "GPIO-B", /* LS_EXP_GPIO_B, LSEC pin 24 */ 484 "GPIO-C", /* LS_EXP_GPIO_C, LS 601 "GPIO-C", /* LS_EXP_GPIO_C, LSEC pin 25 */ 485 "[I2C3_SDA]", /* HSEC pin 38 * 602 "[I2C3_SDA]", /* HSEC pin 38 */ 486 "[I2C3_SCL]", /* HSEC pin 36 * 603 "[I2C3_SCL]", /* HSEC pin 36 */ 487 "[SPI0_MOSI]", /* LSEC pin 14 604 "[SPI0_MOSI]", /* LSEC pin 14 */ 488 "[SPI0_MISO]", /* LSEC pin 10 605 "[SPI0_MISO]", /* LSEC pin 10 */ 489 "[SPI0_CS_N]", /* LSEC pin 12 606 "[SPI0_CS_N]", /* LSEC pin 12 */ 490 "[SPI0_CLK]", /* LSEC pin 8 */ 607 "[SPI0_CLK]", /* LSEC pin 8 */ 491 "HDMI_HPD_N", /* GPIO 20 */ 608 "HDMI_HPD_N", /* GPIO 20 */ 492 "USR_LED_1_CTRL", 609 "USR_LED_1_CTRL", 493 "[I2C1_SDA]", /* GPIO_22, LSEC 610 "[I2C1_SDA]", /* GPIO_22, LSEC pin 21 */ 494 "[I2C1_SCL]", /* GPIO_23, LSEC 611 "[I2C1_SCL]", /* GPIO_23, LSEC pin 19 */ 495 "GPIO-G", /* LS_EXP_GPIO_G, LS 612 "GPIO-G", /* LS_EXP_GPIO_G, LSEC pin 29 */ 496 "GPIO-H", /* LS_EXP_GPIO_H, LS 613 "GPIO-H", /* LS_EXP_GPIO_H, LSEC pin 30 */ 497 "[CSI0_MCLK]", /* HSEC pin 15 614 "[CSI0_MCLK]", /* HSEC pin 15 */ 498 "[CSI1_MCLK]", /* HSEC pin 17 615 "[CSI1_MCLK]", /* HSEC pin 17 */ 499 "GPIO-K", /* LS_EXP_GPIO_K, LS 616 "GPIO-K", /* LS_EXP_GPIO_K, LSEC pin 33 */ 500 "[I2C2_SDA]", /* HSEC pin 34 * 617 "[I2C2_SDA]", /* HSEC pin 34 */ 501 "[I2C2_SCL]", /* HSEC pin 32 * 618 "[I2C2_SCL]", /* HSEC pin 32 */ 502 "DSI2HDMI_INT_N", 619 "DSI2HDMI_INT_N", 503 "DSI_SW_SEL_APQ", 620 "DSI_SW_SEL_APQ", 504 "GPIO-L", /* LS_EXP_GPIO_L, LS 621 "GPIO-L", /* LS_EXP_GPIO_L, LSEC pin 34 */ 505 "GPIO-J", /* LS_EXP_GPIO_J, LS 622 "GPIO-J", /* LS_EXP_GPIO_J, LSEC pin 32 */ 506 "GPIO-I", /* LS_EXP_GPIO_I, LS 623 "GPIO-I", /* LS_EXP_GPIO_I, LSEC pin 31 */ 507 "GPIO-A", /* LS_EXP_GPIO_A, LS 624 "GPIO-A", /* LS_EXP_GPIO_A, LSEC pin 23 */ 508 "FORCED_USB_BOOT", 625 "FORCED_USB_BOOT", 509 "SD_CARD_DET_N", 626 "SD_CARD_DET_N", 510 "[WCSS_BT_SSBI]", 627 "[WCSS_BT_SSBI]", 511 "[WCSS_WLAN_DATA_2]", /* GPIO 628 "[WCSS_WLAN_DATA_2]", /* GPIO 40 */ 512 "[WCSS_WLAN_DATA_1]", 629 "[WCSS_WLAN_DATA_1]", 513 "[WCSS_WLAN_DATA_0]", 630 "[WCSS_WLAN_DATA_0]", 514 "[WCSS_WLAN_SET]", 631 "[WCSS_WLAN_SET]", 515 "[WCSS_WLAN_CLK]", 632 "[WCSS_WLAN_CLK]", 516 "[WCSS_FM_SSBI]", 633 "[WCSS_FM_SSBI]", 517 "[WCSS_FM_SDI]", 634 "[WCSS_FM_SDI]", 518 "[WCSS_BT_DAT_CTL]", 635 "[WCSS_BT_DAT_CTL]", 519 "[WCSS_BT_DAT_STB]", 636 "[WCSS_BT_DAT_STB]", 520 "NC", 637 "NC", 521 "NC", /* GPIO 50 */ 638 "NC", /* GPIO 50 */ 522 "NC", 639 "NC", 523 "NC", 640 "NC", 524 "NC", 641 "NC", 525 "NC", 642 "NC", 526 "NC", 643 "NC", 527 "NC", 644 "NC", 528 "NC", 645 "NC", 529 "NC", 646 "NC", 530 "NC", 647 "NC", 531 "NC", /* GPIO 60 */ 648 "NC", /* GPIO 60 */ 532 "NC", 649 "NC", 533 "NC", 650 "NC", 534 "[CDC_PDM0_CLK]", 651 "[CDC_PDM0_CLK]", 535 "[CDC_PDM0_SYNC]", 652 "[CDC_PDM0_SYNC]", 536 "[CDC_PDM0_TX0]", 653 "[CDC_PDM0_TX0]", 537 "[CDC_PDM0_RX0]", 654 "[CDC_PDM0_RX0]", 538 "[CDC_PDM0_RX1]", 655 "[CDC_PDM0_RX1]", 539 "[CDC_PDM0_RX2]", 656 "[CDC_PDM0_RX2]", 540 "GPIO-D", /* LS_EXP_GPIO_D, LS 657 "GPIO-D", /* LS_EXP_GPIO_D, LSEC pin 26 */ 541 "NC", /* GPIO 70 */ 658 "NC", /* GPIO 70 */ 542 "NC", 659 "NC", 543 "NC", 660 "NC", 544 "NC", 661 "NC", 545 "NC", /* GPIO 74 */ 662 "NC", /* GPIO 74 */ 546 "NC", 663 "NC", 547 "NC", 664 "NC", 548 "NC", 665 "NC", 549 "NC", 666 "NC", 550 "NC", 667 "NC", 551 "BOOT_CONFIG_0", /* GPIO 80 */ 668 "BOOT_CONFIG_0", /* GPIO 80 */ 552 "BOOT_CONFIG_1", 669 "BOOT_CONFIG_1", 553 "BOOT_CONFIG_2", 670 "BOOT_CONFIG_2", 554 "BOOT_CONFIG_3", 671 "BOOT_CONFIG_3", 555 "NC", 672 "NC", 556 "NC", 673 "NC", 557 "BOOT_CONFIG_5", 674 "BOOT_CONFIG_5", 558 "NC", 675 "NC", 559 "NC", 676 "NC", 560 "NC", 677 "NC", 561 "NC", /* GPIO 90 */ 678 "NC", /* GPIO 90 */ 562 "NC", 679 "NC", 563 "NC", 680 "NC", 564 "NC", 681 "NC", 565 "NC", 682 "NC", 566 "NC", 683 "NC", 567 "NC", 684 "NC", 568 "NC", 685 "NC", 569 "NC", 686 "NC", 570 "NC", 687 "NC", 571 "NC", /* GPIO 100 */ 688 "NC", /* GPIO 100 */ 572 "NC", 689 "NC", 573 "NC", 690 "NC", 574 "NC", 691 "NC", 575 "SSBI_GPS", 692 "SSBI_GPS", 576 "NC", 693 "NC", 577 "NC", 694 "NC", 578 "KEY_VOLP_N", 695 "KEY_VOLP_N", 579 "NC", 696 "NC", 580 "NC", 697 "NC", 581 "[LS_EXP_MI2S_WS]", /* GPIO 11 698 "[LS_EXP_MI2S_WS]", /* GPIO 110 */ 582 "NC", 699 "NC", 583 "NC", 700 "NC", 584 "[LS_EXP_MI2S_SCK]", 701 "[LS_EXP_MI2S_SCK]", 585 "[LS_EXP_MI2S_DATA0]", 702 "[LS_EXP_MI2S_DATA0]", 586 "GPIO-E", /* LS_EXP_GPIO_E, LS 703 "GPIO-E", /* LS_EXP_GPIO_E, LSEC pin 27 */ 587 "NC", 704 "NC", 588 "[DSI2HDMI_MI2S_WS]", 705 "[DSI2HDMI_MI2S_WS]", 589 "[DSI2HDMI_MI2S_SCK]", 706 "[DSI2HDMI_MI2S_SCK]", 590 "[DSI2HDMI_MI2S_DATA0]", 707 "[DSI2HDMI_MI2S_DATA0]", 591 "USR_LED_2_CTRL", /* GPIO 120 708 "USR_LED_2_CTRL", /* GPIO 120 */ 592 "SB_HS_ID"; 709 "SB_HS_ID"; 593 710 594 sdc2_cd_default: sdc2-cd-default-state !! 711 msmgpio_leds: msmgpio-leds { 595 pins = "gpio38"; << 596 function = "gpio"; << 597 drive-strength = <2>; << 598 bias-disable; << 599 }; << 600 << 601 tlmm_leds: tlmm-leds-state { << 602 pins = "gpio21", "gpio120"; 712 pins = "gpio21", "gpio120"; 603 function = "gpio"; 713 function = "gpio"; 604 714 605 output-low; 715 output-low; 606 }; 716 }; 607 717 608 usb_id_default: usb-id-default-state { !! 718 usb_id_default: usb-id-default { 609 pins = "gpio121"; 719 pins = "gpio121"; 610 function = "gpio"; 720 function = "gpio"; 611 721 612 drive-strength = <8>; 722 drive-strength = <8>; >> 723 input-enable; 613 bias-pull-up; 724 bias-pull-up; 614 }; 725 }; 615 726 616 adv7533_int_active: adv533-int-active- !! 727 adv7533_int_active: adv533-int-active { 617 pins = "gpio31"; 728 pins = "gpio31"; 618 function = "gpio"; 729 function = "gpio"; 619 730 620 drive-strength = <16>; 731 drive-strength = <16>; 621 bias-disable; 732 bias-disable; 622 }; 733 }; 623 734 624 adv7533_int_suspend: adv7533-int-suspe !! 735 adv7533_int_suspend: adv7533-int-suspend { 625 pins = "gpio31"; 736 pins = "gpio31"; 626 function = "gpio"; 737 function = "gpio"; 627 738 628 drive-strength = <2>; 739 drive-strength = <2>; 629 bias-disable; 740 bias-disable; 630 }; 741 }; 631 742 632 adv7533_switch_active: adv7533-switch- !! 743 adv7533_switch_active: adv7533-switch-active { 633 pins = "gpio32"; 744 pins = "gpio32"; 634 function = "gpio"; 745 function = "gpio"; 635 746 636 drive-strength = <16>; 747 drive-strength = <16>; 637 bias-disable; 748 bias-disable; 638 }; 749 }; 639 750 640 adv7533_switch_suspend: adv7533-switch !! 751 adv7533_switch_suspend: adv7533-switch-suspend { 641 pins = "gpio32"; 752 pins = "gpio32"; 642 function = "gpio"; 753 function = "gpio"; 643 754 644 drive-strength = <2>; 755 drive-strength = <2>; 645 bias-disable; 756 bias-disable; 646 }; 757 }; 647 758 648 msm_key_volp_n_default: msm-key-volp-n !! 759 msm_key_volp_n_default: msm-key-volp-n-default { 649 pins = "gpio107"; 760 pins = "gpio107"; 650 function = "gpio"; 761 function = "gpio"; 651 762 652 drive-strength = <8>; 763 drive-strength = <8>; >> 764 input-enable; 653 bias-pull-up; 765 bias-pull-up; 654 }; 766 }; 655 }; 767 }; 656 768 657 &pm8916_gpios { 769 &pm8916_gpios { 658 gpio-line-names = 770 gpio-line-names = 659 "USR_LED_3_CTRL", 771 "USR_LED_3_CTRL", 660 "USR_LED_4_CTRL", 772 "USR_LED_4_CTRL", 661 "USB_HUB_RESET_N_PM", 773 "USB_HUB_RESET_N_PM", 662 "USB_SW_SEL_PM"; 774 "USB_SW_SEL_PM"; 663 775 664 usb_hub_reset_pm: usb-hub-reset-pm-sta !! 776 usb_hub_reset_pm: usb-hub-reset-pm { 665 pins = "gpio3"; 777 pins = "gpio3"; 666 function = PMIC_GPIO_FUNC_NORM 778 function = PMIC_GPIO_FUNC_NORMAL; 667 779 668 input-disable; 780 input-disable; 669 output-high; 781 output-high; 670 }; 782 }; 671 783 672 usb_hub_reset_pm_device: usb-hub-reset !! 784 usb_hub_reset_pm_device: usb-hub-reset-pm-device { 673 pins = "gpio3"; 785 pins = "gpio3"; 674 function = PMIC_GPIO_FUNC_NORM 786 function = PMIC_GPIO_FUNC_NORMAL; 675 787 676 output-low; 788 output-low; 677 }; 789 }; 678 790 679 usb_sw_sel_pm: usb-sw-sel-pm-state { !! 791 usb_sw_sel_pm: usb-sw-sel-pm { 680 pins = "gpio4"; 792 pins = "gpio4"; 681 function = PMIC_GPIO_FUNC_NORM 793 function = PMIC_GPIO_FUNC_NORMAL; 682 794 683 power-source = <PM8916_GPIO_VP 795 power-source = <PM8916_GPIO_VPH>; 684 input-disable; 796 input-disable; 685 output-high; 797 output-high; 686 }; 798 }; 687 799 688 usb_sw_sel_pm_device: usb-sw-sel-pm-de !! 800 usb_sw_sel_pm_device: usb-sw-sel-pm-device { 689 pins = "gpio4"; 801 pins = "gpio4"; 690 function = PMIC_GPIO_FUNC_NORM 802 function = PMIC_GPIO_FUNC_NORMAL; 691 803 692 power-source = <PM8916_GPIO_VP 804 power-source = <PM8916_GPIO_VPH>; 693 input-disable; 805 input-disable; 694 output-low; 806 output-low; 695 }; 807 }; 696 808 697 pm8916_gpios_leds: pm8916-gpios-leds-s !! 809 pm8916_gpios_leds: pm8916-gpios-leds { 698 pins = "gpio1", "gpio2"; 810 pins = "gpio1", "gpio2"; 699 function = PMIC_GPIO_FUNC_NORM 811 function = PMIC_GPIO_FUNC_NORMAL; 700 812 701 output-low; 813 output-low; 702 }; 814 }; 703 }; 815 }; 704 816 705 &pm8916_mpps { 817 &pm8916_mpps { 706 gpio-line-names = 818 gpio-line-names = 707 "VDD_PX_BIAS", 819 "VDD_PX_BIAS", 708 "WLAN_LED_CTRL", 820 "WLAN_LED_CTRL", 709 "BT_LED_CTRL", 821 "BT_LED_CTRL", 710 "GPIO-F"; /* LS_EXP_GPIO_F, LS 822 "GPIO-F"; /* LS_EXP_GPIO_F, LSEC pin 28 */ 711 823 712 pinctrl-names = "default"; 824 pinctrl-names = "default"; 713 pinctrl-0 = <&ls_exp_gpio_f>; 825 pinctrl-0 = <&ls_exp_gpio_f>; 714 826 715 ls_exp_gpio_f: pm8916-mpp4-state { 827 ls_exp_gpio_f: pm8916-mpp4-state { 716 pins = "mpp4"; 828 pins = "mpp4"; 717 function = "digital"; 829 function = "digital"; 718 830 719 output-low; 831 output-low; 720 power-source = <PM8916_MPP_L5> !! 832 power-source = <PM8916_MPP_L5>; // 1.8V 721 }; 833 }; 722 834 723 pm8916_mpps_leds: pm8916-mpps-state { 835 pm8916_mpps_leds: pm8916-mpps-state { 724 pins = "mpp2", "mpp3"; 836 pins = "mpp2", "mpp3"; 725 function = "digital"; 837 function = "digital"; 726 838 727 output-low; 839 output-low; 728 }; 840 }; 729 }; 841 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.