1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 2 /* 3 * Copyright (c) 2014-2016, The Linux Foundati 3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include "msm8996.dtsi" 8 #include "msm8996.dtsi" 9 #include "pm8994.dtsi" 9 #include "pm8994.dtsi" 10 #include "pmi8994.dtsi" 10 #include "pmi8994.dtsi" 11 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/leds/common.h> << 14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h 13 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 #include <dt-bindings/sound/qcom,q6afe.h> 14 #include <dt-bindings/sound/qcom,q6afe.h> 16 #include <dt-bindings/sound/qcom,q6asm.h> 15 #include <dt-bindings/sound/qcom,q6asm.h> 17 #include <dt-bindings/sound/qcom,wcd9335.h> << 18 16 19 /* 17 /* 20 * GPIO name legend: proper name = the GPIO li 18 * GPIO name legend: proper name = the GPIO line is used as GPIO 21 * NC = not connected (pin out bu 19 * NC = not connected (pin out but not routed from the chip to 22 * anything the board) 20 * anything the board) 23 * "[PER]" = pin is muxed for [periphe 21 * "[PER]" = pin is muxed for [peripheral] (not GPIO) 24 * LSEC = Low Speed External Connec 22 * LSEC = Low Speed External Connector 25 * P HSEC = Primary High Speed Extern 23 * P HSEC = Primary High Speed External Connector 26 * S HSEC = Secondary High Speed Exte 24 * S HSEC = Secondary High Speed External Connector 27 * J14 = Camera Connector 25 * J14 = Camera Connector 28 * TP = Test Points 26 * TP = Test Points 29 * 27 * 30 * Line names are taken from the schematic "Dr 28 * Line names are taken from the schematic "DragonBoard 820c", 31 * drawing no: LM25-P2751-1 29 * drawing no: LM25-P2751-1 32 * 30 * 33 * For the lines routed to the external connec 31 * For the lines routed to the external connectors the 34 * lines are named after the 96Boards CE Speci 32 * lines are named after the 96Boards CE Specification 1.0, 35 * Appendix "Expansion Connector Signal Descri 33 * Appendix "Expansion Connector Signal Description". 36 * 34 * 37 * When the 96Board naming of a line and the s 35 * When the 96Board naming of a line and the schematic name of 38 * the same line are in conflict, the 96Board 36 * the same line are in conflict, the 96Board specification 39 * takes precedence, which means that the exte 37 * takes precedence, which means that the external UART on the 40 * LSEC is named UART0 while the schematic and 38 * LSEC is named UART0 while the schematic and SoC names this 41 * UART3. This is only for the informational l 39 * UART3. This is only for the informational lines i.e. "[FOO]", 42 * the GPIO named lines "GPIO-A" thru "GPIO-L" 40 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only 43 * ones actually used for GPIO. 41 * ones actually used for GPIO. 44 */ 42 */ 45 43 46 / { 44 / { 47 model = "Qualcomm Technologies, Inc. D 45 model = "Qualcomm Technologies, Inc. DB820c"; 48 compatible = "arrow,apq8096-db820c", " 46 compatible = "arrow,apq8096-db820c", "qcom,apq8096-sbc", "qcom,apq8096"; 49 47 50 aliases { 48 aliases { 51 serial0 = &blsp2_uart2; 49 serial0 = &blsp2_uart2; 52 serial1 = &blsp2_uart3; 50 serial1 = &blsp2_uart3; 53 serial2 = &blsp1_uart2; 51 serial2 = &blsp1_uart2; 54 i2c0 = &blsp1_i2c3; !! 52 i2c0 = &blsp1_i2c3; 55 i2c1 = &blsp2_i2c1; !! 53 i2c1 = &blsp2_i2c1; 56 i2c2 = &blsp2_i2c1; !! 54 i2c2 = &blsp2_i2c1; 57 spi0 = &blsp1_spi1; !! 55 spi0 = &blsp1_spi1; 58 spi1 = &blsp2_spi6; !! 56 spi1 = &blsp2_spi6; 59 }; 57 }; 60 58 61 chosen { 59 chosen { 62 stdout-path = "serial0:115200n 60 stdout-path = "serial0:115200n8"; 63 }; 61 }; 64 62 65 div1_mclk: divclk1 { !! 63 clocks { 66 compatible = "gpio-gate-clock" !! 64 compatible = "simple-bus"; 67 pinctrl-0 = <&audio_mclk>; !! 65 divclk4: divclk4 { 68 pinctrl-names = "default"; !! 66 compatible = "fixed-clock"; 69 clocks = <&rpmcc RPM_SMD_DIV_C !! 67 #clock-cells = <0>; 70 #clock-cells = <0>; !! 68 clock-frequency = <32768>; 71 enable-gpios = <&pm8994_gpios !! 69 clock-output-names = "divclk4"; 72 }; << 73 70 74 divclk4: divclk4 { !! 71 pinctrl-names = "default"; 75 compatible = "fixed-clock"; !! 72 pinctrl-0 = <&divclk4_pin_a>; 76 #clock-cells = <0>; !! 73 }; 77 clock-frequency = <32768>; << 78 clock-output-names = "divclk4" << 79 74 80 pinctrl-names = "default"; !! 75 div1_mclk: divclk1 { 81 pinctrl-0 = <&divclk4_pin_a>; !! 76 compatible = "gpio-gate-clock"; >> 77 pinctrl-0 = <&audio_mclk>; >> 78 pinctrl-names = "default"; >> 79 clocks = <&rpmcc RPM_SMD_DIV_CLK1>; >> 80 #clock-cells = <0>; >> 81 enable-gpios = <&pm8994_gpios 15 0>; >> 82 }; 82 }; 83 }; 83 84 84 gpio-keys { !! 85 gpio_keys { 85 compatible = "gpio-keys"; 86 compatible = "gpio-keys"; >> 87 #address-cells = <1>; >> 88 #size-cells = <0>; 86 autorepeat; 89 autorepeat; 87 90 88 pinctrl-names = "default"; 91 pinctrl-names = "default"; 89 pinctrl-0 = <&volume_up_gpio>; 92 pinctrl-0 = <&volume_up_gpio>; 90 93 91 button { !! 94 button@0 { 92 label = "Volume Up"; 95 label = "Volume Up"; 93 linux,code = <KEY_VOLU 96 linux,code = <KEY_VOLUMEUP>; 94 gpios = <&pm8994_gpios 97 gpios = <&pm8994_gpios 2 GPIO_ACTIVE_LOW>; 95 }; 98 }; 96 }; 99 }; 97 100 98 usb2_id: usb2-id { 101 usb2_id: usb2-id { 99 compatible = "linux,extcon-usb 102 compatible = "linux,extcon-usb-gpio"; 100 id-gpios = <&pmi8994_gpios 6 G !! 103 id-gpio = <&pmi8994_gpios 6 GPIO_ACTIVE_HIGH>; 101 pinctrl-names = "default"; 104 pinctrl-names = "default"; 102 pinctrl-0 = <&usb2_vbus_det_gp 105 pinctrl-0 = <&usb2_vbus_det_gpio>; 103 }; 106 }; 104 107 105 usb3_id: usb3-id { 108 usb3_id: usb3-id { 106 compatible = "linux,extcon-usb 109 compatible = "linux,extcon-usb-gpio"; 107 id-gpios = <&pm8994_gpios 22 G !! 110 id-gpio = <&pm8994_gpios 22 GPIO_ACTIVE_HIGH>; 108 pinctrl-names = "default"; 111 pinctrl-names = "default"; 109 pinctrl-0 = <&usb3_vbus_det_gp 112 pinctrl-0 = <&usb3_vbus_det_gpio>; 110 }; 113 }; 111 114 112 vph_pwr: vph-pwr-regulator { 115 vph_pwr: vph-pwr-regulator { 113 compatible = "regulator-fixed" 116 compatible = "regulator-fixed"; 114 regulator-name = "vph_pwr"; 117 regulator-name = "vph_pwr"; 115 regulator-always-on; 118 regulator-always-on; 116 regulator-boot-on; 119 regulator-boot-on; 117 120 118 regulator-min-microvolt = <370 121 regulator-min-microvolt = <3700000>; 119 regulator-max-microvolt = <370 122 regulator-max-microvolt = <3700000>; 120 }; 123 }; 121 124 122 wlan_en: wlan-en-1-8v { 125 wlan_en: wlan-en-1-8v { 123 pinctrl-names = "default"; 126 pinctrl-names = "default"; 124 pinctrl-0 = <&wlan_en_gpios>; 127 pinctrl-0 = <&wlan_en_gpios>; 125 compatible = "regulator-fixed" 128 compatible = "regulator-fixed"; 126 regulator-name = "wlan-en-regu 129 regulator-name = "wlan-en-regulator"; 127 regulator-min-microvolt = <180 130 regulator-min-microvolt = <1800000>; 128 regulator-max-microvolt = <180 131 regulator-max-microvolt = <1800000>; 129 132 130 gpio = <&pm8994_gpios 8 0>; 133 gpio = <&pm8994_gpios 8 0>; 131 134 132 /* WLAN card specific delay */ 135 /* WLAN card specific delay */ 133 startup-delay-us = <70000>; 136 startup-delay-us = <70000>; 134 enable-active-high; 137 enable-active-high; 135 }; 138 }; 136 }; 139 }; 137 140 138 &blsp1_i2c3 { 141 &blsp1_i2c3 { 139 /* On Low speed expansion: LS-I2C0 */ !! 142 /* On Low speed expansion */ >> 143 label = "LS-I2C0"; 140 status = "okay"; 144 status = "okay"; 141 }; 145 }; 142 146 143 &blsp1_spi1 { 147 &blsp1_spi1 { 144 /* On Low speed expansion */ 148 /* On Low speed expansion */ >> 149 label = "LS-SPI0"; 145 status = "okay"; 150 status = "okay"; 146 }; 151 }; 147 152 148 &blsp1_uart2 { 153 &blsp1_uart2 { 149 label = "BT-UART"; 154 label = "BT-UART"; 150 status = "okay"; 155 status = "okay"; 151 156 152 bluetooth { 157 bluetooth { 153 compatible = "qcom,qca6174-bt" 158 compatible = "qcom,qca6174-bt"; 154 159 155 /* bt_disable_n gpio */ 160 /* bt_disable_n gpio */ 156 enable-gpios = <&pm8994_gpios 161 enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>; 157 162 158 clocks = <&divclk4>; 163 clocks = <&divclk4>; 159 }; 164 }; 160 }; 165 }; 161 166 162 &adsp_pil { 167 &adsp_pil { 163 status = "okay"; 168 status = "okay"; 164 firmware-name = "qcom/apq8096/adsp.mbn << 165 }; 169 }; 166 170 167 &blsp2_i2c1 { 171 &blsp2_i2c1 { 168 /* On High speed expansion: HS-I2C2 */ !! 172 /* On High speed expansion */ >> 173 label = "HS-I2C2"; 169 status = "okay"; 174 status = "okay"; 170 }; 175 }; 171 176 172 &blsp2_i2c1 { 177 &blsp2_i2c1 { 173 /* On Low speed expansion: LS-I2C1 */ !! 178 /* On Low speed expansion */ >> 179 label = "LS-I2C1"; 174 status = "okay"; 180 status = "okay"; 175 }; 181 }; 176 182 177 &blsp2_spi6 { 183 &blsp2_spi6 { 178 /* On High speed expansion */ 184 /* On High speed expansion */ >> 185 label = "HS-SPI1"; 179 status = "okay"; 186 status = "okay"; 180 }; 187 }; 181 188 182 &blsp2_uart2 { 189 &blsp2_uart2 { 183 label = "LS-UART1"; 190 label = "LS-UART1"; 184 status = "okay"; 191 status = "okay"; 185 pinctrl-names = "default", "sleep"; 192 pinctrl-names = "default", "sleep"; 186 pinctrl-0 = <&blsp2_uart2_2pins_defaul 193 pinctrl-0 = <&blsp2_uart2_2pins_default>; 187 pinctrl-1 = <&blsp2_uart2_2pins_sleep> 194 pinctrl-1 = <&blsp2_uart2_2pins_sleep>; 188 }; 195 }; 189 196 190 &blsp2_uart3 { 197 &blsp2_uart3 { 191 label = "LS-UART0"; 198 label = "LS-UART0"; 192 status = "disabled"; 199 status = "disabled"; 193 pinctrl-names = "default", "sleep"; 200 pinctrl-names = "default", "sleep"; 194 pinctrl-0 = <&blsp2_uart3_4pins_defaul 201 pinctrl-0 = <&blsp2_uart3_4pins_default>; 195 pinctrl-1 = <&blsp2_uart3_4pins_sleep> 202 pinctrl-1 = <&blsp2_uart3_4pins_sleep>; 196 }; 203 }; 197 204 198 &camss { 205 &camss { 199 vdda-supply = <&vreg_l2a_1p25>; 206 vdda-supply = <&vreg_l2a_1p25>; 200 }; 207 }; 201 208 202 &gpu { 209 &gpu { 203 status = "okay"; 210 status = "okay"; 204 }; 211 }; 205 212 >> 213 &hdmi { >> 214 status = "okay"; >> 215 >> 216 pinctrl-names = "default", "sleep"; >> 217 pinctrl-0 = <&hdmi_hpd_active &hdmi_ddc_active>; >> 218 pinctrl-1 = <&hdmi_hpd_suspend &hdmi_ddc_suspend>; >> 219 >> 220 core-vdda-supply = <&vreg_l12a_1p8>; >> 221 core-vcc-supply = <&vreg_s4a_1p8>; >> 222 }; >> 223 >> 224 &hdmi_phy { >> 225 status = "okay"; >> 226 >> 227 vddio-supply = <&vreg_l12a_1p8>; >> 228 vcca-supply = <&vreg_l28a_0p925>; >> 229 #phy-cells = <0>; >> 230 }; >> 231 206 &hsusb_phy1 { 232 &hsusb_phy1 { 207 status = "okay"; 233 status = "okay"; 208 234 209 vdd-supply = <&vreg_l28a_0p925>; << 210 vdda-pll-supply = <&vreg_l12a_1p8>; 235 vdda-pll-supply = <&vreg_l12a_1p8>; 211 vdda-phy-dpdm-supply = <&vreg_l24a_3p0 236 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>; 212 }; 237 }; 213 238 214 &hsusb_phy2 { 239 &hsusb_phy2 { 215 status = "okay"; 240 status = "okay"; 216 241 217 vdd-supply = <&vreg_l28a_0p925>; << 218 vdda-pll-supply = <&vreg_l12a_1p8>; 242 vdda-pll-supply = <&vreg_l12a_1p8>; 219 vdda-phy-dpdm-supply = <&vreg_l24a_3p0 243 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>; 220 }; 244 }; 221 245 222 &mdp { 246 &mdp { 223 status = "okay"; 247 status = "okay"; 224 }; 248 }; 225 249 226 &mdss { 250 &mdss { 227 status = "okay"; 251 status = "okay"; 228 }; 252 }; 229 253 230 &mdss_hdmi { << 231 status = "okay"; << 232 << 233 pinctrl-names = "default", "sleep"; << 234 pinctrl-0 = <&hdmi_hpd_active &hdmi_dd << 235 pinctrl-1 = <&hdmi_hpd_suspend &hdmi_d << 236 << 237 core-vdda-supply = <&vreg_l12a_1p8>; << 238 core-vcc-supply = <&vreg_s4a_1p8>; << 239 }; << 240 << 241 &mdss_hdmi_phy { << 242 status = "okay"; << 243 << 244 vddio-supply = <&vreg_l12a_1p8>; << 245 vcca-supply = <&vreg_l28a_0p925>; << 246 #phy-cells = <0>; << 247 }; << 248 << 249 &mmcc { 254 &mmcc { 250 vdd-gfx-supply = <&vdd_gfx>; 255 vdd-gfx-supply = <&vdd_gfx>; 251 }; 256 }; 252 257 253 &mss_pil { << 254 status = "okay"; << 255 pll-supply = <&vreg_l12a_1p8>; << 256 firmware-name = "qcom/apq8096/mba.mbn" << 257 }; << 258 << 259 &pm8994_resin { 258 &pm8994_resin { 260 status = "okay"; 259 status = "okay"; 261 linux,code = <KEY_VOLUMEDOWN>; 260 linux,code = <KEY_VOLUMEDOWN>; 262 }; 261 }; 263 262 264 &tlmm { 263 &tlmm { 265 gpio-line-names = 264 gpio-line-names = 266 "[SPI0_DOUT]", /* GPIO_0, BLSP 265 "[SPI0_DOUT]", /* GPIO_0, BLSP1_SPI_MOSI, LSEC pin 14 */ 267 "[SPI0_DIN]", /* GPIO_1, BLSP1 266 "[SPI0_DIN]", /* GPIO_1, BLSP1_SPI_MISO, LSEC pin 10 */ 268 "[SPI0_CS]", /* GPIO_2, BLSP1_ 267 "[SPI0_CS]", /* GPIO_2, BLSP1_SPI_CS_N, LSEC pin 12 */ 269 "[SPI0_SCLK]", /* GPIO_3, BLSP 268 "[SPI0_SCLK]", /* GPIO_3, BLSP1_SPI_CLK, LSEC pin 8 */ 270 "[UART1_TxD]", /* GPIO_4, BLSP 269 "[UART1_TxD]", /* GPIO_4, BLSP8_UART_TX, LSEC pin 11 */ 271 "[UART1_RxD]", /* GPIO_5, BLSP 270 "[UART1_RxD]", /* GPIO_5, BLSP8_UART_RX, LSEC pin 13 */ 272 "[I2C1_SDA]", /* GPIO_6, BLSP8 271 "[I2C1_SDA]", /* GPIO_6, BLSP8_I2C_SDA, LSEC pin 21 */ 273 "[I2C1_SCL]", /* GPIO_7, BLSP8 272 "[I2C1_SCL]", /* GPIO_7, BLSP8_I2C_SCL, LSEC pin 19 */ 274 "GPIO-H", /* GPIO_8, LCD0_RESE 273 "GPIO-H", /* GPIO_8, LCD0_RESET_N, LSEC pin 30 */ 275 "TP93", /* GPIO_9 */ 274 "TP93", /* GPIO_9 */ 276 "GPIO-G", /* GPIO_10, MDP_VSYN 275 "GPIO-G", /* GPIO_10, MDP_VSYNC_P, LSEC pin 29 */ 277 "[MDP_VSYNC_S]", /* GPIO_11, S 276 "[MDP_VSYNC_S]", /* GPIO_11, S HSEC pin 55 */ 278 "NC", /* GPIO_12 */ 277 "NC", /* GPIO_12 */ 279 "[CSI0_MCLK]", /* GPIO_13, CAM 278 "[CSI0_MCLK]", /* GPIO_13, CAM_MCLK0, P HSEC pin 15 */ 280 "[CAM_MCLK1]", /* GPIO_14, J14 279 "[CAM_MCLK1]", /* GPIO_14, J14 pin 11 */ 281 "[CSI1_MCLK]", /* GPIO_15, CAM 280 "[CSI1_MCLK]", /* GPIO_15, CAM_MCLK2, P HSEC pin 17 */ 282 "TP99", /* GPIO_16 */ 281 "TP99", /* GPIO_16 */ 283 "[I2C2_SDA]", /* GPIO_17, CCI_ 282 "[I2C2_SDA]", /* GPIO_17, CCI_I2C_SDA0, P HSEC pin 34 */ 284 "[I2C2_SCL]", /* GPIO_18, CCI_ 283 "[I2C2_SCL]", /* GPIO_18, CCI_I2C_SCL0, P HSEC pin 32 */ 285 "[CCI_I2C_SDA1]", /* GPIO_19, 284 "[CCI_I2C_SDA1]", /* GPIO_19, S HSEC pin 38 */ 286 "[CCI_I2C_SCL1]", /* GPIO_20, 285 "[CCI_I2C_SCL1]", /* GPIO_20, S HSEC pin 36 */ 287 "FLASH_STROBE_EN", /* GPIO_21, 286 "FLASH_STROBE_EN", /* GPIO_21, S HSEC pin 5 */ 288 "FLASH_STROBE_TRIG", /* GPIO_2 287 "FLASH_STROBE_TRIG", /* GPIO_22, S HSEC pin 1 */ 289 "GPIO-K", /* GPIO_23, CAM2_RST 288 "GPIO-K", /* GPIO_23, CAM2_RST_N, LSEC pin 33 */ 290 "GPIO-D", /* GPIO_24, LSEC pin 289 "GPIO-D", /* GPIO_24, LSEC pin 26 */ 291 "GPIO-I", /* GPIO_25, CAM0_RST 290 "GPIO-I", /* GPIO_25, CAM0_RST_N, LSEC pin 31 */ 292 "GPIO-J", /* GPIO_26, CAM0_STA 291 "GPIO-J", /* GPIO_26, CAM0_STANDBY_N, LSEC pin 32 */ 293 "BLSP6_I2C_SDA", /* GPIO_27 */ 292 "BLSP6_I2C_SDA", /* GPIO_27 */ 294 "BLSP6_I2C_SCL", /* GPIO_28 */ 293 "BLSP6_I2C_SCL", /* GPIO_28 */ 295 "GPIO-B", /* GPIO_29, TS0_RESE 294 "GPIO-B", /* GPIO_29, TS0_RESET_N, LSEC pin 24 */ 296 "GPIO30", /* GPIO_30, S HSEC p 295 "GPIO30", /* GPIO_30, S HSEC pin 4 */ 297 "HDMI_CEC", /* GPIO_31 */ 296 "HDMI_CEC", /* GPIO_31 */ 298 "HDMI_DDC_CLOCK", /* GPIO_32 * 297 "HDMI_DDC_CLOCK", /* GPIO_32 */ 299 "HDMI_DDC_DATA", /* GPIO_33 */ 298 "HDMI_DDC_DATA", /* GPIO_33 */ 300 "HDMI_HOT_PLUG_DETECT", /* GPI 299 "HDMI_HOT_PLUG_DETECT", /* GPIO_34 */ 301 "PCIE0_RST_N", /* GPIO_35 */ 300 "PCIE0_RST_N", /* GPIO_35 */ 302 "PCIE0_CLKREQ_N", /* GPIO_36 * 301 "PCIE0_CLKREQ_N", /* GPIO_36 */ 303 "PCIE0_WAKE", /* GPIO_37 */ 302 "PCIE0_WAKE", /* GPIO_37 */ 304 "SD_CARD_DET_N", /* GPIO_38 */ 303 "SD_CARD_DET_N", /* GPIO_38 */ 305 "TSIF1_SYNC", /* GPIO_39, S HS 304 "TSIF1_SYNC", /* GPIO_39, S HSEC pin 48 */ 306 "W_DISABLE_N", /* GPIO_40 */ 305 "W_DISABLE_N", /* GPIO_40 */ 307 "[BLSP9_UART_TX]", /* GPIO_41 306 "[BLSP9_UART_TX]", /* GPIO_41 */ 308 "[BLSP9_UART_RX]", /* GPIO_42 307 "[BLSP9_UART_RX]", /* GPIO_42 */ 309 "[BLSP2_UART_CTS_N]", /* GPIO_ 308 "[BLSP2_UART_CTS_N]", /* GPIO_43 */ 310 "[BLSP2_UART_RFR_N]", /* GPIO_ 309 "[BLSP2_UART_RFR_N]", /* GPIO_44 */ 311 "[BLSP3_UART_TX]", /* GPIO_45 310 "[BLSP3_UART_TX]", /* GPIO_45 */ 312 "[BLSP3_UART_RX]", /* GPIO_46 311 "[BLSP3_UART_RX]", /* GPIO_46 */ 313 "[I2C0_SDA]", /* GPIO_47, LS_I 312 "[I2C0_SDA]", /* GPIO_47, LS_I2C0_SDA, LSEC pin 17 */ 314 "[I2C0_SCL]", /* GPIO_48, LS_I 313 "[I2C0_SCL]", /* GPIO_48, LS_I2C0_SCL, LSEC pin 15 */ 315 "[UART0_TxD]", /* GPIO_49, BLS 314 "[UART0_TxD]", /* GPIO_49, BLSP9_UART_TX, LSEC pin 5 */ 316 "[UART0_RxD]", /* GPIO_50, BLS 315 "[UART0_RxD]", /* GPIO_50, BLSP9_UART_RX, LSEC pin 7 */ 317 "[UART0_CTS]", /* GPIO_51, BLS 316 "[UART0_CTS]", /* GPIO_51, BLSP9_UART_CTS_N, LSEC pin 3 */ 318 "[UART0_RTS]", /* GPIO_52, BLS 317 "[UART0_RTS]", /* GPIO_52, BLSP9_UART_RFR_N, LSEC pin 9 */ 319 "[CODEC_INT1_N]", /* GPIO_53 * 318 "[CODEC_INT1_N]", /* GPIO_53 */ 320 "[CODEC_INT2_N]", /* GPIO_54 * 319 "[CODEC_INT2_N]", /* GPIO_54 */ 321 "[BLSP7_I2C_SDA]", /* GPIO_55 320 "[BLSP7_I2C_SDA]", /* GPIO_55 */ 322 "[BLSP7_I2C_SCL]", /* GPIO_56 321 "[BLSP7_I2C_SCL]", /* GPIO_56 */ 323 "MI2S_MCLK", /* GPIO_57, S HSE 322 "MI2S_MCLK", /* GPIO_57, S HSEC pin 3 */ 324 "[PCM_CLK]", /* GPIO_58, QUA_M 323 "[PCM_CLK]", /* GPIO_58, QUA_MI2S_SCK, LSEC pin 18 */ 325 "[PCM_FS]", /* GPIO_59, QUA_MI 324 "[PCM_FS]", /* GPIO_59, QUA_MI2S_WS, LSEC pin 16 */ 326 "[PCM_DO]", /* GPIO_60, QUA_MI 325 "[PCM_DO]", /* GPIO_60, QUA_MI2S_DATA0, LSEC pin 20 */ 327 "[PCM_DI]", /* GPIO_61, QUA_MI 326 "[PCM_DI]", /* GPIO_61, QUA_MI2S_DATA1, LSEC pin 22 */ 328 "GPIO-E", /* GPIO_62, LSEC pin 327 "GPIO-E", /* GPIO_62, LSEC pin 27 */ 329 "TP87", /* GPIO_63 */ 328 "TP87", /* GPIO_63 */ 330 "[CODEC_RST_N]", /* GPIO_64 */ 329 "[CODEC_RST_N]", /* GPIO_64 */ 331 "[PCM1_CLK]", /* GPIO_65 */ 330 "[PCM1_CLK]", /* GPIO_65 */ 332 "[PCM1_SYNC]", /* GPIO_66 */ 331 "[PCM1_SYNC]", /* GPIO_66 */ 333 "[PCM1_DIN]", /* GPIO_67 */ 332 "[PCM1_DIN]", /* GPIO_67 */ 334 "[PCM1_DOUT]", /* GPIO_68 */ 333 "[PCM1_DOUT]", /* GPIO_68 */ 335 "AUDIO_REF_CLK", /* GPIO_69 */ 334 "AUDIO_REF_CLK", /* GPIO_69 */ 336 "SLIMBUS_CLK", /* GPIO_70 */ 335 "SLIMBUS_CLK", /* GPIO_70 */ 337 "SLIMBUS_DATA0", /* GPIO_71 */ 336 "SLIMBUS_DATA0", /* GPIO_71 */ 338 "SLIMBUS_DATA1", /* GPIO_72 */ 337 "SLIMBUS_DATA1", /* GPIO_72 */ 339 "NC", /* GPIO_73 */ 338 "NC", /* GPIO_73 */ 340 "NC", /* GPIO_74 */ 339 "NC", /* GPIO_74 */ 341 "NC", /* GPIO_75 */ 340 "NC", /* GPIO_75 */ 342 "NC", /* GPIO_76 */ 341 "NC", /* GPIO_76 */ 343 "TP94", /* GPIO_77 */ 342 "TP94", /* GPIO_77 */ 344 "NC", /* GPIO_78 */ 343 "NC", /* GPIO_78 */ 345 "TP95", /* GPIO_79 */ 344 "TP95", /* GPIO_79 */ 346 "GPIO-A", /* GPIO_80, MEMS_RES 345 "GPIO-A", /* GPIO_80, MEMS_RESET_N, LSEC pin 23 */ 347 "TP88", /* GPIO_81 */ 346 "TP88", /* GPIO_81 */ 348 "TP89", /* GPIO_82 */ 347 "TP89", /* GPIO_82 */ 349 "TP90", /* GPIO_83 */ 348 "TP90", /* GPIO_83 */ 350 "TP91", /* GPIO_84 */ 349 "TP91", /* GPIO_84 */ 351 "[SD_DAT0]", /* GPIO_85, BLSP1 350 "[SD_DAT0]", /* GPIO_85, BLSP12_SPI_MOSI, P HSEC pin 1 */ 352 "[SD_CMD]", /* GPIO_86, BLSP12 351 "[SD_CMD]", /* GPIO_86, BLSP12_SPI_MISO, P HSEC pin 11 */ 353 "[SD_DAT3]", /* GPIO_87, BLSP1 352 "[SD_DAT3]", /* GPIO_87, BLSP12_SPI_CS_N, P HSEC pin 7 */ 354 "[SD_SCLK]", /* GPIO_88, BLSP1 353 "[SD_SCLK]", /* GPIO_88, BLSP12_SPI_CLK, P HSEC pin 9 */ 355 "TSIF1_CLK", /* GPIO_89, S HSE 354 "TSIF1_CLK", /* GPIO_89, S HSEC pin 42 */ 356 "TSIF1_EN", /* GPIO_90, S HSEC 355 "TSIF1_EN", /* GPIO_90, S HSEC pin 46 */ 357 "TSIF1_DATA", /* GPIO_91, S HS 356 "TSIF1_DATA", /* GPIO_91, S HSEC pin 44 */ 358 "NC", /* GPIO_92 */ 357 "NC", /* GPIO_92 */ 359 "TSIF2_CLK", /* GPIO_93, S HSE 358 "TSIF2_CLK", /* GPIO_93, S HSEC pin 52 */ 360 "TSIF2_EN", /* GPIO_94, S HSEC 359 "TSIF2_EN", /* GPIO_94, S HSEC pin 56 */ 361 "TSIF2_DATA", /* GPIO_95, S HS 360 "TSIF2_DATA", /* GPIO_95, S HSEC pin 54 */ 362 "TSIF2_SYNC", /* GPIO_96, S HS 361 "TSIF2_SYNC", /* GPIO_96, S HSEC pin 58 */ 363 "NC", /* GPIO_97 */ 362 "NC", /* GPIO_97 */ 364 "CAM1_STANDBY_N", /* GPIO_98 * 363 "CAM1_STANDBY_N", /* GPIO_98 */ 365 "NC", /* GPIO_99 */ 364 "NC", /* GPIO_99 */ 366 "NC", /* GPIO_100 */ 365 "NC", /* GPIO_100 */ 367 "[LCD1_RESET_N]", /* GPIO_101, 366 "[LCD1_RESET_N]", /* GPIO_101, S HSEC pin 51 */ 368 "BOOT_CONFIG1", /* GPIO_102 */ 367 "BOOT_CONFIG1", /* GPIO_102 */ 369 "USB_HUB_RESET", /* GPIO_103 * 368 "USB_HUB_RESET", /* GPIO_103 */ 370 "CAM1_RST_N", /* GPIO_104 */ 369 "CAM1_RST_N", /* GPIO_104 */ 371 "NC", /* GPIO_105 */ 370 "NC", /* GPIO_105 */ 372 "NC", /* GPIO_106 */ 371 "NC", /* GPIO_106 */ 373 "NC", /* GPIO_107 */ 372 "NC", /* GPIO_107 */ 374 "NC", /* GPIO_108 */ 373 "NC", /* GPIO_108 */ 375 "NC", /* GPIO_109 */ 374 "NC", /* GPIO_109 */ 376 "NC", /* GPIO_110 */ 375 "NC", /* GPIO_110 */ 377 "NC", /* GPIO_111 */ 376 "NC", /* GPIO_111 */ 378 "NC", /* GPIO_112 */ 377 "NC", /* GPIO_112 */ 379 "PMI8994_BUA", /* GPIO_113 */ 378 "PMI8994_BUA", /* GPIO_113 */ 380 "PCIE2_RST_N", /* GPIO_114 */ 379 "PCIE2_RST_N", /* GPIO_114 */ 381 "PCIE2_CLKREQ_N", /* GPIO_115 380 "PCIE2_CLKREQ_N", /* GPIO_115 */ 382 "PCIE2_WAKE", /* GPIO_116 */ 381 "PCIE2_WAKE", /* GPIO_116 */ 383 "SSC_IRQ_0", /* GPIO_117 */ 382 "SSC_IRQ_0", /* GPIO_117 */ 384 "SSC_IRQ_1", /* GPIO_118 */ 383 "SSC_IRQ_1", /* GPIO_118 */ 385 "SSC_IRQ_2", /* GPIO_119 */ 384 "SSC_IRQ_2", /* GPIO_119 */ 386 "NC", /* GPIO_120 */ 385 "NC", /* GPIO_120 */ 387 "GPIO121", /* GPIO_121, S HSEC 386 "GPIO121", /* GPIO_121, S HSEC pin 2 */ 388 "NC", /* GPIO_122 */ 387 "NC", /* GPIO_122 */ 389 "SSC_IRQ_6", /* GPIO_123 */ 388 "SSC_IRQ_6", /* GPIO_123 */ 390 "SSC_IRQ_7", /* GPIO_124 */ 389 "SSC_IRQ_7", /* GPIO_124 */ 391 "GPIO-C", /* GPIO_125, TS_INT0 390 "GPIO-C", /* GPIO_125, TS_INT0, LSEC pin 25 */ 392 "BOOT_CONFIG5", /* GPIO_126 */ 391 "BOOT_CONFIG5", /* GPIO_126 */ 393 "NC", /* GPIO_127 */ 392 "NC", /* GPIO_127 */ 394 "NC", /* GPIO_128 */ 393 "NC", /* GPIO_128 */ 395 "BOOT_CONFIG7", /* GPIO_129 */ 394 "BOOT_CONFIG7", /* GPIO_129 */ 396 "PCIE1_RST_N", /* GPIO_130 */ 395 "PCIE1_RST_N", /* GPIO_130 */ 397 "PCIE1_CLKREQ_N", /* GPIO_131 396 "PCIE1_CLKREQ_N", /* GPIO_131 */ 398 "PCIE1_WAKE", /* GPIO_132 */ 397 "PCIE1_WAKE", /* GPIO_132 */ 399 "GPIO-L", /* GPIO_133, CAM2_ST 398 "GPIO-L", /* GPIO_133, CAM2_STANDBY_N, LSEC pin 34 */ 400 "NC", /* GPIO_134 */ 399 "NC", /* GPIO_134 */ 401 "NC", /* GPIO_135 */ 400 "NC", /* GPIO_135 */ 402 "BOOT_CONFIG8", /* GPIO_136 */ 401 "BOOT_CONFIG8", /* GPIO_136 */ 403 "NC", /* GPIO_137 */ 402 "NC", /* GPIO_137 */ 404 "NC", /* GPIO_138 */ 403 "NC", /* GPIO_138 */ 405 "GPS_SSBI2", /* GPIO_139 */ 404 "GPS_SSBI2", /* GPIO_139 */ 406 "GPS_SSBI1", /* GPIO_140 */ 405 "GPS_SSBI1", /* GPIO_140 */ 407 "NC", /* GPIO_141 */ 406 "NC", /* GPIO_141 */ 408 "NC", /* GPIO_142 */ 407 "NC", /* GPIO_142 */ 409 "NC", /* GPIO_143 */ 408 "NC", /* GPIO_143 */ 410 "BOOT_CONFIG6", /* GPIO_144 */ 409 "BOOT_CONFIG6", /* GPIO_144 */ 411 "NC", /* GPIO_145 */ 410 "NC", /* GPIO_145 */ 412 "NC", /* GPIO_146 */ 411 "NC", /* GPIO_146 */ 413 "NC", /* GPIO_147 */ 412 "NC", /* GPIO_147 */ 414 "NC", /* GPIO_148 */ 413 "NC", /* GPIO_148 */ 415 "NC"; /* GPIO_149 */ 414 "NC"; /* GPIO_149 */ 416 415 417 sdc2_cd_on: sdc2-cd-on-state { !! 416 sdc2_cd_on: sdc2_cd_on { 418 pins = "gpio38"; !! 417 mux { 419 function = "gpio"; !! 418 pins = "gpio38"; 420 bias-pull-up; !! 419 function = "gpio"; 421 drive-strength = <16>; !! 420 }; 422 }; !! 421 423 !! 422 config { 424 sdc2_cd_off: sdc2-cd-off-state { !! 423 pins = "gpio38"; 425 pins = "gpio38"; !! 424 bias-pull-up; /* pull up */ 426 function = "gpio"; !! 425 drive-strength = <16>; /* 16 MA */ 427 bias-pull-up; !! 426 }; 428 drive-strength = <2>; !! 427 }; 429 }; !! 428 430 !! 429 sdc2_cd_off: sdc2_cd_off { 431 hdmi_hpd_active: hdmi-hpd-active-state !! 430 mux { 432 pins = "gpio34"; !! 431 pins = "gpio38"; 433 function = "hdmi_hot"; !! 432 function = "gpio"; 434 bias-pull-down; !! 433 }; 435 drive-strength = <16>; !! 434 436 }; !! 435 config { 437 !! 436 pins = "gpio38"; 438 hdmi_hpd_suspend: hdmi-hpd-suspend-sta !! 437 bias-pull-up; /* pull up */ 439 pins = "gpio34"; !! 438 drive-strength = <2>; /* 2 MA */ 440 function = "hdmi_hot"; !! 439 }; 441 bias-pull-down; !! 440 }; 442 drive-strength = <2>; !! 441 443 }; !! 442 hdmi_hpd_active: hdmi_hpd_active { 444 !! 443 mux { 445 hdmi_ddc_active: hdmi-ddc-active-state !! 444 pins = "gpio34"; 446 pins = "gpio32", "gpio33"; !! 445 function = "hdmi_hot"; 447 function = "hdmi_ddc"; !! 446 }; 448 drive-strength = <2>; !! 447 449 bias-pull-up; !! 448 config { 450 }; !! 449 pins = "gpio34"; 451 !! 450 bias-pull-down; 452 hdmi_ddc_suspend: hdmi-ddc-suspend-sta !! 451 drive-strength = <16>; 453 pins = "gpio32", "gpio33"; !! 452 }; 454 function = "hdmi_ddc"; !! 453 }; 455 drive-strength = <2>; !! 454 456 bias-pull-down; !! 455 hdmi_hpd_suspend: hdmi_hpd_suspend { >> 456 mux { >> 457 pins = "gpio34"; >> 458 function = "hdmi_hot"; >> 459 }; >> 460 >> 461 config { >> 462 pins = "gpio34"; >> 463 bias-pull-down; >> 464 drive-strength = <2>; >> 465 }; >> 466 }; >> 467 >> 468 hdmi_ddc_active: hdmi_ddc_active { >> 469 mux { >> 470 pins = "gpio32", "gpio33"; >> 471 function = "hdmi_ddc"; >> 472 }; >> 473 >> 474 config { >> 475 pins = "gpio32", "gpio33"; >> 476 drive-strength = <2>; >> 477 bias-pull-up; >> 478 }; >> 479 }; >> 480 >> 481 hdmi_ddc_suspend: hdmi_ddc_suspend { >> 482 mux { >> 483 pins = "gpio32", "gpio33"; >> 484 function = "hdmi_ddc"; >> 485 }; >> 486 >> 487 config { >> 488 pins = "gpio32", "gpio33"; >> 489 drive-strength = <2>; >> 490 bias-pull-down; >> 491 }; 457 }; 492 }; 458 }; 493 }; 459 494 460 &pcie0 { 495 &pcie0 { 461 status = "okay"; 496 status = "okay"; 462 perst-gpios = <&tlmm 35 GPIO_ACTIVE_LO !! 497 perst-gpio = <&tlmm 35 GPIO_ACTIVE_LOW>; 463 vddpe-3v3-supply = <&wlan_en>; 498 vddpe-3v3-supply = <&wlan_en>; 464 vdda-supply = <&vreg_l28a_0p925>; 499 vdda-supply = <&vreg_l28a_0p925>; 465 }; 500 }; 466 501 467 &pcie1 { 502 &pcie1 { 468 status = "okay"; 503 status = "okay"; 469 perst-gpios = <&tlmm 130 GPIO_ACTIVE_L !! 504 perst-gpio = <&tlmm 130 GPIO_ACTIVE_LOW>; 470 vdda-supply = <&vreg_l28a_0p925>; 505 vdda-supply = <&vreg_l28a_0p925>; 471 }; 506 }; 472 507 473 &pcie2 { 508 &pcie2 { 474 status = "okay"; 509 status = "okay"; 475 perst-gpios = <&tlmm 114 GPIO_ACTIVE_L !! 510 perst-gpio = <&tlmm 114 GPIO_ACTIVE_LOW>; 476 vdda-supply = <&vreg_l28a_0p925>; 511 vdda-supply = <&vreg_l28a_0p925>; 477 }; 512 }; 478 513 479 &pcie_phy { 514 &pcie_phy { 480 status = "okay"; 515 status = "okay"; 481 516 482 vdda-phy-supply = <&vreg_l28a_0p925>; 517 vdda-phy-supply = <&vreg_l28a_0p925>; 483 vdda-pll-supply = <&vreg_l12a_1p8>; 518 vdda-pll-supply = <&vreg_l12a_1p8>; 484 }; 519 }; 485 520 486 &pm8994_gpios { 521 &pm8994_gpios { 487 gpio-line-names = 522 gpio-line-names = 488 "NC", 523 "NC", 489 "KEY_VOLP_N", 524 "KEY_VOLP_N", 490 "NC", 525 "NC", 491 "BL1_PWM", 526 "BL1_PWM", 492 "GPIO-F", /* BL0_PWM, LSEC pin 527 "GPIO-F", /* BL0_PWM, LSEC pin 28 */ 493 "BL1_EN", 528 "BL1_EN", 494 "NC", 529 "NC", 495 "WLAN_EN", 530 "WLAN_EN", 496 "NC", 531 "NC", 497 "NC", 532 "NC", 498 "NC", 533 "NC", 499 "NC", 534 "NC", 500 "NC", 535 "NC", 501 "NC", 536 "NC", 502 "DIVCLK1", 537 "DIVCLK1", 503 "DIVCLK2", 538 "DIVCLK2", 504 "DIVCLK3", 539 "DIVCLK3", 505 "DIVCLK4", 540 "DIVCLK4", 506 "BT_EN", 541 "BT_EN", 507 "PMIC_SLB", 542 "PMIC_SLB", 508 "PMIC_BUA", 543 "PMIC_BUA", 509 "USB_VBUS_DET"; 544 "USB_VBUS_DET"; 510 545 511 pinctrl-names = "default"; 546 pinctrl-names = "default"; 512 pinctrl-0 = <&ls_exp_gpio_f &bt_en_gpi 547 pinctrl-0 = <&ls_exp_gpio_f &bt_en_gpios>; 513 548 514 ls_exp_gpio_f: pm8994-gpio5-state { !! 549 ls_exp_gpio_f: pm8994_gpio5 { 515 pinconf { 550 pinconf { 516 pins = "gpio5"; 551 pins = "gpio5"; 517 function = PMIC_GPIO_F << 518 output-low; 552 output-low; 519 power-source = <PM8994 !! 553 power-source = <2>; // PM8994_GPIO_S4, 1.8V 520 }; 554 }; 521 }; 555 }; 522 556 523 bt_en_gpios: bt-en-pios-state { !! 557 bt_en_gpios: bt_en_gpios { 524 pinconf { 558 pinconf { 525 pins = "gpio19"; 559 pins = "gpio19"; 526 function = PMIC_GPIO_F 560 function = PMIC_GPIO_FUNC_NORMAL; 527 output-low; 561 output-low; 528 power-source = <PM8994 !! 562 power-source = <PM8994_GPIO_S4>; // 1.8V 529 qcom,drive-strength = 563 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; 530 bias-pull-down; 564 bias-pull-down; 531 }; 565 }; 532 }; 566 }; 533 567 534 wlan_en_gpios: wlan-en-gpios-state { !! 568 wlan_en_gpios: wlan_en_gpios { 535 pinconf { 569 pinconf { 536 pins = "gpio8"; 570 pins = "gpio8"; 537 function = PMIC_GPIO_F 571 function = PMIC_GPIO_FUNC_NORMAL; 538 output-low; 572 output-low; 539 power-source = <PM8994 !! 573 power-source = <PM8994_GPIO_S4>; // 1.8V 540 qcom,drive-strength = 574 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; 541 bias-pull-down; 575 bias-pull-down; 542 }; 576 }; 543 }; 577 }; 544 578 545 audio_mclk: clk-div1-state { !! 579 audio_mclk: clk_div1 { 546 pinconf { 580 pinconf { 547 pins = "gpio15"; 581 pins = "gpio15"; 548 function = "func1"; 582 function = "func1"; 549 power-source = <PM8994 !! 583 power-source = <PM8994_GPIO_S4>; // 1.8V 550 }; 584 }; 551 }; 585 }; 552 586 553 volume_up_gpio: pm8996-gpio2-state { !! 587 volume_up_gpio: pm8996_gpio2 { 554 pinconf { 588 pinconf { 555 pins = "gpio2"; 589 pins = "gpio2"; 556 function = "normal"; 590 function = "normal"; 557 input-enable; 591 input-enable; 558 drive-push-pull; 592 drive-push-pull; 559 bias-pull-up; 593 bias-pull-up; 560 qcom,drive-strength = 594 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; 561 power-source = <PM8994 !! 595 power-source = <PM8994_GPIO_S4>; // 1.8V 562 }; 596 }; 563 }; 597 }; 564 598 565 divclk4_pin_a: divclk4-state { !! 599 divclk4_pin_a: divclk4 { 566 pinconf { 600 pinconf { 567 pins = "gpio18"; 601 pins = "gpio18"; 568 function = PMIC_GPIO_F 602 function = PMIC_GPIO_FUNC_FUNC2; 569 603 570 bias-disable; 604 bias-disable; 571 power-source = <PM8994 605 power-source = <PM8994_GPIO_S4>; 572 }; 606 }; 573 }; 607 }; 574 608 575 usb3_vbus_det_gpio: pm8996-gpio22-stat !! 609 usb3_vbus_det_gpio: pm8996_gpio22 { 576 pinconf { 610 pinconf { 577 pins = "gpio22"; 611 pins = "gpio22"; 578 function = PMIC_GPIO_F 612 function = PMIC_GPIO_FUNC_NORMAL; 579 input-enable; 613 input-enable; 580 bias-pull-down; 614 bias-pull-down; 581 qcom,drive-strength = 615 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; 582 power-source = <PM8994 !! 616 power-source = <PM8994_GPIO_S4>; // 1.8V 583 }; 617 }; 584 }; 618 }; 585 }; 619 }; 586 620 587 &pm8994_mpps { 621 &pm8994_mpps { 588 gpio-line-names = 622 gpio-line-names = 589 "VDDPX_BIAS", 623 "VDDPX_BIAS", 590 "WIFI_LED", 624 "WIFI_LED", 591 "NC", 625 "NC", 592 "BT_LED", 626 "BT_LED", 593 "PM_MPP05", 627 "PM_MPP05", 594 "PM_MPP06", 628 "PM_MPP06", 595 "PM_MPP07", 629 "PM_MPP07", 596 "NC"; 630 "NC"; 597 }; 631 }; 598 632 599 &pm8994_spmi_regulators { 633 &pm8994_spmi_regulators { 600 qcom,saw-reg = <&saw3>; 634 qcom,saw-reg = <&saw3>; 601 vdd_s11-supply = <&vph_pwr>; << 602 << 603 s9 { 635 s9 { 604 qcom,saw-slave; 636 qcom,saw-slave; 605 }; 637 }; 606 s10 { 638 s10 { 607 qcom,saw-slave; 639 qcom,saw-slave; 608 }; 640 }; 609 s11 { 641 s11 { 610 qcom,saw-leader; 642 qcom,saw-leader; 611 regulator-name = "VDD_APCC"; << 612 regulator-always-on; 643 regulator-always-on; 613 regulator-min-microvolt = <980 644 regulator-min-microvolt = <980000>; 614 regulator-max-microvolt = <980 645 regulator-max-microvolt = <980000>; 615 }; 646 }; 616 }; 647 }; 617 648 618 &pmi8994_gpios { 649 &pmi8994_gpios { 619 gpio-line-names = 650 gpio-line-names = 620 "NC", 651 "NC", 621 "SPKR_AMP_EN1", 652 "SPKR_AMP_EN1", 622 "SPKR_AMP_EN2", 653 "SPKR_AMP_EN2", 623 "TP61", 654 "TP61", 624 "NC", 655 "NC", 625 "USB2_VBUS_DET", 656 "USB2_VBUS_DET", 626 "NC", 657 "NC", 627 "NC", 658 "NC", 628 "NC", 659 "NC", 629 "NC"; 660 "NC"; 630 661 631 usb2_vbus_det_gpio: pmi8996-gpio6-stat !! 662 usb2_vbus_det_gpio: pmi8996_gpio6 { 632 pinconf { 663 pinconf { 633 pins = "gpio6"; 664 pins = "gpio6"; 634 function = PMIC_GPIO_F 665 function = PMIC_GPIO_FUNC_NORMAL; 635 input-enable; 666 input-enable; 636 bias-pull-down; 667 bias-pull-down; 637 qcom,drive-strength = 668 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; 638 power-source = <PM8994 !! 669 power-source = <PM8994_GPIO_S4>; // 1.8V 639 }; 670 }; 640 }; 671 }; 641 }; 672 }; 642 673 643 &pmi8994_lpg { << 644 qcom,power-source = <1>; << 645 << 646 pinctrl-names = "default"; << 647 pinctrl-0 = <&pmi8994_mpp2_userled4>; << 648 << 649 qcom,dtest = <0 0>, << 650 <0 0>, << 651 <0 0>, << 652 <4 1>; << 653 << 654 status = "okay"; << 655 << 656 led@1 { << 657 reg = <1>; << 658 color = <LED_COLOR_ID_GREEN>; << 659 function = LED_FUNCTION_HEARTB << 660 function-enumerator = <1>; << 661 << 662 linux,default-trigger = "heart << 663 default-state = "on"; << 664 }; << 665 << 666 led@2 { << 667 reg = <2>; << 668 color = <LED_COLOR_ID_GREEN>; << 669 function = LED_FUNCTION_HEARTB << 670 function-enumerator = <0>; << 671 }; << 672 << 673 led@3 { << 674 reg = <3>; << 675 color = <LED_COLOR_ID_GREEN>; << 676 function = LED_FUNCTION_HEARTB << 677 function-enumerator = <2>; << 678 }; << 679 << 680 led@4 { << 681 reg = <4>; << 682 color = <LED_COLOR_ID_GREEN>; << 683 function = LED_FUNCTION_HEARTB << 684 function-enumerator = <3>; << 685 }; << 686 }; << 687 << 688 &pmi8994_mpps { << 689 pmi8994_mpp2_userled4: mpp2-userled4-s << 690 pins = "mpp2"; << 691 function = "sink"; << 692 << 693 output-low; << 694 qcom,dtest = <4>; << 695 }; << 696 }; << 697 << 698 &pmi8994_spmi_regulators { 674 &pmi8994_spmi_regulators { 699 vdd_s2-supply = <&vph_pwr>; !! 675 vdd_gfx: s2@1700 { 700 !! 676 reg = <0x1700 0x100>; 701 vdd_gfx: s2 { << 702 regulator-name = "VDD_GFX"; 677 regulator-name = "VDD_GFX"; 703 regulator-min-microvolt = <980 678 regulator-min-microvolt = <980000>; 704 regulator-max-microvolt = <980 679 regulator-max-microvolt = <980000>; 705 }; 680 }; 706 }; 681 }; 707 682 708 &rpm_requests { 683 &rpm_requests { 709 regulators-0 { !! 684 pm8994-regulators { 710 compatible = "qcom,rpm-pm8994- 685 compatible = "qcom,rpm-pm8994-regulators"; 711 686 712 vdd_s1-supply = <&vph_pwr>; 687 vdd_s1-supply = <&vph_pwr>; 713 vdd_s2-supply = <&vph_pwr>; 688 vdd_s2-supply = <&vph_pwr>; 714 vdd_s3-supply = <&vph_pwr>; 689 vdd_s3-supply = <&vph_pwr>; 715 vdd_s4-supply = <&vph_pwr>; 690 vdd_s4-supply = <&vph_pwr>; 716 vdd_s5-supply = <&vph_pwr>; 691 vdd_s5-supply = <&vph_pwr>; 717 vdd_s6-supply = <&vph_pwr>; 692 vdd_s6-supply = <&vph_pwr>; 718 vdd_s7-supply = <&vph_pwr>; 693 vdd_s7-supply = <&vph_pwr>; 719 vdd_s8-supply = <&vph_pwr>; 694 vdd_s8-supply = <&vph_pwr>; 720 vdd_s9-supply = <&vph_pwr>; 695 vdd_s9-supply = <&vph_pwr>; 721 vdd_s10-supply = <&vph_pwr>; 696 vdd_s10-supply = <&vph_pwr>; 722 vdd_s11-supply = <&vph_pwr>; 697 vdd_s11-supply = <&vph_pwr>; 723 vdd_s12-supply = <&vph_pwr>; 698 vdd_s12-supply = <&vph_pwr>; 724 vdd_l1-supply = <&vreg_s1b_1p0 699 vdd_l1-supply = <&vreg_s1b_1p025>; 725 vdd_l2_l26_l28-supply = <&vreg 700 vdd_l2_l26_l28-supply = <&vreg_s3a_1p3>; 726 vdd_l3_l11-supply = <&vreg_s3a 701 vdd_l3_l11-supply = <&vreg_s3a_1p3>; 727 vdd_l4_l27_l31-supply = <&vreg 702 vdd_l4_l27_l31-supply = <&vreg_s3a_1p3>; 728 vdd_l5_l7-supply = <&vreg_s5a_ 703 vdd_l5_l7-supply = <&vreg_s5a_2p15>; 729 vdd_l6_l12_l32-supply = <&vreg 704 vdd_l6_l12_l32-supply = <&vreg_s5a_2p15>; 730 vdd_l8_l16_l30-supply = <&vph_ 705 vdd_l8_l16_l30-supply = <&vph_pwr>; 731 vdd_l9_l10_l18_l22-supply = <& 706 vdd_l9_l10_l18_l22-supply = <&vph_pwr_bbyp>; 732 vdd_l13_l19_l23_l24-supply = < 707 vdd_l13_l19_l23_l24-supply = <&vph_pwr_bbyp>; 733 vdd_l14_l15-supply = <&vreg_s5 708 vdd_l14_l15-supply = <&vreg_s5a_2p15>; 734 vdd_l17_l29-supply = <&vph_pwr 709 vdd_l17_l29-supply = <&vph_pwr_bbyp>; 735 vdd_l20_l21-supply = <&vph_pwr 710 vdd_l20_l21-supply = <&vph_pwr_bbyp>; 736 vdd_l25-supply = <&vreg_s3a_1p 711 vdd_l25-supply = <&vreg_s3a_1p3>; 737 vdd_lvs1_2-supply = <&vreg_s4a !! 712 vdd_lvs1_lvs2-supply = <&vreg_s4a_1p8>; 738 713 739 vreg_s3a_1p3: s3 { 714 vreg_s3a_1p3: s3 { 740 regulator-name = "vreg 715 regulator-name = "vreg_s3a_1p3"; 741 regulator-min-microvol 716 regulator-min-microvolt = <1300000>; 742 regulator-max-microvol 717 regulator-max-microvolt = <1300000>; 743 }; 718 }; 744 719 745 /** 720 /** 746 * 1.8v required on LS expansi 721 * 1.8v required on LS expansion 747 * for mezzanine boards 722 * for mezzanine boards 748 */ 723 */ 749 vreg_s4a_1p8: s4 { 724 vreg_s4a_1p8: s4 { 750 regulator-name = "vreg 725 regulator-name = "vreg_s4a_1p8"; 751 regulator-min-microvol 726 regulator-min-microvolt = <1800000>; 752 regulator-max-microvol 727 regulator-max-microvolt = <1800000>; 753 regulator-always-on; 728 regulator-always-on; 754 }; 729 }; 755 vreg_s5a_2p15: s5 { 730 vreg_s5a_2p15: s5 { 756 regulator-name = "vreg 731 regulator-name = "vreg_s5a_2p15"; 757 regulator-min-microvol 732 regulator-min-microvolt = <2150000>; 758 regulator-max-microvol 733 regulator-max-microvolt = <2150000>; 759 }; 734 }; 760 vreg_s7a_1p0: s7 { 735 vreg_s7a_1p0: s7 { 761 regulator-name = "vreg 736 regulator-name = "vreg_s7a_1p0"; 762 regulator-min-microvol 737 regulator-min-microvolt = <800000>; 763 regulator-max-microvol 738 regulator-max-microvolt = <800000>; 764 }; 739 }; 765 740 766 vreg_l1a_1p0: l1 { 741 vreg_l1a_1p0: l1 { 767 regulator-name = "vreg 742 regulator-name = "vreg_l1a_1p0"; 768 regulator-min-microvol 743 regulator-min-microvolt = <1000000>; 769 regulator-max-microvol 744 regulator-max-microvolt = <1000000>; 770 }; 745 }; 771 vreg_l2a_1p25: l2 { 746 vreg_l2a_1p25: l2 { 772 regulator-name = "vreg 747 regulator-name = "vreg_l2a_1p25"; 773 regulator-min-microvol 748 regulator-min-microvolt = <1250000>; 774 regulator-max-microvol 749 regulator-max-microvolt = <1250000>; 775 }; 750 }; 776 vreg_l3a_0p875: l3 { 751 vreg_l3a_0p875: l3 { 777 regulator-name = "vreg 752 regulator-name = "vreg_l3a_0p875"; 778 regulator-min-microvol 753 regulator-min-microvolt = <850000>; 779 regulator-max-microvol 754 regulator-max-microvolt = <850000>; 780 }; 755 }; 781 vreg_l4a_1p225: l4 { 756 vreg_l4a_1p225: l4 { 782 regulator-name = "vreg 757 regulator-name = "vreg_l4a_1p225"; 783 regulator-min-microvol 758 regulator-min-microvolt = <1225000>; 784 regulator-max-microvol 759 regulator-max-microvolt = <1225000>; 785 }; 760 }; 786 vreg_l6a_1p2: l6 { 761 vreg_l6a_1p2: l6 { 787 regulator-name = "vreg 762 regulator-name = "vreg_l6a_1p2"; 788 regulator-min-microvol 763 regulator-min-microvolt = <1200000>; 789 regulator-max-microvol 764 regulator-max-microvolt = <1200000>; 790 }; 765 }; 791 vreg_l8a_1p8: l8 { 766 vreg_l8a_1p8: l8 { 792 regulator-name = "vreg 767 regulator-name = "vreg_l8a_1p8"; 793 regulator-min-microvol 768 regulator-min-microvolt = <1800000>; 794 regulator-max-microvol 769 regulator-max-microvolt = <1800000>; 795 }; 770 }; 796 vreg_l9a_1p8: l9 { 771 vreg_l9a_1p8: l9 { 797 regulator-name = "vreg 772 regulator-name = "vreg_l9a_1p8"; 798 regulator-min-microvol 773 regulator-min-microvolt = <1800000>; 799 regulator-max-microvol 774 regulator-max-microvolt = <1800000>; 800 }; 775 }; 801 vreg_l10a_1p8: l10 { 776 vreg_l10a_1p8: l10 { 802 regulator-name = "vreg 777 regulator-name = "vreg_l10a_1p8"; 803 regulator-min-microvol 778 regulator-min-microvolt = <1800000>; 804 regulator-max-microvol 779 regulator-max-microvolt = <1800000>; 805 }; 780 }; 806 vreg_l11a_1p15: l11 { 781 vreg_l11a_1p15: l11 { 807 regulator-name = "vreg 782 regulator-name = "vreg_l11a_1p15"; 808 regulator-min-microvol 783 regulator-min-microvolt = <1150000>; 809 regulator-max-microvol 784 regulator-max-microvolt = <1150000>; 810 }; 785 }; 811 vreg_l12a_1p8: l12 { 786 vreg_l12a_1p8: l12 { 812 regulator-name = "vreg 787 regulator-name = "vreg_l12a_1p8"; 813 regulator-min-microvol 788 regulator-min-microvolt = <1800000>; 814 regulator-max-microvol 789 regulator-max-microvolt = <1800000>; 815 }; 790 }; 816 vreg_l13a_2p95: l13 { 791 vreg_l13a_2p95: l13 { 817 regulator-name = "vreg 792 regulator-name = "vreg_l13a_2p95"; 818 regulator-min-microvol 793 regulator-min-microvolt = <1800000>; 819 regulator-max-microvol 794 regulator-max-microvolt = <2950000>; 820 }; 795 }; 821 vreg_l14a_1p8: l14 { 796 vreg_l14a_1p8: l14 { 822 regulator-name = "vreg 797 regulator-name = "vreg_l14a_1p8"; 823 regulator-min-microvol 798 regulator-min-microvolt = <1800000>; 824 regulator-max-microvol 799 regulator-max-microvolt = <1800000>; 825 }; 800 }; 826 vreg_l15a_1p8: l15 { 801 vreg_l15a_1p8: l15 { 827 regulator-name = "vreg 802 regulator-name = "vreg_l15a_1p8"; 828 regulator-min-microvol 803 regulator-min-microvolt = <1800000>; 829 regulator-max-microvol 804 regulator-max-microvolt = <1800000>; 830 }; 805 }; 831 vreg_l16a_2p7: l16 { 806 vreg_l16a_2p7: l16 { 832 regulator-name = "vreg 807 regulator-name = "vreg_l16a_2p7"; 833 regulator-min-microvol 808 regulator-min-microvolt = <2700000>; 834 regulator-max-microvol 809 regulator-max-microvolt = <2700000>; 835 }; 810 }; 836 vreg_l17a_2p8: l17 { 811 vreg_l17a_2p8: l17 { 837 regulator-name = "vreg 812 regulator-name = "vreg_l17a_2p8"; 838 regulator-min-microvol 813 regulator-min-microvolt = <2500000>; 839 regulator-max-microvol 814 regulator-max-microvolt = <2500000>; 840 }; 815 }; 841 vreg_l18a_2p85: l18 { 816 vreg_l18a_2p85: l18 { 842 regulator-name = "vreg 817 regulator-name = "vreg_l18a_2p85"; 843 regulator-min-microvol 818 regulator-min-microvolt = <2700000>; 844 regulator-max-microvol 819 regulator-max-microvolt = <2900000>; 845 }; 820 }; 846 vreg_l19a_2p8: l19 { 821 vreg_l19a_2p8: l19 { 847 regulator-name = "vreg 822 regulator-name = "vreg_l19a_2p8"; 848 regulator-min-microvol 823 regulator-min-microvolt = <3000000>; 849 regulator-max-microvol 824 regulator-max-microvolt = <3000000>; 850 }; 825 }; 851 vreg_l20a_2p95: l20 { 826 vreg_l20a_2p95: l20 { 852 regulator-name = "vreg 827 regulator-name = "vreg_l20a_2p95"; 853 regulator-min-microvol 828 regulator-min-microvolt = <2950000>; 854 regulator-max-microvol 829 regulator-max-microvolt = <2950000>; 855 regulator-allow-set-lo 830 regulator-allow-set-load; 856 }; 831 }; 857 vreg_l21a_2p95: l21 { 832 vreg_l21a_2p95: l21 { 858 regulator-name = "vreg 833 regulator-name = "vreg_l21a_2p95"; 859 regulator-min-microvol 834 regulator-min-microvolt = <2950000>; 860 regulator-max-microvol 835 regulator-max-microvolt = <2950000>; 861 regulator-allow-set-lo 836 regulator-allow-set-load; 862 regulator-system-load 837 regulator-system-load = <200000>; 863 }; 838 }; 864 vreg_l22a_3p0: l22 { 839 vreg_l22a_3p0: l22 { 865 regulator-name = "vreg 840 regulator-name = "vreg_l22a_3p0"; 866 regulator-min-microvol 841 regulator-min-microvolt = <3300000>; 867 regulator-max-microvol 842 regulator-max-microvolt = <3300000>; 868 }; 843 }; 869 vreg_l23a_2p8: l23 { 844 vreg_l23a_2p8: l23 { 870 regulator-name = "vreg 845 regulator-name = "vreg_l23a_2p8"; 871 regulator-min-microvol 846 regulator-min-microvolt = <2800000>; 872 regulator-max-microvol 847 regulator-max-microvolt = <2800000>; 873 }; 848 }; 874 vreg_l24a_3p075: l24 { 849 vreg_l24a_3p075: l24 { 875 regulator-name = "vreg 850 regulator-name = "vreg_l24a_3p075"; 876 regulator-min-microvol 851 regulator-min-microvolt = <3075000>; 877 regulator-max-microvol 852 regulator-max-microvolt = <3075000>; 878 }; 853 }; 879 vreg_l25a_1p2: l25 { 854 vreg_l25a_1p2: l25 { 880 regulator-name = "vreg 855 regulator-name = "vreg_l25a_1p2"; 881 regulator-min-microvol 856 regulator-min-microvolt = <1200000>; 882 regulator-max-microvol 857 regulator-max-microvolt = <1200000>; 883 regulator-allow-set-lo 858 regulator-allow-set-load; 884 }; 859 }; 885 vreg_l26a_0p8: l27 { 860 vreg_l26a_0p8: l27 { 886 regulator-name = "vreg 861 regulator-name = "vreg_l26a_0p8"; 887 regulator-min-microvol 862 regulator-min-microvolt = <1000000>; 888 regulator-max-microvol 863 regulator-max-microvolt = <1000000>; 889 }; 864 }; 890 vreg_l28a_0p925: l28 { 865 vreg_l28a_0p925: l28 { 891 regulator-name = "vreg 866 regulator-name = "vreg_l28a_0p925"; 892 regulator-min-microvol 867 regulator-min-microvolt = <925000>; 893 regulator-max-microvol 868 regulator-max-microvolt = <925000>; 894 regulator-allow-set-lo 869 regulator-allow-set-load; 895 }; 870 }; 896 vreg_l29a_2p8: l29 { 871 vreg_l29a_2p8: l29 { 897 regulator-name = "vreg 872 regulator-name = "vreg_l29a_2p8"; 898 regulator-min-microvol 873 regulator-min-microvolt = <2800000>; 899 regulator-max-microvol 874 regulator-max-microvolt = <2800000>; 900 }; 875 }; 901 vreg_l30a_1p8: l30 { 876 vreg_l30a_1p8: l30 { 902 regulator-name = "vreg 877 regulator-name = "vreg_l30a_1p8"; 903 regulator-min-microvol 878 regulator-min-microvolt = <1800000>; 904 regulator-max-microvol 879 regulator-max-microvolt = <1800000>; 905 }; 880 }; 906 vreg_l32a_1p8: l32 { 881 vreg_l32a_1p8: l32 { 907 regulator-name = "vreg 882 regulator-name = "vreg_l32a_1p8"; 908 regulator-min-microvol 883 regulator-min-microvolt = <1800000>; 909 regulator-max-microvol 884 regulator-max-microvolt = <1800000>; 910 }; 885 }; 911 886 912 vreg_lvs1a_1p8: lvs1 { 887 vreg_lvs1a_1p8: lvs1 { 913 regulator-name = "vreg 888 regulator-name = "vreg_lvs1a_1p8"; 914 }; 889 }; 915 890 916 vreg_lvs2a_1p8: lvs2 { 891 vreg_lvs2a_1p8: lvs2 { 917 regulator-name = "vreg 892 regulator-name = "vreg_lvs2a_1p8"; 918 }; 893 }; 919 }; 894 }; 920 895 921 regulators-1 { !! 896 pmi8994-regulators { 922 compatible = "qcom,rpm-pmi8994 897 compatible = "qcom,rpm-pmi8994-regulators"; 923 898 924 vdd_s1-supply = <&vph_pwr>; 899 vdd_s1-supply = <&vph_pwr>; 925 vdd_s2-supply = <&vph_pwr>; 900 vdd_s2-supply = <&vph_pwr>; 926 vdd_s3-supply = <&vph_pwr>; 901 vdd_s3-supply = <&vph_pwr>; 927 vdd_bst_byp-supply = <&vph_pwr 902 vdd_bst_byp-supply = <&vph_pwr>; 928 903 929 vph_pwr_bbyp: boost-bypass { 904 vph_pwr_bbyp: boost-bypass { 930 regulator-name = "vph_ 905 regulator-name = "vph_pwr_bbyp"; 931 regulator-min-microvol 906 regulator-min-microvolt = <3300000>; 932 regulator-max-microvol 907 regulator-max-microvolt = <3300000>; 933 }; 908 }; 934 909 935 vreg_s1b_1p025: s1 { 910 vreg_s1b_1p025: s1 { 936 regulator-name = "vreg 911 regulator-name = "vreg_s1b_1p025"; 937 regulator-min-microvol 912 regulator-min-microvolt = <1025000>; 938 regulator-max-microvol 913 regulator-max-microvolt = <1025000>; 939 }; 914 }; 940 }; 915 }; 941 }; 916 }; 942 917 943 &sdhc2 { 918 &sdhc2 { 944 /* External SD card */ 919 /* External SD card */ 945 pinctrl-names = "default", "sleep"; 920 pinctrl-names = "default", "sleep"; 946 pinctrl-0 = <&sdc2_state_on &sdc2_cd_o 921 pinctrl-0 = <&sdc2_state_on &sdc2_cd_on>; 947 pinctrl-1 = <&sdc2_state_off &sdc2_cd_ 922 pinctrl-1 = <&sdc2_state_off &sdc2_cd_off>; 948 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; 923 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; 949 vmmc-supply = <&vreg_l21a_2p95>; 924 vmmc-supply = <&vreg_l21a_2p95>; 950 vqmmc-supply = <&vreg_l13a_2p95>; 925 vqmmc-supply = <&vreg_l13a_2p95>; 951 status = "okay"; 926 status = "okay"; 952 }; 927 }; 953 928 954 &q6asmdai { 929 &q6asmdai { 955 dai@0 { 930 dai@0 { 956 reg = <0>; 931 reg = <0>; 957 }; 932 }; 958 933 959 dai@1 { 934 dai@1 { 960 reg = <1>; 935 reg = <1>; 961 }; 936 }; 962 937 963 dai@2 { 938 dai@2 { 964 reg = <2>; 939 reg = <2>; 965 }; 940 }; 966 }; 941 }; 967 942 968 &slim_msm { << 969 status = "okay"; << 970 << 971 slim@1 { << 972 reg = <1>; << 973 #address-cells = <2>; << 974 #size-cells = <0>; << 975 << 976 tasha_ifd: tas-ifd@0,0 { << 977 compatible = "slim217, << 978 reg = <0 0>; << 979 }; << 980 << 981 wcd9335: codec@1,0 { << 982 compatible = "slim217, << 983 reg = <1 0>; << 984 << 985 clock-names = "mclk", << 986 clocks = <&div1_mclk>, << 987 <&rpmcc RPM_S << 988 interrupt-parent = <&t << 989 interrupts = <54 IRQ_T << 990 <53 IRQ_T << 991 interrupt-names = "int << 992 interrupt-controller; << 993 #interrupt-cells = <1> << 994 << 995 pinctrl-0 = <&cdc_rese << 996 pinctrl-names = "defau << 997 << 998 reset-gpios = <&tlmm 6 << 999 slim-ifc-dev = <&tasha << 1000 << 1001 #sound-dai-cells = <1 << 1002 << 1003 vdd-buck-supply = <&v << 1004 vdd-buck-sido-supply << 1005 vdd-tx-supply = <&vre << 1006 vdd-rx-supply = <&vre << 1007 vdd-io-supply = <&vre << 1008 }; << 1009 }; << 1010 }; << 1011 << 1012 &sound { 943 &sound { 1013 compatible = "qcom,apq8096-sndcard"; 944 compatible = "qcom,apq8096-sndcard"; 1014 model = "DB820c"; 945 model = "DB820c"; 1015 audio-routing = "RX_BIAS", "MCLK", !! 946 audio-routing = "RX_BIAS", "MCLK", 1016 "MM_DL1", "MultiMedia1 Playb 947 "MM_DL1", "MultiMedia1 Playback", 1017 "MM_DL2", "MultiMedia2 Playb 948 "MM_DL2", "MultiMedia2 Playback", 1018 "MultiMedia3 Capture", "MM_UL 949 "MultiMedia3 Capture", "MM_UL3"; 1019 950 1020 mm1-dai-link { 951 mm1-dai-link { 1021 link-name = "MultiMedia1"; 952 link-name = "MultiMedia1"; 1022 cpu { 953 cpu { 1023 sound-dai = <&q6asmda 954 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; 1024 }; 955 }; 1025 }; 956 }; 1026 957 1027 mm2-dai-link { 958 mm2-dai-link { 1028 link-name = "MultiMedia2"; 959 link-name = "MultiMedia2"; 1029 cpu { 960 cpu { 1030 sound-dai = <&q6asmda 961 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>; 1031 }; 962 }; 1032 }; 963 }; 1033 964 1034 mm3-dai-link { 965 mm3-dai-link { 1035 link-name = "MultiMedia3"; 966 link-name = "MultiMedia3"; 1036 cpu { 967 cpu { 1037 sound-dai = <&q6asmda 968 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>; 1038 }; 969 }; 1039 }; 970 }; 1040 971 1041 hdmi-dai-link { 972 hdmi-dai-link { 1042 link-name = "HDMI"; 973 link-name = "HDMI"; 1043 cpu { 974 cpu { 1044 sound-dai = <&q6afeda 975 sound-dai = <&q6afedai HDMI_RX>; 1045 }; 976 }; 1046 977 1047 platform { 978 platform { 1048 sound-dai = <&q6routi 979 sound-dai = <&q6routing>; 1049 }; 980 }; 1050 981 1051 codec { 982 codec { 1052 sound-dai = <&mdss_hd !! 983 sound-dai = <&hdmi 0>; 1053 }; 984 }; 1054 }; 985 }; 1055 986 1056 slim-dai-link { 987 slim-dai-link { 1057 link-name = "SLIM Playback"; 988 link-name = "SLIM Playback"; 1058 cpu { 989 cpu { 1059 sound-dai = <&q6afeda 990 sound-dai = <&q6afedai SLIMBUS_6_RX>; 1060 }; 991 }; 1061 992 1062 platform { 993 platform { 1063 sound-dai = <&q6routi 994 sound-dai = <&q6routing>; 1064 }; !! 995 }; 1065 996 1066 codec { 997 codec { 1067 sound-dai = <&wcd9335 !! 998 sound-dai = <&wcd9335 6>; 1068 }; 999 }; 1069 }; 1000 }; 1070 1001 1071 slimcap-dai-link { 1002 slimcap-dai-link { 1072 link-name = "SLIM Capture"; 1003 link-name = "SLIM Capture"; 1073 cpu { 1004 cpu { 1074 sound-dai = <&q6afeda 1005 sound-dai = <&q6afedai SLIMBUS_0_TX>; 1075 }; 1006 }; 1076 1007 1077 platform { 1008 platform { 1078 sound-dai = <&q6routi 1009 sound-dai = <&q6routing>; 1079 }; 1010 }; 1080 1011 1081 codec { 1012 codec { 1082 sound-dai = <&wcd9335 !! 1013 sound-dai = <&wcd9335 1>; 1083 }; 1014 }; 1084 }; 1015 }; 1085 }; 1016 }; 1086 1017 1087 &ufsphy { 1018 &ufsphy { 1088 status = "okay"; 1019 status = "okay"; 1089 1020 1090 vdda-phy-supply = <&vreg_l28a_0p925>; 1021 vdda-phy-supply = <&vreg_l28a_0p925>; 1091 vdda-pll-supply = <&vreg_l12a_1p8>; 1022 vdda-pll-supply = <&vreg_l12a_1p8>; >> 1023 vddp-ref-clk-supply = <&vreg_l25a_1p2>; 1092 }; 1024 }; 1093 1025 1094 &ufshc { 1026 &ufshc { 1095 status = "okay"; 1027 status = "okay"; 1096 1028 1097 vcc-supply = <&vreg_l20a_2p95>; 1029 vcc-supply = <&vreg_l20a_2p95>; 1098 vccq-supply = <&vreg_l25a_1p2>; 1030 vccq-supply = <&vreg_l25a_1p2>; 1099 vccq2-supply = <&vreg_s4a_1p8>; 1031 vccq2-supply = <&vreg_s4a_1p8>; 1100 vdd-hba-supply = <&vreg_l25a_1p2>; << 1101 1032 1102 vcc-max-microamp = <600000>; 1033 vcc-max-microamp = <600000>; 1103 vccq-max-microamp = <450000>; 1034 vccq-max-microamp = <450000>; 1104 vccq2-max-microamp = <450000>; 1035 vccq2-max-microamp = <450000>; 1105 }; 1036 }; 1106 1037 1107 &usb2 { 1038 &usb2 { 1108 status = "okay"; 1039 status = "okay"; 1109 extcon = <&usb2_id>; 1040 extcon = <&usb2_id>; 1110 }; << 1111 1041 1112 &usb2_dwc3 { !! 1042 dwc3@7600000 { 1113 extcon = <&usb2_id>; !! 1043 extcon = <&usb2_id>; 1114 dr_mode = "otg"; !! 1044 dr_mode = "otg"; 1115 maximum-speed = "high-speed"; !! 1045 maximum-speed = "high-speed"; >> 1046 }; 1116 }; 1047 }; 1117 1048 1118 &usb3 { 1049 &usb3 { 1119 status = "okay"; 1050 status = "okay"; 1120 extcon = <&usb3_id>; 1051 extcon = <&usb3_id>; 1121 }; << 1122 1052 1123 &usb3_dwc3 { !! 1053 dwc3@6a00000 { 1124 extcon = <&usb3_id>; !! 1054 extcon = <&usb3_id>; 1125 dr_mode = "otg"; !! 1055 dr_mode = "otg"; >> 1056 }; 1126 }; 1057 }; 1127 1058 1128 &usb3phy { 1059 &usb3phy { 1129 status = "okay"; 1060 status = "okay"; 1130 1061 1131 vdda-phy-supply = <&vreg_l28a_0p925>; 1062 vdda-phy-supply = <&vreg_l28a_0p925>; 1132 vdda-pll-supply = <&vreg_l12a_1p8>; 1063 vdda-pll-supply = <&vreg_l12a_1p8>; >> 1064 1133 }; 1065 }; 1134 1066 1135 &venus { 1067 &venus { 1136 status = "okay"; 1068 status = "okay"; >> 1069 }; >> 1070 >> 1071 &wcd9335 { >> 1072 clock-names = "mclk", "slimbus"; >> 1073 clocks = <&div1_mclk>, >> 1074 <&rpmcc RPM_SMD_BB_CLK1>; >> 1075 >> 1076 vdd-buck-supply = <&vreg_s4a_1p8>; >> 1077 vdd-buck-sido-supply = <&vreg_s4a_1p8>; >> 1078 vdd-tx-supply = <&vreg_s4a_1p8>; >> 1079 vdd-rx-supply = <&vreg_s4a_1p8>; >> 1080 vdd-io-supply = <&vreg_s4a_1p8>; 1137 }; 1081 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.