1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2023, Linaro Limited
8 #include <dt-bindings/leds/common.h>
10 #include "pm6125.dtsi"
13 model = "Qualcomm Technologies, Inc. QRB4210 RB2";
14 compatible = "qcom,qrb4210-rb2", "qcom,qrb4210", "qcom,sm4250";
21 stdout-path = "serial0:115200n8";
26 compatible = "fixed-clock";
27 clock-frequency = <40000000>;
33 compatible = "gpio-keys";
36 pinctrl-0 = <&kypd_vol_up_n>;
37 pinctrl-names = "default";
41 linux,code = <KEY_VOLUMEUP>;
42 gpios = <&pm6125_gpios 5 GPIO_ACTIVE_LOW>;
43 debounce-interval = <15>;
50 compatible = "hdmi-connector";
55 remote-endpoint = <<9611_out>;
61 compatible = "gpio-leds";
65 function = LED_FUNCTION_BLUETOOTH;
66 color = <LED_COLOR_ID_BLUE>;
67 gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
68 linux,default-trigger = "bluetooth-power";
69 default-state = "off";
73 label = "green:user0";
74 function = LED_FUNCTION_INDICATOR;
75 color = <LED_COLOR_ID_GREEN>;
76 gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>;
77 linux,default-trigger = "none";
78 default-state = "off";
83 label = "yellow:wlan";
84 function = LED_FUNCTION_WLAN;
85 color = <LED_COLOR_ID_YELLOW>;
86 gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
87 linux,default-trigger = "phy0tx";
88 default-state = "off";
92 vreg_hdmi_out_1p2: regulator-hdmi-out-1p2 {
93 compatible = "regulator-fixed";
94 regulator-name = "VREG_HDMI_OUT_1P2";
95 regulator-min-microvolt = <1200000>;
96 regulator-max-microvolt = <1200000>;
97 vin-supply = <&vdc_1v2>;
102 lt9611_3v3: regulator-lt9611-3v3 {
103 compatible = "regulator-fixed";
104 regulator-name = "LT9611_3V3";
105 regulator-min-microvolt = <3300000>;
106 regulator-max-microvolt = <3300000>;
107 vin-supply = <&vdc_3v3>;
112 /* Main barrel jack input */
113 vdc_12v: regulator-vdc-12v {
114 compatible = "regulator-fixed";
115 regulator-name = "DC_12V";
116 regulator-min-microvolt = <12000000>;
117 regulator-max-microvolt = <12000000>;
122 /* 1.2V supply stepped down from the barrel jack input */
123 vdc_1v2: regulator-vdc-1v2 {
124 compatible = "regulator-fixed";
125 regulator-name = "VDC_1V2";
126 regulator-min-microvolt = <1200000>;
127 regulator-max-microvolt = <1200000>;
128 vin-supply = <&vdc_12v>;
133 /* 3.3V supply stepped down from the barrel jack input */
134 vdc_3v3: regulator-vdc-3v3 {
135 compatible = "regulator-fixed";
136 regulator-name = "VDC_3V3";
137 regulator-min-microvolt = <3300000>;
138 regulator-max-microvolt = <3300000>;
139 vin-supply = <&vdc_12v>;
144 /* 5V supply stepped down from the barrel jack input */
145 vdc_5v: regulator-vdc-5v {
146 compatible = "regulator-fixed";
147 regulator-name = "VDC_5V";
149 regulator-min-microvolt = <5000000>;
150 regulator-max-microvolt = <5000000>;
155 /* "Battery" voltage for the SoM, stepped down from the barrel jack input */
156 vdc_vbat_som: regulator-vdc-vbat {
157 compatible = "regulator-fixed";
158 regulator-name = "VBAT_SOM";
159 regulator-min-microvolt = <4200000>;
160 regulator-max-microvolt = <4200000>;
165 /* PMI632 charger out, supplied by VBAT */
166 vph_pwr: regulator-vph-pwr {
167 compatible = "regulator-fixed";
168 regulator-name = "vph_pwr";
169 regulator-min-microvolt = <3700000>;
170 regulator-max-microvolt = <3700000>;
171 vin-supply = <&vdc_vbat_som>;
186 firmware-name = "qcom/qrb4210/a610_zap.mbn";
191 clock-frequency = <400000>;
194 lt9611_codec: hdmi-bridge@2b {
195 compatible = "lontium,lt9611uxc";
197 interrupts-extended = <&tlmm 46 IRQ_TYPE_EDGE_FALLING>;
198 reset-gpios = <&tlmm 41 GPIO_ACTIVE_HIGH>;
200 vdd-supply = <&vreg_hdmi_out_1p2>;
201 vcc-supply = <<9611_3v3>;
203 pinctrl-0 = <<9611_irq_pin <9611_rst_pin>;
204 pinctrl-names = "default";
205 #sound-dai-cells = <1>;
208 #address-cells = <1>;
215 remote-endpoint = <&mdss_dsi0_out>;
222 lt9611_out: endpoint {
223 remote-endpoint = <&hdmi_con>;
235 vdda-supply = <&vreg_l18a_1p232>;
240 remote-endpoint = <<9611_a>;
241 data-lanes = <0 1 2 3>;
249 kypd_vol_up_n: kypd-vol-up-n-state {
263 linux,code = <KEY_VOLUMEDOWN>;
272 firmware-name = "qcom/qrb4210/adsp.mbn";
278 firmware-name = "qcom/qrb4210/cdsp.mbn";
285 compatible = "qcom,rpm-pm6125-regulators";
287 vdd-s1-supply = <&vph_pwr>;
288 vdd-s2-supply = <&vph_pwr>;
289 vdd-s3-supply = <&vph_pwr>;
290 vdd-s4-supply = <&vph_pwr>;
291 vdd-s5-supply = <&vph_pwr>;
292 vdd-s6-supply = <&vph_pwr>;
293 vdd-s7-supply = <&vph_pwr>;
294 vdd-s8-supply = <&vph_pwr>;
295 vdd-s9-supply = <&vph_pwr>;
296 vdd-s10-supply = <&vph_pwr>;
298 vdd-l1-l7-l17-l18-supply = <&vreg_s6a_1p352>;
299 vdd-l2-l3-l4-supply = <&vreg_s6a_1p352>;
300 vdd-l5-l15-l19-l20-l21-l22-supply = <&vph_pwr>;
301 vdd-l6-l8-supply = <&vreg_s5a_0p848>;
302 vdd-l9-l11-supply = <&vreg_s7a_2p04>;
303 vdd-l10-l13-l14-supply = <&vreg_s7a_2p04>;
304 vdd-l12-l16-supply = <&vreg_s7a_2p04>;
305 vdd-l23-l24-supply = <&vph_pwr>;
308 regulator-min-microvolt = <920000>;
309 regulator-max-microvolt = <1128000>;
313 regulator-min-microvolt = <304000>;
314 regulator-max-microvolt = <1456000>;
318 regulator-min-microvolt = <1280000>;
319 regulator-max-microvolt = <2080000>;
323 regulator-min-microvolt = <952000>;
324 regulator-max-microvolt = <1152000>;
328 regulator-min-microvolt = <488000>;
329 regulator-max-microvolt = <1000000>;
333 regulator-min-microvolt = <1648000>;
334 regulator-max-microvolt = <3056000>;
335 regulator-allow-set-load;
339 regulator-min-microvolt = <576000>;
340 regulator-max-microvolt = <656000>;
344 regulator-min-microvolt = <1200000>;
345 regulator-max-microvolt = <1304000>;
349 regulator-min-microvolt = <400000>;
350 regulator-max-microvolt = <728000>;
354 regulator-min-microvolt = <1800000>;
355 regulator-max-microvolt = <2000000>;
359 regulator-min-microvolt = <1704000>;
360 regulator-max-microvolt = <1904000>;
364 regulator-min-microvolt = <1704000>;
365 regulator-max-microvolt = <1952000>;
366 regulator-allow-set-load;
370 regulator-min-microvolt = <1624000>;
371 regulator-max-microvolt = <1984000>;
375 regulator-min-microvolt = <1504000>;
376 regulator-max-microvolt = <1952000>;
380 regulator-min-microvolt = <1704000>;
381 regulator-max-microvolt = <1904000>;
384 vreg_l15a_3p128: l15 {
385 regulator-min-microvolt = <2920000>;
386 regulator-max-microvolt = <3232000>;
390 regulator-min-microvolt = <1704000>;
391 regulator-max-microvolt = <1904000>;
395 regulator-min-microvolt = <1152000>;
396 regulator-max-microvolt = <1384000>;
399 vreg_l18a_1p232: l18 {
400 regulator-min-microvolt = <1104000>;
401 regulator-max-microvolt = <1312000>;
405 regulator-min-microvolt = <1624000>;
406 regulator-max-microvolt = <3304000>;
410 regulator-min-microvolt = <1624000>;
411 regulator-max-microvolt = <3304000>;
414 vreg_l21a_2p704: l21 {
415 regulator-min-microvolt = <2400000>;
416 regulator-max-microvolt = <3600000>;
419 vreg_l22a_2p96: l22 {
420 regulator-min-microvolt = <2952000>;
421 regulator-max-microvolt = <3304000>;
422 regulator-system-load = <100000>;
423 regulator-allow-set-load;
427 regulator-min-microvolt = <3200000>;
428 regulator-max-microvolt = <3400000>;
431 vreg_l24a_2p96: l24 {
432 regulator-min-microvolt = <2704000>;
433 regulator-max-microvolt = <3600000>;
434 regulator-system-load = <100000>;
435 regulator-allow-set-load;
441 pinctrl-0 = <&sdc1_state_on>;
442 pinctrl-1 = <&sdc1_state_off>;
443 pinctrl-names = "default", "sleep";
445 vmmc-supply = <&vreg_l24a_2p96>;
446 vqmmc-supply = <&vreg_l11a_1p8>;
454 cd-gpios = <&tlmm 88 GPIO_ACTIVE_LOW>; /* card detect gpio */
456 pinctrl-0 = <&sdc2_state_on &sdc2_card_det_n>;
457 pinctrl-1 = <&sdc2_state_off &sdc2_card_det_n>;
458 pinctrl-names = "default", "sleep";
460 vmmc-supply = <&vreg_l22a_2p96>;
461 vqmmc-supply = <&vreg_l5a_2p96>;
471 compatible = "microchip,mcp2518fd";
473 interrupts-extended = <&tlmm 39 IRQ_TYPE_LEVEL_LOW>;
475 spi-max-frequency = <10000000>;
476 vdd-supply = <&vdc_5v>;
477 xceiver-supply = <&vdc_5v>;
482 clock-frequency = <32000>;
486 gpio-reserved-ranges = <43 2>, <49 1>, <54 1>,
487 <56 3>, <61 2>, <64 1>,
488 <68 1>, <72 8>, <96 1>;
490 lt9611_rst_pin: lt9611-rst-state {
497 lt9611_irq_pin: lt9611-irq-state {
503 sdc2_card_det_n: sd-card-det-n-state {
506 drive-strength = <2>;
520 maximum-speed = "super-speed";
521 dr_mode = "peripheral";
525 vdd-supply = <&vreg_l4a_0p9>;
526 vdda-pll-supply = <&vreg_l12a_1p8>;
527 vdda-phy-dpdm-supply = <&vreg_l15a_3p128>;
533 vdda-phy-supply = <&vreg_l4a_0p9>;
534 vdda-pll-supply = <&vreg_l12a_1p8>;
540 clock-frequency = <19200000>;