mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
arm64: dts: allwinner: t527: add EMAC0 to Avaota-A1 board
On Avaota A1 board, the EMAC0 connect to an external RTL8211F-CG PHY, which features a 25MHz crystal, and using PH8 pin as PHY reset. Signed-off-by: Yixun Lan <dlan@gentoo.org> Link: https://patch.msgid.link/20250430-01-sun55i-emac0-v3-5-6fc000bbccbd@gentoo.org Signed-off-by: Chen-Yu Tsai <wens@csie.org>
This commit is contained in:
parent
acca163f3f
commit
c6800f1599
|
|
@ -12,6 +12,7 @@ / {
|
||||||
compatible = "yuzukihd,avaota-a1", "allwinner,sun55i-t527";
|
compatible = "yuzukihd,avaota-a1", "allwinner,sun55i-t527";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
|
ethernet0 = &emac0;
|
||||||
serial0 = &uart0;
|
serial0 = &uart0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -64,6 +65,24 @@ &ehci1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&emac0 {
|
||||||
|
phy-mode = "rgmii-id";
|
||||||
|
phy-handle = <&ext_rgmii_phy>;
|
||||||
|
phy-supply = <®_dcdc4>;
|
||||||
|
|
||||||
|
allwinner,tx-delay-ps = <100>;
|
||||||
|
allwinner,rx-delay-ps = <300>;
|
||||||
|
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&mdio0 {
|
||||||
|
ext_rgmii_phy: ethernet-phy@1 {
|
||||||
|
compatible = "ethernet-phy-ieee802.3-c22";
|
||||||
|
reg = <1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
vmmc-supply = <®_cldo3>;
|
vmmc-supply = <®_cldo3>;
|
||||||
cd-gpios = <&pio 5 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PF6 */
|
cd-gpios = <&pio 5 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PF6 */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user