sysmocom-odu: configure eeprom write-protect GPIO
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
This commit is contained in:
parent
7a93eadb10
commit
1f07bf18ed
|
@ -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 {
|
&i2c0 {
|
||||||
eeprom_baseboard: 24c02@50 {
|
eeprom_baseboard: 24c02@50 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
compatible = "atmel,24c02";
|
compatible = "atmel,24c02";
|
||||||
pagesize = <8>;
|
pagesize = <8>;
|
||||||
reg = <0x50>;
|
reg = <0x50>;
|
||||||
|
wp-gpios = <&gpio1 19 0>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue