summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/mt7623n-rfb-emmc.dts
diff options
context:
space:
mode:
authorArınç ÜNAL <arinc.unal@arinc9.com>2023-02-10 19:25:01 +0100
committerMatthias Brugger <matthias.bgg@gmail.com>2023-06-09 16:33:28 +0200
commitf847a3a8c68fe048d77485690af8c2a86d32763e (patch)
tree43c76c836abb1bd7196131bc385e618d3f66d5ba /arch/arm/boot/dts/mt7623n-rfb-emmc.dts
parentLinux 6.4-rc1 (diff)
downloadlinux-f847a3a8c68fe048d77485690af8c2a86d32763e.tar.xz
linux-f847a3a8c68fe048d77485690af8c2a86d32763e.zip
arm: dts: mt7623: add gmacs to mt7623.dtsi
There are two gigabit MACs on the MT7623AI and MT7623NI SoCs. Add them to mt7623.dtsi and adjust the DTs that call mt7623.dtsi. Now that there are labels for the MACs, remove them from under &eth on the DTs that call mt7623.dtsi. Remove the unnecessary mdio label from Bananapi BPI-R2. Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> Link: https://lore.kernel.org/r/20230210182505.24597-2-arinc.unal@arinc9.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/mt7623n-rfb-emmc.dts')
-rw-r--r--arch/arm/boot/dts/mt7623n-rfb-emmc.dts32
1 files changed, 15 insertions, 17 deletions
diff --git a/arch/arm/boot/dts/mt7623n-rfb-emmc.dts b/arch/arm/boot/dts/mt7623n-rfb-emmc.dts
index bf67a8e9be59..5e328c2a6a6e 100644
--- a/arch/arm/boot/dts/mt7623n-rfb-emmc.dts
+++ b/arch/arm/boot/dts/mt7623n-rfb-emmc.dts
@@ -156,27 +156,25 @@
};
};
-&eth {
+&gmac0 {
status = "okay";
+ phy-mode = "trgmii";
- gmac0: mac@0 {
- compatible = "mediatek,eth-mac";
- reg = <0>;
- phy-mode = "trgmii";
-
- fixed-link {
- speed = <1000>;
- full-duplex;
- pause;
- };
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ pause;
};
+};
- mac@1 {
- compatible = "mediatek,eth-mac";
- reg = <1>;
- phy-mode = "rgmii";
- phy-handle = <&phy5>;
- };
+&gmac1 {
+ status = "okay";
+ phy-mode = "rgmii";
+ phy-handle = <&phy5>;
+};
+
+&eth {
+ status = "okay";
mdio-bus {
#address-cells = <1>;