1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (C) 2020 Matteo Scordino <matteo@elimo.io>
4 */
5
6/dts-v1/;
7#include "sun8i-v3.dtsi"
8#include "sunxi-common-regulators.dtsi"
9
10/ {
11	model = "Elimo Impetus SoM";
12	compatible = "elimo,impetus", "sochip,s3", "allwinner,sun8i-v3";
13
14	aliases {
15		serial0 = &uart0;
16	};
17
18	chosen {
19		stdout-path = "serial0:115200n8";
20	};
21};
22
23&mmc0 {
24	broken-cd;
25	bus-width = <4>;
26	vmmc-supply = <&reg_vcc3v3>;
27	status = "okay";
28};
29
30&uart0 {
31	pinctrl-0 = <&uart0_pb_pins>;
32	pinctrl-names = "default";
33	status = "okay";
34};
35
36&usb_otg {
37	dr_mode = "otg";
38	status = "okay";
39};
40
41&usbphy {
42	usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
43	status = "okay";
44};
45