blob: ed65e0f7dfc0ac96057325c8c7a2582789accb67 [file] [log] [blame]
Stefan Agnere1bf86a2014-11-02 21:36:47 +01001/*
2 * Copyright 2014 Toradex AG
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 */
9
10/ {
11 chosen {
Stefan Agner4f182ff2015-07-15 16:50:17 +020012 stdout-path = "serial0:115200n8";
Stefan Agnere1bf86a2014-11-02 21:36:47 +010013 };
Stefan Agner505251e2014-11-16 19:00:28 +010014
Bhuvanchandra DV9fca0152015-01-29 21:57:45 +053015 clk16m: clk16m {
16 compatible = "fixed-clock";
17 #clock-cells = <0>;
18 clock-frequency = <16000000>;
19 };
20
Stefan Agner505251e2014-11-16 19:00:28 +010021 regulators {
22 compatible = "simple-bus";
23 #address-cells = <1>;
24 #size-cells = <0>;
25
26 sys_5v0_reg: regulator@0 {
27 compatible = "regulator-fixed";
28 reg = <0>;
29 regulator-name = "5v0";
30 regulator-min-microvolt = <5000000>;
31 regulator-max-microvolt = <5000000>;
32 regulator-always-on;
33 };
34
35 /* USBH_PEN */
36 usbh_vbus_reg: regulator@1 {
37 compatible = "regulator-fixed";
38 pinctrl-names = "default";
39 pinctrl-0 = <&pinctrl_usbh1_reg>;
40 reg = <1>;
41 regulator-name = "usbh_vbus";
42 regulator-min-microvolt = <5000000>;
43 regulator-max-microvolt = <5000000>;
Stefan Agner76713952015-01-16 18:06:15 +010044 gpio = <&gpio2 19 GPIO_ACTIVE_LOW>;
Stefan Agner505251e2014-11-16 19:00:28 +010045 vin-supply = <&sys_5v0_reg>;
46 };
47 };
Stefan Agnere1bf86a2014-11-02 21:36:47 +010048};
49
50&bl {
51 brightness-levels = <0 4 8 16 32 64 128 255>;
52 default-brightness-level = <6>;
53 status = "okay";
54};
55
Bhuvanchandra DV9fca0152015-01-29 21:57:45 +053056&dspi1 {
57 status = "okay";
58
59 mcp2515can: can@0 {
60 compatible = "microchip,mcp2515";
61 pinctrl-names = "default";
62 pinctrl-0 = <&pinctrl_can_int>;
63 reg = <0>;
64 clocks = <&clk16m>;
65 spi-max-frequency = <10000000>;
66 interrupt-parent = <&gpio1>;
67 interrupts = <11 GPIO_ACTIVE_LOW>;
68 };
69};
70
Stefan Agnere1bf86a2014-11-02 21:36:47 +010071&esdhc1 {
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_esdhc1>;
74 bus-width = <4>;
75 status = "okay";
76};
77
78&fec1 {
79 phy-mode = "rmii";
80 pinctrl-names = "default";
81 pinctrl-0 = <&pinctrl_fec1>;
82 status = "okay";
83};
84
Bhuvanchandra DV1ddeb482014-11-13 10:05:31 +053085&i2c0 {
86 status = "okay";
Bhuvanchandra DV2149b952014-11-13 10:05:32 +053087
88 /* M41T0M6 real time clock on carrier board */
89 rtc: m41t0m6@68 {
90 compatible = "st,m41t00";
91 reg = <0x68>;
92 };
Bhuvanchandra DV1ddeb482014-11-13 10:05:31 +053093};
94
Stefan Agnere1bf86a2014-11-02 21:36:47 +010095&pwm0 {
96 status = "okay";
97};
98
99&pwm1 {
100 status = "okay";
101};
102
103&uart0 {
104 status = "okay";
105};
106
107&uart1 {
108 status = "okay";
109};
110
111&uart2 {
112 status = "okay";
Bhuvanchandra DV1ddeb482014-11-13 10:05:31 +0530113};
Stefan Agner505251e2014-11-16 19:00:28 +0100114
115&usbh1 {
116 vbus-supply = <&usbh_vbus_reg>;
117};
Bhuvanchandra DV9fca0152015-01-29 21:57:45 +0530118
119&iomuxc {
120 vf610-colibri {
121 pinctrl_can_int: can_int {
122 fsl,pins = <
123 VF610_PAD_PTB21__GPIO_43 0x22ed
124 >;
125 };
126 };
127};