arc: [plat-nsimosci*] use ezchip network driver
authorLada Trimasova <ltrimas@synopsys.com>
Mon, 14 Mar 2016 14:11:57 +0000 (17:11 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Tue, 15 Mar 2016 10:35:59 +0000 (16:05 +0530)
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>
arch/arc/boot/dts/nsimosci.dts
arch/arc/boot/dts/nsimosci_hs.dts
arch/arc/boot/dts/nsimosci_hs_idu.dts
arch/arc/configs/nsimosci_defconfig
arch/arc/configs/nsimosci_hs_defconfig
arch/arc/configs/nsimosci_hs_smp_defconfig

index 1c169dc74ad1399685e0eb965bb94da5562327d2..d94b4ce516ad4015d4de1e13487a79212c0ada61 100644 (file)
                };
 
                eth0: ethernet@f0003000 {
-                       compatible = "snps,oscilan";
+                       compatible = "ezchip,nps-mgt-enet";
                        reg = <0xf0003000 0x44>;
-                       interrupts = <7>, <8>;
-                       interrupt-names = "rx", "tx";
+                       interrupts = <7>;
                };
        };
 };
index d64a96f8515ada58b27599122d775960889e2a3f..034a3139c1e23bfab51cbabf5c2f5d4d343982e7 100644 (file)
                };
 
                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 {
index f6bf0ca95a5724c087dc0e762f054ba38d1b2fc2..8a1297e0254050fb16579bad03b764f0c92316ab 100644 (file)
                };
 
                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 {
index 0972e753101a8d28c45d44bf87d2b12c732683e5..42bafa552498fb5b65af2ca8ac00853d0ad562e3 100644 (file)
@@ -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
index 24d9d0e18232ed6fa6e5f91a061a93bc019492d6..4bb60c1cd4a2fcb895eac30b17e95ba5af8e5769 100644 (file)
@@ -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
index 6746d01b6d7b3a8078c6f87955b3c351f20d6c91..7e88f4c720f80a874f53ae61d8146e5d704fe2d0 100644 (file)
@@ -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
@@ -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