Loading arch/arm64/boot/dts/qcom/sa8195p-adp-star.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ #include <dt-bindings/gpio/gpio.h> #include "sa8195p-adp-star-display.dtsi" #include "sa8195p-cnss.dtsi" &qupv3_se0_spi { status = "ok"; Loading arch/arm64/boot/dts/qcom/sa8195p-cnss.dtsi 0 → 100644 +58 −0 Original line number Diff line number Diff line /* Copyright (c) 2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &soc { /* PWR_CTR2_VDD_1P8 supply */ vreg_conn_1p8: vreg_conn_1p8 { compatible = "regulator-fixed"; regulator-name = "vreg_conn_1p8"; pinctrl-names = "default"; pinctrl-0 = <&conn_power_1p8_active>; startup-delay-us = <4000>; enable-active-high; gpio = <&tlmm 173 0>; }; /* PWR_CTR1_VDD_PA supply */ vreg_conn_pa: vreg_conn_pa { compatible = "regulator-fixed"; regulator-name = "vreg_conn_pa"; pinctrl-names = "default"; pinctrl-0 = <&conn_power_pa_active>; startup-delay-us = <4000>; enable-active-high; gpio = <&tlmm 174 0>; }; bluetooth_ext: bt_qca6174 { compatible = "qca,qca6174"; pinctrl-names = "default"; pinctrl-0 = <&bt_en_active>; /* BT_EN */ qca,bt-reset-gpio = <&tlmm 172 0>; /* PWR_CTR1_VDD_PA */ qca,bt-vdd-pa-supply = <&vreg_conn_pa>; /* PWR_CTR2_VDD_1P8 */ qca,bt-chip-pwd-supply = <&vreg_conn_1p8>; qca,bt-vdd-vl-supply = <&pm8195_1_s5>; qca,bt-vdd-vm-supply = <&pm8195_1_s2>; qca,bt-vdd-vh-supply = <&pm8195_2_l7>; qca,bt-vdd-vl-voltage-level = <1000000 1000000>; qca,bt-vdd-vm-voltage-level = <1370000 1370000>; qca,bt-vdd-vh-voltage-level = <1900000 1900000>; qca,bt-vdd-vl-current-level = <0>; qca,bt-vdd-vm-current-level = <0>; qca,bt-vdd-vh-current-level = <450000>; }; }; Loading
arch/arm64/boot/dts/qcom/sa8195p-adp-star.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ #include <dt-bindings/gpio/gpio.h> #include "sa8195p-adp-star-display.dtsi" #include "sa8195p-cnss.dtsi" &qupv3_se0_spi { status = "ok"; Loading
arch/arm64/boot/dts/qcom/sa8195p-cnss.dtsi 0 → 100644 +58 −0 Original line number Diff line number Diff line /* Copyright (c) 2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &soc { /* PWR_CTR2_VDD_1P8 supply */ vreg_conn_1p8: vreg_conn_1p8 { compatible = "regulator-fixed"; regulator-name = "vreg_conn_1p8"; pinctrl-names = "default"; pinctrl-0 = <&conn_power_1p8_active>; startup-delay-us = <4000>; enable-active-high; gpio = <&tlmm 173 0>; }; /* PWR_CTR1_VDD_PA supply */ vreg_conn_pa: vreg_conn_pa { compatible = "regulator-fixed"; regulator-name = "vreg_conn_pa"; pinctrl-names = "default"; pinctrl-0 = <&conn_power_pa_active>; startup-delay-us = <4000>; enable-active-high; gpio = <&tlmm 174 0>; }; bluetooth_ext: bt_qca6174 { compatible = "qca,qca6174"; pinctrl-names = "default"; pinctrl-0 = <&bt_en_active>; /* BT_EN */ qca,bt-reset-gpio = <&tlmm 172 0>; /* PWR_CTR1_VDD_PA */ qca,bt-vdd-pa-supply = <&vreg_conn_pa>; /* PWR_CTR2_VDD_1P8 */ qca,bt-chip-pwd-supply = <&vreg_conn_1p8>; qca,bt-vdd-vl-supply = <&pm8195_1_s5>; qca,bt-vdd-vm-supply = <&pm8195_1_s2>; qca,bt-vdd-vh-supply = <&pm8195_2_l7>; qca,bt-vdd-vl-voltage-level = <1000000 1000000>; qca,bt-vdd-vm-voltage-level = <1370000 1370000>; qca,bt-vdd-vh-voltage-level = <1900000 1900000>; qca,bt-vdd-vl-current-level = <0>; qca,bt-vdd-vm-current-level = <0>; qca,bt-vdd-vh-current-level = <450000>; }; };