Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+22
+4
arch/arm/boot/dts/ox810se-wd-mbwe.dts
··· 103 103 }; 104 104 }; 105 105 106 + &etha { 107 + status = "okay"; 108 + }; 109 + 106 110 &uart1 { 107 111 status = "okay"; 108 112
+18
arch/arm/boot/dts/ox810se.dtsi
··· 81 81 ranges; 82 82 interrupt-parent = <&intc>; 83 83 84 + etha: ethernet@40400000 { 85 + compatible = "oxsemi,ox810se-dwmac", "snps,dwmac"; 86 + reg = <0x40400000 0x2000>; 87 + interrupts = <8>; 88 + interrupt-names = "macirq"; 89 + mac-address = [000000000000]; /* Filled in by U-Boot */ 90 + phy-mode = "rgmii"; 91 + 92 + clocks = <&stdclk 6>, <&gmacclk>; 93 + clock-names = "gmac", "stmmaceth"; 94 + resets = <&reset 6>; 95 + 96 + /* Regmap for sys registers */ 97 + oxsemi,sys-ctrl = <&sys>; 98 + 99 + status = "disabled"; 100 + }; 101 + 84 102 apb-bridge@44000000 { 85 103 #address-cells = <1>; 86 104 #size-cells = <1>;