0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003 * Copyright (C) 2020 Matteo Scordino <matteo@elimo.io>
0004 */
0005
0006 /dts-v1/;
0007 #include "sun8i-v3.dtsi"
0008 #include "sunxi-common-regulators.dtsi"
0009
0010 / {
0011 model = "Elimo Impetus SoM";
0012 compatible = "elimo,impetus", "sochip,s3", "allwinner,sun8i-v3";
0013
0014 aliases {
0015 serial0 = &uart0;
0016 };
0017
0018 chosen {
0019 stdout-path = "serial0:115200n8";
0020 };
0021 };
0022
0023 &mmc0 {
0024 broken-cd;
0025 bus-width = <4>;
0026 vmmc-supply = <®_vcc3v3>;
0027 status = "okay";
0028 };
0029
0030 &uart0 {
0031 pinctrl-0 = <&uart0_pb_pins>;
0032 pinctrl-names = "default";
0033 status = "okay";
0034 };
0035
0036 &usb_otg {
0037 dr_mode = "otg";
0038 status = "okay";
0039 };
0040
0041 &usbphy {
0042 usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
0043 status = "okay";
0044 };