boards: esp23: m5stack_core2: Fix i2c1 pin definitions
For GPIO pins above 31, one needs to use the `&gpio1` (or similar) definition, as zephyr seperates GPIOs into chunks of 32. Signed-off-by: Sophie 'Tyalie' Friedrich <dev@flowerpot.me>
This commit is contained in:
parent
70cb934959
commit
7857996e90
|
@ -167,8 +167,8 @@
|
|||
&i2c1 {
|
||||
status = "disabled";
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
sda-gpios = <&gpio0 32 GPIO_OPEN_DRAIN>;
|
||||
scl-gpios = <&gpio0 33 GPIO_OPEN_DRAIN>;
|
||||
sda-gpios = <&gpio1 0 GPIO_OPEN_DRAIN>;
|
||||
scl-gpios = <&gpio1 1 GPIO_OPEN_DRAIN>;
|
||||
pinctrl-0 = <&i2c1_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue