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