ARM: shmobile: marzen-reference: use irqpin for lan
Subsystems (2)
PATCH v2 1/1 ARM: shmobile: marzen-reference: use irqpin for lan
This corrects the configuration of the SMSC lan controller to use the newly added irqpin as its IRQ source.
Previously the lan controller did not work. Now it does.
---
This depends on "[PATCH/RFC 0/2] ARM: shmobile: DT irqpin for r8a7779 and marzen-reference".
v2
* Use interrupt 2 instead of 1.
Apparently we should start counting from 1 rather than 0.
--- arch/arm/boot/dts/r8a7779-marzen-reference.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/r8a7779-marzen-reference.dts +2 -2
@@ -38,8 +38,8 @@ compatible = "smsc,lan9220", "smsc,lan9115"; reg = <0x18000000 0x100>; phy-mode = "mii"; - interrupt-parent = <&gic>; - interrupts = <0 28 0x4>; + interrupt-parent = <&irqpin0>; + interrupts = <2 0>; reg-io-width = <4>; vddvario-supply = <&fixedregulator3v3>; vdd33a-supply = <&fixedregulator3v3>;
Signature · 1 line
1.7.10.4
Simon Horman
AppliedPATCH v2 1/1 ARM: shmobile: marzen-reference: use irqpin for lan
Quoted 7 lines · Simon Horman
This corrects the configuration of the SMSC lan controller to use the newly added irqpin as its IRQ source.
Previously the lan controller did not work. Now it does.
Cc Guennadi Liakhovetski <[email protected]>Signed-off-by Simon Horman <[email protected]>
Queued up in the marzen-boards branch.
PATCH v2 1/1 ARM: shmobile: marzen-reference: use irqpin for lan
Quoted 10 lines · Simon Horman
Quoted 7 lines · Simon Horman
This corrects the configuration of the SMSC lan controller to use the newly added irqpin as its IRQ source.
Previously the lan controller did not work. Now it does.
Cc Guennadi Liakhovetski <[email protected]>Signed-off-by Simon Horman <[email protected]>Queued up in the marzen-boards branch.
Scratch that, I miss-tested things (again!) and this does not appear to work.