From: Sergei Shtylyov <[email protected]>

Add the (previously omitted) pin data for the SMSC LAN89218 Ethernet chip
to  the Blanche board's device tree:  the chip's IRQ output is connected to
the SoC's IRQ0 pin and its nCS input is connected to the SoC's EX_CS0# pin.

Signed-off-by: Sergei Shtylyov <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
---
 arch/arm/boot/dts/r8a7792-blanche.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7792-blanche.dts 
b/arch/arm/boot/dts/r8a7792-blanche.dts
index 9b550bde939a..4777a609ff81 100644
--- a/arch/arm/boot/dts/r8a7792-blanche.dts
+++ b/arch/arm/boot/dts/r8a7792-blanche.dts
@@ -50,6 +50,9 @@
                reg-io-width = <4>;
                vddvario-supply = <&d3_3v>;
                vdd33a-supply = <&d3_3v>;
+
+               pinctrl-0 = <&lan89218_pins>;
+               pinctrl-names = "default";
        };
 };
 
@@ -67,6 +70,17 @@
                groups = "scif3_data";
                function = "scif3";
        };
+
+       lan89218_pins: lan89218 {
+               intc {
+                       groups = "intc_irq0";
+                       function = "intc";
+               };
+               lbsc {
+                       groups = "lbsc_ex_cs0";
+                       function = "lbsc";
+               };
+       };
 };
 
 &scif0 {
-- 
2.7.0.rc3.207.g0ac5344

Reply via email to