boards: xiao_esp32s3: Fix connector definition
Previously the seed connector was defined incorrectly and as such D6 and D7 weren't usable as i.e. inputs. Zephyr distinguishes GPIO pins in blocks of 32, a distinction the ESP32 reference manual doesn't do. As such one needs to write `&gpio1 11` in order to access `GPIO43`. Signed-off-by: Sophie 'Tyalie' Friedrich <dev@flowerpot.me>
This commit is contained in:
parent
4737706794
commit
70cb934959
|
@ -16,8 +16,8 @@
|
||||||
<3 0 &gpio0 4 0>, /* D3 */
|
<3 0 &gpio0 4 0>, /* D3 */
|
||||||
<4 0 &gpio0 5 0>, /* D4 */
|
<4 0 &gpio0 5 0>, /* D4 */
|
||||||
<5 0 &gpio0 6 0>, /* D5 */
|
<5 0 &gpio0 6 0>, /* D5 */
|
||||||
<6 0 &gpio0 43 0>, /* D6 */
|
<6 0 &gpio1 11 0>, /* D6 */
|
||||||
<7 0 &gpio0 44 0>, /* D7 */
|
<7 0 &gpio1 12 0>, /* D7 */
|
||||||
<8 0 &gpio0 7 0>, /* D8 */
|
<8 0 &gpio0 7 0>, /* D8 */
|
||||||
<9 0 &gpio0 8 0>, /* D9 */
|
<9 0 &gpio0 8 0>, /* D9 */
|
||||||
<10 0 &gpio0 9 0>; /* D10 */
|
<10 0 &gpio0 9 0>; /* D10 */
|
||||||
|
|
|
@ -79,6 +79,10 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gpio1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&wdt0 {
|
&wdt0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue