blob: 26843b2b6f057f7c6e4ddceaf82b01550a497ab8 [file] [log] [blame]
Caleb Connolly220f9dc2023-10-03 12:43:50 +01001// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
3 * Copyright (c) 2023, Linaro Ltd
4 */
5
6/dts-v1/;
7
8#include <dt-bindings/arm/qcom,ids.h>
9
10#include "qcm2290.dtsi"
11
12/ {
13 model = "Qualcomm Technologies, Inc. Robotics RB1";
14 compatible = "qcom,qrb2210-rb1", "qcom,qrb2210", "qcom,qcm2290";
15 qcom,msm-id = <QCOM_ID_QRB2210 0x10000>;
16 qcom,board-id = <QCOM_BOARD_ID(QRD, 0, 0) 0>;
17
18 aliases {
19 serial0 = &uart4;
20 sdhc1 = &sdhc_1;
21 sdhc2 = &sdhc_2;
22 };
23
24 chosen {
25 stdout-path = "serial0:115200n8";
26 };
27
28 smbios {
29 compatible = "u-boot,sysinfo-smbios";
30
31 smbios {
32 system {
33 manufacturer = "Qualcomm Technologies, Inc.";
34 product = "Qualcomm Robotics RB1";
35 };
36
37 baseboard {
38 manufacturer = "Thundercomm";
39 product = "TurboX-C2210-SoM";
40 };
41 };
42 };
43};
44
45&sdhc_1 {
46 clocks = <&gcc GCC_SDCC1_AHB_CLK>,
47 <&gcc GCC_SDCC1_APPS_CLK>,
48 <&gcc GCC_SDCC1_ICE_CORE_CLK>;
49 clock-names = "iface",
50 "core",
51 "ice";
52
53 non-removable;
54 supports-cqe;
55 no-sdio;
56 no-sd;
57 status = "okay";
58};
59
60&sdhc_2 {
61 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
62 <&gcc GCC_SDCC2_APPS_CLK>;
63 clock-names = "iface",
64 "core";
65
66 clock-frequency = <200000000>;
67
68 cd-gpios = <&tlmm 88 GPIO_ACTIVE_LOW>;
69
70 no-sdio;
71 no-mmc;
72
73 /* SD card support is broken currently */
74 status = "disabled";
75};
76
77&qupv3_id_0 {
78 status = "okay";
79
80 /delete-property/ iommus;
81};
82
83&uart4 {
84 compatible = "qcom,geni-debug-uart";
85 status = "disabled";
86};
87
88&usb {
89 status = "okay";
90 qcom,select-utmi-as-pipe-clk;
91
92 //dr_mode = "host";
93};
94
95&usb_dwc3 {
96 dr_mode = "host";
97 maximum-speed = "high-speed";
98};
99
100&usb_hsphy {
101 status = "okay";
102
103 /* Disable ref clk because rpmcc isn't supported */
104 clocks = <&gcc GCC_AHB2PHY_USB_CLK>;
105 clock-names = "cfg_ahb";
106};
107
108&xo_board {
109 clock-frequency = <38400000>;
110};