1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright (C) 2020 Chen-Yu Tsai <wens@csie.org>
4 #include "sun50i-h5-libretech-all-h3-cc.dts"
7 model = "Libre Computer Board ALL-H5-CC H5";
8 compatible = "libretech,all-h5-cc-h5", "allwinner,sun50i-h5";
14 reg_gmac_3v3: gmac-3v3 {
15 compatible = "regulator-fixed";
16 regulator-name = "gmac-3v3";
17 regulator-min-microvolt = <3300000>;
18 regulator-max-microvolt = <3300000>;
19 startup-delay-us = <5000>;
21 gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>;
22 vin-supply = <®_vcc5v0>;
27 /* No line out; only onboard microphone */
28 allwinner,audio-routing =
33 /* This board has external PHY */
35 pinctrl-names = "default";
36 pinctrl-0 = <&emac_rgmii_pins>;
37 phy-supply = <®_gmac_3v3>;
38 phy-handle = <&ext_rgmii_phy>;
39 phy-mode = "rgmii-id";
40 /delete-property/ allwinner,leds-active-low;
45 ext_rgmii_phy: ethernet-phy@1 {
46 compatible = "ethernet-phy-ieee802.3-c22";
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <50000000>;