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