1/dts-v1/; 2 3#include "tegra30-colibri.dtsi" 4 5/ { 6 model = "Toradex Colibri T30 on Colibri Evaluation Board"; 7 compatible = "toradex,colibri_t30-eval-v3", "toradex,colibri_t30", "nvidia,tegra30"; 8 9 aliases { 10 rtc0 = "/i2c@7000c000/rtc@68"; 11 rtc1 = "/i2c@7000d000/tps65911@2d"; 12 rtc2 = "/rtc@7000e000"; 13 serial0 = &uarta; 14 serial1 = &uartb; 15 serial2 = &uartd; 16 }; 17 18 host1x@50000000 { 19 dc@54200000 { 20 rgb { 21 status = "okay"; 22 nvidia,panel = <&panel>; 23 }; 24 }; 25 hdmi@54280000 { 26 status = "okay"; 27 }; 28 }; 29 30 serial@70006000 { 31 status = "okay"; 32 }; 33 34 serial@70006040 { 35 compatible = "nvidia,tegra30-hsuart"; 36 status = "okay"; 37 }; 38 39 serial@70006300 { 40 compatible = "nvidia,tegra30-hsuart"; 41 status = "okay"; 42 }; 43 44 pwm@7000a000 { 45 status = "okay"; 46 }; 47 48 /* 49 * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier 50 * board) 51 */ 52 i2c@7000c000 { 53 status = "okay"; 54 clock-frequency = <100000>; 55 56 /* M41T0M6 real time clock on carrier board */ 57 rtc@68 { 58 compatible = "stm,m41t00"; 59 reg = <0x68>; 60 }; 61 }; 62 63 /* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */ 64 hdmiddc: i2c@7000c700 { 65 status = "okay"; 66 }; 67 68 /* SPI1: Colibri SSP */ 69 spi@7000d400 { 70 status = "okay"; 71 spi-max-frequency = <25000000>; 72 can0: can@0 { 73 compatible = "microchip,mcp2515"; 74 reg = <0>; 75 clocks = <&clk16m>; 76 interrupt-parent = <&gpio>; 77 interrupts = <TEGRA_GPIO(S, 0) GPIO_ACTIVE_LOW>; 78 spi-max-frequency = <10000000>; 79 }; 80 spidev0: spi@1 { 81 compatible = "spidev"; 82 reg = <1>; 83 spi-max-frequency = <25000000>; 84 }; 85 }; 86 87 sdhci@78000200 { 88 status = "okay"; 89 bus-width = <4>; 90 cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>; 91 no-1-8-v; 92 }; 93 94 /* EHCI instance 0: USB1_DP/N -> USBC_P/N */ 95 usb@7d000000 { 96 status = "okay"; 97 }; 98 99 usb-phy@7d000000 { 100 status = "okay"; 101 dr_mode = "otg"; 102 vbus-supply = <&usbc_vbus_reg>; 103 }; 104 105 /* EHCI instance 2: USB3_DP/N -> USBH_P/N */ 106 usb@7d008000 { 107 status = "okay"; 108 }; 109 110 usb-phy@7d008000 { 111 status = "okay"; 112 vbus-supply = <&usbh_vbus_reg>; 113 }; 114 115 backlight: backlight { 116 compatible = "pwm-backlight"; 117 118 /* PWM<A> */ 119 pwms = <&pwm 0 5000000>; 120 brightness-levels = <255 128 64 32 16 8 4 0>; 121 default-brightness-level = <6>; 122 /* BL_ON */ 123 enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; 124 }; 125 126 clocks { 127 clk16m: clk@1 { 128 compatible = "fixed-clock"; 129 reg=<1>; 130 #clock-cells = <0>; 131 clock-frequency = <16000000>; 132 clock-output-names = "clk16m"; 133 }; 134 }; 135 136 gpio-keys { 137 compatible = "gpio-keys"; 138 139 power { 140 label = "Power"; 141 gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>; 142 linux,code = <KEY_POWER>; 143 debounce-interval = <10>; 144 gpio-key,wakeup; 145 }; 146 }; 147 148 panel: panel { 149 /* 150 * edt,et057090dhu: EDT 5.7" LCD TFT 151 * edt,et070080dh6: EDT 7.0" LCD TFT 152 */ 153 compatible = "edt,et057090dhu", "simple-panel"; 154 155 backlight = <&backlight>; 156 }; 157 158 pwmleds { 159 compatible = "pwm-leds"; 160 161 pwmb { 162 label = "PWM<B>"; 163 pwms = <&pwm 1 19600>; 164 max-brightness = <255>; 165 }; 166 pwmc { 167 label = "PWM<C>"; 168 pwms = <&pwm 2 19600>; 169 max-brightness = <255>; 170 }; 171 pwmd { 172 label = "PWM<D>"; 173 pwms = <&pwm 3 19600>; 174 max-brightness = <255>; 175 }; 176 }; 177 178 regulators { 179 sys_5v0_reg: regulator@1 { 180 compatible = "regulator-fixed"; 181 reg = <1>; 182 regulator-name = "5v0"; 183 regulator-min-microvolt = <5000000>; 184 regulator-max-microvolt = <5000000>; 185 regulator-always-on; 186 }; 187 188 usbc_vbus_reg: regulator@2 { 189 compatible = "regulator-fixed"; 190 reg = <2>; 191 regulator-name = "usbc_vbus"; 192 regulator-min-microvolt = <5000000>; 193 regulator-max-microvolt = <5000000>; 194 vin-supply = <&sys_5v0_reg>; 195 }; 196 197 /* USBH_PEN */ 198 usbh_vbus_reg: regulator@3 { 199 compatible = "regulator-fixed"; 200 reg = <3>; 201 regulator-name = "usbh_vbus"; 202 regulator-min-microvolt = <5000000>; 203 regulator-max-microvolt = <5000000>; 204 gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>; 205 vin-supply = <&sys_5v0_reg>; 206 }; 207 }; 208}; 209