Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Hans de Goede | 78087c1 | 2015-04-23 17:04:19 +0200 | [diff] [blame] | 2 | /* |
3 | * Copyright 2015 Hans de Goede <hdegoede@redhat.com> | ||||
4 | * | ||||
5 | * Minimal dts file for the Mele M5 for u-boot only | ||||
Hans de Goede | 78087c1 | 2015-04-23 17:04:19 +0200 | [diff] [blame] | 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 | |||||
Jagan Teki | 96a15c8 | 2019-04-12 17:35:24 +0530 | [diff] [blame] | 24 | &ahci { |
25 | status = "okay"; | ||||
26 | }; | ||||
27 | |||||
Hans de Goede | 78087c1 | 2015-04-23 17:04:19 +0200 | [diff] [blame] | 28 | &ehci0 { |
29 | status = "okay"; | ||||
30 | }; | ||||
31 | |||||
32 | &ehci1 { | ||||
33 | status = "okay"; | ||||
34 | }; | ||||
35 | |||||
36 | &gmac { | ||||
37 | pinctrl-names = "default"; | ||||
Jagan Teki | 41a7f43 | 2019-04-12 16:19:34 +0530 | [diff] [blame] | 38 | pinctrl-0 = <&gmac_rgmii_pins>; |
Hans de Goede | 78087c1 | 2015-04-23 17:04:19 +0200 | [diff] [blame] | 39 | phy = <&phy1>; |
40 | phy-mode = "mii"; | ||||
41 | status = "okay"; | ||||
Samuel Holland | b6180dc | 2022-04-27 15:31:23 -0500 | [diff] [blame] | 42 | }; |
Hans de Goede | 78087c1 | 2015-04-23 17:04:19 +0200 | [diff] [blame] | 43 | |
Samuel Holland | b6180dc | 2022-04-27 15:31:23 -0500 | [diff] [blame] | 44 | &gmac_mdio { |
Hans de Goede | 78087c1 | 2015-04-23 17:04:19 +0200 | [diff] [blame] | 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"; | ||||
Jagan Teki | 41a7f43 | 2019-04-12 16:19:34 +0530 | [diff] [blame] | 60 | pinctrl-0 = <&uart0_pb_pins>; |
Hans de Goede | 78087c1 | 2015-04-23 17:04:19 +0200 | [diff] [blame] | 61 | status = "okay"; |
62 | }; |