diff options
author | Paul Burton <paul.burton@imgtec.com> | 2016-08-26 10:17:37 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-10-04 19:31:20 -0400 |
commit | a34e93882de4e50e349d2d23b20dde5257d42f94 (patch) | |
tree | 141e1130a3f305334520a21e5234a41ea4f6c3c8 /arch/mips/boot | |
parent | 53f37d1d306927d21e0256fe6c48fa517d889cf7 (diff) |
MIPS: SEAD3: Probe ethernet controller using DT
Probe the smsc911x ethernet controller using device tree rather than
platform code, reducing the amount of the latter.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14050/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/boot')
-rw-r--r-- | arch/mips/boot/dts/mti/sead3.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/mti/sead3.dts b/arch/mips/boot/dts/mti/sead3.dts index 3f681c530082..29ed194fc762 100644 --- a/arch/mips/boot/dts/mti/sead3.dts +++ b/arch/mips/boot/dts/mti/sead3.dts | |||
@@ -87,4 +87,16 @@ | |||
87 | 87 | ||
88 | no-loopback-test; | 88 | no-loopback-test; |
89 | }; | 89 | }; |
90 | |||
91 | eth@1f010000 { | ||
92 | compatible = "smsc,lan9115"; | ||
93 | reg = <0x1f010000 0x10000>; | ||
94 | reg-io-width = <4>; | ||
95 | |||
96 | interrupts = <0>; /* GIC 0 or CPU 6 */ | ||
97 | |||
98 | phy-mode = "mii"; | ||
99 | smsc,irq-push-pull; | ||
100 | smsc,save-mac-address; | ||
101 | }; | ||
90 | }; | 102 | }; |