1// SPDX-License-Identifier: GPL-2.0+ OR X11
2/*
3 * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
4 *
5 * Minimal dts file for the Mele M5 for u-boot only
6 */
7
8/dts-v1/;
9#include "sun7i-a20.dtsi"
10
11/ {
12	model = "Mele M5";
13	compatible = "mele,m5", "allwinner,sun7i-a20";
14
15	aliases {
16		serial0 = &uart0;
17	};
18
19	chosen {
20		stdout-path = "serial0:115200n8";
21	};
22};
23
24&ahci {
25	status = "okay";
26};
27
28&ehci0 {
29	status = "okay";
30};
31
32&ehci1 {
33	status = "okay";
34};
35
36&gmac {
37	pinctrl-names = "default";
38	pinctrl-0 = <&gmac_rgmii_pins>;
39	phy = <&phy1>;
40	phy-mode = "mii";
41	status = "okay";
42
43	phy1: ethernet-phy@1 {
44		reg = <1>;
45	};
46};
47
48&ohci0 {
49	status = "okay";
50};
51
52&ohci1 {
53	status = "okay";
54};
55
56&uart0 {
57	pinctrl-names = "default";
58	pinctrl-0 = <&uart0_pb_pins>;
59	status = "okay";
60};
61