Prepare v2023.10
[platform/kernel/u-boot.git] / arch / arm / dts / sun7i-a20-m5.dts
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
44 &gmac_mdio {
45         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";
60         pinctrl-0 = <&uart0_pb_pins>;
61         status = "okay";
62 };