1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Lenovo Yoga C630 3 * Lenovo Yoga C630 4 * 4 * 5 * Copyright (c) 2019, Linaro Ltd. 5 * Copyright (c) 2019, Linaro Ltd. 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/gpio-keys.h> 11 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regu 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include <dt-bindings/sound/qcom,q6afe.h> 13 #include <dt-bindings/sound/qcom,q6afe.h> 14 #include <dt-bindings/sound/qcom,q6asm.h> 14 #include <dt-bindings/sound/qcom,q6asm.h> 15 #include "sdm850.dtsi" 15 #include "sdm850.dtsi" 16 #include "sdm845-wcd9340.dtsi" << 17 #include "pm8998.dtsi" 16 #include "pm8998.dtsi" 18 17 19 /* 18 /* 20 * Update following upstream (sdm845.dtsi) res 19 * Update following upstream (sdm845.dtsi) reserved 21 * memory mappings for firmware loading to suc 20 * memory mappings for firmware loading to succeed 22 * and enable the IPA device. 21 * and enable the IPA device. 23 */ 22 */ 24 /delete-node/ &ipa_fw_mem; 23 /delete-node/ &ipa_fw_mem; 25 /delete-node/ &ipa_gsi_mem; 24 /delete-node/ &ipa_gsi_mem; 26 /delete-node/ &gpu_mem; 25 /delete-node/ &gpu_mem; 27 /delete-node/ &adsp_mem; 26 /delete-node/ &adsp_mem; 28 /delete-node/ &wlan_msa_mem; 27 /delete-node/ &wlan_msa_mem; 29 28 30 / { 29 / { 31 model = "Lenovo Yoga C630"; 30 model = "Lenovo Yoga C630"; 32 compatible = "lenovo,yoga-c630", "qcom 31 compatible = "lenovo,yoga-c630", "qcom,sdm845"; 33 chassis-type = "convertible"; 32 chassis-type = "convertible"; 34 33 35 aliases { 34 aliases { 36 serial0 = &uart9; !! 35 hsuart0 = &uart6; 37 serial1 = &uart6; << 38 }; 36 }; 39 37 40 gpio-keys { 38 gpio-keys { 41 compatible = "gpio-keys"; 39 compatible = "gpio-keys"; 42 40 43 pinctrl-names = "default"; 41 pinctrl-names = "default"; 44 pinctrl-0 = <&lid_pin_active>, 42 pinctrl-0 = <&lid_pin_active>, <&mode_pin_active>; 45 43 46 switch-lid { !! 44 lid { 47 gpios = <&tlmm 124 GPI 45 gpios = <&tlmm 124 GPIO_ACTIVE_HIGH>; 48 linux,input-type = <EV 46 linux,input-type = <EV_SW>; 49 linux,code = <SW_LID>; 47 linux,code = <SW_LID>; 50 wakeup-source; 48 wakeup-source; 51 wakeup-event-action = 49 wakeup-event-action = <EV_ACT_DEASSERTED>; 52 }; 50 }; 53 51 54 switch-mode { !! 52 mode { 55 gpios = <&tlmm 95 GPIO 53 gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>; 56 linux,input-type = <EV 54 linux,input-type = <EV_SW>; 57 linux,code = <SW_TABLE 55 linux,code = <SW_TABLET_MODE>; 58 }; 56 }; 59 }; 57 }; 60 58 61 /* Reserved memory changes for IPA */ 59 /* Reserved memory changes for IPA */ 62 reserved-memory { 60 reserved-memory { 63 wlan_msa_mem: memory@8c400000 61 wlan_msa_mem: memory@8c400000 { 64 reg = <0 0x8c400000 0 62 reg = <0 0x8c400000 0 0x100000>; 65 no-map; 63 no-map; 66 }; 64 }; 67 65 68 gpu_mem: memory@8c515000 { 66 gpu_mem: memory@8c515000 { 69 reg = <0 0x8c515000 0 67 reg = <0 0x8c515000 0 0x2000>; 70 no-map; 68 no-map; 71 }; 69 }; 72 70 73 ipa_fw_mem: memory@8c517000 { 71 ipa_fw_mem: memory@8c517000 { 74 reg = <0 0x8c517000 0 72 reg = <0 0x8c517000 0 0x5a000>; 75 no-map; 73 no-map; 76 }; 74 }; 77 75 78 adsp_mem: memory@8c600000 { 76 adsp_mem: memory@8c600000 { 79 reg = <0 0x8c600000 0 77 reg = <0 0x8c600000 0 0x1a00000>; 80 no-map; 78 no-map; 81 }; 79 }; 82 }; 80 }; 83 81 84 sw_edp_1p2: edp-1p2-regulator { << 85 compatible = "regulator-fixed" << 86 regulator-name = "sw_edp_1p2"; << 87 << 88 regulator-min-microvolt = <120 << 89 regulator-max-microvolt = <120 << 90 << 91 pinctrl-0 = <&sw_edp_1p2_en>; << 92 pinctrl-names = "default"; << 93 << 94 gpio = <&pm8998_gpios 9 GPIO_A << 95 enable-active-high; << 96 << 97 vin-supply = <&vreg_l2a_1p2>; << 98 }; << 99 << 100 sn65dsi86_refclk: sn65dsi86-refclk { 82 sn65dsi86_refclk: sn65dsi86-refclk { 101 compatible = "fixed-clock"; 83 compatible = "fixed-clock"; 102 #clock-cells = <0>; 84 #clock-cells = <0>; 103 85 104 clock-frequency = <19200000>; 86 clock-frequency = <19200000>; 105 }; 87 }; 106 88 107 vph_pwr: regulator-vph-pwr { << 108 compatible = "regulator-fixed" << 109 regulator-name = "vph_pwr"; << 110 regulator-min-microvolt = <370 << 111 regulator-max-microvolt = <370 << 112 }; << 113 << 114 vlcm_3v3: regulator-vlcm-3v3 { << 115 compatible = "regulator-fixed" << 116 regulator-name = "vlcm_3v3"; << 117 << 118 vin-supply = <&vph_pwr>; << 119 regulator-min-microvolt = <330 << 120 regulator-max-microvolt = <330 << 121 << 122 gpio = <&tlmm 88 GPIO_ACTIVE_H << 123 enable-active-high; << 124 }; << 125 << 126 backlight: backlight { 89 backlight: backlight { 127 compatible = "pwm-backlight"; 90 compatible = "pwm-backlight"; 128 pwms = <&sn65dsi86 1000000>; 91 pwms = <&sn65dsi86 1000000>; 129 enable-gpios = <&tlmm 11 GPIO_ 92 enable-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>; 130 }; 93 }; 131 }; 94 }; 132 95 133 &adsp_pas { 96 &adsp_pas { 134 firmware-name = "qcom/sdm850/LENOVO/81 !! 97 firmware-name = "qcom/LENOVO/81JL/qcadsp850.mbn"; 135 status = "okay"; 98 status = "okay"; 136 }; 99 }; 137 100 138 &apps_rsc { 101 &apps_rsc { 139 regulators-0 { !! 102 pm8998-rpmh-regulators { 140 compatible = "qcom,pm8998-rpmh 103 compatible = "qcom,pm8998-rpmh-regulators"; 141 qcom,pmic-id = "a"; 104 qcom,pmic-id = "a"; 142 105 143 vdd-l2-l8-l17-supply = <&vreg_ 106 vdd-l2-l8-l17-supply = <&vreg_s3a_1p35>; 144 vdd-l7-l12-l14-l15-supply = <& 107 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>; 145 108 146 vreg_s2a_1p125: smps2 { 109 vreg_s2a_1p125: smps2 { 147 }; 110 }; 148 111 149 vreg_s3a_1p35: smps3 { 112 vreg_s3a_1p35: smps3 { 150 regulator-min-microvol 113 regulator-min-microvolt = <1352000>; 151 regulator-max-microvol 114 regulator-max-microvolt = <1352000>; 152 regulator-initial-mode 115 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 153 }; 116 }; 154 117 155 vreg_s4a_1p8: smps4 { 118 vreg_s4a_1p8: smps4 { 156 regulator-min-microvol 119 regulator-min-microvolt = <1800000>; 157 regulator-max-microvol 120 regulator-max-microvolt = <1800000>; 158 regulator-initial-mode 121 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 159 }; 122 }; 160 123 161 vreg_s5a_2p04: smps5 { 124 vreg_s5a_2p04: smps5 { 162 regulator-min-microvol 125 regulator-min-microvolt = <2040000>; 163 regulator-max-microvol 126 regulator-max-microvolt = <2040000>; 164 regulator-initial-mode 127 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 165 }; 128 }; 166 129 167 vreg_s7a_1p025: smps7 { 130 vreg_s7a_1p025: smps7 { 168 }; 131 }; 169 132 170 vdd_qusb_hs0: 133 vdd_qusb_hs0: 171 vdda_hp_pcie_core: 134 vdda_hp_pcie_core: 172 vdda_mipi_csi0_0p9: 135 vdda_mipi_csi0_0p9: 173 vdda_mipi_csi1_0p9: 136 vdda_mipi_csi1_0p9: 174 vdda_mipi_csi2_0p9: 137 vdda_mipi_csi2_0p9: 175 vdda_mipi_dsi0_pll: 138 vdda_mipi_dsi0_pll: 176 vdda_mipi_dsi1_pll: 139 vdda_mipi_dsi1_pll: 177 vdda_qlink_lv: 140 vdda_qlink_lv: 178 vdda_qlink_lv_ck: 141 vdda_qlink_lv_ck: 179 vdda_qrefs_0p875: 142 vdda_qrefs_0p875: 180 vdda_pcie_core: 143 vdda_pcie_core: 181 vdda_pll_cc_ebi01: 144 vdda_pll_cc_ebi01: 182 vdda_pll_cc_ebi23: 145 vdda_pll_cc_ebi23: 183 vdda_sp_sensor: 146 vdda_sp_sensor: 184 vdda_ufs1_core: 147 vdda_ufs1_core: 185 vdda_ufs2_core: 148 vdda_ufs2_core: 186 vdda_usb1_ss_core: 149 vdda_usb1_ss_core: 187 vdda_usb2_ss_core: 150 vdda_usb2_ss_core: 188 vreg_l1a_0p875: ldo1 { 151 vreg_l1a_0p875: ldo1 { 189 regulator-min-microvol 152 regulator-min-microvolt = <880000>; 190 regulator-max-microvol 153 regulator-max-microvolt = <880000>; 191 regulator-initial-mode 154 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 192 }; 155 }; 193 156 194 vddpx_10: 157 vddpx_10: 195 vreg_l2a_1p2: ldo2 { 158 vreg_l2a_1p2: ldo2 { 196 regulator-min-microvol 159 regulator-min-microvolt = <1200000>; 197 regulator-max-microvol 160 regulator-max-microvolt = <1200000>; 198 regulator-initial-mode 161 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 199 regulator-always-on; 162 regulator-always-on; 200 }; 163 }; 201 164 202 vreg_l3a_1p0: ldo3 { 165 vreg_l3a_1p0: ldo3 { 203 }; 166 }; 204 167 205 vdd_wcss_cx: 168 vdd_wcss_cx: 206 vdd_wcss_mx: 169 vdd_wcss_mx: 207 vdda_wcss_pll: 170 vdda_wcss_pll: 208 vreg_l5a_0p8: ldo5 { 171 vreg_l5a_0p8: ldo5 { 209 regulator-min-microvol 172 regulator-min-microvolt = <800000>; 210 regulator-max-microvol 173 regulator-max-microvolt = <800000>; 211 regulator-initial-mode 174 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 212 }; 175 }; 213 176 214 vddpx_13: 177 vddpx_13: 215 vreg_l6a_1p8: ldo6 { 178 vreg_l6a_1p8: ldo6 { 216 regulator-min-microvol 179 regulator-min-microvolt = <1800000>; 217 regulator-max-microvol 180 regulator-max-microvolt = <1800000>; 218 regulator-initial-mode 181 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 219 }; 182 }; 220 183 221 vreg_l7a_1p8: ldo7 { 184 vreg_l7a_1p8: ldo7 { 222 regulator-min-microvol 185 regulator-min-microvolt = <1800000>; 223 regulator-max-microvol 186 regulator-max-microvolt = <1800000>; 224 regulator-initial-mode 187 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 225 }; 188 }; 226 189 227 vreg_l8a_1p2: ldo8 { 190 vreg_l8a_1p2: ldo8 { 228 }; 191 }; 229 192 230 vreg_l9a_1p8: ldo9 { 193 vreg_l9a_1p8: ldo9 { 231 }; 194 }; 232 195 233 vreg_l10a_1p8: ldo10 { 196 vreg_l10a_1p8: ldo10 { 234 }; 197 }; 235 198 236 vreg_l11a_1p0: ldo11 { 199 vreg_l11a_1p0: ldo11 { 237 }; 200 }; 238 201 239 vdd_qfprom: 202 vdd_qfprom: 240 vdd_qfprom_sp: 203 vdd_qfprom_sp: 241 vdda_apc1_cs_1p8: 204 vdda_apc1_cs_1p8: 242 vdda_gfx_cs_1p8: 205 vdda_gfx_cs_1p8: 243 vdda_qrefs_1p8: 206 vdda_qrefs_1p8: 244 vdda_qusb_hs0_1p8: 207 vdda_qusb_hs0_1p8: 245 vddpx_11: 208 vddpx_11: 246 vreg_l12a_1p8: ldo12 { 209 vreg_l12a_1p8: ldo12 { 247 regulator-min-microvol 210 regulator-min-microvolt = <1800000>; 248 regulator-max-microvol 211 regulator-max-microvolt = <1800000>; 249 regulator-initial-mode 212 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 250 }; 213 }; 251 214 252 vddpx_2: 215 vddpx_2: 253 vreg_l13a_2p95: ldo13 { 216 vreg_l13a_2p95: ldo13 { 254 }; 217 }; 255 218 256 vreg_l14a_1p88: ldo14 { 219 vreg_l14a_1p88: ldo14 { 257 regulator-min-microvol 220 regulator-min-microvolt = <1880000>; 258 regulator-max-microvol 221 regulator-max-microvolt = <1880000>; 259 regulator-initial-mode 222 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 260 regulator-always-on; 223 regulator-always-on; 261 }; 224 }; 262 225 263 vreg_l15a_1p8: ldo15 { 226 vreg_l15a_1p8: ldo15 { 264 }; 227 }; 265 228 266 vreg_l16a_2p7: ldo16 { 229 vreg_l16a_2p7: ldo16 { 267 }; 230 }; 268 231 269 vreg_l17a_1p3: ldo17 { 232 vreg_l17a_1p3: ldo17 { 270 regulator-min-microvol 233 regulator-min-microvolt = <1304000>; 271 regulator-max-microvol 234 regulator-max-microvolt = <1304000>; 272 regulator-initial-mode 235 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 273 }; 236 }; 274 237 275 vreg_l18a_2p7: ldo18 { 238 vreg_l18a_2p7: ldo18 { 276 }; 239 }; 277 240 278 vreg_l19a_3p0: ldo19 { 241 vreg_l19a_3p0: ldo19 { 279 regulator-min-microvol 242 regulator-min-microvolt = <3100000>; 280 regulator-max-microvol 243 regulator-max-microvolt = <3108000>; 281 regulator-initial-mode 244 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 282 }; 245 }; 283 246 284 vreg_l20a_2p95: ldo20 { 247 vreg_l20a_2p95: ldo20 { 285 regulator-min-microvol 248 regulator-min-microvolt = <2960000>; 286 regulator-max-microvol 249 regulator-max-microvolt = <2960000>; 287 regulator-initial-mode 250 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 288 }; 251 }; 289 252 290 vreg_l21a_2p95: ldo21 { 253 vreg_l21a_2p95: ldo21 { 291 }; 254 }; 292 255 293 vreg_l22a_2p85: ldo22 { 256 vreg_l22a_2p85: ldo22 { 294 }; 257 }; 295 258 296 vreg_l23a_3p3: ldo23 { 259 vreg_l23a_3p3: ldo23 { 297 regulator-min-microvol 260 regulator-min-microvolt = <3300000>; 298 regulator-max-microvol 261 regulator-max-microvolt = <3312000>; 299 regulator-initial-mode 262 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 300 }; 263 }; 301 264 302 vdda_qusb_hs0_3p1: 265 vdda_qusb_hs0_3p1: 303 vreg_l24a_3p075: ldo24 { 266 vreg_l24a_3p075: ldo24 { 304 regulator-min-microvol 267 regulator-min-microvolt = <3075000>; 305 regulator-max-microvol 268 regulator-max-microvolt = <3083000>; 306 regulator-initial-mode 269 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 307 }; 270 }; 308 271 309 vreg_l25a_3p3: ldo25 { 272 vreg_l25a_3p3: ldo25 { 310 regulator-min-microvol 273 regulator-min-microvolt = <3104000>; 311 regulator-max-microvol 274 regulator-max-microvolt = <3112000>; 312 regulator-initial-mode 275 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 313 }; 276 }; 314 277 315 vdda_hp_pcie_1p2: 278 vdda_hp_pcie_1p2: 316 vdda_hv_ebi0: 279 vdda_hv_ebi0: 317 vdda_hv_ebi1: 280 vdda_hv_ebi1: 318 vdda_hv_ebi2: 281 vdda_hv_ebi2: 319 vdda_hv_ebi3: 282 vdda_hv_ebi3: 320 vdda_mipi_csi_1p25: 283 vdda_mipi_csi_1p25: 321 vdda_mipi_dsi0_1p2: 284 vdda_mipi_dsi0_1p2: 322 vdda_mipi_dsi1_1p2: 285 vdda_mipi_dsi1_1p2: 323 vdda_pcie_1p2: 286 vdda_pcie_1p2: 324 vdda_ufs1_1p2: 287 vdda_ufs1_1p2: 325 vdda_ufs2_1p2: 288 vdda_ufs2_1p2: 326 vdda_usb1_ss_1p2: 289 vdda_usb1_ss_1p2: 327 vdda_usb2_ss_1p2: 290 vdda_usb2_ss_1p2: 328 vreg_l26a_1p2: ldo26 { 291 vreg_l26a_1p2: ldo26 { 329 regulator-min-microvol 292 regulator-min-microvolt = <1200000>; 330 regulator-max-microvol 293 regulator-max-microvolt = <1208000>; 331 regulator-initial-mode 294 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 332 }; 295 }; 333 296 334 vreg_l28a_3p0: ldo28 { 297 vreg_l28a_3p0: ldo28 { 335 }; 298 }; 336 299 337 vreg_lvs1a_1p8: lvs1 { 300 vreg_lvs1a_1p8: lvs1 { 338 }; 301 }; 339 302 340 vreg_lvs2a_1p8: lvs2 { 303 vreg_lvs2a_1p8: lvs2 { 341 }; 304 }; 342 }; 305 }; 343 }; 306 }; 344 307 345 &cdsp_pas { 308 &cdsp_pas { 346 firmware-name = "qcom/sdm850/LENOVO/81 !! 309 firmware-name = "qcom/LENOVO/81JL/qccdsp850.mbn"; 347 status = "okay"; 310 status = "okay"; 348 }; 311 }; 349 312 >> 313 &dsi0 { >> 314 status = "okay"; >> 315 vdda-supply = <&vreg_l26a_1p2>; >> 316 >> 317 ports { >> 318 port@1 { >> 319 endpoint { >> 320 remote-endpoint = <&sn65dsi86_in_a>; >> 321 data-lanes = <0 1 2 3>; >> 322 }; >> 323 }; >> 324 }; >> 325 }; >> 326 >> 327 &dsi0_phy { >> 328 status = "okay"; >> 329 vdds-supply = <&vreg_l1a_0p875>; >> 330 }; >> 331 350 &gcc { 332 &gcc { 351 protected-clocks = <GCC_QSPI_CORE_CLK> 333 protected-clocks = <GCC_QSPI_CORE_CLK>, 352 <GCC_QSPI_CORE_CLK_ 334 <GCC_QSPI_CORE_CLK_SRC>, 353 <GCC_QSPI_CNOC_PERI 335 <GCC_QSPI_CNOC_PERIPH_AHB_CLK>, 354 <GCC_LPASS_Q6_AXI_C 336 <GCC_LPASS_Q6_AXI_CLK>, 355 <GCC_LPASS_SWAY_CLK 337 <GCC_LPASS_SWAY_CLK>; 356 }; 338 }; 357 339 358 &gmu { 340 &gmu { 359 status = "okay"; 341 status = "okay"; 360 }; 342 }; 361 343 362 &gpu { 344 &gpu { 363 status = "okay"; 345 status = "okay"; 364 zap-shader { 346 zap-shader { 365 memory-region = <&gpu_mem>; 347 memory-region = <&gpu_mem>; 366 firmware-name = "qcom/sdm850/L !! 348 firmware-name = "qcom/LENOVO/81JL/qcdxkmsuc850.mbn"; 367 }; 349 }; 368 }; 350 }; 369 351 370 &i2c1 { 352 &i2c1 { 371 status = "okay"; 353 status = "okay"; 372 clock-frequency = <400000>; 354 clock-frequency = <400000>; 373 << 374 embedded-controller@70 { << 375 compatible = "lenovo,yoga-c630 << 376 reg = <0x70>; << 377 << 378 interrupts-extended = <&tlmm 2 << 379 << 380 pinctrl-names = "default"; << 381 pinctrl-0 = <&ec_int_state>; << 382 << 383 #address-cells = <1>; << 384 #size-cells = <0>; << 385 << 386 connector@0 { << 387 compatible = "usb-c-co << 388 reg = <0>; << 389 power-role = "dual"; << 390 data-role = "host"; << 391 << 392 ports { << 393 #address-cells << 394 #size-cells = << 395 << 396 port@0 { << 397 reg = << 398 << 399 ucsi0_ << 400 << 401 }; << 402 }; << 403 << 404 port@1 { << 405 reg = << 406 << 407 ucsi0_ << 408 << 409 }; << 410 }; << 411 << 412 port@2 { << 413 reg = << 414 << 415 ucsi0_ << 416 }; << 417 }; << 418 }; << 419 }; << 420 << 421 connector@1 { << 422 compatible = "usb-c-co << 423 reg = <1>; << 424 power-role = "dual"; << 425 data-role = "host"; << 426 << 427 /* << 428 * connected to the on << 429 * handled by the cont << 430 */ << 431 }; << 432 }; << 433 }; 355 }; 434 356 435 &i2c3 { 357 &i2c3 { 436 status = "okay"; 358 status = "okay"; 437 clock-frequency = <400000>; 359 clock-frequency = <400000>; 438 /* Overwrite pinctrl-0 from sdm845.dts 360 /* Overwrite pinctrl-0 from sdm845.dtsi */ 439 pinctrl-0 = <&qup_i2c3_default &i2c3_h 361 pinctrl-0 = <&qup_i2c3_default &i2c3_hid_active>; 440 362 441 tsel: hid@15 { 363 tsel: hid@15 { 442 compatible = "hid-over-i2c"; 364 compatible = "hid-over-i2c"; 443 reg = <0x15>; 365 reg = <0x15>; 444 hid-descr-addr = <0x1>; 366 hid-descr-addr = <0x1>; 445 367 446 interrupts-extended = <&tlmm 3 368 interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>; 447 }; 369 }; 448 370 449 tsc2: hid@2c { 371 tsc2: hid@2c { 450 compatible = "hid-over-i2c"; 372 compatible = "hid-over-i2c"; 451 reg = <0x2c>; 373 reg = <0x2c>; 452 hid-descr-addr = <0x20>; 374 hid-descr-addr = <0x20>; 453 375 454 interrupts-extended = <&tlmm 3 376 interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>; 455 << 456 wakeup-source; << 457 }; 377 }; 458 }; 378 }; 459 379 460 &i2c5 { 380 &i2c5 { 461 status = "okay"; 381 status = "okay"; 462 clock-frequency = <400000>; 382 clock-frequency = <400000>; 463 383 464 tsc1: hid@10 { 384 tsc1: hid@10 { 465 compatible = "hid-over-i2c"; 385 compatible = "hid-over-i2c"; 466 reg = <0x10>; 386 reg = <0x10>; 467 hid-descr-addr = <0x1>; 387 hid-descr-addr = <0x1>; 468 388 469 interrupts-extended = <&tlmm 1 389 interrupts-extended = <&tlmm 125 IRQ_TYPE_LEVEL_LOW>; 470 390 471 pinctrl-names = "default"; 391 pinctrl-names = "default"; 472 pinctrl-0 = <&i2c5_hid_active> 392 pinctrl-0 = <&i2c5_hid_active>; 473 << 474 wakeup-source; << 475 }; 393 }; 476 }; 394 }; 477 395 478 &i2c10 { 396 &i2c10 { 479 status = "okay"; 397 status = "okay"; 480 clock-frequency = <400000>; 398 clock-frequency = <400000>; 481 399 482 sn65dsi86: bridge@2c { 400 sn65dsi86: bridge@2c { 483 compatible = "ti,sn65dsi86"; 401 compatible = "ti,sn65dsi86"; 484 reg = <0x2c>; 402 reg = <0x2c>; 485 pinctrl-names = "default"; 403 pinctrl-names = "default"; 486 pinctrl-0 = <&sn65dsi86_pin_ac 404 pinctrl-0 = <&sn65dsi86_pin_active>; 487 405 488 enable-gpios = <&tlmm 96 GPIO_ 406 enable-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 489 407 490 vcca-supply = <&sw_edp_1p2>; << 491 vcc-supply = <&sw_edp_1p2>; << 492 vpll-supply = <&vreg_l14a_1p88 408 vpll-supply = <&vreg_l14a_1p88>; 493 vccio-supply = <&vreg_l14a_1p8 409 vccio-supply = <&vreg_l14a_1p88>; 494 410 495 clocks = <&sn65dsi86_refclk>; 411 clocks = <&sn65dsi86_refclk>; 496 clock-names = "refclk"; 412 clock-names = "refclk"; 497 413 498 no-hpd; 414 no-hpd; 499 #pwm-cells = <1>; 415 #pwm-cells = <1>; 500 416 501 ports { 417 ports { 502 #address-cells = <1>; 418 #address-cells = <1>; 503 #size-cells = <0>; 419 #size-cells = <0>; 504 420 505 port@0 { 421 port@0 { 506 reg = <0>; 422 reg = <0>; 507 sn65dsi86_in_a 423 sn65dsi86_in_a: endpoint { 508 remote !! 424 remote-endpoint = <&dsi0_out>; 509 }; 425 }; 510 }; 426 }; 511 427 512 port@1 { 428 port@1 { 513 reg = <1>; 429 reg = <1>; 514 sn65dsi86_out: 430 sn65dsi86_out: endpoint { 515 remote 431 remote-endpoint = <&panel_in_edp>; 516 }; 432 }; 517 }; 433 }; 518 }; 434 }; 519 435 520 aux-bus { 436 aux-bus { 521 panel: panel { 437 panel: panel { 522 compatible = " 438 compatible = "boe,nv133fhm-n61"; 523 backlight = <& 439 backlight = <&backlight>; 524 power-supply = << 525 440 526 port { 441 port { 527 panel_ 442 panel_in_edp: endpoint { 528 443 remote-endpoint = <&sn65dsi86_out>; 529 }; 444 }; 530 }; 445 }; 531 }; 446 }; 532 }; 447 }; 533 }; 448 }; 534 }; 449 }; 535 450 536 &i2c11 { 451 &i2c11 { 537 status = "okay"; 452 status = "okay"; 538 clock-frequency = <400000>; 453 clock-frequency = <400000>; 539 454 540 ecsh: hid@5c { 455 ecsh: hid@5c { 541 compatible = "hid-over-i2c"; 456 compatible = "hid-over-i2c"; 542 reg = <0x5c>; 457 reg = <0x5c>; 543 hid-descr-addr = <0x1>; 458 hid-descr-addr = <0x1>; 544 459 545 interrupts-extended = <&tlmm 9 460 interrupts-extended = <&tlmm 92 IRQ_TYPE_LEVEL_LOW>; 546 461 547 pinctrl-names = "default"; 462 pinctrl-names = "default"; 548 pinctrl-0 = <&i2c11_hid_active 463 pinctrl-0 = <&i2c11_hid_active>; 549 << 550 wakeup-source; << 551 }; 464 }; 552 }; 465 }; 553 466 554 &ipa { 467 &ipa { 555 qcom,gsi-loader = "self"; << 556 memory-region = <&ipa_fw_mem>; << 557 firmware-name = "qcom/sdm850/LENOVO/81 << 558 status = "okay"; 468 status = "okay"; >> 469 memory-region = <&ipa_fw_mem>; 559 }; 470 }; 560 471 561 &mdss { 472 &mdss { 562 status = "okay"; 473 status = "okay"; 563 }; 474 }; 564 475 565 &mdss_dsi0 { << 566 status = "okay"; << 567 vdda-supply = <&vreg_l26a_1p2>; << 568 << 569 ports { << 570 port@1 { << 571 endpoint { << 572 remote-endpoin << 573 data-lanes = < << 574 }; << 575 }; << 576 }; << 577 }; << 578 << 579 &mdss_dsi0_phy { << 580 status = "okay"; << 581 vdds-supply = <&vreg_l1a_0p875>; << 582 }; << 583 << 584 &mss_pil { 476 &mss_pil { 585 status = "okay"; 477 status = "okay"; 586 firmware-name = "qcom/sdm850/LENOVO/81 !! 478 firmware-name = "qcom/LENOVO/81JL/qcdsp1v2850.mbn", "qcom/LENOVO/81JL/qcdsp2850.mbn"; 587 }; 479 }; 588 480 589 &pm8998_gpios { !! 481 &qup_i2c10_default { 590 /* This pin is pulled down by a fixed !! 482 pinconf { 591 sw_edp_1p2_en: pm8998-gpio9-state { !! 483 pins = "gpio55", "gpio56"; 592 pins = "gpio9"; !! 484 drive-strength = <2>; 593 function = "normal"; << 594 bias-disable; 485 bias-disable; 595 qcom,drive-strength = <0>; << 596 }; 486 }; 597 }; 487 }; 598 488 599 &qup_i2c10_default { !! 489 &qup_i2c12_default { 600 drive-strength = <2>; 490 drive-strength = <2>; 601 bias-disable; 491 bias-disable; 602 }; 492 }; 603 493 604 &qup_i2c12_default { !! 494 &qup_uart6_default { 605 drive-strength = <2>; !! 495 pinmux { 606 bias-disable; !! 496 pins = "gpio45", "gpio46", "gpio47", "gpio48"; >> 497 function = "qup6"; >> 498 }; >> 499 >> 500 cts { >> 501 pins = "gpio45"; >> 502 bias-pull-down; >> 503 }; >> 504 >> 505 rts-tx { >> 506 pins = "gpio46", "gpio47"; >> 507 drive-strength = <2>; >> 508 bias-disable; >> 509 }; >> 510 >> 511 rx { >> 512 pins = "gpio48"; >> 513 bias-pull-up; >> 514 }; 607 }; 515 }; 608 516 609 &qupv3_id_0 { 517 &qupv3_id_0 { 610 status = "okay"; 518 status = "okay"; 611 }; 519 }; 612 520 613 &qupv3_id_1 { 521 &qupv3_id_1 { 614 status = "okay"; 522 status = "okay"; 615 }; 523 }; 616 524 617 &q6asmdai { 525 &q6asmdai { 618 dai@0 { 526 dai@0 { 619 reg = <0>; 527 reg = <0>; 620 }; 528 }; 621 529 622 dai@1 { 530 dai@1 { 623 reg = <1>; 531 reg = <1>; 624 }; 532 }; 625 533 626 dai@2 { 534 dai@2 { 627 reg = <2>; 535 reg = <2>; 628 }; 536 }; 629 }; 537 }; 630 538 631 &sound { 539 &sound { 632 compatible = "lenovo,yoga-c630-sndcard !! 540 compatible = "qcom,db845c-sndcard"; 633 model = "Lenovo-YOGA-C630-13Q50"; 541 model = "Lenovo-YOGA-C630-13Q50"; 634 542 635 audio-routing = 543 audio-routing = 636 "RX_BIAS", "MCLK", 544 "RX_BIAS", "MCLK", 637 "AMIC2", "MIC BIAS2", 545 "AMIC2", "MIC BIAS2", 638 "SpkrLeft IN", "SPK1 OUT", 546 "SpkrLeft IN", "SPK1 OUT", 639 "SpkrRight IN", "SPK2 OUT", 547 "SpkrRight IN", "SPK2 OUT", 640 "MM_DL1", "MultiMedia1 Playba 548 "MM_DL1", "MultiMedia1 Playback", 641 "MM_DL3", "MultiMedia3 Playba 549 "MM_DL3", "MultiMedia3 Playback", 642 "MultiMedia2 Capture", "MM_UL2 550 "MultiMedia2 Capture", "MM_UL2"; 643 551 644 mm1-dai-link { 552 mm1-dai-link { 645 link-name = "MultiMedia1"; 553 link-name = "MultiMedia1"; 646 cpu { 554 cpu { 647 sound-dai = <&q6asmdai 555 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; 648 }; 556 }; 649 }; 557 }; 650 558 651 mm2-dai-link { 559 mm2-dai-link { 652 link-name = "MultiMedia2"; 560 link-name = "MultiMedia2"; 653 cpu { 561 cpu { 654 sound-dai = <&q6asmdai 562 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>; 655 }; 563 }; 656 }; 564 }; 657 565 658 mm3-dai-link { 566 mm3-dai-link { 659 link-name = "MultiMedia3"; 567 link-name = "MultiMedia3"; 660 cpu { 568 cpu { 661 sound-dai = <&q6asmdai 569 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>; 662 }; 570 }; 663 }; 571 }; 664 572 665 slim-dai-link { 573 slim-dai-link { 666 link-name = "SLIM Playback"; 574 link-name = "SLIM Playback"; 667 cpu { 575 cpu { 668 sound-dai = <&q6afedai 576 sound-dai = <&q6afedai SLIMBUS_0_RX>; 669 }; 577 }; 670 578 671 platform { 579 platform { 672 sound-dai = <&q6routin 580 sound-dai = <&q6routing>; 673 }; 581 }; 674 582 675 codec { 583 codec { 676 sound-dai = <&left_spk !! 584 sound-dai = <&left_spkr>, <&right_spkr>, <&swm 0>, <&wcd9340 0>; 677 }; 585 }; 678 }; 586 }; 679 587 680 slimcap-dai-link { 588 slimcap-dai-link { 681 link-name = "SLIM Capture"; 589 link-name = "SLIM Capture"; 682 cpu { 590 cpu { 683 sound-dai = <&q6afedai 591 sound-dai = <&q6afedai SLIMBUS_0_TX>; 684 }; 592 }; 685 593 686 platform { 594 platform { 687 sound-dai = <&q6routin 595 sound-dai = <&q6routing>; 688 }; 596 }; 689 597 690 codec { 598 codec { 691 sound-dai = <&wcd9340 599 sound-dai = <&wcd9340 1>; 692 }; 600 }; 693 }; 601 }; 694 602 695 slim-wcd-dai-link { 603 slim-wcd-dai-link { 696 link-name = "SLIM WCD Playback 604 link-name = "SLIM WCD Playback"; 697 cpu { 605 cpu { 698 sound-dai = <&q6afedai 606 sound-dai = <&q6afedai SLIMBUS_1_RX>; 699 }; 607 }; 700 608 701 platform { 609 platform { 702 sound-dai = <&q6routin 610 sound-dai = <&q6routing>; 703 }; 611 }; 704 612 705 codec { 613 codec { 706 sound-dai = <&wcd9340 !! 614 sound-dai = <&wcd9340 2>; 707 }; 615 }; 708 }; 616 }; 709 }; 617 }; 710 618 711 &tlmm { 619 &tlmm { 712 gpio-reserved-ranges = <0 4>, <81 4>; 620 gpio-reserved-ranges = <0 4>, <81 4>; 713 621 714 sn65dsi86_pin_active: sn65dsi86-enable !! 622 sn65dsi86_pin_active: sn65dsi86-enable { 715 pins = "gpio96"; 623 pins = "gpio96"; 716 function = "gpio"; << 717 drive-strength = <2>; 624 drive-strength = <2>; 718 bias-disable; 625 bias-disable; 719 }; 626 }; 720 627 721 i2c3_hid_active: i2c2-hid-active-state !! 628 i2c3_hid_active: i2c2-hid-active { 722 pins = "gpio37"; 629 pins = "gpio37"; 723 function = "gpio"; 630 function = "gpio"; 724 631 >> 632 input-enable; 725 bias-pull-up; 633 bias-pull-up; 726 drive-strength = <2>; 634 drive-strength = <2>; 727 }; 635 }; 728 636 729 i2c5_hid_active: i2c5-hid-active-state !! 637 i2c5_hid_active: i2c5-hid-active { 730 pins = "gpio125"; 638 pins = "gpio125"; 731 function = "gpio"; 639 function = "gpio"; 732 640 >> 641 input-enable; 733 bias-pull-up; 642 bias-pull-up; 734 drive-strength = <2>; 643 drive-strength = <2>; 735 }; 644 }; 736 645 737 i2c11_hid_active: i2c11-hid-active-sta !! 646 i2c11_hid_active: i2c11-hid-active { 738 pins = "gpio92"; 647 pins = "gpio92"; 739 function = "gpio"; 648 function = "gpio"; 740 649 >> 650 input-enable; 741 bias-pull-up; 651 bias-pull-up; 742 drive-strength = <2>; 652 drive-strength = <2>; 743 }; 653 }; 744 654 745 lid_pin_active: lid-pin-state { !! 655 wcd_intr_default: wcd_intr_default { 746 pins = "gpio124"; !! 656 pins = "gpio54"; 747 function = "gpio"; 657 function = "gpio"; 748 658 749 bias-disable; !! 659 input-enable; >> 660 bias-pull-down; >> 661 drive-strength = <2>; 750 }; 662 }; 751 663 752 mode_pin_active: mode-pin-state { !! 664 lid_pin_active: lid-pin { 753 pins = "gpio95"; !! 665 pins = "gpio124"; 754 function = "gpio"; 666 function = "gpio"; 755 667 >> 668 input-enable; 756 bias-disable; 669 bias-disable; 757 }; 670 }; 758 671 759 ec_int_state: ec-int-state { !! 672 mode_pin_active: mode-pin { 760 pins = "gpio20"; !! 673 pins = "gpio95"; 761 function = "gpio"; 674 function = "gpio"; 762 675 >> 676 input-enable; 763 bias-disable; 677 bias-disable; 764 }; 678 }; 765 }; 679 }; 766 680 767 &uart6 { 681 &uart6 { 768 pinctrl-names = "default"; << 769 pinctrl-0 = <&qup_uart6_4pin>; << 770 status = "okay"; 682 status = "okay"; 771 683 772 bluetooth { 684 bluetooth { 773 compatible = "qcom,wcn3990-bt" 685 compatible = "qcom,wcn3990-bt"; 774 686 775 vddio-supply = <&vreg_s4a_1p8> 687 vddio-supply = <&vreg_s4a_1p8>; 776 vddxo-supply = <&vreg_l7a_1p8> 688 vddxo-supply = <&vreg_l7a_1p8>; 777 vddrf-supply = <&vreg_l17a_1p3 689 vddrf-supply = <&vreg_l17a_1p3>; 778 vddch0-supply = <&vreg_l25a_3p 690 vddch0-supply = <&vreg_l25a_3p3>; 779 vddch1-supply = <&vreg_l23a_3p 691 vddch1-supply = <&vreg_l23a_3p3>; 780 max-speed = <3200000>; 692 max-speed = <3200000>; 781 }; 693 }; 782 }; 694 }; 783 695 784 &uart9 { << 785 status = "okay"; << 786 }; << 787 << 788 &ufs_mem_hc { 696 &ufs_mem_hc { 789 status = "okay"; 697 status = "okay"; 790 698 791 reset-gpios = <&tlmm 150 GPIO_ACTIVE_L 699 reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>; 792 700 793 vcc-supply = <&vreg_l20a_2p95>; 701 vcc-supply = <&vreg_l20a_2p95>; 794 vcc-max-microamp = <600000>; 702 vcc-max-microamp = <600000>; 795 }; 703 }; 796 704 797 &ufs_mem_phy { 705 &ufs_mem_phy { 798 status = "okay"; 706 status = "okay"; 799 707 800 vdda-phy-supply = <&vdda_ufs1_core>; 708 vdda-phy-supply = <&vdda_ufs1_core>; 801 vdda-pll-supply = <&vdda_ufs1_1p2>; 709 vdda-pll-supply = <&vdda_ufs1_1p2>; 802 }; 710 }; 803 711 804 &usb_1 { 712 &usb_1 { 805 status = "okay"; 713 status = "okay"; 806 }; 714 }; 807 715 808 &usb_1_dwc3 { 716 &usb_1_dwc3 { 809 dr_mode = "host"; 717 dr_mode = "host"; 810 }; 718 }; 811 719 812 &usb_1_dwc3_hs { << 813 remote-endpoint = <&ucsi0_hs_in>; << 814 }; << 815 << 816 &usb_1_hsphy { 720 &usb_1_hsphy { 817 status = "okay"; 721 status = "okay"; 818 722 819 vdd-supply = <&vdda_usb1_ss_core>; 723 vdd-supply = <&vdda_usb1_ss_core>; 820 vdda-pll-supply = <&vdda_qusb_hs0_1p8> 724 vdda-pll-supply = <&vdda_qusb_hs0_1p8>; 821 vdda-phy-dpdm-supply = <&vdda_qusb_hs0 725 vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>; 822 726 823 qcom,imp-res-offset-value = <8>; 727 qcom,imp-res-offset-value = <8>; 824 qcom,hstx-trim-value = <QUSB2_V2_HSTX_ 728 qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>; 825 qcom,preemphasis-level = <QUSB2_V2_PRE 729 qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>; 826 qcom,preemphasis-width = <QUSB2_V2_PRE 730 qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>; 827 }; 731 }; 828 732 829 &usb_1_qmpphy { 733 &usb_1_qmpphy { 830 status = "okay"; 734 status = "okay"; 831 735 832 vdda-phy-supply = <&vdda_usb1_ss_1p2>; 736 vdda-phy-supply = <&vdda_usb1_ss_1p2>; 833 vdda-pll-supply = <&vdda_usb1_ss_core> 737 vdda-pll-supply = <&vdda_usb1_ss_core>; 834 }; 738 }; 835 739 836 &usb_1_qmpphy_out { << 837 remote-endpoint = <&ucsi0_ss_in>; << 838 }; << 839 << 840 &usb_2 { 740 &usb_2 { 841 status = "okay"; 741 status = "okay"; 842 }; 742 }; 843 743 844 &usb_2_dwc3 { 744 &usb_2_dwc3 { 845 dr_mode = "host"; 745 dr_mode = "host"; 846 }; 746 }; 847 747 848 &usb_2_hsphy { 748 &usb_2_hsphy { 849 status = "okay"; 749 status = "okay"; 850 750 851 vdd-supply = <&vdda_usb2_ss_core>; 751 vdd-supply = <&vdda_usb2_ss_core>; 852 vdda-pll-supply = <&vdda_qusb_hs0_1p8> 752 vdda-pll-supply = <&vdda_qusb_hs0_1p8>; 853 vdda-phy-dpdm-supply = <&vdda_qusb_hs0 753 vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>; 854 754 855 qcom,imp-res-offset-value = <8>; 755 qcom,imp-res-offset-value = <8>; 856 qcom,hstx-trim-value = <QUSB2_V2_HSTX_ 756 qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_22_8_MA>; 857 }; 757 }; 858 758 859 &usb_2_qmpphy { 759 &usb_2_qmpphy { 860 status = "okay"; 760 status = "okay"; 861 761 862 vdda-phy-supply = <&vdda_usb2_ss_1p2>; 762 vdda-phy-supply = <&vdda_usb2_ss_1p2>; 863 vdda-pll-supply = <&vdda_usb2_ss_core> 763 vdda-pll-supply = <&vdda_usb2_ss_core>; 864 }; 764 }; 865 765 866 &venus { 766 &venus { 867 firmware-name = "qcom/sdm850/LENOVO/81 << 868 status = "okay"; 767 status = "okay"; 869 }; 768 }; 870 769 871 &wcd9340 { !! 770 &wcd9340{ 872 reset-gpios = <&tlmm 64 GPIO_ACTIVE_HI !! 771 pinctrl-0 = <&wcd_intr_default>; >> 772 pinctrl-names = "default"; >> 773 clock-names = "extclk"; >> 774 clocks = <&rpmhcc RPMH_LN_BB_CLK2>; >> 775 reset-gpios = <&tlmm 64 0>; 873 vdd-buck-supply = <&vreg_s4a_1p8>; 776 vdd-buck-supply = <&vreg_s4a_1p8>; 874 vdd-buck-sido-supply = <&vreg_s4a_1p8> 777 vdd-buck-sido-supply = <&vreg_s4a_1p8>; 875 vdd-tx-supply = <&vreg_s4a_1p8>; 778 vdd-tx-supply = <&vreg_s4a_1p8>; 876 vdd-rx-supply = <&vreg_s4a_1p8>; 779 vdd-rx-supply = <&vreg_s4a_1p8>; 877 vdd-io-supply = <&vreg_s4a_1p8>; 780 vdd-io-supply = <&vreg_s4a_1p8>; 878 qcom,mbhc-buttons-vthreshold-microvolt 781 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 879 qcom,mbhc-headset-vthreshold-microvolt 782 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 880 qcom,mbhc-headphone-vthreshold-microvo 783 qcom,mbhc-headphone-vthreshold-microvolt = <50000>; 881 784 882 swm: soundwire@c85 { !! 785 swm: swm@c85 { 883 left_spkr: speaker@0,3 { !! 786 left_spkr: wsa8810-left{ 884 compatible = "sdw10217 787 compatible = "sdw10217211000"; 885 reg = <0 3>; 788 reg = <0 3>; 886 powerdown-gpios = <&wc !! 789 powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>; 887 #thermal-sensor-cells 790 #thermal-sensor-cells = <0>; 888 sound-name-prefix = "S 791 sound-name-prefix = "SpkrLeft"; 889 #sound-dai-cells = <0> 792 #sound-dai-cells = <0>; 890 }; 793 }; 891 794 892 right_spkr: speaker@0,4 { !! 795 right_spkr: wsa8810-right{ 893 compatible = "sdw10217 796 compatible = "sdw10217211000"; 894 powerdown-gpios = <&wc !! 797 powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>; 895 reg = <0 4>; 798 reg = <0 4>; 896 #thermal-sensor-cells 799 #thermal-sensor-cells = <0>; 897 sound-name-prefix = "S 800 sound-name-prefix = "SpkrRight"; 898 #sound-dai-cells = <0> 801 #sound-dai-cells = <0>; 899 }; 802 }; 900 }; 803 }; 901 }; 804 }; 902 805 903 &wifi { 806 &wifi { 904 status = "okay"; 807 status = "okay"; 905 808 906 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8> 809 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>; 907 vdd-1.8-xo-supply = <&vreg_l7a_1p8>; 810 vdd-1.8-xo-supply = <&vreg_l7a_1p8>; 908 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; 811 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; 909 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>; 812 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>; 910 vdd-3.3-ch1-supply = <&vreg_l23a_3p3>; 813 vdd-3.3-ch1-supply = <&vreg_l23a_3p3>; 911 814 912 qcom,snoc-host-cap-8bit-quirk; 815 qcom,snoc-host-cap-8bit-quirk; 913 qcom,ath10k-calibration-variant = "Len << 914 }; 816 }; 915 817 916 &crypto { 818 &crypto { 917 /* FIXME: qce_start triggers an SError 819 /* FIXME: qce_start triggers an SError */ 918 status = "disabled"; !! 820 status= "disable"; 919 }; 821 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.