blob: 38afe7819c771367855d27cdde9f54db28fadd8e [file] [log] [blame]
Stefan Agner60bae8c2014-08-05 23:27:30 +02001/dts-v1/;
2
3#include "tegra30.dtsi"
4
5/ {
6 model = "Toradex Colibri T30";
7 compatible = "toradex,colibri_t30", "nvidia,tegra30";
8
Marcel Ziswilera60d8dd2014-10-11 00:10:40 +02009 chosen {
10 stdout-path = &uarta;
11 };
12
Stefan Agner60bae8c2014-08-05 23:27:30 +020013 aliases {
14 i2c0 = "/i2c@7000d000";
15 i2c1 = "/i2c@7000c000";
16 i2c2 = "/i2c@7000c700";
Stephen Warrend55aadc2016-09-13 10:45:43 -060017 mmc0 = "/sdhci@78000600";
18 mmc1 = "/sdhci@78000200";
Simon Glassb4381ee2014-10-13 23:42:12 -060019 spi0 = "/spi@7000d400";
Stefan Agner60bae8c2014-08-05 23:27:30 +020020 usb0 = "/usb@7d000000";
21 usb1 = "/usb@7d004000"; /* on module only, for ASIX */
22 usb2 = "/usb@7d008000";
23 };
24
25 memory {
26 device_type = "memory";
27 reg = <0x80000000 0x40000000>;
28 };
29
Marcel Ziswilerb89e6ac2014-10-02 18:23:11 +020030 /*
31 * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier
32 * board)
33 */
Stefan Agner60bae8c2014-08-05 23:27:30 +020034 i2c@7000c000 {
35 status = "okay";
Marcel Ziswiler06a1ad72017-07-20 14:57:44 +020036 clock-frequency = <400000>;
Stefan Agner60bae8c2014-08-05 23:27:30 +020037 };
38
39 /* GEN2_I2C: unused */
40
41 /* CAM_I2C: unused */
42
43 /* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */
44 i2c@7000c700 {
45 status = "okay";
Marcel Ziswiler06a1ad72017-07-20 14:57:44 +020046 clock-frequency = <10000>;
Stefan Agner60bae8c2014-08-05 23:27:30 +020047 };
48
Marcel Ziswilerb89e6ac2014-10-02 18:23:11 +020049 /*
50 * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
51 * touch screen controller
52 */
Stefan Agner60bae8c2014-08-05 23:27:30 +020053 i2c@7000d000 {
54 status = "okay";
55 clock-frequency = <100000>;
56 };
57
58 /* SPI1: Colibri SSP */
59 spi@7000d400 {
60 status = "okay";
61 spi-max-frequency = <25000000>;
62 };
63
64 sdhci@78000200 {
65 status = "okay";
66 bus-width = <4>;
Marcel Ziswiler7c358d02015-03-01 02:05:37 +010067 cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>; /* MMCD */
Stefan Agner60bae8c2014-08-05 23:27:30 +020068 };
69
70 sdhci@78000600 {
71 status = "okay";
72 bus-width = <8>;
73 non-removable;
74 };
75
76 /* EHCI instance 0: USB1_DP/N -> USBC_P/N */
77 usb@7d000000 {
78 status = "okay";
Marcel Ziswileradcb8522015-08-06 00:47:12 +020079 dr_mode = "otg";
Stefan Agner60bae8c2014-08-05 23:27:30 +020080 };
81
82 /* EHCI instance 1: USB2_DP/N -> AX88772B */
83 usb@7d004000 {
84 status = "okay";
Marcel Ziswiler7c358d02015-03-01 02:05:37 +010085 /* VBUS_LAN */
Simon Glass3112fd52015-01-05 20:05:41 -070086 nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
Stefan Agner60bae8c2014-08-05 23:27:30 +020087 };
88
89 /* EHCI instance 2: USB3_DP/N -> USBH_P/N */
90 usb@7d008000 {
91 status = "okay";
Marcel Ziswiler7c358d02015-03-01 02:05:37 +010092 /* USBH_PEN */
Simon Glass3112fd52015-01-05 20:05:41 -070093 nvidia,vbus-gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
Stefan Agner60bae8c2014-08-05 23:27:30 +020094 };
Stephen Warren08d2dba2016-09-13 10:45:51 -060095
96 clocks {
97 compatible = "simple-bus";
98 #address-cells = <1>;
99 #size-cells = <0>;
100
101 clk32k_in: clk@0 {
102 compatible = "fixed-clock";
103 reg=<0>;
104 #clock-cells = <0>;
105 clock-frequency = <32768>;
106 };
107 };
Stefan Agner60bae8c2014-08-05 23:27:30 +0200108};
Simon Glass2a00cc92017-06-12 06:22:01 -0600109
110&uarta {
111 status = "okay";
112};