dm: tegra: dts: Add aliases for spi on tegra30 boards
[karo-tx-uboot.git] / arch / arm / dts / tegra30-beaver.dts
1 /dts-v1/;
2
3 #include "tegra30.dtsi"
4
5 / {
6         model = "NVIDIA Beaver";
7         compatible = "nvidia,beaver", "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@7d000000";
23                 usb1 = "/usb@7d008000";
24         };
25
26         memory {
27                 device_type = "memory";
28                 reg = <0x80000000 0x7ff00000>;
29         };
30
31         i2c@7000c000 {
32                 status = "okay";
33                 clock-frequency = <100000>;
34         };
35
36         i2c@7000c400 {
37                 status = "okay";
38                 clock-frequency = <100000>;
39         };
40
41         i2c@7000c500 {
42                 status = "okay";
43                 clock-frequency = <100000>;
44         };
45
46         i2c@7000c700 {
47                 status = "okay";
48                 clock-frequency = <100000>;
49         };
50
51         i2c@7000d000 {
52                 status = "okay";
53                 clock-frequency = <100000>;
54         };
55
56         spi@7000da00 {
57                 status = "okay";
58                 spi-max-frequency = <25000000>;
59                 spi-flash@1 {
60                         compatible = "winbond,w25q32";
61                         reg = <1>;
62                         spi-max-frequency = <20000000>;
63                 };
64         };
65
66         sdhci@78000000 {
67                 status = "okay";
68                 cd-gpios = <&gpio 69 1>; /* gpio PI5 */
69                 wp-gpios = <&gpio 155 0>; /* gpio PT3 */
70                 power-gpios = <&gpio 31 0>; /* gpio PD7 */
71                 bus-width = <4>;
72         };
73
74         sdhci@78000600 {
75                 status = "okay";
76                 bus-width = <8>;
77         };
78
79         usb@7d000000 {
80                 status = "okay";
81                 dr_mode = "otg";
82                 nvidia,vbus-gpio = <&gpio 238 0>; /* gpio DD6, PEX_L1_CLKREQ */
83         };
84
85         usb@7d008000 {
86                 nvidia,vbus-gpio = <&gpio 236 0>; /* PDD4 */
87                 status = "okay";
88         };
89 };