mm: hugetlb: fix hugepage memory leak caused by wrong reserve count
[linux/fpc-iii.git] / arch / arm / boot / dts / tegra30-colibri-eval-v3.dts
blob3ff019f47d008c6ff60564e3e025b8986d2129e7
1 /dts-v1/;
3 #include "tegra30-colibri.dtsi"
5 / {
6         model = "Toradex Colibri T30 on Colibri Evaluation Board";
7         compatible = "toradex,colibri_t30-eval-v3", "toradex,colibri_t30", "nvidia,tegra30";
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         };
18         host1x@50000000 {
19                 dc@54200000 {
20                         rgb {
21                                 status = "okay";
22                                 nvidia,panel = <&panel>;
23                         };
24                 };
25                 hdmi@54280000 {
26                         status = "okay";
27                 };
28         };
30         serial@70006000 {
31                 status = "okay";
32         };
34         serial@70006040 {
35                 compatible = "nvidia,tegra30-hsuart";
36                 status = "okay";
37         };
39         serial@70006300 {
40                 compatible = "nvidia,tegra30-hsuart";
41                 status = "okay";
42         };
44         pwm@7000a000 {
45                 status = "okay";
46         };
48         /*
49          * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier
50          * board)
51          */
52         i2c@7000c000 {
53                 status = "okay";
54                 clock-frequency = <100000>;
56                 /* M41T0M6 real time clock on carrier board */
57                 rtc@68 {
58                         compatible = "st,m41t00";
59                         reg = <0x68>;
60                 };
61         };
63         /* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */
64         hdmiddc: i2c@7000c700 {
65                 status = "okay";
66         };
68         /* SPI1: Colibri SSP */
69         spi@7000d400 {
70                 status = "okay";
71                 spi-max-frequency = <25000000>;
72                 can0: can@0 {
73                         compatible = "microchip,mcp2515";
74                         reg = <0>;
75                         clocks = <&clk16m>;
76                         interrupt-parent = <&gpio>;
77                         interrupts = <TEGRA_GPIO(S, 0) GPIO_ACTIVE_LOW>;
78                         spi-max-frequency = <10000000>;
79                 };
80                 spidev0: spi@1 {
81                         compatible = "spidev";
82                         reg = <1>;
83                         spi-max-frequency = <25000000>;
84                 };
85         };
87         /* SD/MMC */
88         sdhci@78000200 {
89                 status = "okay";
90                 bus-width = <4>;
91                 cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>;
92                 no-1-8-v;
93         };
95         /* EHCI instance 0: USB1_DP/N -> USBC_P/N */
96         usb@7d000000 {
97                 status = "okay";
98         };
100         usb-phy@7d000000 {
101                 status = "okay";
102                 dr_mode = "otg";
103                 vbus-supply = <&usbc_vbus_reg>;
104         };
106         /* EHCI instance 2: USB3_DP/N -> USBH_P/N */
107         usb@7d008000 {
108                 status = "okay";
109         };
111         usb-phy@7d008000 {
112                 status = "okay";
113                 vbus-supply = <&usbh_vbus_reg>;
114         };
116         backlight: backlight {
117                 compatible = "pwm-backlight";
119                 /* PWM<A> */
120                 pwms = <&pwm 0 5000000>;
121                 brightness-levels = <255 128 64 32 16 8 4 0>;
122                 default-brightness-level = <6>;
123                 /* BL_ON */
124                 enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
125         };
127         clocks {
128                 clk16m: clk@1 {
129                         compatible = "fixed-clock";
130                         reg=<1>;
131                         #clock-cells = <0>;
132                         clock-frequency = <16000000>;
133                         clock-output-names = "clk16m";
134                 };
135         };
137         gpio-keys {
138                 compatible = "gpio-keys";
140                 wakeup {
141                         label = "SODIMM pin 45 wakeup";
142                         gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
143                         linux,code = <KEY_WAKEUP>;
144                         debounce-interval = <10>;
145                         gpio-key,wakeup;
146                 };
147         };
149         panel: panel {
150                 /*
151                  * edt,et057090dhu: EDT 5.7" LCD TFT
152                  * edt,et070080dh6: EDT 7.0" LCD TFT
153                  */
154                 compatible = "edt,et057090dhu", "simple-panel";
156                 backlight = <&backlight>;
157         };
159         pwmleds {
160                 compatible = "pwm-leds";
162                 pwmb {
163                         label = "PWM<B>";
164                         pwms = <&pwm 1 19600>;
165                         max-brightness = <255>;
166                 };
167                 pwmc {
168                         label = "PWM<C>";
169                         pwms = <&pwm 2 19600>;
170                         max-brightness = <255>;
171                 };
172                 pwmd {
173                         label = "PWM<D>";
174                         pwms = <&pwm 3 19600>;
175                         max-brightness = <255>;
176                 };
177         };
179         regulators {
180                 sys_5v0_reg: regulator@1 {
181                         compatible = "regulator-fixed";
182                         reg = <1>;
183                         regulator-name = "5v0";
184                         regulator-min-microvolt = <5000000>;
185                         regulator-max-microvolt = <5000000>;
186                         regulator-always-on;
187                 };
189                 usbc_vbus_reg: regulator@2 {
190                         compatible = "regulator-fixed";
191                         reg = <2>;
192                         regulator-name = "usbc_vbus";
193                         regulator-min-microvolt = <5000000>;
194                         regulator-max-microvolt = <5000000>;
195                         vin-supply = <&sys_5v0_reg>;
196                 };
198                 /* USBH_PEN */
199                 usbh_vbus_reg: regulator@3 {
200                         compatible = "regulator-fixed";
201                         reg = <3>;
202                         regulator-name = "usbh_vbus";
203                         regulator-min-microvolt = <5000000>;
204                         regulator-max-microvolt = <5000000>;
205                         gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
206                         vin-supply = <&sys_5v0_reg>;
207                 };
208         };