diff options
author | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
---|---|---|
committer | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/u-boot/arch/arm/dts/sun7i-a20-m5.dts | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/u-boot/arch/arm/dts/sun7i-a20-m5.dts')
-rw-r--r-- | roms/u-boot/arch/arm/dts/sun7i-a20-m5.dts | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/dts/sun7i-a20-m5.dts b/roms/u-boot/arch/arm/dts/sun7i-a20-m5.dts new file mode 100644 index 000000000..6de52c7c3 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/sun7i-a20-m5.dts @@ -0,0 +1,60 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 +/* + * Copyright 2015 Hans de Goede <hdegoede@redhat.com> + * + * Minimal dts file for the Mele M5 for u-boot only + */ + +/dts-v1/; +#include "sun7i-a20.dtsi" + +/ { + model = "Mele M5"; + compatible = "mele,m5", "allwinner,sun7i-a20"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&ahci { + status = "okay"; +}; + +&ehci0 { + status = "okay"; +}; + +&ehci1 { + status = "okay"; +}; + +&gmac { + pinctrl-names = "default"; + pinctrl-0 = <&gmac_rgmii_pins>; + phy = <&phy1>; + phy-mode = "mii"; + status = "okay"; + + phy1: ethernet-phy@1 { + reg = <1>; + }; +}; + +&ohci0 { + status = "okay"; +}; + +&ohci1 { + status = "okay"; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; +}; |