Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26091eef authored by Yash Shah's avatar Yash Shah Committed by Paul Walmsley
Browse files

riscv: dts: Add DT node for SiFive FU540 Ethernet controller driver



DT node for SiFive FU540-C000 GEMGXL Ethernet controller driver added

Signed-off-by: default avatarYash Shah <yash.shah@sifive.com>
Reviewed-by: default avatarSagar Kadam <sagar.kadam@sifive.com>
Cc: Andrew Lunn <andrew@lunn.ch>
[paul.walmsley@sifive.com: changed "phy1" to "phy0" at Andrew Lunn's
 suggestion]
Signed-off-by: default avatarPaul Walmsley <paul.walmsley@sifive.com>
parent 251a4488
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -217,5 +217,20 @@
			#size-cells = <0>;
			status = "disabled";
		};
		eth0: ethernet@10090000 {
			compatible = "sifive,fu540-c000-gem";
			interrupt-parent = <&plic0>;
			interrupts = <53>;
			reg = <0x0 0x10090000 0x0 0x2000
			       0x0 0x100a0000 0x0 0x1000>;
			local-mac-address = [00 00 00 00 00 00];
			clock-names = "pclk", "hclk";
			clocks = <&prci PRCI_CLK_GEMGXLPLL>,
				 <&prci PRCI_CLK_GEMGXLPLL>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

	};
};
+9 −0
Original line number Diff line number Diff line
@@ -76,3 +76,12 @@
		disable-wp;
	};
};

&eth0 {
	status = "okay";
	phy-mode = "gmii";
	phy-handle = <&phy0>;
	phy0: ethernet-phy@0 {
		reg = <0>;
	};
};