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

ARM: mvebu: Add support for the network controller in Armada 375 SoC

This commit adds the support for the network controller in Marvell
Armada 375 SoC devicetree.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Link: https://lkml.kernel.org/r/1405021936-28658-3-git-send-email-ezequiel.garcia@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>

authored by

Ezequiel Garcia and committed by
Jason Cooper
ff10e2cd 18ba7e4f

+31
+31
arch/arm/boot/dts/armada-375.dtsi
··· 151 151 <0xc100 0x100>; 152 152 }; 153 153 154 + mdio { 155 + #address-cells = <1>; 156 + #size-cells = <0>; 157 + compatible = "marvell,orion-mdio"; 158 + reg = <0xc0054 0x4>; 159 + }; 160 + 161 + /* Network controller */ 162 + ethernet@f0000 { 163 + compatible = "marvell,armada-375-pp2"; 164 + reg = <0xf0000 0xa000>, /* Packet Processor regs */ 165 + <0xc0000 0x3060>, /* LMS regs */ 166 + <0xc4000 0x100>, /* eth0 regs */ 167 + <0xc5000 0x100>; /* eth1 regs */ 168 + clocks = <&gateclk 3>, <&gateclk 19>; 169 + clock-names = "pp_clk", "gop_clk"; 170 + status = "disabled"; 171 + 172 + eth0: eth0@c4000 { 173 + interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 174 + port-id = <0>; 175 + status = "disabled"; 176 + }; 177 + 178 + eth1: eth1@c5000 { 179 + interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 180 + port-id = <1>; 181 + status = "disabled"; 182 + }; 183 + }; 184 + 154 185 spi0: spi@10600 { 155 186 compatible = "marvell,orion-spi"; 156 187 reg = <0x10600 0x50>;