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