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

Configure Feed

Select the types of activity you want to include in your feed.

riscv: dts: starfive: jh7100: Add sysmain and gmac DT nodes

Provide the sysmain and gmac DT nodes supporting the DWMAC found on the
StarFive JH7100 SoC.

Co-developed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>

authored by

Cristian Ciocaltea and committed by
Conor Dooley
5ca37ca2 8d01f741

+36
+36
arch/riscv/boot/dts/starfive/jh7100.dtsi
··· 204 204 status = "disabled"; 205 205 }; 206 206 207 + gmac: ethernet@10020000 { 208 + compatible = "starfive,jh7100-dwmac", "snps,dwmac"; 209 + reg = <0x0 0x10020000 0x0 0x10000>; 210 + clocks = <&clkgen JH7100_CLK_GMAC_ROOT_DIV>, 211 + <&clkgen JH7100_CLK_GMAC_AHB>, 212 + <&clkgen JH7100_CLK_GMAC_PTP_REF>, 213 + <&clkgen JH7100_CLK_GMAC_TX_INV>, 214 + <&clkgen JH7100_CLK_GMAC_GTX>; 215 + clock-names = "stmmaceth", "pclk", "ptp_ref", "tx", "gtx"; 216 + resets = <&rstgen JH7100_RSTN_GMAC_AHB>; 217 + reset-names = "ahb"; 218 + interrupts = <6>, <7>; 219 + interrupt-names = "macirq", "eth_wake_irq"; 220 + max-frame-size = <9000>; 221 + snps,multicast-filter-bins = <32>; 222 + snps,perfect-filter-entries = <128>; 223 + starfive,syscon = <&sysmain 0x70 0>; 224 + rx-fifo-depth = <32768>; 225 + tx-fifo-depth = <16384>; 226 + snps,axi-config = <&stmmac_axi_setup>; 227 + snps,fixed-burst; 228 + snps,force_thresh_dma_mode; 229 + status = "disabled"; 230 + 231 + stmmac_axi_setup: stmmac-axi-config { 232 + snps,wr_osr_lmt = <16>; 233 + snps,rd_osr_lmt = <16>; 234 + snps,blen = <256 128 64 32 0 0 0>; 235 + }; 236 + }; 237 + 207 238 clkgen: clock-controller@11800000 { 208 239 compatible = "starfive,jh7100-clkgen"; 209 240 reg = <0x0 0x11800000 0x0 0x10000>; ··· 247 216 compatible = "starfive,jh7100-reset"; 248 217 reg = <0x0 0x11840000 0x0 0x10000>; 249 218 #reset-cells = <1>; 219 + }; 220 + 221 + sysmain: syscon@11850000 { 222 + compatible = "starfive,jh7100-sysmain", "syscon"; 223 + reg = <0x0 0x11850000 0x0 0x10000>; 250 224 }; 251 225 252 226 i2c0: i2c@118b0000 {