1// 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 "qcm2290.dtsi" 9#include "pm2250.dtsi" 10 11/ { 12 model = "Qualcomm Technologies, Inc. Robotics RB1"; 13 compatible = "qcom,qrb2210-rb1", "qcom,qrb2210", "qcom,qcm2290"; 14 15 aliases { 16 serial0 = &uart0; 17 sdhc1 = &sdhc_1; 18 sdhc2 = &sdhc_2; 19 }; 20 21 chosen { 22 stdout-path = "serial0:115200n8"; 23 }; 24 25 gpio-keys { 26 compatible = "gpio-keys"; 27 label = "gpio-keys"; 28 29 pinctrl-0 = <&key_volp_n>; 30 pinctrl-names = "default"; 31 32 key-volume-up { 33 label = "Volume Up"; 34 linux,code = <KEY_VOLUMEUP>; 35 gpios = <&tlmm 96 GPIO_ACTIVE_LOW>; 36 debounce-interval = <15>; 37 linux,can-disable; 38 wakeup-source; 39 }; 40 }; 41}; 42 43&pm2250_resin { 44 linux,code = <KEY_VOLUMEDOWN>; 45 status = "okay"; 46}; 47 48&qupv3_id_0 { 49 status = "okay"; 50}; 51 52&sdhc_1 { 53 pinctrl-0 = <&sdc1_state_on>; 54 pinctrl-1 = <&sdc1_state_off>; 55 pinctrl-names = "default", "sleep"; 56 non-removable; 57 supports-cqe; 58 no-sdio; 59 no-sd; 60 status = "okay"; 61}; 62 63&sdhc_2 { 64 cd-gpios = <&tlmm 88 GPIO_ACTIVE_LOW>; 65 pinctrl-0 = <&sdc2_state_on &sd_det_in_on>; 66 pinctrl-1 = <&sdc2_state_off &sd_det_in_off>; 67 pinctrl-names = "default", "sleep"; 68 no-sdio; 69 no-mmc; 70 status = "okay"; 71}; 72 73&tlmm { 74 sd_det_in_on: sd-det-in-on-state { 75 pins = "gpio88"; 76 function = "gpio"; 77 drive-strength = <2>; 78 bias-pull-up; 79 }; 80 81 sd_det_in_off: sd-det-in-off-state { 82 pins = "gpio88"; 83 function = "gpio"; 84 drive-strength = <2>; 85 bias-disable; 86 }; 87 88 key_volp_n: key-volp-n-state { 89 pins = "gpio96"; 90 function = "gpio"; 91 bias-pull-up; 92 output-disable; 93 }; 94}; 95 96/* UART connected to the Micro-USB port via a FTDI chip */ 97&uart0 { 98 compatible = "qcom,geni-debug-uart"; 99 status = "okay"; 100}; 101 102&usb { 103 status = "okay"; 104}; 105 106&usb_hsphy { 107 status = "okay"; 108}; 109 110&xo_board { 111 clock-frequency = <38400000>; 112}; 113