blob: cfbc50d9e55969d03092298d1f3701b8f824ed55 [file] [log] [blame]
Tom Rini8b0c8a12018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Hans de Goede78087c12015-04-23 17:04:19 +02002/*
3 * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
4 *
5 * Minimal dts file for the Mele M5 for u-boot only
Hans de Goede78087c12015-04-23 17:04:19 +02006 */
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
Jagan Teki96a15c82019-04-12 17:35:24 +053024&ahci {
25 status = "okay";
26};
27
Hans de Goede78087c12015-04-23 17:04:19 +020028&ehci0 {
29 status = "okay";
30};
31
32&ehci1 {
33 status = "okay";
34};
35
36&gmac {
37 pinctrl-names = "default";
Jagan Teki41a7f432019-04-12 16:19:34 +053038 pinctrl-0 = <&gmac_rgmii_pins>;
Hans de Goede78087c12015-04-23 17:04:19 +020039 phy = <&phy1>;
40 phy-mode = "mii";
41 status = "okay";
Samuel Hollandb6180dc2022-04-27 15:31:23 -050042};
Hans de Goede78087c12015-04-23 17:04:19 +020043
Samuel Hollandb6180dc2022-04-27 15:31:23 -050044&gmac_mdio {
Hans de Goede78087c12015-04-23 17:04:19 +020045 phy1: ethernet-phy@1 {
46 reg = <1>;
47 };
48};
49
50&ohci0 {
51 status = "okay";
52};
53
54&ohci1 {
55 status = "okay";
56};
57
58&uart0 {
59 pinctrl-names = "default";
Jagan Teki41a7f432019-04-12 16:19:34 +053060 pinctrl-0 = <&uart0_pb_pins>;
Hans de Goede78087c12015-04-23 17:04:19 +020061 status = "okay";
62};