Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d283862 authored by Alexey Charkov's avatar Alexey Charkov Committed by David S. Miller
Browse files

net: via-rhine: add OF bus binding



This should make the driver usable with VIA/WonderMedia ARM-based
Systems-on-Chip integrated Rhine III adapters. Note that these
are always in MMIO mode, and don't have any known EEPROM.

Signed-off-by: default avatarAlexey Charkov <alchark@gmail.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f7630d18
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
* VIA Rhine 10/100 Network Controller

Required properties:
- compatible : Should be "via,vt8500-rhine" for integrated
	Rhine controllers found in VIA VT8500, WonderMedia WM8950
	and similar. These are listed as 1106:3106 rev. 0x84 on the
	virtual PCI bus under vendor-provided kernels
- reg : Address and length of the io space
- interrupts : Should contain the controller interrupt line

Examples:

ethernet@d8004000 {
	compatible = "via,vt8500-rhine";
	reg = <0xd8004000 0x100>;
	interrupts = <10>;
};
+6 −0
Original line number Diff line number Diff line
@@ -165,5 +165,11 @@
			reg = <0xd8100000 0x10000>;
			interrupts = <48>;
		};

		ethernet@d8004000 {
			compatible = "via,vt8500-rhine";
			reg = <0xd8004000 0x100>;
			interrupts = <10>;
		};
	};
};
+6 −0
Original line number Diff line number Diff line
@@ -218,5 +218,11 @@
			reg = <0xd8100000 0x10000>;
			interrupts = <48>;
		};

		ethernet@d8004000 {
			compatible = "via,vt8500-rhine";
			reg = <0xd8004000 0x100>;
			interrupts = <10>;
		};
	};
};
+6 −0
Original line number Diff line number Diff line
@@ -298,5 +298,11 @@
			bus-width = <4>;
			sdon-inverted;
		};

		ethernet@d8004000 {
			compatible = "via,vt8500-rhine";
			reg = <0xd8004000 0x100>;
			interrupts = <10>;
                };
	};
};
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ if NET_VENDOR_VIA

config VIA_RHINE
	tristate "VIA Rhine support"
	depends on PCI
	depends on (PCI || USE_OF)
	select CRC32
	select MII
	---help---
Loading