dm: tegra: dts: Add aliases for spi on tegra30 boards
[karo-tx-uboot.git] / arch / arm / dts / tegra30-colibri.dts
1 /dts-v1/;
2
3 #include "tegra30.dtsi"
4
5 / {
6         model = "Toradex Colibri T30";
7         compatible = "toradex,colibri_t30", "nvidia,tegra30";
8
9         aliases {
10                 i2c0 = "/i2c@7000d000";
11                 i2c1 = "/i2c@7000c000";
12                 i2c2 = "/i2c@7000c700";
13                 sdhci0 = "/sdhci@78000600";
14                 sdhci1 = "/sdhci@78000200";
15                 spi0 = "/spi@7000d400";
16                 usb0 = "/usb@7d000000";
17                 usb1 = "/usb@7d004000"; /* on module only, for ASIX */
18                 usb2 = "/usb@7d008000";
19         };
20
21         memory {
22                 device_type = "memory";
23                 reg = <0x80000000 0x40000000>;
24         };
25
26         /* GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier
27            board) */
28         i2c@7000c000 {
29                 status = "okay";
30                 clock-frequency = <100000>;
31         };
32
33         /* GEN2_I2C: unused */
34
35         /* CAM_I2C: unused */
36
37         /* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */
38         i2c@7000c700 {
39                 status = "okay";
40                 clock-frequency = <100000>;
41         };
42
43         /* PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
44            touch screen controller */
45         i2c@7000d000 {
46                 status = "okay";
47                 clock-frequency = <100000>;
48         };
49
50         /* SPI1: Colibri SSP */
51         spi@7000d400 {
52                 status = "okay";
53                 spi-max-frequency = <25000000>;
54         };
55
56         sdhci@78000200 {
57                 status = "okay";
58                 bus-width = <4>;
59                 cd-gpios = <&gpio 23 1>; /* PC7, MMCD */
60         };
61
62         sdhci@78000600 {
63                 status = "okay";
64                 bus-width = <8>;
65                 non-removable;
66         };
67
68         /* EHCI instance 0: USB1_DP/N -> USBC_P/N */
69         usb@7d000000 {
70                 status = "okay";
71                 dr_mode = "peripheral";
72         };
73
74         /* EHCI instance 1: USB2_DP/N -> AX88772B */
75         usb@7d004000 {
76                 status = "okay";
77                 phy_type = "utmi";
78                 nvidia,vbus-gpio = <&gpio 234 0>;       /* PDD2, VBUS_LAN */
79         };
80
81         /* EHCI instance 2: USB3_DP/N -> USBH_P/N */
82         usb@7d008000 {
83                 status = "okay";
84                 nvidia,vbus-gpio = <&gpio 178 1>;       /* PW2, USBH_PEN */
85         };
86 };