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	pmr735a-regulators {
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&ipa {
64	status = "okay";
65	modem-init;
66};
67
68&pmk8350_rtc {
69	status = "okay";
70};
71
72&nvme_pwren {
73	pins = "gpio19";
74};
75
76&nvme_3v3_regulator {
77	gpio = <&tlmm 19 GPIO_ACTIVE_HIGH>;
78};
79
80&pmk8350_vadc {
81	pmr735a_die_temp {
82		reg = <PMR735A_ADC7_DIE_TEMP>;
83		label = "pmr735a_die_temp";
84		qcom,pre-scaling = <1 1>;
85	};
86};
87
88&usb_2 {
89	status = "okay";
90};
91
92&usb_2_dwc3 {
93	dr_mode = "host";
94};
95
96&usb_2_hsphy {
97	status = "okay";
98
99	vdda-pll-supply = <&vreg_l10c_0p8>;
100	vdda33-supply = <&vreg_l2b_3p0>;
101	vdda18-supply = <&vreg_l1c_1p8>;
102};
103