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"; |
| 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"; |
Jagan Teki | 41a7f43 | 2019-04-12 16:19:34 +0530 | [diff] [blame] | 58 | pinctrl-0 = <&uart0_pb_pins>; |
Hans de Goede | 78087c1 | 2015-04-23 17:04:19 +0200 | [diff] [blame] | 59 | status = "okay"; |
| 60 | }; |