1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/dts-v1/; 3*724ba675SRob Herring 4*724ba675SRob Herring#include <dt-bindings/input/input.h> 5*724ba675SRob Herring#include "tegra30-colibri.dtsi" 6*724ba675SRob Herring 7*724ba675SRob Herring/ { 8*724ba675SRob Herring model = "Toradex Colibri T30 on Colibri Evaluation Board"; 9*724ba675SRob Herring compatible = "toradex,colibri_t30-eval-v3", "toradex,colibri_t30", 10*724ba675SRob Herring "nvidia,tegra30"; 11*724ba675SRob Herring 12*724ba675SRob Herring aliases { 13*724ba675SRob Herring rtc0 = "/i2c@7000c000/rtc@68"; 14*724ba675SRob Herring rtc1 = "/i2c@7000d000/pmic@2d"; 15*724ba675SRob Herring rtc2 = "/rtc@7000e000"; 16*724ba675SRob Herring serial0 = &uarta; 17*724ba675SRob Herring serial1 = &uartb; 18*724ba675SRob Herring serial2 = &uartd; 19*724ba675SRob Herring }; 20*724ba675SRob Herring 21*724ba675SRob Herring chosen { 22*724ba675SRob Herring stdout-path = "serial0:115200n8"; 23*724ba675SRob Herring }; 24*724ba675SRob Herring 25*724ba675SRob Herring host1x@50000000 { 26*724ba675SRob Herring dc@54200000 { 27*724ba675SRob Herring rgb { 28*724ba675SRob Herring status = "okay"; 29*724ba675SRob Herring nvidia,panel = <&panel>; 30*724ba675SRob Herring }; 31*724ba675SRob Herring }; 32*724ba675SRob Herring 33*724ba675SRob Herring hdmi@54280000 { 34*724ba675SRob Herring status = "okay"; 35*724ba675SRob Herring hdmi-supply = <®_5v0>; 36*724ba675SRob Herring }; 37*724ba675SRob Herring }; 38*724ba675SRob Herring 39*724ba675SRob Herring /* Colibri UART-A */ 40*724ba675SRob Herring serial@70006000 { 41*724ba675SRob Herring status = "okay"; 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring /* Colibri UART-C */ 45*724ba675SRob Herring serial@70006040 { 46*724ba675SRob Herring status = "okay"; 47*724ba675SRob Herring }; 48*724ba675SRob Herring 49*724ba675SRob Herring /* Colibri UART-B */ 50*724ba675SRob Herring serial@70006300 { 51*724ba675SRob Herring status = "okay"; 52*724ba675SRob Herring }; 53*724ba675SRob Herring 54*724ba675SRob Herring pwm@7000a000 { 55*724ba675SRob Herring status = "okay"; 56*724ba675SRob Herring }; 57*724ba675SRob Herring 58*724ba675SRob Herring /* 59*724ba675SRob Herring * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier 60*724ba675SRob Herring * board) 61*724ba675SRob Herring */ 62*724ba675SRob Herring i2c@7000c000 { 63*724ba675SRob Herring status = "okay"; 64*724ba675SRob Herring clock-frequency = <400000>; 65*724ba675SRob Herring 66*724ba675SRob Herring /* M41T0M6 real time clock on carrier board */ 67*724ba675SRob Herring rtc@68 { 68*724ba675SRob Herring compatible = "st,m41t0"; 69*724ba675SRob Herring reg = <0x68>; 70*724ba675SRob Herring }; 71*724ba675SRob Herring }; 72*724ba675SRob Herring 73*724ba675SRob Herring /* GEN2_I2C: unused */ 74*724ba675SRob Herring 75*724ba675SRob Herring /* CAM_I2C (I2C3): unused */ 76*724ba675SRob Herring 77*724ba675SRob Herring /* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */ 78*724ba675SRob Herring i2c@7000c700 { 79*724ba675SRob Herring status = "okay"; 80*724ba675SRob Herring }; 81*724ba675SRob Herring 82*724ba675SRob Herring /* SPI1: Colibri SSP */ 83*724ba675SRob Herring spi@7000d400 { 84*724ba675SRob Herring status = "okay"; 85*724ba675SRob Herring spi-max-frequency = <25000000>; 86*724ba675SRob Herring 87*724ba675SRob Herring can@0 { 88*724ba675SRob Herring compatible = "microchip,mcp2515"; 89*724ba675SRob Herring reg = <0>; 90*724ba675SRob Herring clocks = <&clk16m>; 91*724ba675SRob Herring interrupt-parent = <&gpio>; 92*724ba675SRob Herring /* CAN_INT */ 93*724ba675SRob Herring interrupts = <TEGRA_GPIO(S, 0) IRQ_TYPE_EDGE_FALLING>; 94*724ba675SRob Herring spi-max-frequency = <10000000>; 95*724ba675SRob Herring vdd-supply = <®_3v3>; 96*724ba675SRob Herring xceiver-supply = <®_5v0>; 97*724ba675SRob Herring }; 98*724ba675SRob Herring }; 99*724ba675SRob Herring 100*724ba675SRob Herring /* SD/MMC */ 101*724ba675SRob Herring mmc@78000200 { 102*724ba675SRob Herring status = "okay"; 103*724ba675SRob Herring bus-width = <4>; 104*724ba675SRob Herring cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>; /* MMCD */ 105*724ba675SRob Herring no-1-8-v; 106*724ba675SRob Herring }; 107*724ba675SRob Herring 108*724ba675SRob Herring /* EHCI instance 0: USB1_DP/N -> USBC_P/N */ 109*724ba675SRob Herring usb@7d000000 { 110*724ba675SRob Herring status = "okay"; 111*724ba675SRob Herring dr_mode = "otg"; 112*724ba675SRob Herring }; 113*724ba675SRob Herring 114*724ba675SRob Herring usb-phy@7d000000 { 115*724ba675SRob Herring status = "okay"; 116*724ba675SRob Herring vbus-supply = <®_usbc_vbus>; 117*724ba675SRob Herring }; 118*724ba675SRob Herring 119*724ba675SRob Herring /* EHCI instance 2: USB3_DP/N -> USBH_P/N */ 120*724ba675SRob Herring usb@7d008000 { 121*724ba675SRob Herring status = "okay"; 122*724ba675SRob Herring }; 123*724ba675SRob Herring 124*724ba675SRob Herring usb-phy@7d008000 { 125*724ba675SRob Herring status = "okay"; 126*724ba675SRob Herring vbus-supply = <®_usbh_vbus>; 127*724ba675SRob Herring }; 128*724ba675SRob Herring 129*724ba675SRob Herring backlight: backlight { 130*724ba675SRob Herring compatible = "pwm-backlight"; 131*724ba675SRob Herring brightness-levels = <255 128 64 32 16 8 4 0>; 132*724ba675SRob Herring default-brightness-level = <6>; 133*724ba675SRob Herring /* BL_ON */ 134*724ba675SRob Herring enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; 135*724ba675SRob Herring power-supply = <®_3v3>; 136*724ba675SRob Herring pwms = <&pwm 0 5000000>; /* PWM<A> */ 137*724ba675SRob Herring }; 138*724ba675SRob Herring 139*724ba675SRob Herring clk16m: clock-osc3 { 140*724ba675SRob Herring compatible = "fixed-clock"; 141*724ba675SRob Herring #clock-cells = <0>; 142*724ba675SRob Herring clock-frequency = <16000000>; 143*724ba675SRob Herring }; 144*724ba675SRob Herring 145*724ba675SRob Herring gpio-keys { 146*724ba675SRob Herring compatible = "gpio-keys"; 147*724ba675SRob Herring 148*724ba675SRob Herring key-wakeup { 149*724ba675SRob Herring label = "SODIMM pin 45 wakeup"; 150*724ba675SRob Herring gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>; 151*724ba675SRob Herring linux,code = <KEY_WAKEUP>; 152*724ba675SRob Herring debounce-interval = <10>; 153*724ba675SRob Herring wakeup-source; 154*724ba675SRob Herring }; 155*724ba675SRob Herring }; 156*724ba675SRob Herring 157*724ba675SRob Herring panel: panel { 158*724ba675SRob Herring /* 159*724ba675SRob Herring * edt,et057090dhu: EDT 5.7" LCD TFT 160*724ba675SRob Herring * edt,et070080dh6: EDT 7.0" LCD TFT 161*724ba675SRob Herring */ 162*724ba675SRob Herring compatible = "edt,et057090dhu"; 163*724ba675SRob Herring backlight = <&backlight>; 164*724ba675SRob Herring power-supply = <®_3v3>; 165*724ba675SRob Herring }; 166*724ba675SRob Herring 167*724ba675SRob Herring reg_3v3: regulator-3v3 { 168*724ba675SRob Herring compatible = "regulator-fixed"; 169*724ba675SRob Herring regulator-name = "3.3V_SW"; 170*724ba675SRob Herring regulator-min-microvolt = <3300000>; 171*724ba675SRob Herring regulator-max-microvolt = <3300000>; 172*724ba675SRob Herring }; 173*724ba675SRob Herring 174*724ba675SRob Herring reg_5v0: regulator-5v0 { 175*724ba675SRob Herring compatible = "regulator-fixed"; 176*724ba675SRob Herring regulator-name = "5V_SW"; 177*724ba675SRob Herring regulator-min-microvolt = <5000000>; 178*724ba675SRob Herring regulator-max-microvolt = <5000000>; 179*724ba675SRob Herring }; 180*724ba675SRob Herring 181*724ba675SRob Herring reg_usbc_vbus: regulator-usbc-vbus { 182*724ba675SRob Herring compatible = "regulator-fixed"; 183*724ba675SRob Herring regulator-name = "VCC_USB5"; 184*724ba675SRob Herring regulator-min-microvolt = <5000000>; 185*724ba675SRob Herring regulator-max-microvolt = <5000000>; 186*724ba675SRob Herring vin-supply = <®_5v0>; 187*724ba675SRob Herring }; 188*724ba675SRob Herring 189*724ba675SRob Herring /* USBH_PEN resp. USB_P_EN */ 190*724ba675SRob Herring reg_usbh_vbus: regulator-usbh-vbus { 191*724ba675SRob Herring compatible = "regulator-fixed"; 192*724ba675SRob Herring regulator-name = "VCC_USB[1-4]"; 193*724ba675SRob Herring regulator-min-microvolt = <5000000>; 194*724ba675SRob Herring regulator-max-microvolt = <5000000>; 195*724ba675SRob Herring gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>; 196*724ba675SRob Herring vin-supply = <®_5v0>; 197*724ba675SRob Herring }; 198*724ba675SRob Herring}; 199