ARM: tegra: Work safely with 256 MB Colibri-T20 modules
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / tegra20-colibri-iris.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3
4 #include "tegra20-colibri.dtsi"
5
6 / {
7         model = "Toradex Colibri T20 256/512 MB on Iris";
8         compatible = "toradex,iris", "toradex,colibri_t20-512", "nvidia,tegra20";
9
10         aliases {
11                 serial0 = &uarta;
12                 serial1 = &uartd;
13         };
14
15         chosen {
16                 stdout-path = "serial0:115200n8";
17         };
18
19         host1x@50000000 {
20                 hdmi@54280000 {
21                         status = "okay";
22                 };
23         };
24
25         pinmux@70000014 {
26                 state_default: pinmux {
27                         hdint {
28                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
29                         };
30
31                         i2cddc {
32                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
33                         };
34
35                         sdio4 {
36                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
37                         };
38
39                         uarta {
40                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
41                         };
42
43                         uartd {
44                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
45                         };
46                 };
47         };
48
49         serial@70006000 {
50                 status = "okay";
51         };
52
53         serial@70006300 {
54                 status = "okay";
55         };
56
57         i2c_ddc: i2c@7000c400 {
58                 status = "okay";
59         };
60
61         usb@c5000000 {
62                 status = "okay";
63         };
64
65         usb-phy@c5000000 {
66                 status = "okay";
67         };
68
69         usb@c5008000 {
70                 status = "okay";
71         };
72
73         usb-phy@c5008000 {
74                 status = "okay";
75         };
76
77         sdhci@c8000600 {
78                 status = "okay";
79                 bus-width = <4>;
80                 vmmc-supply = <&vcc_sd_reg>;
81                 vqmmc-supply = <&vcc_sd_reg>;
82         };
83
84         regulators {
85                 regulator@0 {
86                         compatible = "regulator-fixed";
87                         reg = <0>;
88                         regulator-name = "usb_host_vbus";
89                         regulator-min-microvolt = <5000000>;
90                         regulator-max-microvolt = <5000000>;
91                         regulator-boot-on;
92                         regulator-always-on;
93                         gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>;
94                 };
95
96                 vcc_sd_reg: regulator@1 {
97                         compatible = "regulator-fixed";
98                         reg = <1>;
99                         regulator-name = "vcc_sd";
100                         regulator-min-microvolt = <3300000>;
101                         regulator-max-microvolt = <3300000>;
102                         regulator-boot-on;
103                         regulator-always-on;
104                 };
105         };
106 };