diff options
author | Fabrizio Castro <fabrizio.castro@bp.renesas.com> | 2017-08-22 20:22:46 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2017-09-19 11:19:41 +0200 |
commit | a7b8f48d2fa14330a1886f7fd640187c8b4470c5 (patch) | |
tree | 16583e3e0297bee2be681050cbbde0e0e11a01f1 /arch | |
parent | ARM: dts: iwg22m: Add eMMC support (diff) | |
download | linux-a7b8f48d2fa14330a1886f7fd640187c8b4470c5.tar.xz linux-a7b8f48d2fa14330a1886f7fd640187c8b4470c5.zip |
ARM: dts: iwg22m: Add RTC support
Add support for the bq32000 RTC to the iwg22m device tree.
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/r8a7745-iwg22m.dtsi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7745-iwg22m.dtsi b/arch/arm/boot/dts/r8a7745-iwg22m.dtsi index afb1148baa2f..e306e7c5b644 100644 --- a/arch/arm/boot/dts/r8a7745-iwg22m.dtsi +++ b/arch/arm/boot/dts/r8a7745-iwg22m.dtsi @@ -37,6 +37,11 @@ groups = "mmc_data8", "mmc_ctrl"; function = "mmc"; }; + + i2c3_pins: i2c3 { + groups = "i2c3_b"; + function = "i2c3"; + }; }; &mmcif0 { @@ -48,3 +53,16 @@ non-removable; status = "okay"; }; + +&i2c3 { + pinctrl-0 = <&i2c3_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; + + rtc@68 { + compatible = "ti,bq32000"; + reg = <0x68>; + }; +}; |