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