-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: amlogic: dts: add special x96max plus board (with ip1001m phy)
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
arch/arm64/boot/dts/amlogic/meson-sm1-x96-max-plus-ip1001m.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
/* | ||
* Copyright (c) 2019 BayLibre SAS. All rights reserved. | ||
* Copyright (c) 2020 Christian Hewitt <christianshewitt@gmail.com> | ||
* Copyright (c) 2022 flippy <uniqfreq@gmail.com> | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "meson-sm1-x96-max-plus-oc.dts" | ||
|
||
ðmac { | ||
phy-mode = "rgmii-txid"; | ||
/* After a simple testing, temporarily set rx-internal-delay-ps to 2800 ps, | ||
* if anyone finds a more suitable value please let me know. | ||
*/ | ||
rx-internal-delay-ps = <2800>; | ||
}; | ||
|
||
&ext_mdio { | ||
/delete-node/ ethernet-phy@0; | ||
|
||
external_phy: ethernet-phy@3 { | ||
/* ICPlus IP1001M */ | ||
reg = <3>; | ||
max-speed = <1000>; | ||
|
||
reset-assert-us = <10000>; | ||
reset-deassert-us = <80000>; | ||
reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; | ||
|
||
interrupt-parent = <&gpio_intc>; | ||
/* MAC_INTR on GPIOZ_14 */ | ||
interrupts = <26 IRQ_TYPE_LEVEL_LOW>; | ||
}; | ||
}; |