1 // SPDX-License-Identifier: GPL-2.0 OR MIT 2 /dts-v1/; 3 4 #include <dt-bindings/input/input.h> 5 #include "tegra20-colibri.dtsi" 6 7 / { 8 model = "Toradex Colibri T20 on Colibr 9 compatible = "toradex,colibri_t20-eval 10 "nvidia,tegra20"; 11 12 aliases { 13 rtc0 = "/i2c@7000c000/rtc@68"; 14 rtc1 = "/i2c@7000d000/pmic@34" 15 rtc2 = "/rtc@7000e000"; 16 serial0 = &uarta; 17 serial1 = &uartd; 18 serial2 = &uartb; 19 }; 20 21 chosen { 22 stdout-path = "serial0:115200n 23 }; 24 25 host1x@50000000 { 26 dc@54200000 { 27 rgb { 28 status = "okay 29 nvidia,panel = 30 }; 31 }; 32 33 hdmi@54280000 { 34 status = "okay"; 35 hdmi-supply = <®_5v 36 }; 37 }; 38 39 pinmux@70000014 { 40 state_default: pinmux { 41 bl-on { 42 nvidia,tristat 43 }; 44 45 ddc { 46 nvidia,tristat 47 }; 48 49 hotplug-detect { 50 nvidia,tristat 51 }; 52 53 i2c { 54 nvidia,tristat 55 }; 56 57 lcd { 58 nvidia,tristat 59 }; 60 61 lm1 { 62 nvidia,tristat 63 }; 64 65 mmc { 66 nvidia,tristat 67 }; 68 69 mmccd { 70 nvidia,tristat 71 }; 72 73 sdc { 74 nvidia,tristat 75 }; 76 77 sdb_sdd { 78 nvidia,tristat 79 }; 80 81 ssp { 82 nvidia,tristat 83 }; 84 85 uart-a { 86 nvidia,tristat 87 }; 88 89 uart-b { 90 nvidia,tristat 91 }; 92 93 uart-c { 94 nvidia,tristat 95 }; 96 97 usbh-pen { 98 nvidia,tristat 99 }; 100 }; 101 }; 102 103 /* Colibri UART-A */ 104 serial@70006000 { 105 /delete-property/ dmas; 106 /delete-property/ dma-names; 107 status = "okay"; 108 }; 109 110 /* Colibri UART-C */ 111 serial@70006040 { 112 status = "okay"; 113 }; 114 115 /* Colibri UART-B */ 116 serial@70006300 { 117 status = "okay"; 118 }; 119 120 pwm@7000a000 { 121 status = "okay"; 122 }; 123 124 /* 125 * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 126 * board) 127 */ 128 i2c@7000c000 { 129 status = "okay"; 130 clock-frequency = <400000>; 131 132 /* M41T0M6 real time clock on 133 rtc@68 { 134 compatible = "st,m41t0 135 reg = <0x68>; 136 }; 137 }; 138 139 /* GEN2_I2C: unused */ 140 141 /* CAM_I2C (I2C3): unused */ 142 143 /* DDC_CLOCK/DATA on X3 pin 15/16 (e.g 144 i2c@7000c400 { 145 status = "okay"; 146 }; 147 148 /* SPI4: Colibri SSP */ 149 spi@7000da00 { 150 status = "okay"; 151 spi-max-frequency = <25000000> 152 153 can@0 { 154 compatible = "microchi 155 reg = <0>; 156 clocks = <&clk16m>; 157 interrupt-parent = <&g 158 /* CAN_INT */ 159 interrupts = <TEGRA_GP 160 spi-max-frequency = <1 161 vdd-supply = <®_3v3 162 xceiver-supply = <® 163 }; 164 }; 165 166 /* EHCI instance 0: USB1_DP/N -> USBC_ 167 usb@c5000000 { 168 status = "okay"; 169 dr_mode = "otg"; 170 }; 171 172 usb-phy@c5000000 { 173 status = "okay"; 174 vbus-supply = <®_usbc_vbus> 175 }; 176 177 /* EHCI instance 2: USB3_DP/N -> USBH_ 178 usb@c5008000 { 179 status = "okay"; 180 }; 181 182 usb-phy@c5008000 { 183 status = "okay"; 184 vbus-supply = <®_usbh_vbus> 185 }; 186 187 /* SD/MMC */ 188 mmc@c8000600 { 189 status = "okay"; 190 bus-width = <4>; 191 cd-gpios = <&gpio TEGRA_GPIO(C 192 no-1-8-v; 193 }; 194 195 backlight: backlight { 196 compatible = "pwm-backlight"; 197 brightness-levels = <255 128 6 198 default-brightness-level = <6> 199 /* BL_ON */ 200 enable-gpios = <&gpio TEGRA_GP 201 power-supply = <®_3v3>; 202 pwms = <&pwm 0 5000000>; /* PW 203 }; 204 205 clk16m: clock-osc3 { 206 compatible = "fixed-clock"; 207 #clock-cells = <0>; 208 clock-frequency = <16000000>; 209 }; 210 211 gpio-keys { 212 compatible = "gpio-keys"; 213 214 key-wakeup { 215 label = "SODIMM pin 45 216 gpios = <&gpio TEGRA_G 217 linux,code = <KEY_WAKE 218 debounce-interval = <1 219 wakeup-source; 220 }; 221 }; 222 223 panel: panel { 224 /* 225 * edt,et057090dhu: EDT 5.7" L 226 * edt,et070080dh6: EDT 7.0" L 227 */ 228 compatible = "edt,et057090dhu" 229 backlight = <&backlight>; 230 power-supply = <®_3v3>; 231 }; 232 233 reg_3v3: regulator-3v3 { 234 compatible = "regulator-fixed" 235 regulator-name = "3.3V_SW"; 236 regulator-min-microvolt = <330 237 regulator-max-microvolt = <330 238 }; 239 240 reg_5v0: regulator-5v0 { 241 compatible = "regulator-fixed" 242 regulator-name = "5V_SW"; 243 regulator-min-microvolt = <500 244 regulator-max-microvolt = <500 245 }; 246 247 reg_usbc_vbus: regulator-usbc-vbus { 248 compatible = "regulator-fixed" 249 regulator-name = "VCC_USB5"; 250 regulator-min-microvolt = <500 251 regulator-max-microvolt = <500 252 vin-supply = <®_5v0>; 253 }; 254 255 /* USBH_PEN resp. USB_P_EN */ 256 reg_usbh_vbus: regulator-usbh-vbus { 257 compatible = "regulator-fixed" 258 regulator-name = "VCC_USB[1-4] 259 regulator-min-microvolt = <500 260 regulator-max-microvolt = <500 261 gpio = <&gpio TEGRA_GPIO(W, 2) 262 vin-supply = <®_5v0>; 263 }; 264 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.