0001 // SPDX-License-Identifier: GPL-2.0+ OR MIT
0002 /*
0003 * Copyright 2014-2020 Toradex
0004 */
0005
0006 / {
0007 chosen {
0008 stdout-path = "serial0:115200n8";
0009 };
0010
0011 clk16m: clk16m {
0012 compatible = "fixed-clock";
0013 #clock-cells = <0>;
0014 clock-frequency = <16000000>;
0015 };
0016
0017 panel: panel {
0018 compatible = "edt,et057090dhu";
0019 backlight = <&bl>;
0020
0021 port {
0022 panel_in: endpoint {
0023 remote-endpoint = <&dcu_out>;
0024 };
0025 };
0026 };
0027
0028 reg_3v3: regulator-3v3 {
0029 compatible = "regulator-fixed";
0030 regulator-name = "3.3V";
0031 regulator-min-microvolt = <3300000>;
0032 regulator-max-microvolt = <3300000>;
0033 };
0034
0035 reg_5v0: regulator-5v0 {
0036 compatible = "regulator-fixed";
0037 regulator-name = "5V";
0038 regulator-min-microvolt = <5000000>;
0039 regulator-max-microvolt = <5000000>;
0040 };
0041
0042 reg_usbh_vbus: regulator-usbh-vbus {
0043 compatible = "regulator-fixed";
0044 pinctrl-names = "default";
0045 pinctrl-0 = <&pinctrl_usbh1_reg>;
0046 regulator-name = "VCC_USB[1-4]";
0047 regulator-min-microvolt = <5000000>;
0048 regulator-max-microvolt = <5000000>;
0049 gpio = <&gpio2 19 GPIO_ACTIVE_LOW>; /* USBH_PEN resp. USBH_P_EN */
0050 vin-supply = <®_5v0>;
0051 };
0052 };
0053
0054 &bl {
0055 brightness-levels = <0 4 8 16 32 64 128 255>;
0056 default-brightness-level = <6>;
0057 power-supply = <®_3v3>;
0058 status = "okay";
0059 };
0060
0061 &dcu0 {
0062 pinctrl-names = "default";
0063 pinctrl-0 = <&pinctrl_dcu0_1>;
0064 status = "okay";
0065
0066 port {
0067 dcu_out: endpoint {
0068 remote-endpoint = <&panel_in>;
0069 };
0070 };
0071 };
0072
0073 &dspi1 {
0074 status = "okay";
0075
0076 mcp2515can: can@0 {
0077 compatible = "microchip,mcp2515";
0078 pinctrl-names = "default";
0079 pinctrl-0 = <&pinctrl_can_int>;
0080 reg = <0>;
0081 clocks = <&clk16m>;
0082 spi-max-frequency = <10000000>;
0083 interrupt-parent = <&gpio1>;
0084 interrupts = <11 IRQ_TYPE_EDGE_RISING>;
0085 };
0086 };
0087
0088 &esdhc1 {
0089 pinctrl-names = "default";
0090 pinctrl-0 = <&pinctrl_esdhc1>;
0091 bus-width = <4>;
0092 status = "okay";
0093 };
0094
0095 &fec1 {
0096 phy-mode = "rmii";
0097 pinctrl-names = "default";
0098 pinctrl-0 = <&pinctrl_fec1>;
0099 status = "okay";
0100 };
0101
0102 &i2c0 {
0103 status = "okay";
0104
0105 /* M41T0M6 real time clock on carrier board */
0106 rtc: rtc@68 {
0107 compatible = "st,m41t0";
0108 reg = <0x68>;
0109 };
0110 };
0111
0112 &pwm0 {
0113 status = "okay";
0114 };
0115
0116 &pwm1 {
0117 status = "okay";
0118 };
0119
0120 ®_module_3v3 {
0121 vin-supply = <®_3v3>;
0122 };
0123
0124 &tcon0 {
0125 status = "okay";
0126 };
0127
0128 &uart0 {
0129 status = "okay";
0130 };
0131
0132 &uart1 {
0133 status = "okay";
0134 };
0135
0136 &uart2 {
0137 status = "okay";
0138 };
0139
0140 &usbh1 {
0141 vbus-supply = <®_usbh_vbus>;
0142 };
0143
0144 &iomuxc {
0145 vf610-colibri {
0146 pinctrl_can_int: can_int {
0147 fsl,pins = <
0148 VF610_PAD_PTB21__GPIO_43 0x22ed
0149 >;
0150 };
0151 };
0152 };