Skip to content

Commit

Permalink
arc: [plat-nsimosci*] use ezchip network driver
Browse files Browse the repository at this point in the history
Since ezchip network driver was adapted to little endian architecture
this patch provides the corresponding arch/arc/{boot/dts,configs}/ updates so
we can switch over to this device-model/driver for OSCI platform.

Cc: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Lada Trimasova <ltrimas@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
  • Loading branch information
Lada Trimasova authored and Vineet Gupta committed Mar 15, 2016
1 parent b31ac42 commit df420fd
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
5 changes: 2 additions & 3 deletions arch/arc/boot/dts/nsimosci.dts
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,9 @@
};

eth0: ethernet@f0003000 {
compatible = "snps,oscilan";
compatible = "ezchip,nps-mgt-enet";
reg = <0xf0003000 0x44>;
interrupts = <7>, <8>;
interrupt-names = "rx", "tx";
interrupts = <7>;
};
};
};
5 changes: 2 additions & 3 deletions arch/arc/boot/dts/nsimosci_hs.dts
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,9 @@
};

eth0: ethernet@f0003000 {
compatible = "snps,oscilan";
compatible = "ezchip,nps-mgt-enet";
reg = <0xf0003000 0x44>;
interrupts = <25>, <26>;
interrupt-names = "rx", "tx";
interrupts = <25>;
};

arcpct0: pct {
Expand Down
5 changes: 2 additions & 3 deletions arch/arc/boot/dts/nsimosci_hs_idu.dts
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,10 @@
};

eth0: ethernet@f0003000 {
compatible = "snps,oscilan";
compatible = "ezchip,nps-mgt-enet";
reg = <0xf0003000 0x44>;
interrupt-parent = <&idu_intc>;
interrupts = <1 2>, <2 2>;
interrupt-names = "rx", "tx";
interrupts = <1 2>;
};

arcpct0: pct {
Expand Down
1 change: 1 addition & 0 deletions arch/arc/configs/nsimosci_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ CONFIG_DEVTMPFS=y
# CONFIG_FIRMWARE_IN_KERNEL is not set
# CONFIG_BLK_DEV is not set
CONFIG_NETDEVICES=y
CONFIG_EZCHIP_NPS_MANAGEMENT_ENET=y
# CONFIG_INPUT_MOUSEDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_MOUSE_PS2_ALPS is not set
Expand Down
1 change: 1 addition & 0 deletions arch/arc/configs/nsimosci_hs_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ CONFIG_DEVTMPFS=y
# CONFIG_FIRMWARE_IN_KERNEL is not set
# CONFIG_BLK_DEV is not set
CONFIG_NETDEVICES=y
CONFIG_EZCHIP_NPS_MANAGEMENT_ENET=y
CONFIG_INPUT_EVDEV=y
# CONFIG_MOUSE_PS2_ALPS is not set
# CONFIG_MOUSE_PS2_LOGIPS2PP is not set
Expand Down
2 changes: 2 additions & 0 deletions arch/arc/configs/nsimosci_hs_smp_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ CONFIG_MODULES=y
CONFIG_ARC_PLAT_SIM=y
CONFIG_ISA_ARCV2=y
CONFIG_SMP=y
# CONFIG_ARC_HAS_GFRC is not set
CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci_hs_idu"
CONFIG_PREEMPT=y
# CONFIG_COMPACTION is not set
Expand All @@ -45,6 +46,7 @@ CONFIG_NETDEVICES=y
# CONFIG_NET_VENDOR_ARC is not set
# CONFIG_NET_CADENCE is not set
# CONFIG_NET_VENDOR_BROADCOM is not set
CONFIG_EZCHIP_NPS_MANAGEMENT_ENET=y
# CONFIG_NET_VENDOR_INTEL is not set
# CONFIG_NET_VENDOR_MARVELL is not set
# CONFIG_NET_VENDOR_MICREL is not set
Expand Down

0 comments on commit df420fd

Please sign in to comment.