| From b1a63d9861ae058ce5629facadf25a6342ebc528 Mon Sep 17 00:00:00 2001 |
| From: Ben Dooks <ben.dooks@codethink.co.uk> |
| Date: Wed, 12 Feb 2014 17:04:33 +0000 |
| Subject: ARM: shmobile: lager: enable i2c devices |
| |
| Add i2c0, i2c1, i2c2 and i2c3 nodes to the Lager reference device tree as |
| these busses all have devices on them that can be probed even if they |
| are no drivers yet. |
| |
| Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> |
| [horms+renesas@verge.net.au: Added shmobile to title] |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| |
| (cherry picked from commit e489c2a9bc82713167d9f721ca764f4b0d37e543) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/boot/dts/r8a7790-lager.dts | 16 ++++++++++++++++ |
| 1 file changed, 16 insertions(+) |
| |
| diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts |
| index b9cbeda87530..7840b60596b0 100644 |
| --- a/arch/arm/boot/dts/r8a7790-lager.dts |
| +++ b/arch/arm/boot/dts/r8a7790-lager.dts |
| @@ -342,3 +342,19 @@ |
| &cpu0 { |
| cpu0-supply = <&vdd_dvfs>; |
| }; |
| + |
| +&i2c0 { |
| + status = "ok"; |
| +}; |
| + |
| +&i2c1 { |
| + status = "ok"; |
| +}; |
| + |
| +&i2c2 { |
| + status = "ok"; |
| +}; |
| + |
| +&i2c3 { |
| + status = "ok"; |
| +}; |
| -- |
| 2.1.2 |
| |