blob: 8868008c240fbeb9d4c2075b69805beccfab22ff [file] [log] [blame]
Sumit Gargd35b2112022-07-12 12:42:08 +05301// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Qualcomm Robotics RB3 Development (dragonboard845c) board device
4 * tree source
5 *
6 * (C) Copyright 2022 Sumit Garg <sumit.garg@linaro.org>
7 */
8
9/dts-v1/;
10
11#include "sdm845.dtsi"
Caleb Connolly1a7474c2023-08-15 17:36:10 +010012#include "pm8998.dtsi"
Sumit Gargd35b2112022-07-12 12:42:08 +053013
14/ {
15 model = "Thundercomm Dragonboard 845c";
16 compatible = "thundercomm,db845c", "qcom,sdm845";
Sumit Gargd35b2112022-07-12 12:42:08 +053017
18 chosen {
19 stdout-path = "serial0:115200n8";
20 };
21
22 aliases {
Vladimir Zapolskiy0e889a72023-04-21 20:50:41 +030023 serial0 = &uart9;
Sumit Gargd35b2112022-07-12 12:42:08 +053024 };
25
Caleb Connolly1a7474c2023-08-15 17:36:10 +010026 memory@80000000 {
Sumit Gargd35b2112022-07-12 12:42:08 +053027 device_type = "memory";
28 reg = <0 0x80000000 0 0xfdfa0000>;
29 };
Caleb Connolly32581492023-09-12 16:14:21 +010030
31 pcie_usb_dual_pwr: vldo-3v3-regulator {
32 compatible = "regulator-gpio";
33 regulator-name = "VLDO_3V3";
34
35 regulator-min-microvolt = <3300000>;
36 regulator-max-microvolt = <3300000>;
37
38 enable-gpios = <&tlmm 90 GPIO_ACTIVE_HIGH>;
39 enable-active-high;
40 states = <0 0>, <1800000 1>;
41 };
Sumit Gargd35b2112022-07-12 12:42:08 +053042};
43
Caleb Connolly5df679a2023-11-30 16:13:50 +000044&pm8998_resin {
45 status = "okay";
46};
47
Caleb Connolly1a7474c2023-08-15 17:36:10 +010048&uart9 {
49 status = "okay";
50};
Caleb Connolly32581492023-09-12 16:14:21 +010051
52&usb_2 {
53 status = "okay";
54 qcom,select-utmi-as-pipe-clk;
55};
56
57&usb_2_dwc3 {
58 dr_mode = "host";
59
60 /* We don't support superspeed in u-boot so remove the SSPHY */
61 phys = <&usb_2_hsphy>;
62 phy-names = "usb2-phy";
63
64 /* fastest mode for USB 2 */
65 maximum-speed = "high-speed";
66
67 vbus-supply = <&pcie_usb_dual_pwr>;
68};
69
70&usb_2_hsphy {
71 /* Remove ref clk because rmphcc isn't available */
72 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>;
73 clock-names = "cfg_ahb";
74
75 status = "okay";
76};