1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * sc7280 IDP board device tree source 3 * sc7280 IDP board device tree source 4 * 4 * 5 * Copyright (c) 2021, The Linux Foundation. A 5 * Copyright (c) 2021, The Linux Foundation. All rights reserved. 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include <dt-bindings/iio/qcom,spmi-adc7-pmr73 10 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 11 #include "sc7280-idp.dtsi" 11 #include "sc7280-idp.dtsi" 12 #include "pmr735a.dtsi" 12 #include "pmr735a.dtsi" 13 13 14 / { 14 / { 15 model = "Qualcomm Technologies, Inc. s 15 model = "Qualcomm Technologies, Inc. sc7280 IDP SKU1 platform"; 16 compatible = "qcom,sc7280-idp", "googl 16 compatible = "qcom,sc7280-idp", "google,senor", "qcom,sc7280"; 17 17 18 aliases { 18 aliases { 19 serial0 = &uart5; 19 serial0 = &uart5; 20 }; 20 }; 21 21 22 chosen { 22 chosen { 23 stdout-path = "serial0:115200n 23 stdout-path = "serial0:115200n8"; 24 }; 24 }; 25 }; 25 }; 26 26 27 &apps_rsc { 27 &apps_rsc { 28 regulators-2 { !! 28 pmr735a-regulators { 29 compatible = "qcom,pmr735a-rpm 29 compatible = "qcom,pmr735a-rpmh-regulators"; 30 qcom,pmic-id = "e"; 30 qcom,pmic-id = "e"; 31 31 32 vreg_l2e_1p2: ldo2 { 32 vreg_l2e_1p2: ldo2 { 33 regulator-min-microvol 33 regulator-min-microvolt = <1200000>; 34 regulator-max-microvol 34 regulator-max-microvolt = <1200000>; 35 }; 35 }; 36 36 37 vreg_l3e_0p9: ldo3 { 37 vreg_l3e_0p9: ldo3 { 38 regulator-min-microvol 38 regulator-min-microvolt = <912000>; 39 regulator-max-microvol 39 regulator-max-microvolt = <1020000>; 40 }; 40 }; 41 41 42 vreg_l4e_1p7: ldo4 { 42 vreg_l4e_1p7: ldo4 { 43 regulator-min-microvol 43 regulator-min-microvolt = <1776000>; 44 regulator-max-microvol 44 regulator-max-microvolt = <1890000>; 45 }; 45 }; 46 46 47 vreg_l5e_0p8: ldo5 { 47 vreg_l5e_0p8: ldo5 { 48 regulator-min-microvol 48 regulator-min-microvolt = <800000>; 49 regulator-max-microvol 49 regulator-max-microvolt = <800000>; 50 }; 50 }; 51 51 52 vreg_l6e_0p8: ldo6 { 52 vreg_l6e_0p8: ldo6 { 53 regulator-min-microvol 53 regulator-min-microvolt = <480000>; 54 regulator-max-microvol 54 regulator-max-microvolt = <904000>; 55 }; 55 }; 56 }; 56 }; 57 }; 57 }; 58 58 59 &bluetooth { 59 &bluetooth { 60 vddio-supply = <&vreg_l19b_1p8>; 60 vddio-supply = <&vreg_l19b_1p8>; 61 }; 61 }; 62 62 >> 63 &ipa { >> 64 status = "okay"; >> 65 modem-init; >> 66 }; >> 67 63 &pmk8350_rtc { 68 &pmk8350_rtc { 64 status = "okay"; 69 status = "okay"; 65 }; 70 }; 66 71 67 &nvme_pwren { 72 &nvme_pwren { 68 pins = "gpio19"; 73 pins = "gpio19"; 69 }; 74 }; 70 75 71 &nvme_3v3_regulator { 76 &nvme_3v3_regulator { 72 gpio = <&tlmm 19 GPIO_ACTIVE_HIGH>; 77 gpio = <&tlmm 19 GPIO_ACTIVE_HIGH>; 73 }; 78 }; 74 79 75 &pmk8350_vadc { 80 &pmk8350_vadc { 76 channel@403 { !! 81 pmr735a_die_temp { 77 reg = <PMR735A_ADC7_DIE_TEMP>; 82 reg = <PMR735A_ADC7_DIE_TEMP>; 78 label = "pmr735a_die_temp"; 83 label = "pmr735a_die_temp"; 79 qcom,pre-scaling = <1 1>; 84 qcom,pre-scaling = <1 1>; 80 }; 85 }; 81 }; 86 }; 82 87 83 &usb_2 { 88 &usb_2 { 84 status = "okay"; 89 status = "okay"; 85 }; 90 }; 86 91 87 &usb_2_dwc3 { 92 &usb_2_dwc3 { 88 dr_mode = "otg"; !! 93 dr_mode = "host"; 89 }; 94 }; 90 95 91 &usb_2_hsphy { 96 &usb_2_hsphy { 92 status = "okay"; 97 status = "okay"; 93 98 94 vdda-pll-supply = <&vreg_l10c_0p8>; 99 vdda-pll-supply = <&vreg_l10c_0p8>; 95 vdda33-supply = <&vreg_l2b_3p0>; 100 vdda33-supply = <&vreg_l2b_3p0>; 96 vdda18-supply = <&vreg_l1c_1p8>; 101 vdda18-supply = <&vreg_l1c_1p8>; 97 }; 102 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.