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

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: Lada Trimasova <ltrimas@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

authored by

Lada Trimasova and committed by
Vineet Gupta
df420fd6 b31ac426

+10 -9
+2 -3
arch/arc/boot/dts/nsimosci.dts
··· 65 65 }; 66 66 67 67 eth0: ethernet@f0003000 { 68 - compatible = "snps,oscilan"; 68 + compatible = "ezchip,nps-mgt-enet"; 69 69 reg = <0xf0003000 0x44>; 70 - interrupts = <7>, <8>; 71 - interrupt-names = "rx", "tx"; 70 + interrupts = <7>; 72 71 }; 73 72 }; 74 73 };
+2 -3
arch/arc/boot/dts/nsimosci_hs.dts
··· 65 65 }; 66 66 67 67 eth0: ethernet@f0003000 { 68 - compatible = "snps,oscilan"; 68 + compatible = "ezchip,nps-mgt-enet"; 69 69 reg = <0xf0003000 0x44>; 70 - interrupts = <25>, <26>; 71 - interrupt-names = "rx", "tx"; 70 + interrupts = <25>; 72 71 }; 73 72 74 73 arcpct0: pct {
+2 -3
arch/arc/boot/dts/nsimosci_hs_idu.dts
··· 85 85 }; 86 86 87 87 eth0: ethernet@f0003000 { 88 - compatible = "snps,oscilan"; 88 + compatible = "ezchip,nps-mgt-enet"; 89 89 reg = <0xf0003000 0x44>; 90 90 interrupt-parent = <&idu_intc>; 91 - interrupts = <1 2>, <2 2>; 92 - interrupt-names = "rx", "tx"; 91 + interrupts = <1 2>; 93 92 }; 94 93 95 94 arcpct0: pct {
+1
arch/arc/configs/nsimosci_defconfig
··· 38 38 # CONFIG_FIRMWARE_IN_KERNEL is not set 39 39 # CONFIG_BLK_DEV is not set 40 40 CONFIG_NETDEVICES=y 41 + CONFIG_EZCHIP_NPS_MANAGEMENT_ENET=y 41 42 # CONFIG_INPUT_MOUSEDEV is not set 42 43 CONFIG_INPUT_EVDEV=y 43 44 # CONFIG_MOUSE_PS2_ALPS is not set
+1
arch/arc/configs/nsimosci_hs_defconfig
··· 39 39 # CONFIG_FIRMWARE_IN_KERNEL is not set 40 40 # CONFIG_BLK_DEV is not set 41 41 CONFIG_NETDEVICES=y 42 + CONFIG_EZCHIP_NPS_MANAGEMENT_ENET=y 42 43 CONFIG_INPUT_EVDEV=y 43 44 # CONFIG_MOUSE_PS2_ALPS is not set 44 45 # CONFIG_MOUSE_PS2_LOGIPS2PP is not set
+2
arch/arc/configs/nsimosci_hs_smp_defconfig
··· 20 20 CONFIG_ARC_PLAT_SIM=y 21 21 CONFIG_ISA_ARCV2=y 22 22 CONFIG_SMP=y 23 + # CONFIG_ARC_HAS_GFRC is not set 23 24 CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci_hs_idu" 24 25 CONFIG_PREEMPT=y 25 26 # CONFIG_COMPACTION is not set ··· 46 45 # CONFIG_NET_VENDOR_ARC is not set 47 46 # CONFIG_NET_CADENCE is not set 48 47 # CONFIG_NET_VENDOR_BROADCOM is not set 48 + CONFIG_EZCHIP_NPS_MANAGEMENT_ENET=y 49 49 # CONFIG_NET_VENDOR_INTEL is not set 50 50 # CONFIG_NET_VENDOR_MARVELL is not set 51 51 # CONFIG_NET_VENDOR_MICREL is not set