]> git.karo-electronics.de Git - linux-beck.git/commit
stmmac: Add device-tree support
authorStefan Roese <sr@denx.de>
Tue, 13 Mar 2012 04:56:37 +0000 (04:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Mar 2012 05:48:53 +0000 (22:48 -0700)
commit6a228452d11eaf1f1577261540ec0903a2af7f61
tree9e08f1ba22948df7f09c0f2f6d4d6c7fa3d55871
parent06d6c1087605b38342eb20e74b0cacb8b71f5086
stmmac: Add device-tree support

This patch adds support to configure the STMMAC ethernet driver via
device-tree instead of platform_data.

Currently, only the properties needed on SPEAr600 are provided. All
other properties should be added once needed on other platforms.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/stmmac.txt [new file with mode: 0644]
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c