[Letux-kernel] [PATCH 14/20] MIPS: DTS: ingenic/jz4730: Add Ethernet node

Lubomir Rintel lkundrak at v3.sk
Tue Nov 17 21:58:07 CET 2020


Add a node for the ethernet MAC, with a subnode for the PHY management
bus.

Signed-off-by: Lubomir Rintel <lkundrak at v3.sk>
---
 arch/mips/boot/dts/ingenic/jz4730.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/mips/boot/dts/ingenic/jz4730.dtsi b/arch/mips/boot/dts/ingenic/jz4730.dtsi
index 1b15bc9680dfa..1de3c8d34981e 100644
--- a/arch/mips/boot/dts/ingenic/jz4730.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4730.dtsi
@@ -317,6 +317,16 @@ uhc: uhc at 13030000 {
 		status = "disabled";
 	};
 
+	ethernet: ethernet at 13100000 {
+		compatible = "ingenic,jz4730-ethernet";
+		reg = <0x13100000 0x1000>;
+
+		mdio: mdio {
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+	};
+
 	lcd: lcd at 10050000 {
 		compatible = "ingenic,jz4740-lcd";
 		reg = <0x10050000 0x100>;
-- 
2.28.0



More information about the Letux-kernel mailing list