diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-04-22 17:26:33 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-04-26 15:45:16 -0400 |
commit | 39eabec14c05ec67e9afe56711b040728de1d533 (patch) | |
tree | 483d0891cd6ff1c6bcadeddad9a945d2cdc9edfd /arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts | |
parent | 43be7e02f634422f105217e82559e3b716b3351d (diff) |
ARM: orion5x: use DT to describe I2C devices on edmini_v2
This commit converts the already partially DT-converted edmini_v2
platform to use the Device Tree for I2C bus and devices.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Link: https://lkml.kernel.org/r/1398202002-28530-30-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts')
-rw-r--r-- | arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts b/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts index aa74b00d68e2..41b2ab567bf5 100644 --- a/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts +++ b/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts | |||
@@ -10,6 +10,7 @@ | |||
10 | 10 | ||
11 | #include <dt-bindings/gpio/gpio.h> | 11 | #include <dt-bindings/gpio/gpio.h> |
12 | #include <dt-bindings/input/input.h> | 12 | #include <dt-bindings/input/input.h> |
13 | #include <dt-bindings/interrupt-controller/irq.h> | ||
13 | #include "orion5x-mv88f5182.dtsi" | 14 | #include "orion5x-mv88f5182.dtsi" |
14 | 15 | ||
15 | / { | 16 | / { |
@@ -63,6 +64,19 @@ | |||
63 | }; | 64 | }; |
64 | }; | 65 | }; |
65 | 66 | ||
67 | &i2c { | ||
68 | status = "okay"; | ||
69 | clock-frequency = <100000>; | ||
70 | #address-cells = <1>; | ||
71 | |||
72 | rtc@32 { | ||
73 | compatible = "ricoh,rs5c372a"; | ||
74 | reg = <0x32>; | ||
75 | interrupt-parent = <&gpio0>; | ||
76 | interrupts = <3 IRQ_TYPE_LEVEL_LOW>; | ||
77 | }; | ||
78 | }; | ||
79 | |||
66 | &mdio { | 80 | &mdio { |
67 | status = "okay"; | 81 | status = "okay"; |
68 | 82 | ||