1# Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or 2# an affiliate of Cypress Semiconductor Corporation 3# 4# SPDX-License-Identifier: Apache-2.0 5 6description: | 7 AIROC Wi-Fi Connectivity. 8 9 Example of enabling AIROC Wi-Fi device (for SDIO): 10 &sdhc0 { 11 status = "okay"; 12 13 /* SDIO pins */ 14 pinctrl-0 = <&p2_4_sdio_cmd &p2_5_sdio_clk &p2_0_sdio_data0 15 &p2_1_sdio_data1 &p2_2_sdio_data2 &p2_3_sdio_data3>; 16 pinctrl-names = "default"; 17 18 /* Wifi configuration */ 19 airoc-wifi { 20 status = "okay"; 21 compatible = "infineon,airoc-wifi-sdio"; 22 23 /* Wi-Fi control gpios */ 24 wifi-reg-on-gpios = <&gpio_prt2 6 GPIO_ACTIVE_HIGH>; 25 wifi-host-wake-gpios = <&gpio_prt0 4 GPIO_ACTIVE_HIGH>; 26 }; 27 }; 28 29compatible: "infineon,airoc-wifi" 30 31include: [base.yaml, pinctrl-device.yaml] 32 33properties: 34 wifi-reg-on-gpios: 35 description: | 36 Power-up/down gpio to control the internal regulators used 37 by the WiFi section of AIROC Wi-Fi device. 38 type: phandle-array 39 40 wifi-host-wake-gpios: 41 description: | 42 Host wake-up gpio. Signal from the AIROC Wi-Fi device 43 to the host indicating that the device requires attention. 44 type: phandle-array 45 46 wifi-dev-wake-gpios: 47 description: | 48 WiFi device wake-up gpio. Signal from the host to the 49 AIROC Wi-Fi device indicating that the host requires attention. 50 type: phandle-array 51