1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (c) 2023, Linaro Ltd
8 #include <dt-bindings/leds/common.h>
9 #include "qcm2290.dtsi"
10 #include "pm4125.dtsi"
13 model = "Qualcomm Technologies, Inc. Robotics RB1";
14 compatible = "qcom,qrb2210-rb1", "qcom,qrb2210", "qcom,qcm2290";
23 stdout-path = "serial0:115200n8";
28 compatible = "fixed-clock";
29 clock-frequency = <40000000>;
35 compatible = "gpio-keys";
38 pinctrl-0 = <&key_volp_n>;
39 pinctrl-names = "default";
43 linux,code = <KEY_VOLUMEUP>;
44 gpios = <&tlmm 96 GPIO_ACTIVE_LOW>;
45 debounce-interval = <15>;
52 compatible = "hdmi-connector";
57 remote-endpoint = <<9611_out>;
63 compatible = "gpio-leds";
67 function = LED_FUNCTION_BLUETOOTH;
68 color = <LED_COLOR_ID_BLUE>;
69 gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
70 linux,default-trigger = "bluetooth-power";
71 default-state = "off";
75 label = "green:user0";
76 function = LED_FUNCTION_INDICATOR;
77 color = <LED_COLOR_ID_GREEN>;
78 gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>;
79 linux,default-trigger = "none";
80 default-state = "off";
85 label = "yellow:wlan";
86 function = LED_FUNCTION_WLAN;
87 color = <LED_COLOR_ID_YELLOW>;
88 gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
89 linux,default-trigger = "phy0tx";
90 default-state = "off";
94 vreg_hdmi_out_1p2: regulator-hdmi-out-1p2 {
95 compatible = "regulator-fixed";
96 regulator-name = "VREG_HDMI_OUT_1P2";
97 regulator-min-microvolt = <1200000>;
98 regulator-max-microvolt = <1200000>;
99 vin-supply = <&vdc_1v2>;
104 lt9611_3v3: regulator-lt9611-3v3 {
105 compatible = "regulator-fixed";
106 regulator-name = "LT9611_3V3";
107 regulator-min-microvolt = <3300000>;
108 regulator-max-microvolt = <3300000>;
109 vin-supply = <&vdc_3v3>;
114 /* Main barrel jack input */
115 vdc_12v: regulator-vdc-12v {
116 compatible = "regulator-fixed";
117 regulator-name = "DC_12V";
118 regulator-min-microvolt = <12000000>;
119 regulator-max-microvolt = <12000000>;
124 /* 1.2V supply stepped down from the barrel jack input */
125 vdc_1v2: regulator-vdc-1v2 {
126 compatible = "regulator-fixed";
127 regulator-name = "VDC_1V2";
128 regulator-min-microvolt = <1200000>;
129 regulator-max-microvolt = <1200000>;
130 vin-supply = <&vdc_12v>;
135 /* 3.3V supply stepped down from the barrel jack input */
136 vdc_3v3: regulator-vdc-3v3 {
137 compatible = "regulator-fixed";
138 regulator-name = "VDC_3V3";
139 regulator-min-microvolt = <3300000>;
140 regulator-max-microvolt = <3300000>;
141 vin-supply = <&vdc_12v>;
146 /* 5V supply stepped down from the barrel jack input */
147 vdc_5v: regulator-vdc-5v {
148 compatible = "regulator-fixed";
149 regulator-name = "VDC_5V";
151 regulator-min-microvolt = <5000000>;
152 regulator-max-microvolt = <5000000>;
157 /* "Battery" voltage for the SoM, stepped down from the barrel jack input */
158 vdc_vbat_som: regulator-vdc-vbat {
159 compatible = "regulator-fixed";
160 regulator-name = "VBAT_SOM";
161 regulator-min-microvolt = <4200000>;
162 regulator-max-microvolt = <4200000>;
167 /* PM2250 charger out, supplied by VBAT */
168 vph_pwr: regulator-vph-pwr {
169 compatible = "regulator-fixed";
170 regulator-name = "vph_pwr";
171 regulator-min-microvolt = <3700000>;
172 regulator-max-microvolt = <3700000>;
173 vin-supply = <&vdc_vbat_som>;
181 /delete-property/ power-domains;
185 /delete-property/ power-domains;
189 /delete-property/ power-domains;
193 /delete-property/ power-domains;
196 /delete-node/ &CLUSTER_PD;
203 clock-frequency = <400000>;
206 lt9611_codec: hdmi-bridge@2b {
207 compatible = "lontium,lt9611uxc";
209 interrupts-extended = <&tlmm 46 IRQ_TYPE_EDGE_FALLING>;
210 reset-gpios = <&tlmm 41 GPIO_ACTIVE_HIGH>;
212 vdd-supply = <&vreg_hdmi_out_1p2>;
213 vcc-supply = <<9611_3v3>;
215 pinctrl-0 = <<9611_irq_pin <9611_rst_pin>;
216 pinctrl-names = "default";
217 #sound-dai-cells = <1>;
220 #address-cells = <1>;
227 remote-endpoint = <&mdss_dsi0_out>;
234 lt9611_out: endpoint {
235 remote-endpoint = <&hdmi_con>;
247 vdda-supply = <&pm4125_l5>;
252 remote-endpoint = <<9611_a>;
253 data-lanes = <0 1 2 3>;
261 linux,code = <KEY_VOLUMEDOWN>;
270 firmware-name = "qcom/qcm2290/adsp.mbn";
275 firmware-name = "qcom/qcm2290/modem.mbn";
281 compatible = "qcom,rpm-pm2250-regulators";
282 vdd_s3-supply = <&vph_pwr>;
283 vdd_s4-supply = <&vph_pwr>;
284 vdd_l1_l2_l3_l5_l6_l7_l8_l9_l10_l11_l12-supply = <&pm4125_s3>;
285 vdd_l4_l17_l18_l19_l20_l21_l22-supply = <&vph_pwr>;
286 vdd_l13_l14_l15_l16-supply = <&pm4125_s4>;
294 /* 0.4V-1.6625V -> 1.3V (Power tree requirements) */
295 regulator-min-microvolt = <1352000>;
296 regulator-max-microvolt = <1352000>;
301 /* 1.2V-2.35V -> 2.05V (Power tree requirements) */
302 regulator-min-microvolt = <2072000>;
303 regulator-max-microvolt = <2072000>;
311 regulator-min-microvolt = <1136000>;
312 regulator-max-microvolt = <1136000>;
319 regulator-min-microvolt = <616000>;
320 regulator-max-microvolt = <616000>;
326 /* max = 3.05V -> max = 2.7 to disable 3V signaling (SDHCI2) */
327 regulator-min-microvolt = <1800000>;
328 regulator-max-microvolt = <2700000>;
329 regulator-allow-set-load;
334 regulator-min-microvolt = <1232000>;
335 regulator-max-microvolt = <1232000>;
336 regulator-allow-set-load;
342 regulator-min-microvolt = <928000>;
343 regulator-max-microvolt = <928000>;
350 regulator-min-microvolt = <664000>;
351 regulator-max-microvolt = <664000>;
361 regulator-min-microvolt = <1304000>;
362 regulator-max-microvolt = <1304000>;
367 regulator-min-microvolt = <1000000>;
368 regulator-max-microvolt = <1000000>;
374 regulator-min-microvolt = <928000>;
375 regulator-max-microvolt = <928000>;
376 regulator-allow-set-load;
381 /* USB/QFPROM/PLLs */
382 regulator-min-microvolt = <1800000>;
383 regulator-max-microvolt = <1800000>;
384 regulator-allow-set-load;
390 regulator-min-microvolt = <1800000>;
391 regulator-max-microvolt = <1800000>;
392 regulator-allow-set-load;
393 /* Broken hardware, never turn it off! */
398 /* WCD/DSI/BT VDDIO */
399 regulator-min-microvolt = <1800000>;
400 regulator-max-microvolt = <1800000>;
401 regulator-allow-set-load;
408 regulator-min-microvolt = <1800000>;
409 regulator-max-microvolt = <1800000>;
414 regulator-min-microvolt = <3000000>;
415 regulator-max-microvolt = <3000000>;
420 regulator-min-microvolt = <1800000>;
421 regulator-max-microvolt = <1800000>;
426 regulator-min-microvolt = <1800000>;
427 regulator-max-microvolt = <1800000>;
432 regulator-min-microvolt = <2400000>;
433 regulator-max-microvolt = <3600000>;
434 regulator-allow-set-load;
439 regulator-min-microvolt = <2960000>;
440 regulator-max-microvolt = <3300000>;
441 regulator-allow-set-load;
447 regulator-min-microvolt = <3312000>;
448 regulator-max-microvolt = <3312000>;
454 vmmc-supply = <&pm4125_l20>;
455 vqmmc-supply = <&pm4125_l14>;
456 pinctrl-0 = <&sdc1_state_on>;
457 pinctrl-1 = <&sdc1_state_off>;
458 pinctrl-names = "default", "sleep";
467 vmmc-supply = <&pm4125_l21>;
468 vqmmc-supply = <&pm4125_l4>;
469 cd-gpios = <&tlmm 88 GPIO_ACTIVE_LOW>;
470 pinctrl-0 = <&sdc2_state_on &sd_det_in_on>;
471 pinctrl-1 = <&sdc2_state_off &sd_det_in_off>;
472 pinctrl-names = "default", "sleep";
482 compatible = "microchip,mcp2518fd";
484 interrupts-extended = <&tlmm 39 IRQ_TYPE_LEVEL_LOW>;
486 spi-max-frequency = <10000000>;
487 vdd-supply = <&vdc_5v>;
488 xceiver-supply = <&vdc_5v>;
493 lt9611_rst_pin: lt9611-rst-state {
500 lt9611_irq_pin: lt9611-irq-state {
506 sd_det_in_on: sd-det-in-on-state {
509 drive-strength = <2>;
513 sd_det_in_off: sd-det-in-off-state {
516 drive-strength = <2>;
520 key_volp_n: key-volp-n-state {
528 /* UART connected to the Micro-USB port via a FTDI chip */
530 compatible = "qcom,geni-debug-uart";
539 vdda-phy-supply = <&pm4125_l12>;
540 vdda-pll-supply = <&pm4125_l13>;
549 vdd-supply = <&pm4125_l12>;
550 vdda-pll-supply = <&pm4125_l13>;
551 vdda-phy-dpdm-supply = <&pm4125_l21>;
556 vdd-0.8-cx-mx-supply = <&pm4125_l7>;
557 vdd-1.8-xo-supply = <&pm4125_l13>;
558 vdd-1.3-rfa-supply = <&pm4125_l10>;
559 vdd-3.3-ch0-supply = <&pm4125_l22>;
560 qcom,ath10k-calibration-variant = "Thundercomm_RB1";
565 clock-frequency = <38400000>;