Tom Rini | 4549e78 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Hans de Goede | af79c4f | 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 | af79c4f | 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 | |
| 24 | &ehci0 { |
| 25 | status = "okay"; |
| 26 | }; |
| 27 | |
| 28 | &ehci1 { |
| 29 | status = "okay"; |
| 30 | }; |
| 31 | |
| 32 | &gmac { |
| 33 | pinctrl-names = "default"; |
| 34 | pinctrl-0 = <&gmac_pins_mii_a>; |
| 35 | phy = <&phy1>; |
| 36 | phy-mode = "mii"; |
| 37 | status = "okay"; |
| 38 | |
| 39 | phy1: ethernet-phy@1 { |
| 40 | reg = <1>; |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | &ohci0 { |
| 45 | status = "okay"; |
| 46 | }; |
| 47 | |
| 48 | &ohci1 { |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | |
| 52 | &uart0 { |
| 53 | pinctrl-names = "default"; |
| 54 | pinctrl-0 = <&uart0_pins_a>; |
| 55 | status = "okay"; |
| 56 | }; |