[PATCH] arch/arc: angel4.dts - add description for "arc_emac"
Vineet Gupta
Vineet.Gupta1 at synopsys.com
Wed Jun 26 19:41:52 EST 2013
On 06/26/2013 03:07 PM, Alexey Brodkin wrote:
> With this patch we introduce DT "arc_emac" description for ARCangel4.
> Description is based on info/example in
> "Documentation/devicetree/bindings/net/arc_emac.txt".
>
> Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
>
> Cc: Andy Shevchenko <andy.shevchenko at gmail.com>
> Cc: Francois Romieu <romieu at fr.zoreil.com>
> Cc: Joe Perches <joe at perches.com>
> Cc: Vineet Gupta <vgupta at synopsys.com>
> Cc: Mischa Jonker <mjonker at synopsys.com>
> Cc: Arnd Bergmann <arnd at arndb.de>
> Cc: Grant Likely <grant.likely at linaro.org>
> Cc: Rob Herring <rob.herring at calxeda.com>
> Cc: Paul Gortmaker <paul.gortmaker at windriver.com>
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: linux-kernel at vger.kernel.org
> Cc: devicetree-discuss at lists.ozlabs.org
> Cc: Florian Fainelli <florian at openwrt.org>
> ---
> arch/arc/boot/dts/angel4.dts | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/arc/boot/dts/angel4.dts b/arch/arc/boot/dts/angel4.dts
> index bae4f93..4fb2d6f 100644
> --- a/arch/arc/boot/dts/angel4.dts
> +++ b/arch/arc/boot/dts/angel4.dts
> @@ -51,5 +51,21 @@
> current-speed = <115200>;
> status = "okay";
> };
> +
> + ethernet at c0fc2000 {
> + compatible = "snps,arc-emac";
> + reg = <0xc0fc2000 0x3c>;
> + interrupts = <6>;
> + mac-address = [ 00 11 22 33 44 55 ];
> + clock-frequency = <80000000>;
> + max-speed = <100>;
> + phy = <&phy0>;
> +
> + #address-cells = <1>;
> + #size-cells = <0>;
> + phy0: ethernet-phy at 0 {
> + reg = <1>;
> + };
> + };
> };
> };
This looks good - for completeness sake, can you also send a patch to remove
legacy hardcodings for irq/mem-map from arch/arc/plat-arcfpga/include/*
-Vineet
More information about the devicetree-discuss
mailing list