Home
last modified time | relevance | path

Searched +full:pinctrl +full:- +full:4 (Results 1 – 25 of 1018) sorted by relevance

12345678910>>...41

/Zephyr-latest/tests/drivers/spi/spi_controller_peripheral/boards/
Dek_ra8m1.overlay3 * SPDX-License-Identifier: Apache-2.0
6 &pinctrl {
19 psels = <RA_PSEL(RA_PSEL_SPI, 4, 10)>,
20 <RA_PSEL(RA_PSEL_SPI, 4, 11)>,
21 <RA_PSEL(RA_PSEL_SPI, 4, 12)>,
22 <RA_PSEL(RA_PSEL_SPI, 4, 13)>;
36 rx-dtc;
37 tx-dtc;
39 pinctrl-0 = <&spi0_default_alt>;
40 pinctrl-names = "default";
[all …]
/Zephyr-latest/dts/bindings/pinctrl/
Dti,cc13xx-cc26xx-pinctrl.yaml2 # SPDX-License-Identifier: Apache-2.0
11 The node has the 'pinctrl' node label set in your SoC's devicetree,
14 &pinctrl {
19 'pinctrl' node, as in the i2c0 example shown at the end.
24 - bias-disable: Disable pull-up/down.
25 - bias-pull-down: Enable pull-down resistor.
26 - bias-pull-up: Enable pull-up resistor.
27 - drive-open-drain: Output driver is open-drain.
28 - drive-open-drain: Output driver is open-source.
29 - drive-strength: Minimum current that can be sourced from the pin.
[all …]
Dpinctrl-device.yaml2 # SPDX-License-Identifier: Apache-2.0
6 controller states. The maximum number of supported states is 5 (pinctrl-0 ...
7 pinctrl-4) but it can be incremented if required.
13 pinctrl-0:
19 pinctrl-1:
22 Pin configuration/s for the second state. See pinctrl-0.
24 pinctrl-2:
27 Pin configuration/s for the third state. See pinctrl-0.
29 pinctrl-3:
32 Pin configuration/s for the fourth state. See pinctrl-0.
[all …]
Draspberrypi,pico-pinctrl.yaml3 # SPDX-License-Identifier: Apache-2.0
10 The node has the 'pinctrl' node label set in your SoC's devicetree,
13 &pinctrl {
18 'pinctrl' node, as shown in this example:
20 /* You can put this in places like a board-pinctrl.dtsi file in
24 /* include pre-defined combinations for the SoC variant used by the board */
25 #include <dt-bindings/pinctrl/rpi-pico-rp2040-pinctrl.h>
27 &pinctrl {
40 input-enable;
54 pins, such as the 'input-enable' property in group 2. Here is a list of
[all …]
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/boards/
Drzt2l_rsk.overlay3 * SPDX-License-Identifier: Apache-2.0
8 compatible = "test-gpio-basic-api";
9 out-gpios = <&gpio15 5 GPIO_ACTIVE_HIGH>;
10 in-gpios = <&gpio15 4 GPIO_ACTIVE_HIGH>;
14 &pinctrl {
17 pinmux = <RZT_PINMUX(PORT_15, 4, 4)>;
18 input-enable;
24 trigger-type = "falling";
25 pinctrl-0 = <&input_test>;
26 pinctrl-names = "default";
[all …]
/Zephyr-latest/dts/bindings/i2c/
Dite,common-i2c.yaml2 # SPDX-License-Identifier: Apache-2.0
6 include: [i2c-controller.yaml, pinctrl-device.yaml]
15 port-num:
19 - 0
20 - 1
21 - 2
22 - 3
23 - 4
24 - 5
30 4 = I2C_CHANNEL_E,
[all …]
/Zephyr-latest/tests/subsys/modem/backends/uart/boards/
Dnrf5340dk_nrf5340_cpuapp.overlay1 /* SPDX-License-Identifier: Apache-2.0 */
4 * Pins P0.4 and P0.5 must be connected to each other to loopback RX/TX.
7 &pinctrl {
10 psels = <NRF_PSEL(UART_TX, 0, 4)>,
17 psels = <NRF_PSEL(UART_TX, 0, 4)>,
19 low-power-enable;
25 compatible = "nordic,nrf-uarte";
26 current-speed = <115200>;
28 pinctrl-0 = <&uart1_default_alt>;
29 pinctrl-1 = <&uart1_sleep_alt>;
[all …]
/Zephyr-latest/drivers/pinctrl/
Dpinctrl_b91.c4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/drivers/pinctrl.h>
9 #include <zephyr/dt-bindings/pinctrl/b91-pinctrl.h>
17 * gpio_en: PORT_A[0-7]
18 * gpio_en + 1*8: PORT_B[0-7]
19 * gpio_en + 2*8: PORT_C[0-7]
20 * gpio_en + 3*8: PORT_D[0-7]
21 * gpio_en + 4*8: PORT_E[0-7]
22 * gpio_en + 5*8: PORT_F[0-7]
30 * pin_mux: PORT_A[0-3]
[all …]
/Zephyr-latest/boards/nordic/nrf9160dk/
Dnrf9160dk_nrf9160_common.dtsi2 * Copyright (c) 2018-2020 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
6 #include "nrf9160dk_nrf9160_common-pinctrl.dtsi"
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 compatible = "nordic,nrf9160-dk-nrf9160";
15 zephyr,shell-uart = &uart0;
16 zephyr,uart-mcumgr = &uart0;
20 compatible = "gpio-leds";
30 gpios = <&gpio0 4 0>;
35 label = "Green LED 4";
[all …]
/Zephyr-latest/boards/blues/swan_r5/
Dswan_r5.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/l4/stm32l4r5z(g-i)yx-pinctrl.dtsi>
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 compatible = "blues,swan-r5";
19 zephyr,shell-uart = &lpuart1;
25 compatible = "gpio-leds";
33 compatible = "gpio-keys";
43 dischrg-gpios = <&gpioe 6 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
46 supply-3v3 {
[all …]
/Zephyr-latest/boards/st/stm32u5a9j_dk/
Dstm32u5a9j_dk.dts2 * Copyright (c) 2023-2024 STMicroelectronics
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/u5/stm32u5a9njhxq-pinctrl.dtsi>
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 compatible = "st,stm32u5a9j-dk";
18 zephyr,shell-uart = &usart1;
21 zephyr,code-partition = &slot0_partition;
25 compatible = "gpio-leds";
37 compatible = "gpio-keys";
[all …]
/Zephyr-latest/soc/renesas/ra/common_fsp/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
13 #include <zephyr/dt-bindings/pinctrl/renesas/pinctrl-ra.h>
15 #define RA_PINCTRL_PORT_NUM ARRAY_SIZE(((R_PFS_Type *)0)->PORT)
16 #define RA_PINCTRL_PIN_NUM ARRAY_SIZE(((R_PFS_PORT_Type *)0)->PIN)
18 * @brief Type to hold a renesas ra pin's pinctrl configuration.
22 uint32_t port_num: 4;
24 uint32_t pin_num: 4;
42 .cfg = (DT_PROP(node_id, bias_pull_up) << 4) | \
62 #define RA_GET_PORT_NUM(pinctrl) (((pinctrl) >> RA_PORT_NUM_POS) & RA_PORT_NUM_MASK) argument
63 #define RA_GET_PIN_NUM(pinctrl) (((pinctrl) >> RA_PIN_NUM_POS) & RA_PIN_NUM_MASK) argument
[all …]
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/
Dxg24_rb4187c.overlay2 * SPDX-License-Identifier: Apache-2.0
7 #include <dt-bindings/pinctrl/silabs/xg24-pinctrl.h>
8 #include <dt-bindings/adc/silabs-adc.h>
12 io-channels = <&adc0 3>, <&adc0 4>;
16 &pinctrl {
20 silabs,analog-bus = <ABUS_BODD0_IADC0>;
26 pinctrl-0 = <&adc0_default>;
27 pinctrl-names = "default";
28 #address-cells = <1>;
29 #size-cells = <0>;
[all …]
/Zephyr-latest/tests/boards/nrf/dmm/boards/
Dnrf5340dk_nrf5340_cpuapp.overlay3 dut-cache = &spi1;
4 dut-nocache= &spi3;
8 &pinctrl {
20 low-power-enable;
27 <NRF_PSEL(SPIM_SCK, 0, 4)>;
34 <NRF_PSEL(SPIM_SCK, 0, 4)>;
35 low-power-enable;
42 compatible = "nordic,nrf-spim";
44 pinctrl-0 = <&spi1_default_alt>;
45 pinctrl-1 = <&spi1_sleep_alt>;
[all …]
/Zephyr-latest/boards/microchip/ev11l78a/
Dev11l78a.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
12 #include "ev11l78a-pinctrl.dtsi"
26 zephyr,shell-uart = &sercom1;
32 compatible = "gpio-leds";
40 compatible = "current-sense-amplifier";
41 io-channels = <&adc 5>;
42 sense-resistor-milli-ohms = <4>;
43 sense-gain-mult = <100>;
49 clock-frequency = <DT_FREQ_M(48)>;
[all …]
/Zephyr-latest/tests/drivers/uart/uart_async_api/boards/
Dnrf5340dk_nrf5340_cpuapp.overlay1 /* SPDX-License-Identifier: Apache-2.0 */
3 &pinctrl {
6 psels = <NRF_PSEL(UART_TX, 0, 4)>,
13 psels = <NRF_PSEL(UART_TX, 0, 4)>,
15 low-power-enable;
21 compatible = "nordic,nrf-uarte";
22 current-speed = <115200>;
24 pinctrl-0 = <&uart1_default_alt>;
25 pinctrl-1 = <&uart1_sleep_alt>;
26 pinctrl-names = "default", "sleep";
Dek_ra2a1.overlay3 * SPDX-License-Identifier: Apache-2.0
6 &pinctrl {
10 psels = <RA_PSEL(RA_PSEL_SCI_1, 4, 10)>,
11 <RA_PSEL(RA_PSEL_SCI_1, 4, 11)>;
17 pinctrl-0 = <&sci1_default>;
18 pinctrl-names = "default";
22 current-speed = <115200>;
Dnrf54h20dk_nrf54h20_common.dtsi1 /* SPDX-License-Identifier: Apache-2.0 */
3 &pinctrl {
10 bias-pull-up;
18 low-power-enable;
26 psels = <NRF_PSEL(UART_RX, 7, 4)>;
27 bias-pull-up;
34 <NRF_PSEL(UART_RX, 7, 4)>;
35 low-power-enable;
42 pinctrl-0 = <&uart137_default_alt>;
43 pinctrl-1 = <&uart137_sleep_alt>;
[all …]
/Zephyr-latest/tests/boards/nrf/i2c/i2c_slave/boards/
Dnrf5340dk_nrf5340_cpuapp.overlay3 i2c-slave = &i2c2;
7 &pinctrl {
10 psels = <NRF_PSEL(TWIM_SDA, 0, 4)>,
17 psels = <NRF_PSEL(TWIM_SDA, 0, 4)>,
19 low-power-enable;
26 * to configure pins for TWIS with pinctrl. */
29 bias-pull-up;
37 low-power-enable;
43 compatible = "nordic,nrf-twim";
45 pinctrl-0 = <&i2c1_default_alt>;
[all …]
Dnrf52840dk_nrf52840.overlay3 i2c-slave = &i2c1;
7 &pinctrl {
10 psels = <NRF_PSEL(TWIM_SDA, 0, 4)>,
17 psels = <NRF_PSEL(TWIM_SDA, 0, 4)>,
19 low-power-enable;
26 * to configure pins for TWIS with pinctrl. */
29 bias-pull-up;
37 low-power-enable;
43 compatible = "nordic,nrf-twim";
45 pinctrl-0 = <&i2c0_default_alt>;
[all …]
/Zephyr-latest/boards/renesas/ek_ra8m1/
Dek_ra8m1.dts2 * Copyright (c) 2024-2025 Renesas Electronics Corporation
3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <zephyr/dt-bindings/adc/adc.h>
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
12 #include "ek_ra8m1-pinctrl.dtsi"
15 model = "Renesas EK-RA8M1";
20 zephyr,flash-controller = &flash1;
23 zephyr,shell-uart = &uart9;
[all …]
/Zephyr-latest/boards/silabs/starter_kits/slstk3701a/
Dslstk3701a-pinctrl.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include <dt-bindings/pinctrl/gecko-pinctrl-s1.h>
9 &pinctrl {
10 /* configuration for usart0 device, default state - operating as UART */
22 psels = <GECKO_PSEL(UART_TX, H, 4)>,
24 <GECKO_LOC(UART_TX, 4)>,
25 <GECKO_LOC(UART_RX, 4)>;
33 <GECKO_LOC(I2C_SDA, 4)>,
34 <GECKO_LOC(I2C_SCL, 4)>;
40 psels = <GECKO_PSEL(I2C_SDA, C, 4)>,
[all …]
/Zephyr-latest/boards/atmel/sam/sam4e_xpro/
Dsam4e_xpro.dts2 * Copyright (c) 2019-2023 Gerson Fernando Budke
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "sam4e_xpro-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
18 i2c-0 = &twi0;
19 pwm-0 = &pwm0;
29 zephyr,shell-uart = &uart0;
35 compatible = "gpio-leds";
43 compatible = "gpio-keys";
[all …]
/Zephyr-latest/boards/raspberrypi/rpi_pico2/
Drpi_pico2.dtsi4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/i2c/i2c.h>
10 #include <zephyr/dt-bindings/pwm/pwm.h>
12 #include "rpi_pico2-pinctrl.dtsi"
13 #include "../common/rpi_pico-led.dtsi"
20 zephyr,shell-uart = &uart0;
21 zephyr,code-partition = &code_partition;
29 compatible = "raspberrypi,pico-header";
30 #gpio-cells = <2>;
31 gpio-map-mask = <0xffffffff 0xffffffc0>;
[all …]
/Zephyr-latest/boards/renesas/ek_ra4e2/
Dek_ra4e2.dts2 * Copyright (c) 2024-2025 Renesas Electronics Corporation
3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input-event-codes.h>
11 #include <zephyr/dt-bindings/adc/adc.h>
12 #include "ek_ra4e2-pinctrl.dtsi"
15 model = "Renesas EK-RA4E2";
20 zephyr,flash-controller = &flash1;
23 zephyr,shell-uart = &uart0;
[all …]

12345678910>>...41