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