diff options
Diffstat (limited to 'dts/upstream/src/arm64/allwinner/sun55i-a527-cubie-a5e.dts')
-rw-r--r-- | dts/upstream/src/arm64/allwinner/sun55i-a527-cubie-a5e.dts | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/dts/upstream/src/arm64/allwinner/sun55i-a527-cubie-a5e.dts b/dts/upstream/src/arm64/allwinner/sun55i-a527-cubie-a5e.dts index ad9bd6da424..8bc0f2c72a2 100644 --- a/dts/upstream/src/arm64/allwinner/sun55i-a527-cubie-a5e.dts +++ b/dts/upstream/src/arm64/allwinner/sun55i-a527-cubie-a5e.dts @@ -8,10 +8,11 @@ #include <dt-bindings/gpio/gpio.h> / { - model = "Radxa A5E"; + model = "Radxa Cubie A5E"; compatible = "radxa,cubie-a5e", "allwinner,sun55i-a527"; aliases { + ethernet0 = &gmac0; serial0 = &uart0; }; @@ -54,6 +55,24 @@ status = "okay"; }; +&gmac0 { + phy-mode = "rgmii-id"; + phy-handle = <&ext_rgmii_phy>; + phy-supply = <®_cldo3>; + + allwinner,tx-delay-ps = <300>; + allwinner,rx-delay-ps = <400>; + + status = "okay"; +}; + +&mdio0 { + ext_rgmii_phy: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + }; +}; + &mmc0 { vmmc-supply = <®_cldo3>; cd-gpios = <&pio 5 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PF6 */ |