File tree Expand file tree Collapse file tree
arch/arm64/boot/dts/amlogic Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-sm1-x96-air.dtb
9292dtb-$(CONFIG_ARCH_MESON) += meson-sm1-x96-air-gbit.dtb
9393dtb-$(CONFIG_ARCH_MESON) += meson-sm1-x96-max-plus.dtb
9494dtb-$(CONFIG_ARCH_MESON) += meson-sm1-x96-max-plus-oc.dtb
95+ dtb-$(CONFIG_ARCH_MESON) += meson-sm1-x96-max-plus-ip1001m.dtb
9596dtb-$(CONFIG_ARCH_MESON) += meson-sm1-x96-max-plus-100m.dtb
9697dtb-$(CONFIG_ARCH_MESON) += meson-sm1-h96-max-x3.dtb
9798dtb-$(CONFIG_ARCH_MESON) += meson-sm1-h96-max-x3-oc.dtb
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+ /*
3+ * Copyright (c) 2019 BayLibre SAS. All rights reserved.
4+ * Copyright (c) 2020 Christian Hewitt <christianshewitt@gmail.com>
5+ * Copyright (c) 2022 flippy <uniqfreq@gmail.com>
6+ */
7+
8+ /dts-v1/;
9+
10+ #include "meson-sm1-x96-max-plus-oc.dts"
11+
12+ ðmac {
13+ phy-mode = "rgmii-txid";
14+ /* After a simple testing, temporarily set rx-internal-delay-ps to 2800 ps,
15+ * if anyone finds a more suitable value please let me know.
16+ */
17+ rx-internal-delay-ps = <2800>;
18+ };
19+
20+ &ext_mdio {
21+ /delete-node/ ethernet-phy@0;
22+
23+ external_phy: ethernet-phy@3 {
24+ /* ICPlus IP1001M */
25+ reg = <3>;
26+ max-speed = <1000>;
27+
28+ reset-assert-us = <10000>;
29+ reset-deassert-us = <80000>;
30+ reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
31+
32+ interrupt-parent = <&gpio_intc>;
33+ /* MAC_INTR on GPIOZ_14 */
34+ interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
35+ };
36+ };
You can’t perform that action at this time.
0 commit comments