ARM: dts: ox810se: Add Ethernet support

Add nodes for the embedded Synopsys DWMAC Ethernet controller.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20220104145646.135877-4-narmstrong@baylibre.com
This commit is contained in:
Neil Armstrong
2022-01-04 15:56:46 +01:00
parent e783362eb5
commit b88ffa66d5
2 changed files with 22 additions and 0 deletions

View File

@@ -103,6 +103,10 @@
};
};
&etha {
status = "okay";
};
&uart1 {
status = "okay";

View File

@@ -81,6 +81,24 @@
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>;