ARM: shmobile: gose: add i2c2 bus to device tree
Subsystems (2)
PATCH v2 1/1 ARM: shmobile: gose: add i2c2 bus to device tree
Activate i2c2 bus in r8a7793/gose device tree.
Based on similar work for the r8a7791/koelsch by Wolfram Sang.
---
v2
* Update eprom compat strings to "renesas,r1ex24002", "atmel,24c02". The former needs to be documented once the desired mechanism for documenting eprom compat strings has been confirmed with the maintainer.
--- arch/arm/boot/dts/r8a7793-gose.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
arch/arm/boot/dts/r8a7793-gose.dts +19 -0
@@ -136,6 +136,11 @@ }; &pfc { + i2c2_pins: i2c2 { + renesas,groups = "i2c2"; + renesas,function = "i2c2"; + }; + scif0_pins: serial0 { renesas,groups = "scif0_data_d"; renesas,function = "scif0";
@@ -234,3 +239,17 @@ }; }; }; + +&i2c2 { + pinctrl-0 = <&i2c2_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <100000>; + + eeprom at 50 { + compatible = "renesas,r1ex24002", "atmel,24c02"; + reg = <0x50>; + pagesize = <16>; + }; +};
Signature · 1 line
2.1.4
PATCH v2 1/1 ARM: shmobile: gose: add i2c2 bus to device tree
Quoted 7 lines · Simon Horman
Activate i2c2 bus in r8a7793/gose device tree.
Based on similar work for the r8a7791/koelsch by Wolfram Sang.
Cc Wolfram Sang <[email protected]>Signed-off-by Simon Horman <[email protected]>
Quoted 4 lines
* Update eprom compat strings to "renesas,r1ex24002", "atmel,24c02". The former needs to be documented once the desired mechanism for documenting eprom compat strings has been confirmed with the maintainer.
I'll take care of this now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160106/e38b612e/attachment.sig>
PATCH v2 1/1 ARM: shmobile: gose: add i2c2 bus to device tree
Quoted 10 lines · Wolfram Sang
Quoted 7 lines · Simon Horman
Activate i2c2 bus in r8a7793/gose device tree.
Based on similar work for the r8a7791/koelsch by Wolfram Sang.
Cc Wolfram Sang <[email protected]>Signed-off-by Simon Horman <[email protected]>Acked-by Wolfram Sang <[email protected]>
Thanks, I have queued this up.