xref: /linux/arch/arm64/boot/dts/qcom/sc7280-idp.dts (revision 3a38ef2b3cb6b63c105247b5ea4a9cf600e673f0)
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#include "sc7280-herobrine-lte-sku.dtsi"
14
15/ {
16	model = "Qualcomm Technologies, Inc. sc7280 IDP SKU1 platform";
17	compatible = "qcom,sc7280-idp", "google,senor", "qcom,sc7280";
18
19	aliases {
20		serial0 = &uart5;
21	};
22
23	chosen {
24		stdout-path = "serial0:115200n8";
25	};
26};
27
28&apps_rsc {
29	pmr735a-regulators {
30		compatible = "qcom,pmr735a-rpmh-regulators";
31		qcom,pmic-id = "e";
32
33		vreg_l2e_1p2: ldo2 {
34			regulator-min-microvolt = <1200000>;
35			regulator-max-microvolt = <1200000>;
36		};
37
38		vreg_l3e_0p9: ldo3 {
39			regulator-min-microvolt = <912000>;
40			regulator-max-microvolt = <1020000>;
41		};
42
43		vreg_l4e_1p7: ldo4 {
44			regulator-min-microvolt = <1776000>;
45			regulator-max-microvolt = <1890000>;
46		};
47
48		vreg_l5e_0p8: ldo5 {
49			regulator-min-microvolt = <800000>;
50			regulator-max-microvolt = <800000>;
51		};
52
53		vreg_l6e_0p8: ldo6 {
54			regulator-min-microvolt = <480000>;
55			regulator-max-microvolt = <904000>;
56		};
57	};
58};
59
60&bluetooth {
61	vddio-supply = <&vreg_l19b_1p8>;
62};
63
64&ipa {
65	status = "okay";
66	modem-init;
67};
68
69&pmk8350_rtc {
70	status = "okay";
71};
72
73&nvme_pwren {
74	pins = "gpio19";
75};
76
77&nvme_3v3_regulator {
78	gpio = <&tlmm 19 GPIO_ACTIVE_HIGH>;
79};
80
81&pmk8350_vadc {
82	pmr735a-die-temp@403 {
83		reg = <PMR735A_ADC7_DIE_TEMP>;
84		label = "pmr735a_die_temp";
85		qcom,pre-scaling = <1 1>;
86	};
87};
88
89&usb_2 {
90	status = "okay";
91};
92
93&usb_2_dwc3 {
94	dr_mode = "otg";
95};
96
97&usb_2_hsphy {
98	status = "okay";
99
100	vdda-pll-supply = <&vreg_l10c_0p8>;
101	vdda33-supply = <&vreg_l2b_3p0>;
102	vdda18-supply = <&vreg_l1c_1p8>;
103};
104