1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/dts-v1/; 3724ba675SRob Herring 4724ba675SRob Herring#include <dt-bindings/input/input.h> 5724ba675SRob Herring#include "tegra30-colibri.dtsi" 6724ba675SRob Herring 7724ba675SRob Herring/ { 8724ba675SRob Herring model = "Toradex Colibri T30 on Colibri Evaluation Board"; 9724ba675SRob Herring compatible = "toradex,colibri_t30-eval-v3", "toradex,colibri_t30", 10724ba675SRob Herring "nvidia,tegra30"; 11724ba675SRob Herring 12724ba675SRob Herring aliases { 13724ba675SRob Herring rtc0 = "/i2c@7000c000/rtc@68"; 14724ba675SRob Herring rtc1 = "/i2c@7000d000/pmic@2d"; 15724ba675SRob Herring rtc2 = "/rtc@7000e000"; 16724ba675SRob Herring serial0 = &uarta; 17724ba675SRob Herring serial1 = &uartb; 18724ba675SRob Herring serial2 = &uartd; 19724ba675SRob Herring }; 20724ba675SRob Herring 21724ba675SRob Herring chosen { 22724ba675SRob Herring stdout-path = "serial0:115200n8"; 23724ba675SRob Herring }; 24724ba675SRob Herring 25724ba675SRob Herring host1x@50000000 { 26724ba675SRob Herring dc@54200000 { 27724ba675SRob Herring rgb { 28724ba675SRob Herring status = "okay"; 29724ba675SRob Herring nvidia,panel = <&panel>; 30724ba675SRob Herring }; 31724ba675SRob Herring }; 32724ba675SRob Herring 33724ba675SRob Herring hdmi@54280000 { 34724ba675SRob Herring status = "okay"; 35724ba675SRob Herring hdmi-supply = <®_5v0>; 36724ba675SRob Herring }; 37724ba675SRob Herring }; 38724ba675SRob Herring 39724ba675SRob Herring /* Colibri UART-A */ 40724ba675SRob Herring serial@70006000 { 41*9766116aSThierry Reding /delete-property/ dmas; 42*9766116aSThierry Reding /delete-property/ dma-names; 43724ba675SRob Herring status = "okay"; 44724ba675SRob Herring }; 45724ba675SRob Herring 46724ba675SRob Herring /* Colibri UART-C */ 47724ba675SRob Herring serial@70006040 { 48724ba675SRob Herring status = "okay"; 49724ba675SRob Herring }; 50724ba675SRob Herring 51724ba675SRob Herring /* Colibri UART-B */ 52724ba675SRob Herring serial@70006300 { 53724ba675SRob Herring status = "okay"; 54724ba675SRob Herring }; 55724ba675SRob Herring 56724ba675SRob Herring pwm@7000a000 { 57724ba675SRob Herring status = "okay"; 58724ba675SRob Herring }; 59724ba675SRob Herring 60724ba675SRob Herring /* 61724ba675SRob Herring * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier 62724ba675SRob Herring * board) 63724ba675SRob Herring */ 64724ba675SRob Herring i2c@7000c000 { 65724ba675SRob Herring status = "okay"; 66724ba675SRob Herring clock-frequency = <400000>; 67724ba675SRob Herring 68724ba675SRob Herring /* M41T0M6 real time clock on carrier board */ 69724ba675SRob Herring rtc@68 { 70724ba675SRob Herring compatible = "st,m41t0"; 71724ba675SRob Herring reg = <0x68>; 72724ba675SRob Herring }; 73724ba675SRob Herring }; 74724ba675SRob Herring 75724ba675SRob Herring /* GEN2_I2C: unused */ 76724ba675SRob Herring 77724ba675SRob Herring /* CAM_I2C (I2C3): unused */ 78724ba675SRob Herring 79724ba675SRob Herring /* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */ 80724ba675SRob Herring i2c@7000c700 { 81724ba675SRob Herring status = "okay"; 82724ba675SRob Herring }; 83724ba675SRob Herring 84724ba675SRob Herring /* SPI1: Colibri SSP */ 85724ba675SRob Herring spi@7000d400 { 86724ba675SRob Herring status = "okay"; 87724ba675SRob Herring spi-max-frequency = <25000000>; 88724ba675SRob Herring 89724ba675SRob Herring can@0 { 90724ba675SRob Herring compatible = "microchip,mcp2515"; 91724ba675SRob Herring reg = <0>; 92724ba675SRob Herring clocks = <&clk16m>; 93724ba675SRob Herring interrupt-parent = <&gpio>; 94724ba675SRob Herring /* CAN_INT */ 95724ba675SRob Herring interrupts = <TEGRA_GPIO(S, 0) IRQ_TYPE_EDGE_FALLING>; 96724ba675SRob Herring spi-max-frequency = <10000000>; 97724ba675SRob Herring vdd-supply = <®_3v3>; 98724ba675SRob Herring xceiver-supply = <®_5v0>; 99724ba675SRob Herring }; 100724ba675SRob Herring }; 101724ba675SRob Herring 102724ba675SRob Herring /* SD/MMC */ 103724ba675SRob Herring mmc@78000200 { 104724ba675SRob Herring status = "okay"; 105724ba675SRob Herring bus-width = <4>; 106724ba675SRob Herring cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>; /* MMCD */ 107724ba675SRob Herring no-1-8-v; 108724ba675SRob Herring }; 109724ba675SRob Herring 110724ba675SRob Herring /* EHCI instance 0: USB1_DP/N -> USBC_P/N */ 111724ba675SRob Herring usb@7d000000 { 112724ba675SRob Herring status = "okay"; 113724ba675SRob Herring dr_mode = "otg"; 114724ba675SRob Herring }; 115724ba675SRob Herring 116724ba675SRob Herring usb-phy@7d000000 { 117724ba675SRob Herring status = "okay"; 118724ba675SRob Herring vbus-supply = <®_usbc_vbus>; 119724ba675SRob Herring }; 120724ba675SRob Herring 121724ba675SRob Herring /* EHCI instance 2: USB3_DP/N -> USBH_P/N */ 122724ba675SRob Herring usb@7d008000 { 123724ba675SRob Herring status = "okay"; 124724ba675SRob Herring }; 125724ba675SRob Herring 126724ba675SRob Herring usb-phy@7d008000 { 127724ba675SRob Herring status = "okay"; 128724ba675SRob Herring vbus-supply = <®_usbh_vbus>; 129724ba675SRob Herring }; 130724ba675SRob Herring 131724ba675SRob Herring backlight: backlight { 132724ba675SRob Herring compatible = "pwm-backlight"; 133724ba675SRob Herring brightness-levels = <255 128 64 32 16 8 4 0>; 134724ba675SRob Herring default-brightness-level = <6>; 135724ba675SRob Herring /* BL_ON */ 136724ba675SRob Herring enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; 137724ba675SRob Herring power-supply = <®_3v3>; 138724ba675SRob Herring pwms = <&pwm 0 5000000>; /* PWM<A> */ 139724ba675SRob Herring }; 140724ba675SRob Herring 141724ba675SRob Herring clk16m: clock-osc3 { 142724ba675SRob Herring compatible = "fixed-clock"; 143724ba675SRob Herring #clock-cells = <0>; 144724ba675SRob Herring clock-frequency = <16000000>; 145724ba675SRob Herring }; 146724ba675SRob Herring 147724ba675SRob Herring gpio-keys { 148724ba675SRob Herring compatible = "gpio-keys"; 149724ba675SRob Herring 150724ba675SRob Herring key-wakeup { 151724ba675SRob Herring label = "SODIMM pin 45 wakeup"; 152724ba675SRob Herring gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>; 153724ba675SRob Herring linux,code = <KEY_WAKEUP>; 154724ba675SRob Herring debounce-interval = <10>; 155724ba675SRob Herring wakeup-source; 156724ba675SRob Herring }; 157724ba675SRob Herring }; 158724ba675SRob Herring 159724ba675SRob Herring panel: panel { 160724ba675SRob Herring /* 161724ba675SRob Herring * edt,et057090dhu: EDT 5.7" LCD TFT 162724ba675SRob Herring * edt,et070080dh6: EDT 7.0" LCD TFT 163724ba675SRob Herring */ 164724ba675SRob Herring compatible = "edt,et057090dhu"; 165724ba675SRob Herring backlight = <&backlight>; 166724ba675SRob Herring power-supply = <®_3v3>; 167724ba675SRob Herring }; 168724ba675SRob Herring 169724ba675SRob Herring reg_3v3: regulator-3v3 { 170724ba675SRob Herring compatible = "regulator-fixed"; 171724ba675SRob Herring regulator-name = "3.3V_SW"; 172724ba675SRob Herring regulator-min-microvolt = <3300000>; 173724ba675SRob Herring regulator-max-microvolt = <3300000>; 174724ba675SRob Herring }; 175724ba675SRob Herring 176724ba675SRob Herring reg_5v0: regulator-5v0 { 177724ba675SRob Herring compatible = "regulator-fixed"; 178724ba675SRob Herring regulator-name = "5V_SW"; 179724ba675SRob Herring regulator-min-microvolt = <5000000>; 180724ba675SRob Herring regulator-max-microvolt = <5000000>; 181724ba675SRob Herring }; 182724ba675SRob Herring 183724ba675SRob Herring reg_usbc_vbus: regulator-usbc-vbus { 184724ba675SRob Herring compatible = "regulator-fixed"; 185724ba675SRob Herring regulator-name = "VCC_USB5"; 186724ba675SRob Herring regulator-min-microvolt = <5000000>; 187724ba675SRob Herring regulator-max-microvolt = <5000000>; 188724ba675SRob Herring vin-supply = <®_5v0>; 189724ba675SRob Herring }; 190724ba675SRob Herring 191724ba675SRob Herring /* USBH_PEN resp. USB_P_EN */ 192724ba675SRob Herring reg_usbh_vbus: regulator-usbh-vbus { 193724ba675SRob Herring compatible = "regulator-fixed"; 194724ba675SRob Herring regulator-name = "VCC_USB[1-4]"; 195724ba675SRob Herring regulator-min-microvolt = <5000000>; 196724ba675SRob Herring regulator-max-microvolt = <5000000>; 197724ba675SRob Herring gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>; 198724ba675SRob Herring vin-supply = <®_5v0>; 199724ba675SRob Herring }; 200724ba675SRob Herring}; 201