sysmocom-odu: configure eeprom write-protect GPIO
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
This commit is contained in:
parent
d7c8571e2e
commit
0b3fd92ffb
|
@ -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>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue