1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2017-2019, The Linux Foundati 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2020-2023, Linaro Limited 4 * Copyright (c) 2020-2023, Linaro Limited 5 */ 5 */ 6 6 7 /dts-v1/; 7 /dts-v1/; 8 8 9 #include <dt-bindings/firmware/qcom,scm.h> << 10 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/gpio-keys.h> 12 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/regulator/qcom,rpmh-regu 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 14 #include "sc8180x.dtsi" 13 #include "sc8180x.dtsi" 15 #include "sc8180x-pmics.dtsi" 14 #include "sc8180x-pmics.dtsi" 16 15 17 / { 16 / { 18 model = "Qualcomm SC8180x Primus"; 17 model = "Qualcomm SC8180x Primus"; 19 compatible = "qcom,sc8180x-primus", "q 18 compatible = "qcom,sc8180x-primus", "qcom,sc8180x"; 20 19 21 aliases { 20 aliases { 22 serial0 = &uart12; 21 serial0 = &uart12; 23 serial1 = &uart13; 22 serial1 = &uart13; 24 }; 23 }; 25 24 26 backlight: backlight { 25 backlight: backlight { 27 compatible = "pwm-backlight"; 26 compatible = "pwm-backlight"; 28 pwms = <&pmc8180c_lpg 4 100000 27 pwms = <&pmc8180c_lpg 4 1000000>; 29 enable-gpios = <&pmc8180c_gpio 28 enable-gpios = <&pmc8180c_gpios 8 GPIO_ACTIVE_HIGH>; 30 29 31 pinctrl-names = "default"; 30 pinctrl-names = "default"; 32 pinctrl-0 = <&bl_pwm_default>; 31 pinctrl-0 = <&bl_pwm_default>; 33 }; 32 }; 34 33 35 chosen { 34 chosen { 36 stdout-path = "serial0:115200n 35 stdout-path = "serial0:115200n8"; 37 }; 36 }; 38 37 39 gpio-keys { 38 gpio-keys { 40 compatible = "gpio-keys"; 39 compatible = "gpio-keys"; 41 40 42 pinctrl-names = "default"; 41 pinctrl-names = "default"; 43 pinctrl-0 = <&hall_int_active_ 42 pinctrl-0 = <&hall_int_active_state>; 44 43 45 lid-switch { 44 lid-switch { 46 gpios = <&tlmm 121 GPI 45 gpios = <&tlmm 121 GPIO_ACTIVE_LOW>; 47 linux,input-type = <EV 46 linux,input-type = <EV_SW>; 48 linux,code = <SW_LID>; 47 linux,code = <SW_LID>; 49 wakeup-source; 48 wakeup-source; 50 wakeup-event-action = 49 wakeup-event-action = <EV_ACT_DEASSERTED>; 51 }; 50 }; 52 }; 51 }; 53 52 54 pmic-glink { 53 pmic-glink { 55 compatible = "qcom,sc8180x-pmi 54 compatible = "qcom,sc8180x-pmic-glink", "qcom,pmic-glink"; 56 55 57 #address-cells = <1>; 56 #address-cells = <1>; 58 #size-cells = <0>; 57 #size-cells = <0>; 59 58 60 connector@0 { 59 connector@0 { 61 compatible = "usb-c-co 60 compatible = "usb-c-connector"; 62 reg = <0>; 61 reg = <0>; 63 power-role = "dual"; 62 power-role = "dual"; 64 data-role = "dual"; 63 data-role = "dual"; 65 64 66 ports { 65 ports { 67 #address-cells 66 #address-cells = <1>; 68 #size-cells = 67 #size-cells = <0>; 69 68 70 port@0 { 69 port@0 { 71 reg = 70 reg = <0>; 72 71 73 pmic_g 72 pmic_glink_con0_hs: endpoint { 74 !! 73 remote-endpoint = <&usb_prim_role_switch>; 75 }; 74 }; 76 }; 75 }; 77 76 78 port@1 { 77 port@1 { 79 reg = 78 reg = <1>; 80 79 81 pmic_g 80 pmic_glink_con0_ss: endpoint { 82 81 remote-endpoint = <&usb_prim_qmpphy_out>; 83 }; 82 }; 84 }; 83 }; 85 84 86 port@2 { 85 port@2 { 87 reg = 86 reg = <2>; 88 87 89 pmic_g 88 pmic_glink_con0_sbu: endpoint { 90 89 remote-endpoint = <&usbprim_sbu_mux>; 91 }; 90 }; 92 }; 91 }; 93 }; 92 }; 94 }; 93 }; 95 94 96 connector@1 { 95 connector@1 { 97 compatible = "usb-c-co 96 compatible = "usb-c-connector"; 98 reg = <1>; 97 reg = <1>; 99 power-role = "dual"; 98 power-role = "dual"; 100 data-role = "dual"; 99 data-role = "dual"; 101 100 102 ports { 101 ports { 103 #address-cells 102 #address-cells = <1>; 104 #size-cells = 103 #size-cells = <0>; 105 port@0 { 104 port@0 { 106 reg = 105 reg = <0>; 107 106 108 pmic_g 107 pmic_glink_con1_hs: endpoint { 109 !! 108 remote-endpoint = <&usb_sec_role_switch>; 110 }; 109 }; 111 }; 110 }; 112 111 113 port@1 { 112 port@1 { 114 reg = 113 reg = <1>; 115 114 116 pmic_g 115 pmic_glink_con1_ss: endpoint { 117 116 remote-endpoint = <&usb_sec_qmpphy_out>; 118 }; 117 }; 119 }; 118 }; 120 119 121 port@2 { 120 port@2 { 122 reg = 121 reg = <2>; 123 122 124 pmic_g 123 pmic_glink_con1_sbu: endpoint { 125 124 remote-endpoint = <&usbsec_sbu_mux>; 126 }; 125 }; 127 }; 126 }; 128 }; 127 }; 129 }; 128 }; 130 }; 129 }; 131 130 132 reserved-memory { 131 reserved-memory { 133 rmtfs_mem: rmtfs-region@855000 132 rmtfs_mem: rmtfs-region@85500000 { 134 compatible = "qcom,rmt 133 compatible = "qcom,rmtfs-mem"; 135 reg = <0x0 0x85500000 134 reg = <0x0 0x85500000 0x0 0x200000>; 136 no-map; 135 no-map; 137 136 138 qcom,client-id = <1>; 137 qcom,client-id = <1>; 139 qcom,vmid = <QCOM_SCM_ !! 138 qcom,vmid = <15>; 140 }; 139 }; 141 140 142 wlan_mem: wlan-region@8bc00000 141 wlan_mem: wlan-region@8bc00000 { 143 reg = <0x0 0x8bc00000 142 reg = <0x0 0x8bc00000 0x0 0x180000>; 144 no-map; 143 no-map; 145 }; 144 }; 146 145 147 adsp_mem: adsp-region@96e00000 146 adsp_mem: adsp-region@96e00000 { 148 reg = <0x0 0x96e00000 147 reg = <0x0 0x96e00000 0x0 0x1c00000>; 149 no-map; 148 no-map; 150 }; 149 }; 151 150 152 mpss_mem: mpss-region@8d800000 151 mpss_mem: mpss-region@8d800000 { 153 reg = <0x0 0x8d800000 152 reg = <0x0 0x8d800000 0x0 0x9600000>; 154 no-map; 153 no-map; 155 }; 154 }; 156 155 157 gpu_mem: gpu-region@98a00000 { 156 gpu_mem: gpu-region@98a00000 { 158 reg = <0x0 0x98a00000 157 reg = <0x0 0x98a00000 0x0 0x2000>; 159 no-map; 158 no-map; 160 }; 159 }; 161 160 162 reserved-region@9a500000 { 161 reserved-region@9a500000 { 163 reg = <0x0 0x9a500000 162 reg = <0x0 0x9a500000 0x0 0x600000>; 164 no-map; 163 no-map; 165 }; 164 }; 166 }; 165 }; 167 166 168 vreg_nvme_0p9: nvme-0p9-regulator { 167 vreg_nvme_0p9: nvme-0p9-regulator { 169 compatible = "regulator-fixed" 168 compatible = "regulator-fixed"; 170 regulator-name = "vreg_nvme_0p 169 regulator-name = "vreg_nvme_0p9"; 171 170 172 regulator-min-microvolt = <900 171 regulator-min-microvolt = <900000>; 173 regulator-max-microvolt = <900 172 regulator-max-microvolt = <900000>; 174 173 175 regulator-always-on; 174 regulator-always-on; 176 }; 175 }; 177 176 178 vreg_nvme_3p3: nvme-3p3-regulator { 177 vreg_nvme_3p3: nvme-3p3-regulator { 179 compatible = "regulator-fixed" 178 compatible = "regulator-fixed"; 180 regulator-name = "vreg_nvme_3p 179 regulator-name = "vreg_nvme_3p3"; 181 180 182 regulator-min-microvolt = <330 181 regulator-min-microvolt = <3300000>; 183 regulator-max-microvolt = <330 182 regulator-max-microvolt = <3300000>; 184 183 185 gpio = <&pmc8180c_gpios 11 0>; 184 gpio = <&pmc8180c_gpios 11 0>; 186 enable-active-high; 185 enable-active-high; 187 186 188 regulator-always-on; 187 regulator-always-on; 189 }; 188 }; 190 189 191 vdd_kb_tp_3v3: vdd-kb-tp-3v3-regulator 190 vdd_kb_tp_3v3: vdd-kb-tp-3v3-regulator { 192 compatible = "regulator-fixed" 191 compatible = "regulator-fixed"; 193 regulator-name = "vdd_kb_tp_3v 192 regulator-name = "vdd_kb_tp_3v3"; 194 regulator-min-microvolt = <330 193 regulator-min-microvolt = <3300000>; 195 regulator-max-microvolt = <330 194 regulator-max-microvolt = <3300000>; 196 195 197 gpio = <&tlmm 4 GPIO_ACTIVE_HI 196 gpio = <&tlmm 4 GPIO_ACTIVE_HIGH>; 198 enable-active-high; 197 enable-active-high; 199 198 200 regulator-always-on; 199 regulator-always-on; 201 200 202 pinctrl-names = "default"; 201 pinctrl-names = "default"; 203 pinctrl-0 = <&kb_tp_3v3_en_act 202 pinctrl-0 = <&kb_tp_3v3_en_active_state>; 204 }; 203 }; 205 204 206 vph_pwr: vph-pwr-regulator { 205 vph_pwr: vph-pwr-regulator { 207 compatible = "regulator-fixed" 206 compatible = "regulator-fixed"; 208 regulator-name = "vph_pwr"; 207 regulator-name = "vph_pwr"; 209 regulator-min-microvolt = <370 208 regulator-min-microvolt = <3700000>; 210 regulator-max-microvolt = <370 209 regulator-max-microvolt = <3700000>; 211 }; 210 }; 212 211 213 vreg_s4a_1p8: pm8150-s4 { 212 vreg_s4a_1p8: pm8150-s4 { 214 compatible = "regulator-fixed" 213 compatible = "regulator-fixed"; 215 regulator-name = "vreg_s4a_1p8 214 regulator-name = "vreg_s4a_1p8"; 216 215 217 regulator-min-microvolt = <180 216 regulator-min-microvolt = <1800000>; 218 regulator-max-microvolt = <180 217 regulator-max-microvolt = <1800000>; 219 218 220 regulator-always-on; 219 regulator-always-on; 221 regulator-boot-on; 220 regulator-boot-on; 222 221 223 vin-supply = <&vph_pwr>; 222 vin-supply = <&vph_pwr>; 224 }; 223 }; 225 224 226 vreg_usb2_host_en: regulator-usb2-host << 227 compatible = "regulator-fixed" << 228 regulator-name = "usb2_host_en << 229 << 230 regulator-min-microvolt = <500 << 231 regulator-max-microvolt = <500 << 232 << 233 gpio = <&pmc8180_1_gpios 9 GPI << 234 enable-active-high; << 235 << 236 regulator-always-on; << 237 }; << 238 << 239 vreg_usb3_host_en: regulator-usb3-host << 240 compatible = "regulator-fixed" << 241 regulator-name = "usb3_host_en << 242 << 243 regulator-min-microvolt = <500 << 244 regulator-max-microvolt = <500 << 245 << 246 gpio = <&pmc8180_2_gpios 9 GPI << 247 enable-active-high; << 248 << 249 regulator-always-on; << 250 }; << 251 << 252 usbprim-sbu-mux { 225 usbprim-sbu-mux { 253 compatible = "pericom,pi3usb10 226 compatible = "pericom,pi3usb102", "gpio-sbu-mux"; 254 227 255 enable-gpios = <&tlmm 152 GPIO 228 enable-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>; 256 select-gpios = <&tlmm 100 GPIO 229 select-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>; 257 230 258 pinctrl-names = "default"; 231 pinctrl-names = "default"; 259 pinctrl-0 = <&usbprim_sbu_defa 232 pinctrl-0 = <&usbprim_sbu_default>; 260 233 261 mode-switch; 234 mode-switch; 262 orientation-switch; 235 orientation-switch; 263 236 264 port { 237 port { 265 usbprim_sbu_mux: endpo 238 usbprim_sbu_mux: endpoint { 266 remote-endpoin 239 remote-endpoint = <&pmic_glink_con0_sbu>; 267 }; 240 }; 268 }; 241 }; 269 }; 242 }; 270 243 271 usbsec-sbu-mux { 244 usbsec-sbu-mux { 272 compatible = "pericom,pi3usb10 245 compatible = "pericom,pi3usb102", "gpio-sbu-mux"; 273 246 274 enable-gpios = <&tlmm 188 GPIO 247 enable-gpios = <&tlmm 188 GPIO_ACTIVE_LOW>; 275 select-gpios = <&tlmm 187 GPIO 248 select-gpios = <&tlmm 187 GPIO_ACTIVE_HIGH>; 276 249 277 pinctrl-names = "default"; 250 pinctrl-names = "default"; 278 pinctrl-0 = <&usbsec_sbu_defau 251 pinctrl-0 = <&usbsec_sbu_default>; 279 252 280 mode-switch; 253 mode-switch; 281 orientation-switch; 254 orientation-switch; 282 255 283 port { 256 port { 284 usbsec_sbu_mux: endpoi 257 usbsec_sbu_mux: endpoint { 285 remote-endpoin 258 remote-endpoint = <&pmic_glink_con1_sbu>; 286 }; 259 }; 287 }; 260 }; 288 }; 261 }; 289 }; 262 }; 290 263 291 &apps_rsc { 264 &apps_rsc { 292 regulators-0 { 265 regulators-0 { 293 compatible = "qcom,pmc8180-rpm 266 compatible = "qcom,pmc8180-rpmh-regulators"; 294 qcom,pmic-id = "a"; 267 qcom,pmic-id = "a"; 295 268 296 vdd-s5-supply = <&vph_pwr>; 269 vdd-s5-supply = <&vph_pwr>; 297 vdd-l7-l12-l14-l15-supply = <& 270 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p0>; 298 271 299 vreg_s5a_2p0: smps5 { 272 vreg_s5a_2p0: smps5 { 300 regulator-min-microvol 273 regulator-min-microvolt = <2040000>; 301 regulator-max-microvol 274 regulator-max-microvolt = <2100000>; 302 }; 275 }; 303 276 304 vreg_l7a_1p8: ldo7 { 277 vreg_l7a_1p8: ldo7 { 305 regulator-min-microvol 278 regulator-min-microvolt = <1800000>; 306 regulator-max-microvol 279 regulator-max-microvolt = <1800000>; 307 regulator-initial-mode 280 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 308 }; 281 }; 309 282 310 vreg_l9a_1p3: ldo9 { 283 vreg_l9a_1p3: ldo9 { 311 regulator-min-microvol 284 regulator-min-microvolt = <1296000>; 312 regulator-max-microvol 285 regulator-max-microvolt = <1304000>; 313 regulator-initial-mode 286 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 314 }; 287 }; 315 288 316 vreg_l12a_1p8: ldo12 { 289 vreg_l12a_1p8: ldo12 { 317 regulator-min-microvol 290 regulator-min-microvolt = <1800000>; 318 regulator-max-microvol 291 regulator-max-microvolt = <1800000>; 319 regulator-initial-mode 292 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 320 }; 293 }; 321 }; 294 }; 322 295 323 regulators-1 { 296 regulators-1 { 324 compatible = "qcom,pmc8180c-rp 297 compatible = "qcom,pmc8180c-rpmh-regulators"; 325 qcom,pmic-id = "c"; 298 qcom,pmic-id = "c"; 326 299 327 vdd-s6-supply = <&vph_pwr>; 300 vdd-s6-supply = <&vph_pwr>; 328 vdd-s8-supply = <&vph_pwr>; 301 vdd-s8-supply = <&vph_pwr>; 329 vdd-l2-l3-supply = <&vreg_s6c_ 302 vdd-l2-l3-supply = <&vreg_s6c_1p35>; 330 vdd-bob-supply = <&vph_pwr>; 303 vdd-bob-supply = <&vph_pwr>; 331 304 332 vreg_s6c_1p35: smps6 { 305 vreg_s6c_1p35: smps6 { 333 regulator-min-microvol 306 regulator-min-microvolt = <1350000>; 334 regulator-max-microvol 307 regulator-max-microvolt = <1372000>; 335 regulator-initial-mode 308 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 336 }; 309 }; 337 310 338 vreg_s8c_1p8: smps8 { 311 vreg_s8c_1p8: smps8 { 339 regulator-min-microvol 312 regulator-min-microvolt = <1800000>; 340 regulator-max-microvol 313 regulator-max-microvolt = <1800000>; 341 regulator-initial-mode 314 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 342 regulator-always-on; 315 regulator-always-on; 343 }; 316 }; 344 317 345 vreg_l3c_1p2: ldo3 { 318 vreg_l3c_1p2: ldo3 { 346 regulator-min-microvol 319 regulator-min-microvolt = <1200000>; 347 regulator-max-microvol 320 regulator-max-microvolt = <1200000>; 348 regulator-initial-mode 321 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 349 }; 322 }; 350 323 351 vreg_l4c_3p3: ldo4 { 324 vreg_l4c_3p3: ldo4 { 352 regulator-min-microvol 325 regulator-min-microvolt = <3008000>; 353 regulator-max-microvol 326 regulator-max-microvolt = <3008000>; 354 regulator-initial-mode 327 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 355 }; 328 }; 356 329 357 vreg_l10c_3p3: ldo10 { 330 vreg_l10c_3p3: ldo10 { 358 regulator-min-microvol 331 regulator-min-microvolt = <3000000>; 359 regulator-max-microvol 332 regulator-max-microvolt = <3312000>; 360 regulator-initial-mode 333 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 361 }; 334 }; 362 335 363 vreg_l11c_3p3: ldo11 { 336 vreg_l11c_3p3: ldo11 { 364 regulator-min-microvol 337 regulator-min-microvolt = <3296000>; 365 regulator-max-microvol 338 regulator-max-microvolt = <3304000>; 366 regulator-initial-mode 339 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 367 }; 340 }; 368 341 369 vreg_bob: bob { 342 vreg_bob: bob { 370 regulator-min-microvol 343 regulator-min-microvolt = <3296000>; 371 regulator-max-microvol 344 regulator-max-microvolt = <3350000>; 372 regulator-initial-mode 345 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 373 }; 346 }; 374 }; 347 }; 375 348 376 regulators-2 { 349 regulators-2 { 377 compatible = "qcom,pmc8180-rpm 350 compatible = "qcom,pmc8180-rpmh-regulators"; 378 qcom,pmic-id = "e"; 351 qcom,pmic-id = "e"; 379 352 380 vdd-s4-supply = <&vph_pwr>; 353 vdd-s4-supply = <&vph_pwr>; 381 vdd-s5-supply = <&vph_pwr>; 354 vdd-s5-supply = <&vph_pwr>; 382 vdd-l2-l10-supply = <&vreg_bob 355 vdd-l2-l10-supply = <&vreg_bob>; 383 vdd-l3-l4-l5-l18-supply = <&vr 356 vdd-l3-l4-l5-l18-supply = <&vreg_s4e_0p98>; 384 vdd-l7-l12-l14-l15-supply = <& 357 vdd-l7-l12-l14-l15-supply = <&vreg_s5e_2p05>; 385 vdd-l13-l16-l17-supply = <&vre 358 vdd-l13-l16-l17-supply = <&vreg_bob>; 386 359 387 vreg_s4e_0p98: smps4 { 360 vreg_s4e_0p98: smps4 { 388 regulator-min-microvol 361 regulator-min-microvolt = <992000>; 389 regulator-max-microvol 362 regulator-max-microvolt = <992000>; 390 regulator-initial-mode 363 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 391 }; 364 }; 392 365 393 vreg_s5e_2p05: smps5 { 366 vreg_s5e_2p05: smps5 { 394 regulator-min-microvol 367 regulator-min-microvolt = <2040000>; 395 regulator-max-microvol 368 regulator-max-microvolt = <2040000>; 396 regulator-initial-mode 369 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 397 }; 370 }; 398 371 399 vreg_l1e_0p75: ldo1 { 372 vreg_l1e_0p75: ldo1 { 400 regulator-min-microvol 373 regulator-min-microvolt = <752000>; 401 regulator-max-microvol 374 regulator-max-microvolt = <752000>; 402 regulator-initial-mode 375 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 403 }; 376 }; 404 377 405 vreg_l5e_0p88: ldo5 { 378 vreg_l5e_0p88: ldo5 { 406 regulator-min-microvol 379 regulator-min-microvolt = <880000>; 407 regulator-max-microvol 380 regulator-max-microvolt = <880000>; 408 regulator-initial-mode 381 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 409 }; 382 }; 410 383 411 vreg_l7e_1p8: ldo7 { 384 vreg_l7e_1p8: ldo7 { 412 regulator-min-microvol 385 regulator-min-microvolt = <1800000>; 413 regulator-max-microvol 386 regulator-max-microvolt = <1800000>; 414 regulator-initial-mode 387 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 415 regulator-allowed-mode << 416 << 417 regulator-allow-set-lo << 418 }; 388 }; 419 389 420 vreg_l10e_2p9: ldo10 { 390 vreg_l10e_2p9: ldo10 { 421 regulator-min-microvol 391 regulator-min-microvolt = <2904000>; 422 regulator-max-microvol 392 regulator-max-microvolt = <2904000>; 423 regulator-initial-mode 393 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 424 regulator-allowed-mode << 425 << 426 regulator-allow-set-lo << 427 }; 394 }; 428 395 429 vreg_l12e: ldo12 { 396 vreg_l12e: ldo12 { 430 regulator-min-microvol 397 regulator-min-microvolt = <1800000>; 431 regulator-max-microvol 398 regulator-max-microvolt = <1800000>; 432 regulator-initial-mode 399 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 433 }; 400 }; 434 401 435 vreg_l16e_3p0: ldo16 { 402 vreg_l16e_3p0: ldo16 { 436 regulator-min-microvol 403 regulator-min-microvolt = <3072000>; 437 regulator-max-microvol 404 regulator-max-microvolt = <3072000>; 438 regulator-initial-mode 405 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 439 }; 406 }; 440 }; 407 }; 441 }; 408 }; 442 409 443 &gpu { 410 &gpu { 444 status = "okay"; 411 status = "okay"; 445 412 446 zap-shader { 413 zap-shader { 447 memory-region = <&gpu_mem>; 414 memory-region = <&gpu_mem>; 448 firmware-name = "qcom/sc8180x/ 415 firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn"; 449 }; 416 }; 450 }; 417 }; 451 418 452 &i2c1 { 419 &i2c1 { 453 clock-frequency = <100000>; 420 clock-frequency = <100000>; 454 421 455 pinctrl-names = "default"; 422 pinctrl-names = "default"; 456 pinctrl-0 = <&ts_i2c_active_state>; 423 pinctrl-0 = <&ts_i2c_active_state>; 457 424 458 status = "okay"; 425 status = "okay"; 459 426 460 touchscreen@10 { 427 touchscreen@10 { 461 compatible = "hid-over-i2c"; 428 compatible = "hid-over-i2c"; 462 reg = <0x10>; 429 reg = <0x10>; 463 hid-descr-addr = <0x1>; 430 hid-descr-addr = <0x1>; 464 431 465 vdd-supply = <&vreg_l4c_3p3>; 432 vdd-supply = <&vreg_l4c_3p3>; 466 vddl-supply = <&vreg_l12e>; 433 vddl-supply = <&vreg_l12e>; 467 434 468 post-power-on-delay-ms = <20>; 435 post-power-on-delay-ms = <20>; 469 436 470 interrupts-extended = <&tlmm 1 437 interrupts-extended = <&tlmm 122 IRQ_TYPE_LEVEL_LOW>; 471 438 472 pinctrl-names = "default"; 439 pinctrl-names = "default"; 473 pinctrl-0 = <&ts_active_state> 440 pinctrl-0 = <&ts_active_state>; 474 }; 441 }; 475 }; 442 }; 476 443 477 &i2c7 { 444 &i2c7 { 478 clock-frequency = <100000>; 445 clock-frequency = <100000>; 479 446 480 pinctrl-names = "default"; 447 pinctrl-names = "default"; 481 pinctrl-0 = <&aux_i2c_active_state>; 448 pinctrl-0 = <&aux_i2c_active_state>; 482 449 483 status = "okay"; 450 status = "okay"; 484 451 485 touchpad@15 { 452 touchpad@15 { 486 compatible = "hid-over-i2c"; 453 compatible = "hid-over-i2c"; 487 reg = <0x15>; 454 reg = <0x15>; 488 hid-descr-addr = <0x1>; 455 hid-descr-addr = <0x1>; 489 456 490 interrupts-extended = <&tlmm 2 457 interrupts-extended = <&tlmm 24 IRQ_TYPE_LEVEL_LOW>; 491 458 492 pinctrl-names = "default"; 459 pinctrl-names = "default"; 493 pinctrl-0 = <&tp_int_active_st 460 pinctrl-0 = <&tp_int_active_state>; 494 461 495 vdd-supply = <&vdd_kb_tp_3v3>; 462 vdd-supply = <&vdd_kb_tp_3v3>; 496 }; 463 }; 497 464 498 keyboard@3a { 465 keyboard@3a { 499 compatible = "hid-over-i2c"; 466 compatible = "hid-over-i2c"; 500 reg = <0x3a>; 467 reg = <0x3a>; 501 hid-descr-addr = <0x1>; 468 hid-descr-addr = <0x1>; 502 interrupts-extended = <&tlmm 3 469 interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_LOW>; 503 470 504 pinctrl-names = "default"; 471 pinctrl-names = "default"; 505 pinctrl-0 = <&kb_int_active_st 472 pinctrl-0 = <&kb_int_active_state>; 506 473 507 vdd-supply = <&vdd_kb_tp_3v3>; 474 vdd-supply = <&vdd_kb_tp_3v3>; 508 }; 475 }; 509 }; 476 }; 510 477 511 &mdss { 478 &mdss { 512 status = "okay"; 479 status = "okay"; 513 }; 480 }; 514 481 515 &mdss_dp0 { 482 &mdss_dp0 { 516 status = "okay"; 483 status = "okay"; 517 }; 484 }; 518 485 519 &mdss_dp0_out { 486 &mdss_dp0_out { 520 data-lanes = <0 1>; 487 data-lanes = <0 1>; 521 remote-endpoint = <&usb_prim_qmpphy_dp 488 remote-endpoint = <&usb_prim_qmpphy_dp_in>; 522 }; 489 }; 523 490 524 &mdss_dp1 { 491 &mdss_dp1 { 525 status = "okay"; 492 status = "okay"; 526 }; 493 }; 527 494 528 &mdss_dp1_out { 495 &mdss_dp1_out { 529 data-lanes = <0 1>; 496 data-lanes = <0 1>; 530 remote-endpoint = <&usb_sec_qmpphy_dp_ 497 remote-endpoint = <&usb_sec_qmpphy_dp_in>; 531 }; 498 }; 532 499 533 &mdss_edp { 500 &mdss_edp { 534 data-lanes = <0 1 2 3>; 501 data-lanes = <0 1 2 3>; 535 502 536 pinctrl-names = "default"; 503 pinctrl-names = "default"; 537 pinctrl-0 = <&edp_hpd_active>; 504 pinctrl-0 = <&edp_hpd_active>; 538 505 539 status = "okay"; 506 status = "okay"; 540 507 541 aux-bus { 508 aux-bus { 542 panel { 509 panel { 543 compatible = "edp-pane 510 compatible = "edp-panel"; 544 511 545 backlight = <&backligh 512 backlight = <&backlight>; 546 513 547 port { 514 port { 548 auo_b133han05_ 515 auo_b133han05_in: endpoint { 549 remote 516 remote-endpoint = <&mdss_edp_out>; 550 }; 517 }; 551 }; 518 }; 552 }; 519 }; 553 }; 520 }; 554 521 555 ports { 522 ports { 556 port@1 { 523 port@1 { 557 reg = <1>; 524 reg = <1>; 558 mdss_edp_out: endpoint 525 mdss_edp_out: endpoint { 559 remote-endpoin 526 remote-endpoint = <&auo_b133han05_in>; 560 }; 527 }; 561 }; 528 }; 562 }; 529 }; 563 }; 530 }; 564 531 565 &pcie1 { 532 &pcie1 { 566 perst-gpios = <&tlmm 175 GPIO_ACTIVE_L !! 533 perst-gpio = <&tlmm 175 GPIO_ACTIVE_LOW>; 567 wake-gpios = <&tlmm 177 GPIO_ACTIVE_HI !! 534 wake-gpio = <&tlmm 177 GPIO_ACTIVE_HIGH>; 568 pinctrl-names = "default"; 535 pinctrl-names = "default"; 569 pinctrl-0 = <&pcie2_default_state>; 536 pinctrl-0 = <&pcie2_default_state>; 570 537 571 status = "okay"; 538 status = "okay"; 572 }; 539 }; 573 540 574 &pcie1_phy { 541 &pcie1_phy { 575 vdda-phy-supply = <&vreg_l5e_0p88>; 542 vdda-phy-supply = <&vreg_l5e_0p88>; 576 vdda-pll-supply = <&vreg_l3c_1p2>; 543 vdda-pll-supply = <&vreg_l3c_1p2>; 577 544 578 status = "okay"; 545 status = "okay"; 579 }; 546 }; 580 547 581 &pmc8180_pwrkey { << 582 status = "okay"; << 583 }; << 584 << 585 &pmc8180c_lpg { 548 &pmc8180c_lpg { 586 status = "okay"; 549 status = "okay"; 587 }; 550 }; 588 551 589 &qupv3_id_0 { 552 &qupv3_id_0 { 590 status = "okay"; 553 status = "okay"; 591 }; 554 }; 592 555 593 &qupv3_id_1 { 556 &qupv3_id_1 { 594 status = "okay"; 557 status = "okay"; 595 }; 558 }; 596 559 597 &qupv3_id_2 { 560 &qupv3_id_2 { 598 status = "okay"; 561 status = "okay"; 599 }; 562 }; 600 563 601 &remoteproc_adsp { 564 &remoteproc_adsp { 602 memory-region = <&adsp_mem>; 565 memory-region = <&adsp_mem>; 603 firmware-name = "qcom/sc8180x/qcadsp81 566 firmware-name = "qcom/sc8180x/qcadsp8180.mbn"; 604 567 605 status = "okay"; 568 status = "okay"; 606 }; 569 }; 607 570 608 &remoteproc_mpss { 571 &remoteproc_mpss { 609 memory-region = <&mpss_mem>; 572 memory-region = <&mpss_mem>; 610 firmware-name = "qcom/sc8180x/qcmpss81 573 firmware-name = "qcom/sc8180x/qcmpss8180.mbn"; 611 574 612 status = "okay"; 575 status = "okay"; 613 }; 576 }; 614 577 615 &uart12 { 578 &uart12 { 616 compatible = "qcom,geni-debug-uart"; 579 compatible = "qcom,geni-debug-uart"; 617 status = "okay"; 580 status = "okay"; 618 }; 581 }; 619 582 620 &uart13 { 583 &uart13 { 621 pinctrl-names = "default"; 584 pinctrl-names = "default"; 622 pinctrl-0 = <&uart13_state>; 585 pinctrl-0 = <&uart13_state>; 623 586 624 status = "okay"; 587 status = "okay"; 625 588 626 bluetooth { 589 bluetooth { 627 compatible = "qcom,wcn3998-bt" 590 compatible = "qcom,wcn3998-bt"; 628 591 629 vddio-supply = <&vreg_s4a_1p8> 592 vddio-supply = <&vreg_s4a_1p8>; 630 vddxo-supply = <&vreg_l7a_1p8> 593 vddxo-supply = <&vreg_l7a_1p8>; 631 vddrf-supply = <&vreg_l9a_1p3> 594 vddrf-supply = <&vreg_l9a_1p3>; 632 vddch0-supply = <&vreg_l11c_3p 595 vddch0-supply = <&vreg_l11c_3p3>; 633 max-speed = <3200000>; 596 max-speed = <3200000>; 634 }; 597 }; 635 }; 598 }; 636 599 637 &ufs_mem_hc { 600 &ufs_mem_hc { 638 reset-gpios = <&tlmm 190 GPIO_ACTIVE_L 601 reset-gpios = <&tlmm 190 GPIO_ACTIVE_LOW>; 639 602 640 vcc-supply = <&vreg_l10e_2p9>; 603 vcc-supply = <&vreg_l10e_2p9>; 641 vcc-max-microamp = <155000>; 604 vcc-max-microamp = <155000>; 642 605 643 vccq2-supply = <&vreg_l7e_1p8>; 606 vccq2-supply = <&vreg_l7e_1p8>; 644 vccq2-max-microamp = <425000>; 607 vccq2-max-microamp = <425000>; 645 608 646 status = "okay"; 609 status = "okay"; 647 }; 610 }; 648 611 649 &ufs_mem_phy { 612 &ufs_mem_phy { 650 vdda-phy-supply = <&vreg_l5e_0p88>; 613 vdda-phy-supply = <&vreg_l5e_0p88>; 651 vdda-pll-supply = <&vreg_l3c_1p2>; 614 vdda-pll-supply = <&vreg_l3c_1p2>; 652 615 653 status = "okay"; 616 status = "okay"; 654 }; 617 }; 655 618 656 &usb_mp { << 657 status = "okay"; << 658 }; << 659 << 660 &usb_mp_hsphy0 { << 661 vdda-pll-supply = <&vreg_l5e_0p88>; << 662 vdda18-supply = <&vreg_l12a_1p8>; << 663 vdda33-supply = <&vreg_l16e_3p0>; << 664 << 665 status = "okay"; << 666 }; << 667 << 668 &usb_mp_hsphy1 { << 669 vdda-pll-supply = <&vreg_l5e_0p88>; << 670 vdda18-supply = <&vreg_l12a_1p8>; << 671 vdda33-supply = <&vreg_l16e_3p0>; << 672 << 673 status = "okay"; << 674 }; << 675 << 676 &usb_mp_qmpphy0 { << 677 vdda-phy-supply = <&vreg_l3c_1p2>; << 678 vdda-pll-supply = <&vreg_l5e_0p88>; << 679 << 680 status = "okay"; << 681 }; << 682 << 683 &usb_mp_qmpphy1 { << 684 vdda-phy-supply = <&vreg_l3c_1p2>; << 685 vdda-pll-supply = <&vreg_l5e_0p88>; << 686 << 687 status = "okay"; << 688 }; << 689 << 690 &usb_prim_hsphy { 619 &usb_prim_hsphy { 691 vdda-pll-supply = <&vreg_l5e_0p88>; 620 vdda-pll-supply = <&vreg_l5e_0p88>; 692 vdda18-supply = <&vreg_l12a_1p8>; 621 vdda18-supply = <&vreg_l12a_1p8>; 693 vdda33-supply = <&vreg_l16e_3p0>; 622 vdda33-supply = <&vreg_l16e_3p0>; 694 623 695 status = "okay"; 624 status = "okay"; 696 }; 625 }; 697 626 698 &usb_prim_qmpphy { 627 &usb_prim_qmpphy { 699 vdda-phy-supply = <&vreg_l3c_1p2>; 628 vdda-phy-supply = <&vreg_l3c_1p2>; 700 vdda-pll-supply = <&vreg_l5e_0p88>; 629 vdda-pll-supply = <&vreg_l5e_0p88>; 701 630 702 orientation-switch; 631 orientation-switch; 703 632 704 status = "okay"; 633 status = "okay"; 705 }; 634 }; 706 635 707 &usb_prim { 636 &usb_prim { 708 status = "okay"; 637 status = "okay"; 709 }; 638 }; 710 639 711 &usb_prim_dwc3 { 640 &usb_prim_dwc3 { 712 dr_mode = "host"; 641 dr_mode = "host"; 713 }; 642 }; 714 643 715 &usb_prim_dwc3_hs { << 716 remote-endpoint = <&pmic_glink_con0_hs << 717 }; << 718 << 719 &usb_prim_qmpphy_dp_in { 644 &usb_prim_qmpphy_dp_in { 720 remote-endpoint = <&mdss_dp0_out>; 645 remote-endpoint = <&mdss_dp0_out>; 721 }; 646 }; 722 647 723 &usb_prim_qmpphy_out { 648 &usb_prim_qmpphy_out { 724 remote-endpoint = <&pmic_glink_con0_ss 649 remote-endpoint = <&pmic_glink_con0_ss>; 725 }; 650 }; 726 651 >> 652 &usb_prim_role_switch { >> 653 remote-endpoint = <&pmic_glink_con0_hs>; >> 654 }; >> 655 727 &usb_sec_hsphy { 656 &usb_sec_hsphy { 728 vdda-pll-supply = <&vreg_l5e_0p88>; 657 vdda-pll-supply = <&vreg_l5e_0p88>; 729 vdda18-supply = <&vreg_l12a_1p8>; 658 vdda18-supply = <&vreg_l12a_1p8>; 730 vdda33-supply = <&vreg_l16e_3p0>; 659 vdda33-supply = <&vreg_l16e_3p0>; 731 660 732 status = "okay"; 661 status = "okay"; 733 }; 662 }; 734 663 735 &usb_sec_qmpphy { 664 &usb_sec_qmpphy { 736 vdda-phy-supply = <&vreg_l3c_1p2>; 665 vdda-phy-supply = <&vreg_l3c_1p2>; 737 vdda-pll-supply = <&vreg_l5e_0p88>; 666 vdda-pll-supply = <&vreg_l5e_0p88>; 738 667 739 orientation-switch; 668 orientation-switch; 740 669 741 status = "okay"; 670 status = "okay"; 742 }; 671 }; 743 672 744 &usb_sec_qmpphy_dp_in { 673 &usb_sec_qmpphy_dp_in { 745 remote-endpoint = <&mdss_dp1_out>; 674 remote-endpoint = <&mdss_dp1_out>; 746 }; 675 }; 747 676 748 &usb_sec_qmpphy_out { 677 &usb_sec_qmpphy_out { 749 remote-endpoint = <&pmic_glink_con1_ss 678 remote-endpoint = <&pmic_glink_con1_ss>; 750 }; 679 }; 751 680 >> 681 &usb_sec_role_switch { >> 682 remote-endpoint = <&pmic_glink_con1_hs>; >> 683 }; >> 684 752 &usb_sec { 685 &usb_sec { 753 status = "okay"; 686 status = "okay"; 754 }; 687 }; 755 688 756 &usb_sec_dwc3 { 689 &usb_sec_dwc3 { 757 dr_mode = "host"; 690 dr_mode = "host"; 758 }; << 759 << 760 &usb_sec_dwc3_hs { << 761 remote-endpoint = <&pmic_glink_con1_hs << 762 }; 691 }; 763 692 764 &wifi { 693 &wifi { 765 memory-region = <&wlan_mem>; 694 memory-region = <&wlan_mem>; 766 695 767 vdd-0.8-cx-mx-supply = <&vreg_l1e_0p75 696 vdd-0.8-cx-mx-supply = <&vreg_l1e_0p75>; 768 vdd-1.8-xo-supply = <&vreg_l7a_1p8>; 697 vdd-1.8-xo-supply = <&vreg_l7a_1p8>; 769 vdd-1.3-rfa-supply = <&vreg_l9a_1p3>; 698 vdd-1.3-rfa-supply = <&vreg_l9a_1p3>; 770 vdd-3.3-ch0-supply = <&vreg_l11c_3p3>; 699 vdd-3.3-ch0-supply = <&vreg_l11c_3p3>; 771 vdd-3.3-ch1-supply = <&vreg_l10c_3p3>; 700 vdd-3.3-ch1-supply = <&vreg_l10c_3p3>; 772 701 773 status = "okay"; 702 status = "okay"; 774 }; 703 }; 775 704 776 &xo_board_clk { 705 &xo_board_clk { 777 clock-frequency = <38400000>; 706 clock-frequency = <38400000>; 778 }; 707 }; 779 708 780 /* PINCTRL */ 709 /* PINCTRL */ 781 710 782 &pmc8180c_gpios { 711 &pmc8180c_gpios { 783 bl_pwm_default: bl-pwm-default-state { 712 bl_pwm_default: bl-pwm-default-state { 784 en-pins { 713 en-pins { 785 pins = "gpio8"; 714 pins = "gpio8"; 786 function = "normal"; 715 function = "normal"; 787 }; 716 }; 788 717 789 pwm-pins { 718 pwm-pins { 790 pins = "gpio10"; 719 pins = "gpio10"; 791 function = "func1"; 720 function = "func1"; 792 }; 721 }; 793 }; 722 }; 794 }; 723 }; 795 724 796 &tlmm { 725 &tlmm { 797 gpio-reserved-ranges = <0 4>, <47 4>, 726 gpio-reserved-ranges = <0 4>, <47 4>, <126 4>; 798 727 799 aux_i2c_active_state: aux-i2c-active-s 728 aux_i2c_active_state: aux-i2c-active-state { 800 pins = "gpio98", "gpio99"; 729 pins = "gpio98", "gpio99"; 801 function = "qup7"; 730 function = "qup7"; 802 731 803 bias-disable; 732 bias-disable; 804 drive-strength = <16>; 733 drive-strength = <16>; 805 }; 734 }; 806 735 807 edp_hpd_active: epd-hpd-active-state { 736 edp_hpd_active: epd-hpd-active-state { 808 pins = "gpio10"; 737 pins = "gpio10"; 809 function = "edp_hot"; 738 function = "edp_hot"; 810 }; 739 }; 811 740 812 hall_int_active_state: hall-int-active 741 hall_int_active_state: hall-int-active-state { 813 pins = "gpio121"; 742 pins = "gpio121"; 814 function = "gpio"; 743 function = "gpio"; 815 744 816 bias-disable; 745 bias-disable; 817 }; 746 }; 818 747 819 kb_int_active_state: kb-int-active-sta 748 kb_int_active_state: kb-int-active-state { 820 int-n-pins { 749 int-n-pins { 821 pins = "gpio37"; 750 pins = "gpio37"; 822 function = "gpio"; 751 function = "gpio"; 823 752 824 bias-pull-up; 753 bias-pull-up; 825 }; 754 }; 826 755 827 kp-disable-pins { 756 kp-disable-pins { 828 pins = "gpio135"; 757 pins = "gpio135"; 829 function = "gpio"; 758 function = "gpio"; 830 759 831 output-high; 760 output-high; 832 }; 761 }; 833 }; 762 }; 834 763 835 kb_tp_3v3_en_active_state: kb-tp-3v3-e 764 kb_tp_3v3_en_active_state: kb-tp-3v3-en-active-state { 836 pins = "gpio4"; 765 pins = "gpio4"; 837 function = "gpio"; 766 function = "gpio"; 838 767 839 bias-disable; 768 bias-disable; 840 }; 769 }; 841 770 842 pcie2_default_state: pcie2-default-sta 771 pcie2_default_state: pcie2-default-state { 843 clkreq-pins { 772 clkreq-pins { 844 pins = "gpio176"; 773 pins = "gpio176"; 845 function = "pci_e2"; 774 function = "pci_e2"; 846 bias-pull-up; 775 bias-pull-up; 847 }; 776 }; 848 777 849 reset-n-pins { 778 reset-n-pins { 850 pins = "gpio175"; 779 pins = "gpio175"; 851 function = "gpio"; 780 function = "gpio"; 852 781 853 drive-strength = <2>; 782 drive-strength = <2>; 854 output-low; 783 output-low; 855 bias-pull-down; 784 bias-pull-down; 856 }; 785 }; 857 786 858 wake-n-pins { 787 wake-n-pins { 859 pins = "gpio177"; 788 pins = "gpio177"; 860 function = "gpio"; 789 function = "gpio"; 861 790 862 drive-strength = <2>; 791 drive-strength = <2>; 863 bias-pull-up; 792 bias-pull-up; 864 }; 793 }; 865 }; 794 }; 866 795 867 usbprim_sbu_default: usbprim-sbu-state 796 usbprim_sbu_default: usbprim-sbu-state { 868 oe-n-pins { 797 oe-n-pins { 869 pins = "gpio152"; 798 pins = "gpio152"; 870 function = "gpio"; 799 function = "gpio"; 871 bias-disable; 800 bias-disable; 872 drive-strength = <16>; 801 drive-strength = <16>; 873 output-high; 802 output-high; 874 }; 803 }; 875 804 876 sel-pins { 805 sel-pins { 877 pins = "gpio100"; 806 pins = "gpio100"; 878 function = "gpio"; 807 function = "gpio"; 879 bias-disable; 808 bias-disable; 880 drive-strength = <16>; 809 drive-strength = <16>; 881 }; 810 }; 882 }; 811 }; 883 812 884 usbsec_sbu_default: usbsec-sbu-state { 813 usbsec_sbu_default: usbsec-sbu-state { 885 oe-n-pins { 814 oe-n-pins { 886 pins = "gpio188"; 815 pins = "gpio188"; 887 function = "gpio"; 816 function = "gpio"; 888 bias-disable; 817 bias-disable; 889 drive-strength = <16>; 818 drive-strength = <16>; 890 output-high; 819 output-high; 891 }; 820 }; 892 821 893 sel-pins { 822 sel-pins { 894 pins = "gpio187"; 823 pins = "gpio187"; 895 function = "gpio"; 824 function = "gpio"; 896 bias-disable; 825 bias-disable; 897 drive-strength = <16>; 826 drive-strength = <16>; 898 }; 827 }; 899 }; 828 }; 900 829 901 tp_int_active_state: tp-int-active-sta 830 tp_int_active_state: tp-int-active-state { 902 tp-int-pins { 831 tp-int-pins { 903 pins = "gpio24"; 832 pins = "gpio24"; 904 function = "gpio"; 833 function = "gpio"; 905 834 906 bias-disable; 835 bias-disable; 907 }; 836 }; 908 837 909 tp-close-n-pins { 838 tp-close-n-pins { 910 pins = "gpio116"; 839 pins = "gpio116"; 911 function = "gpio"; 840 function = "gpio"; 912 841 913 bias-disable; 842 bias-disable; 914 }; 843 }; 915 }; 844 }; 916 845 917 ts_active_state: ts-active-state { 846 ts_active_state: ts-active-state { 918 int-n-pins { 847 int-n-pins { 919 pins = "gpio122"; 848 pins = "gpio122"; 920 function = "gpio"; 849 function = "gpio"; 921 850 922 bias-disable; 851 bias-disable; 923 }; 852 }; 924 853 925 reset-n-pins { 854 reset-n-pins { 926 pins = "gpio54"; 855 pins = "gpio54"; 927 function = "gpio"; 856 function = "gpio"; 928 857 929 output-high; 858 output-high; 930 }; 859 }; 931 }; 860 }; 932 861 933 ts_i2c_active_state: ts-i2c-active-sta 862 ts_i2c_active_state: ts-i2c-active-state { 934 pins = "gpio114", "gpio115"; 863 pins = "gpio114", "gpio115"; 935 function = "qup1"; 864 function = "qup1"; 936 865 937 /* External pull up */ 866 /* External pull up */ 938 bias-disable; 867 bias-disable; 939 drive-strength = <2>; 868 drive-strength = <2>; 940 }; 869 }; 941 870 942 uart13_state: uart13-state { 871 uart13_state: uart13-state { 943 cts-pins { 872 cts-pins { 944 pins = "gpio43"; 873 pins = "gpio43"; 945 function = "qup13"; 874 function = "qup13"; 946 bias-pull-down; 875 bias-pull-down; 947 }; 876 }; 948 877 949 rts-tx-pins { 878 rts-tx-pins { 950 pins = "gpio44", "gpio 879 pins = "gpio44", "gpio45"; 951 function = "qup13"; 880 function = "qup13"; 952 drive-strength = <2>; 881 drive-strength = <2>; 953 bias-disable; 882 bias-disable; 954 }; 883 }; 955 884 956 rx-pins { 885 rx-pins { 957 pins = "gpio46"; 886 pins = "gpio46"; 958 function = "qup13"; 887 function = "qup13"; 959 bias-pull-up; 888 bias-pull-up; 960 }; 889 }; 961 }; 890 }; 962 }; 891 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.