Commit df420fd6 authored by Lada Trimasova's avatar Lada Trimasova Committed by Vineet Gupta

arc: [plat-nsimosci*] use ezchip network driver

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: default avatarLada Trimasova <ltrimas@synopsys.com>
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent b31ac426
...@@ -65,10 +65,9 @@ ps2: ps2@f9001000 { ...@@ -65,10 +65,9 @@ ps2: ps2@f9001000 {
}; };
eth0: ethernet@f0003000 { eth0: ethernet@f0003000 {
compatible = "snps,oscilan"; compatible = "ezchip,nps-mgt-enet";
reg = <0xf0003000 0x44>; reg = <0xf0003000 0x44>;
interrupts = <7>, <8>; interrupts = <7>;
interrupt-names = "rx", "tx";
}; };
}; };
}; };
...@@ -65,10 +65,9 @@ ps2: ps2@f9001000 { ...@@ -65,10 +65,9 @@ ps2: ps2@f9001000 {
}; };
eth0: ethernet@f0003000 { eth0: ethernet@f0003000 {
compatible = "snps,oscilan"; compatible = "ezchip,nps-mgt-enet";
reg = <0xf0003000 0x44>; reg = <0xf0003000 0x44>;
interrupts = <25>, <26>; interrupts = <25>;
interrupt-names = "rx", "tx";
}; };
arcpct0: pct { arcpct0: pct {
......
...@@ -85,11 +85,10 @@ ps2: ps2@f9001000 { ...@@ -85,11 +85,10 @@ ps2: ps2@f9001000 {
}; };
eth0: ethernet@f0003000 { eth0: ethernet@f0003000 {
compatible = "snps,oscilan"; compatible = "ezchip,nps-mgt-enet";
reg = <0xf0003000 0x44>; reg = <0xf0003000 0x44>;
interrupt-parent = <&idu_intc>; interrupt-parent = <&idu_intc>;
interrupts = <1 2>, <2 2>; interrupts = <1 2>;
interrupt-names = "rx", "tx";
}; };
arcpct0: pct { arcpct0: pct {
......
...@@ -38,6 +38,7 @@ CONFIG_DEVTMPFS=y ...@@ -38,6 +38,7 @@ CONFIG_DEVTMPFS=y
# CONFIG_FIRMWARE_IN_KERNEL is not set # CONFIG_FIRMWARE_IN_KERNEL is not set
# CONFIG_BLK_DEV is not set # CONFIG_BLK_DEV is not set
CONFIG_NETDEVICES=y CONFIG_NETDEVICES=y
CONFIG_EZCHIP_NPS_MANAGEMENT_ENET=y
# CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_MOUSEDEV is not set
CONFIG_INPUT_EVDEV=y CONFIG_INPUT_EVDEV=y
# CONFIG_MOUSE_PS2_ALPS is not set # CONFIG_MOUSE_PS2_ALPS is not set
......
...@@ -39,6 +39,7 @@ CONFIG_DEVTMPFS=y ...@@ -39,6 +39,7 @@ CONFIG_DEVTMPFS=y
# CONFIG_FIRMWARE_IN_KERNEL is not set # CONFIG_FIRMWARE_IN_KERNEL is not set
# CONFIG_BLK_DEV is not set # CONFIG_BLK_DEV is not set
CONFIG_NETDEVICES=y CONFIG_NETDEVICES=y
CONFIG_EZCHIP_NPS_MANAGEMENT_ENET=y
CONFIG_INPUT_EVDEV=y CONFIG_INPUT_EVDEV=y
# CONFIG_MOUSE_PS2_ALPS is not set # CONFIG_MOUSE_PS2_ALPS is not set
# CONFIG_MOUSE_PS2_LOGIPS2PP is not set # CONFIG_MOUSE_PS2_LOGIPS2PP is not set
......
...@@ -20,6 +20,7 @@ CONFIG_MODULES=y ...@@ -20,6 +20,7 @@ CONFIG_MODULES=y
CONFIG_ARC_PLAT_SIM=y CONFIG_ARC_PLAT_SIM=y
CONFIG_ISA_ARCV2=y CONFIG_ISA_ARCV2=y
CONFIG_SMP=y CONFIG_SMP=y
# CONFIG_ARC_HAS_GFRC is not set
CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci_hs_idu" CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci_hs_idu"
CONFIG_PREEMPT=y CONFIG_PREEMPT=y
# CONFIG_COMPACTION is not set # CONFIG_COMPACTION is not set
...@@ -45,6 +46,7 @@ CONFIG_NETDEVICES=y ...@@ -45,6 +46,7 @@ CONFIG_NETDEVICES=y
# CONFIG_NET_VENDOR_ARC is not set # CONFIG_NET_VENDOR_ARC is not set
# CONFIG_NET_CADENCE is not set # CONFIG_NET_CADENCE is not set
# CONFIG_NET_VENDOR_BROADCOM 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_INTEL is not set
# CONFIG_NET_VENDOR_MARVELL is not set # CONFIG_NET_VENDOR_MARVELL is not set
# CONFIG_NET_VENDOR_MICREL is not set # CONFIG_NET_VENDOR_MICREL is not set
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment