Debian Codegraph @

arch/arm/boot/dts/nxp/vf/vf-colibri-eval-v3.dtsi

raw
1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
2 /*
3 * Copyright 2014-2020 Toradex
4 */
5
6 / {
7 chosen {
8 stdout-path = "serial0:115200n8";
9 };
10
11 clk16m: clk16m {
12 compatible = "fixed-clock";
13 #clock-cells = <0>;
14 clock-frequency = <16000000>;
15 };
16
17 panel: panel {
18 compatible = "edt,et057090dhu";
19 backlight = <&bl>;
20 power-supply = <&reg_3v3>;
21
22 port {
23 panel_in: endpoint {
24 remote-endpoint = <&dcu_out>;
25 };
26 };
27 };
28
29 reg_3v3: regulator-3v3 {
30 compatible = "regulator-fixed";
31 regulator-name = "3.3V";
32 regulator-min-microvolt = <3300000>;
33 regulator-max-microvolt = <3300000>;
34 };
35
36 reg_5v0: regulator-5v0 {
37 compatible = "regulator-fixed";
38 regulator-name = "5V";
39 regulator-min-microvolt = <5000000>;
40 regulator-max-microvolt = <5000000>;
41 };
42
43 reg_usbh_vbus: regulator-usbh-vbus {
44 compatible = "regulator-fixed";
45 pinctrl-names = "default";
46 pinctrl-0 = <&pinctrl_usbh1_reg>;
47 regulator-name = "VCC_USB[1-4]";
48 regulator-min-microvolt = <5000000>;
49 regulator-max-microvolt = <5000000>;
50 gpio = <&gpio2 19 GPIO_ACTIVE_LOW>; /* USBH_PEN resp. USBH_P_EN */
51 vin-supply = <&reg_5v0>;
52 };
53 };
54
55 &bl {
56 brightness-levels = <0 4 8 16 32 64 128 255>;
57 default-brightness-level = <6>;
58 power-supply = <&reg_3v3>;
59 status = "okay";
60 };
61
62 &dcu0 {
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_dcu0_1>;
65 status = "okay";
66
67 port {
68 dcu_out: endpoint {
69 remote-endpoint = <&panel_in>;
70 };
71 };
72 };
73
74 &dspi1 {
75 status = "okay";
76
77 mcp2515can: can@0 {
78 compatible = "microchip,mcp2515";
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_can_int>;
81 reg = <0>;
82 clocks = <&clk16m>;
83 spi-max-frequency = <10000000>;
84 interrupt-parent = <&gpio1>;
85 interrupts = <11 IRQ_TYPE_EDGE_RISING>;
86 };
87 };
88
89 &esdhc1 {
90 pinctrl-names = "default";
91 pinctrl-0 = <&pinctrl_esdhc1>;
92 bus-width = <4>;
93 status = "okay";
94 };
95
96 &fec1 {
97 phy-mode = "rmii";
98 pinctrl-names = "default";
99 pinctrl-0 = <&pinctrl_fec1>;
100 status = "okay";
101 };
102
103 &i2c0 {
104 status = "okay";
105
106 /* M41T0M6 real time clock on carrier board */
107 rtc: rtc@68 {
108 compatible = "st,m41t0";
109 reg = <0x68>;
110 };
111 };
112
113 &pwm0 {
114 status = "okay";
115 };
116
117 &pwm1 {
118 status = "okay";
119 };
120
121 &reg_module_3v3 {
122 vin-supply = <&reg_3v3>;
123 };
124
125 &tcon0 {
126 status = "okay";
127 };
128
129 &uart0 {
130 status = "okay";
131 };
132
133 &uart1 {
134 status = "okay";
135 };
136
137 &uart2 {
138 status = "okay";
139 };
140
141 &usbh1 {
142 vbus-supply = <&reg_usbh_vbus>;
143 };
144
145 &iomuxc {
146 pinctrl_can_int: can_intgrp {
147 fsl,pins = <
148 VF610_PAD_PTB21__GPIO_43 0x22ed
149 >;
150 };
151 };