(cc devicetree) On Mon, Mar 31, 2014 at 5:38 PM, Ulrich Hecht <ulrich.hecht@xxxxxxxxx> wrote: > This enables the Seiko real-time clock that is attached to a couple of > GPIO pins. > > Signed-off-by: Ulrich Hecht <ulrich.hecht@xxxxxxxxx> > --- > .../arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts > index b79ea51..ac352ef 100644 > --- a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts > +++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts > @@ -118,6 +118,16 @@ > }; > }; > > + i2c2: i2c@2 { > + #address-cells = <1>; > + #size-cells = <0>; > + compatible = "i2c-gpio"; > + gpios = <&pfc 208 GPIO_ACTIVE_HIGH /* sda */ > + &pfc 91 GPIO_ACTIVE_HIGH /* scl */ > + >; > + i2c-gpio,delay-us = <5>; > + }; > + > backlight { > compatible = "pwm-backlight"; > pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>; > @@ -178,6 +188,14 @@ > }; > }; > > +&i2c2 { > + status = "okay"; > + rtc@30 { > + compatible = "seiko,s35390a"; I think this should be "sii,s35390a", for Seiko Instruments Inc. > + reg = <0x30>; > + }; > +}; > + > &pfc { > pinctrl-0 = <&scifa1_pins>; > pinctrl-names = "default"; > -- > 1.8.4.5 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html