arch/arc: angel4.dts - add description for "arc_emac"
PATCH v2 1/1 arch/arc: angel4.dts - add description for "arc_emac"
With this patch we introduce DT "arc_emac" description for ARCangel4. Description is based on info/example in "Documentation/devicetree/bindings/net/arc_emac.txt".
Signed-off-by Alexey Brodkin <[email protected]>
Cc Andy Shevchenko <[email protected]>
Cc Francois Romieu <[email protected]>
Cc Joe Perches <[email protected]>
Cc Vineet Gupta <[email protected]>
Cc Mischa Jonker <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Grant Likely <[email protected]>
Cc Rob Herring <[email protected]>
Cc Paul Gortmaker <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Florian Fainelli <[email protected]>
---
This re-spin also removes obsolete mentions of IRQ number and base-address of arc_emac from "plat_arcfpga".
--- arch/arc/boot/dts/angel4.dts | 16 ++++++++++++++++ arch/arc/plat-arcfpga/include/plat/irq.h | 2 -- arch/arc/plat-arcfpga/include/plat/memmap.h | 2 -- 3 files changed, 16 insertions(+), 4 deletions(-)
arch/arc/boot/dts/angel4.dts +16 -0
@@ -51,5 +51,21 @@ current-speed = <115200>; status = "okay"; }; + + ethernet@c0fc2000 { + compatible = "snps,arc-emac"; + reg = <0xc0fc2000 0x3c>; + interrupts = <6>; + mac-address = [ 00 11 22 33 44 55 ]; + clock-frequency = <80000000>; + max-speed = <100>; + phy = <&phy0>; + + #address-cells = <1>; + #size-cells = <0>; + phy0: ethernet-phy@0 { + reg = <1>; + }; + }; }; };
arch/arc/plat-arcfpga/include/plat/irq.h +0 -2
@@ -16,8 +16,6 @@#define UART1_IRQ 10#define UART2_IRQ 11 -#define VMAC_IRQ 6 -#define IDE_IRQ 13#define PCI_IRQ 14#define PS2_IRQ 15
arch/arc/plat-arcfpga/include/plat/memmap.h +0 -2
@@ -15,8 +15,6 @@#define UART0_BASE 0xC0FC1000#define UART1_BASE 0xC0FC1100 -#define VMAC_REG_BASEADDR 0xC0FC2000 -#define IDE_CONTROLLER_BASE 0xC0FC9000#define AHB_PCI_HOST_BRG_BASE 0xC0FD0000
Signature · 1 line
1.7.10.4
Vineet Gupta
AppliedQuoted 5 lines · Alexey Brodkin
With this patch we introduce DT "
arc_emac" description for ARCangel4. Description is based on info/example in "Documentation/devicetree/bindings/net/arc_emac.txt".Signed-off-by Alexey Brodkin <[email protected]>
Applied to arc for-next
Thx,
-Vineet