diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-04-24 10:53:18 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-04-25 12:42:39 +0200 |
commit | bf76e062c1b451223c462bb3452a1a8c7d5c0de5 (patch) | |
tree | 0033844079bdf9cbe2e520e48c3edfc39371e217 /arch/arm/boot/dts/snowball.dts | |
parent | 7919fb18cfcc9bc8c4751af4b26dada052483e98 (diff) | |
download | lwn-bf76e062c1b451223c462bb3452a1a8c7d5c0de5.tar.gz lwn-bf76e062c1b451223c462bb3452a1a8c7d5c0de5.zip |
ARM: ux500: Enable the SMSC9115 on Snowball via Device Tree
Here we split the description of the external-bus@50000000 over
two description files. In the more generic db8500 description file
we only specify the external-bus. Normally this would be used to
communicate with a NOR-flash device. On the Snowball however, the
SMSC9115 Ethernet chip occupies it. In the Snowball board specific
description file is where we actually specify that it is in fact the
Ethernet device which lives here.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/snowball.dts')
-rw-r--r-- | arch/arm/boot/dts/snowball.dts | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/arch/arm/boot/dts/snowball.dts b/arch/arm/boot/dts/snowball.dts index 0cec47ba0de7..d99dc04f0d91 100644 --- a/arch/arm/boot/dts/snowball.dts +++ b/arch/arm/boot/dts/snowball.dts @@ -73,17 +73,19 @@ soc-u9500 { external-bus@50000000 { - compatible = "simple-bus"; - reg = <0x50000000 0x10000000>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - ethernet@50000000 { - compatible = "smsc,9111"; - reg = <0x50000000 0x10000>; - interrupts = <12>; + status = "okay"; + + ethernet@0 { + compatible = "smsc,lan9115"; + reg = <0 0x10000>; + interrupts = <12 0x1>; interrupt-parent = <&gpio4>; + + reg-shift = <1>; + reg-io-width = <2>; + smsc,force-internal-phy; + smsc,irq-active-high; + smsc,irq-push-pull; }; }; |