1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright 2017-2020 Toradex AG
4 *
5 */
6
7/ {
8	reg_3v3: regulator-3v3 {
9		compatible = "regulator-fixed";
10		regulator-name = "3.3V";
11		regulator-min-microvolt = <3300000>;
12		regulator-max-microvolt = <3300000>;
13	};
14
15	reg_5v0: regulator-5v0 {
16		compatible = "regulator-fixed";
17		regulator-name = "5V";
18		regulator-min-microvolt = <5000000>;
19		regulator-max-microvolt = <5000000>;
20	};
21
22	reg_usbh_vbus: regulator-usbh-vbus {
23		compatible = "regulator-fixed";
24		pinctrl-names = "default";
25		pinctrl-0 = <&pinctrl_usbh_reg>;
26		regulator-name = "VCC_USB[1-4]";
27		regulator-min-microvolt = <5000000>;
28		regulator-max-microvolt = <5000000>;
29		gpio = <&gpio4 7 GPIO_ACTIVE_LOW>;
30		vin-supply = <&reg_5v0>;
31	};
32};
33
34&adc1 {
35	status = "okay";
36};
37
38/*
39 * ADC2 is not available on the Aster board and
40 * conflicts with AD7879 resistive touchscreen.
41 */
42&adc2 {
43	status = "disabled";
44};
45
46&fec1 {
47	status = "okay";
48};
49
50&i2c4 {
51	status = "okay";
52
53	/* M41T0M6 real time clock on carrier board */
54	rtc: rtc@68 {
55		compatible = "st,m41t0";
56		reg = <0x68>;
57	};
58};
59
60&pwm1 {
61	status = "okay";
62};
63
64&pwm2 {
65	status = "okay";
66};
67
68&pwm3 {
69	status = "okay";
70};
71
72&pwm4 {
73	status = "okay";
74};
75
76&uart1 {
77	status = "okay";
78};
79
80&uart2 {
81	status = "okay";
82};
83
84&uart3 {
85	status = "okay";
86};
87
88&usbotg1 {
89	status = "okay";
90};
91
92&usdhc1 {
93	keep-power-in-suspend;
94	no-1-8-v;
95	wakeup-source;
96	vmmc-supply = <&reg_3v3>;
97	status = "okay";
98};
99