Skip to content

Commit 1506fd3

Browse files
iabdalkaderfacchinm
authored andcommitted
boards: arduino: portenta_c33: Enable ESP Hosted.
Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
1 parent 7573c42 commit 1506fd3

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

boards/arduino/portenta_c33/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ if NETWORKING
1111
config NET_L2_ETHERNET
1212
default y
1313

14+
config WIFI_ESP_HOSTED
15+
default y
16+
1417
endif # NETWORKING
1518

1619
endif # BOARD_ARDUINO_PORTENTA_C33

boards/arduino/portenta_c33/arduino_portenta_c33.dts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,22 @@
130130
};
131131

132132
&spi1 {
133+
status = "okay";
133134
pinctrl-0 = <&spi1_default>;
134135
pinctrl-names = "default";
135-
status = "okay";
136+
clock-frequency = <5000000>;
137+
cs-gpios = <&ioport1 3 GPIO_ACTIVE_LOW>,
138+
<&ioport1 4 GPIO_ACTIVE_LOW>;
139+
140+
esp_hosted@1 {
141+
status = "ok";
142+
compatible = "espressif,esp-hosted";
143+
reg = <0x1>;
144+
spi-max-frequency = <5000000>;
145+
reset-gpios = <&ioport8 4 GPIO_ACTIVE_HIGH>;
146+
handshake-gpios = <&ioport8 6 GPIO_ACTIVE_HIGH>;
147+
dataready-gpios = <&ioport8 3 GPIO_ACTIVE_HIGH>;
148+
};
136149
};
137150

138151
&ioport0 {

0 commit comments

Comments
 (0)