diff options
author | Dmitry Lifshitz <lifshitz@compulab.co.il> | 2015-12-01 21:03:16 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-12-03 19:20:14 +0300 |
commit | 6042f620ad777b9186e97fa37c8bf7bc89b0f4c0 (patch) | |
tree | ddbc742b24fc82c196a6e22045a9bbc5bf6e5fa7 /arch/arm/boot/dts/am57xx-sbc-am57x.dts | |
parent | ed7ce764ed8ec62fb4580aa74d412ce33c1d3b52 (diff) | |
download | linux-6042f620ad777b9186e97fa37c8bf7bc89b0f4c0.tar.xz |
ARM: dts: am57xx: sbc-am57x: add EEPROM support
On-board EEPROM chip is used for storing a board production info.
Add carrier board EEPROM support (over I2C5 bus).
Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am57xx-sbc-am57x.dts')
-rw-r--r-- | arch/arm/boot/dts/am57xx-sbc-am57x.dts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am57xx-sbc-am57x.dts b/arch/arm/boot/dts/am57xx-sbc-am57x.dts index 17a1972ba821..a3588ba6f0b3 100644 --- a/arch/arm/boot/dts/am57xx-sbc-am57x.dts +++ b/arch/arm/boot/dts/am57xx-sbc-am57x.dts @@ -43,6 +43,13 @@ DRA7XX_CORE_IOPAD(0x3680, PIN_INPUT_SLEW | MUX_MODE0) /* usb1_drvvbus */ >; }; + + i2c5_pins_default: i2c5_pins_default { + pinctrl-single,pins = < + DRA7XX_CORE_IOPAD(0x36b4, PIN_INPUT| MUX_MODE10) /* mcasp1_axr0.i2c5_sda */ + DRA7XX_CORE_IOPAD(0x36b8, PIN_INPUT| MUX_MODE10) /* mcasp1_axr1.i2c5_scl */ + >; + }; }; &uart3 { @@ -70,3 +77,16 @@ pinctrl-names = "default"; pinctrl-0 = <&usb1_pins>; }; + +&i2c5 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c5_pins_default>; + clock-frequency = <400000>; + + eeprom_base: atmel@50 { + compatible = "atmel,24c08"; + reg = <0x50>; + pagesize = <16>; + }; +}; |