Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
[deliverable/linux.git] / arch / arm / boot / dts / tegra30-colibri-eval-v3.dts
1 /dts-v1/;
2
3 #include "tegra30-colibri.dtsi"
4
5 / {
6 model = "Toradex Colibri T30 on Colibri Evaluation Board";
7 compatible = "toradex,colibri_t30-eval-v3", "toradex,colibri_t30", "nvidia,tegra30";
8
9 aliases {
10 rtc0 = "/i2c@7000c000/rtc@68";
11 rtc1 = "/i2c@7000d000/tps65911@2d";
12 rtc2 = "/rtc@7000e000";
13 serial0 = &uarta;
14 serial1 = &uartb;
15 serial2 = &uartd;
16 };
17
18 chosen {
19 stdout-path = "serial0:115200n8";
20 };
21
22 host1x@50000000 {
23 dc@54200000 {
24 rgb {
25 status = "okay";
26 nvidia,panel = <&panel>;
27 };
28 };
29 hdmi@54280000 {
30 status = "okay";
31 };
32 };
33
34 serial@70006000 {
35 status = "okay";
36 };
37
38 serial@70006040 {
39 compatible = "nvidia,tegra30-hsuart";
40 status = "okay";
41 };
42
43 serial@70006300 {
44 compatible = "nvidia,tegra30-hsuart";
45 status = "okay";
46 };
47
48 pwm@7000a000 {
49 status = "okay";
50 };
51
52 /*
53 * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier
54 * board)
55 */
56 i2c@7000c000 {
57 status = "okay";
58 clock-frequency = <100000>;
59
60 /* M41T0M6 real time clock on carrier board */
61 rtc@68 {
62 compatible = "st,m41t00";
63 reg = <0x68>;
64 };
65 };
66
67 /* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */
68 hdmiddc: i2c@7000c700 {
69 status = "okay";
70 };
71
72 /* SPI1: Colibri SSP */
73 spi@7000d400 {
74 status = "okay";
75 spi-max-frequency = <25000000>;
76 can0: can@0 {
77 compatible = "microchip,mcp2515";
78 reg = <0>;
79 clocks = <&clk16m>;
80 interrupt-parent = <&gpio>;
81 interrupts = <TEGRA_GPIO(S, 0) GPIO_ACTIVE_LOW>;
82 spi-max-frequency = <10000000>;
83 };
84 spidev0: spi@1 {
85 compatible = "spidev";
86 reg = <1>;
87 spi-max-frequency = <25000000>;
88 };
89 };
90
91 /* SD/MMC */
92 sdhci@78000200 {
93 status = "okay";
94 bus-width = <4>;
95 cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>;
96 no-1-8-v;
97 };
98
99 /* EHCI instance 0: USB1_DP/N -> USBC_P/N */
100 usb@7d000000 {
101 status = "okay";
102 };
103
104 usb-phy@7d000000 {
105 status = "okay";
106 dr_mode = "otg";
107 vbus-supply = <&usbc_vbus_reg>;
108 };
109
110 /* EHCI instance 2: USB3_DP/N -> USBH_P/N */
111 usb@7d008000 {
112 status = "okay";
113 };
114
115 usb-phy@7d008000 {
116 status = "okay";
117 vbus-supply = <&usbh_vbus_reg>;
118 };
119
120 backlight: backlight {
121 compatible = "pwm-backlight";
122
123 /* PWM<A> */
124 pwms = <&pwm 0 5000000>;
125 brightness-levels = <255 128 64 32 16 8 4 0>;
126 default-brightness-level = <6>;
127 /* BL_ON */
128 enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
129 };
130
131 clocks {
132 clk16m: clk@1 {
133 compatible = "fixed-clock";
134 reg=<1>;
135 #clock-cells = <0>;
136 clock-frequency = <16000000>;
137 clock-output-names = "clk16m";
138 };
139 };
140
141 gpio-keys {
142 compatible = "gpio-keys";
143
144 wakeup {
145 label = "SODIMM pin 45 wakeup";
146 gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
147 linux,code = <KEY_WAKEUP>;
148 debounce-interval = <10>;
149 wakeup-source;
150 };
151 };
152
153 panel: panel {
154 /*
155 * edt,et057090dhu: EDT 5.7" LCD TFT
156 * edt,et070080dh6: EDT 7.0" LCD TFT
157 */
158 compatible = "edt,et057090dhu", "simple-panel";
159
160 backlight = <&backlight>;
161 };
162
163 pwmleds {
164 compatible = "pwm-leds";
165
166 pwmb {
167 label = "PWM<B>";
168 pwms = <&pwm 1 19600>;
169 max-brightness = <255>;
170 };
171 pwmc {
172 label = "PWM<C>";
173 pwms = <&pwm 2 19600>;
174 max-brightness = <255>;
175 };
176 pwmd {
177 label = "PWM<D>";
178 pwms = <&pwm 3 19600>;
179 max-brightness = <255>;
180 };
181 };
182
183 regulators {
184 sys_5v0_reg: regulator@1 {
185 compatible = "regulator-fixed";
186 reg = <1>;
187 regulator-name = "5v0";
188 regulator-min-microvolt = <5000000>;
189 regulator-max-microvolt = <5000000>;
190 regulator-always-on;
191 };
192
193 usbc_vbus_reg: regulator@2 {
194 compatible = "regulator-fixed";
195 reg = <2>;
196 regulator-name = "usbc_vbus";
197 regulator-min-microvolt = <5000000>;
198 regulator-max-microvolt = <5000000>;
199 vin-supply = <&sys_5v0_reg>;
200 };
201
202 /* USBH_PEN */
203 usbh_vbus_reg: regulator@3 {
204 compatible = "regulator-fixed";
205 reg = <3>;
206 regulator-name = "usbh_vbus";
207 regulator-min-microvolt = <5000000>;
208 regulator-max-microvolt = <5000000>;
209 gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
210 vin-supply = <&sys_5v0_reg>;
211 };
212 };
213 };
This page took 0.037192 seconds and 5 git commands to generate.