1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright 2017-2022 Toradex
8 stdout-path = "serial0:115200n8";
11 /* fixed crystal dedicated to mcp2515 */
13 compatible = "fixed-clock";
15 clock-frequency = <16000000>;
18 reg_3v3: regulator-3v3 {
19 compatible = "regulator-fixed";
20 regulator-name = "3.3V";
21 regulator-min-microvolt = <3300000>;
22 regulator-max-microvolt = <3300000>;
25 reg_5v0: regulator-5v0 {
26 compatible = "regulator-fixed";
27 regulator-name = "5V";
28 regulator-min-microvolt = <5000000>;
29 regulator-max-microvolt = <5000000>;
32 reg_usbh_vbus: regulator-usbh-vbus {
33 compatible = "regulator-fixed";
34 pinctrl-names = "default";
35 pinctrl-0 = <&pinctrl_usbh_reg>;
36 regulator-name = "VCC_USB[1-4]";
37 regulator-min-microvolt = <5000000>;
38 regulator-max-microvolt = <5000000>;
39 gpio = <&gpio1 2 GPIO_ACTIVE_LOW>;
40 vin-supply = <®_5v0>;
52 compatible = "microchip,mcp2515";
53 pinctrl-names = "default";
54 pinctrl-0 = <&pinctrl_can_int>;
57 interrupt-parent = <&gpio2>;
58 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
59 spi-max-frequency = <10000000>;
60 vdd-supply = <®_3v3>;
61 xceiver-supply = <®_5v0>;
69 /* M41T0M6 real time clock on carrier board */
71 compatible = "st,m41t0";
109 vbus-supply = <®_usbh_vbus>;
114 vbus-supply = <®_usbh_vbus>;
119 vmmc-supply = <®_3v3>;