Commit b88ffa66 authored by Neil Armstrong's avatar Neil Armstrong
Browse files

ARM: dts: ox810se: Add Ethernet support



Add nodes for the embedded Synopsys DWMAC Ethernet controller.

Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20220104145646.135877-4-narmstrong@baylibre.com
parent e783362e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -103,6 +103,10 @@ rtc0: rtc@48 {
	};
};

&etha {
	status = "okay";
};

&uart1 {
	status = "okay";

+18 −0
Original line number Diff line number Diff line
@@ -81,6 +81,24 @@ soc {
		ranges;
		interrupt-parent = <&intc>;

		etha: ethernet@40400000 {
			compatible = "oxsemi,ox810se-dwmac", "snps,dwmac";
			reg = <0x40400000 0x2000>;
			interrupts = <8>;
			interrupt-names = "macirq";
			mac-address = [000000000000]; /* Filled in by U-Boot */
			phy-mode = "rgmii";

			clocks = <&stdclk 6>, <&gmacclk>;
			clock-names = "gmac", "stmmaceth";
			resets = <&reset 6>;

			/* Regmap for sys registers */
			oxsemi,sys-ctrl = <&sys>;

			status = "disabled";
		};

		apb-bridge@44000000 {
			#address-cells = <1>;
			#size-cells = <1>;