blob: 38afe7819c771367855d27cdde9f54db28fadd8e [file] [log] [blame]
Stefan Agner24d4d422014-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 Ziswilerf38aaa22014-10-11 00:10:40 +02009 chosen {
10 stdout-path = &uarta;
11 };
12
Stefan Agner24d4d422014-08-05 23:27:30 +020013 aliases {
14 i2c0 = "/i2c@7000d000";
15 i2c1 = "/i2c@7000c000";
16 i2c2 = "/i2c@7000c700";
Stephen Warren67748a72016-09-13 10:45:43 -060017 mmc0 = "/sdhci@78000600";
18 mmc1 = "/sdhci@78000200";
Simon Glassd2f60f92014-10-13 23:42:12 -060019 spi0 = "/spi@7000d400";
Stefan Agner24d4d422014-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 Ziswiler839e4f72014-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 Agner24d4d422014-08-05 23:27:30 +020034 i2c@7000c000 {
35 status = "okay";
Marcel Ziswiler33848eb2017-07-20 14:57:44 +020036 clock-frequency = <400000>;
Stefan Agner24d4d422014-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 Ziswiler33848eb2017-07-20 14:57:44 +020046 clock-frequency = <10000>;
Stefan Agner24d4d422014-08-05 23:27:30 +020047 };
48
Marcel Ziswiler839e4f72014-10-02 18:23:11 +020049 /*
50 * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
51 * touch screen controller
52 */
Stefan Agner24d4d422014-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 Ziswiler72731112015-03-01 02:05:37 +010067 cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>; /* MMCD */
Stefan Agner24d4d422014-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 Ziswiler29ce9992015-08-06 00:47:12 +020079 dr_mode = "otg";
Stefan Agner24d4d422014-08-05 23:27:30 +020080 };
81
82 /* EHCI instance 1: USB2_DP/N -> AX88772B */
83 usb@7d004000 {
84 status = "okay";
Marcel Ziswiler72731112015-03-01 02:05:37 +010085 /* VBUS_LAN */
Simon Glass2b2b50b2015-01-05 20:05:41 -070086 nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
Stefan Agner24d4d422014-08-05 23:27:30 +020087 };
88
89 /* EHCI instance 2: USB3_DP/N -> USBH_P/N */
90 usb@7d008000 {
91 status = "okay";
Marcel Ziswiler72731112015-03-01 02:05:37 +010092 /* USBH_PEN */
Simon Glass2b2b50b2015-01-05 20:05:41 -070093 nvidia,vbus-gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
Stefan Agner24d4d422014-08-05 23:27:30 +020094 };
Stephen Warrence2f2d22016-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 Agner24d4d422014-08-05 23:27:30 +0200108};
Simon Glassf53dcc02017-06-12 06:22:01 -0600109
110&uarta {
111 status = "okay";
112};