dm: tegra: dts: Add aliases for spi on tegra30 boards
[karo-tx-uboot.git] / arch / arm / dts / tegra30-cardhu.dts
1 /dts-v1/;
2
3 #include "tegra30.dtsi"
4
5 / {
6         model = "NVIDIA Cardhu";
7         compatible = "nvidia,cardhu", "nvidia,tegra30";
8
9         chosen {
10                 stdout-path = &uarta;
11         };
12
13         aliases {
14                 i2c0 = "/i2c@7000d000";
15                 i2c1 = "/i2c@7000c000";
16                 i2c2 = "/i2c@7000c400";
17                 i2c3 = "/i2c@7000c500";
18                 i2c4 = "/i2c@7000c700";
19                 sdhci0 = "/sdhci@78000600";
20                 sdhci1 = "/sdhci@78000000";
21                 spi0 = "/spi@7000da00";
22                 usb0 = "/usb@7d008000";
23         };
24
25         memory {
26                 device_type = "memory";
27                 reg = <0x80000000 0x40000000>;
28         };
29
30         i2c@7000c000 {
31                 status = "okay";
32                 clock-frequency = <100000>;
33         };
34
35         i2c@7000c400 {
36                 status = "okay";
37                 clock-frequency = <100000>;
38         };
39
40         i2c@7000c500 {
41                 status = "okay";
42                 clock-frequency = <100000>;
43         };
44
45         i2c@7000c700 {
46                 status = "okay";
47                 clock-frequency = <100000>;
48         };
49
50         i2c@7000d000 {
51                 status = "okay";
52                 clock-frequency = <100000>;
53         };
54
55         spi@7000da00 {
56                 status = "okay";
57                 spi-max-frequency = <25000000>;
58         };
59
60         sdhci@78000000 {
61                 status = "okay";
62                 cd-gpios = <&gpio 69 1>; /* gpio PI5 */
63                 wp-gpios = <&gpio 155 0>; /* gpio PT3 */
64                 power-gpios = <&gpio 31 0>; /* gpio PD7 */
65                 bus-width = <4>;
66         };
67
68         sdhci@78000600 {
69                 status = "okay";
70                 bus-width = <8>;
71         };
72
73         usb@7d008000 {
74                 nvidia,vbus-gpio = <&gpio 236 0>;       /* PDD4 */
75                 status = "okay";
76         };
77 };