9
0
Fork 0

sysmocom-odu: configure eeprom write-protect GPIO

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
This commit is contained in:
Jan Luebbe 2015-07-02 17:00:40 +02:00 committed by Holger Hans Peter Freyther
parent 7a93eadb10
commit 1f07bf18ed
1 changed files with 10 additions and 1 deletions

View File

@ -108,13 +108,22 @@
};
};
&i2c0_pins {
pinctrl-single,pins = <
0x4c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a3.gpio1_19 */
0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */
0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
>;
};
&i2c0 {
eeprom_baseboard: 24c02@50 {
status = "okay";
compatible = "atmel,24c02";
pagesize = <8>;
reg = <0x50>;
wp-gpios = <&gpio1 19 0>;
#address-cells = <1>;
#size-cells = <1>;