/Zephyr-latest/dts/bindings/gpio/ |
D | renesas,ra-gpio.yaml | 14 port-irq0-pins: 16 description: Pins allow to assign port-irq0 18 port-irq1-pins: 20 description: Pins allow to assign port-irq1 22 port-irq2-pins: 24 description: Pins allow to assign port-irq2 26 port-irq3-pins: 28 description: Pins allow to assign port-irq3 30 port-irq4-pins: 32 description: Pins allow to assign port-irq4 [all …]
|
D | renesas,ra-gpio-ioport.yaml | 30 port-irq0-pins: 32 description: Pins allow to assign port-irq0 34 port-irq1-pins: 36 description: Pins allow to assign port-irq1 38 port-irq2-pins: 40 description: Pins allow to assign port-irq2 42 port-irq3-pins: 44 description: Pins allow to assign port-irq3 46 port-irq4-pins: 48 description: Pins allow to assign port-irq4 [all …]
|
D | xlnx,ps-gpio.yaml | 10 ZynqMP (UltraScale) SoCs. It interfaces both I/O pins of the SoC, 11 which can be mapped in the system design tools (MIO pins), or SoC- 13 logic part of the SoC (EMIO pins). 16 of available GPIO pins differs between the two SoC families: 19 * Bank 0: MIO pins [31:00] 20 * Bank 1: MIO pins [53:32] (total: 54 MIO pins) 21 * Bank 2: EMIO pins [31:00] 22 * Bank 3: EMIO pins [63:32] (total: 64 EMIO pins) 25 * Bank 0: MIO pins [25:00] 26 * Bank 1: MIO pins [51:26] [all …]
|
D | sparkfun,micromod-gpio.yaml | 5 GPIO pins exposed on micromod headers. 7 The micromod standard leverages the M.2 connector with 76 pins for 12 * An 6-pin Power Supply header. No pins on this header are exposed 14 * Reset, Boot pins and SWD pins not exposed by this binding. 15 * 2 UART buses. First with RTS and CTS pins, while the 2nd with only 16 RX and TX pins. Neither of them are exposed by this binding. 22 * 2 analog pins (A0 and A1). 23 * 2 digital pins (D0 and D1). 24 * 12 General purpose pins (G0 - G11).
|
D | particle-gen3-header.yaml | 5 GPIO pins exposed on Particle Gen3 (Feather) headers. 11 * A 12-pin header on the right. 9 pins on this header are exposed 13 * A 16-pin header. 13 pins on this header are exposed by this 16 This binding provides a nexus mapping for 22 pins where parent pins 17 0 through 8 correspond to the pins on the 12-pin header, starting 18 from the bottom; and pins 9 through 21 correspond to pins on the
|
/Zephyr-latest/tests/drivers/pinctrl/nrf/src/ |
D | main.c | 27 zassert_equal(NRF_GET_FUN(scfg->pins[0]), NRF_FUN_UART_TX); in ZTEST() 28 zassert_equal(NRF_GET_LP(scfg->pins[0]), NRF_LP_DISABLE); in ZTEST() 29 zassert_equal(NRF_GET_DRIVE(scfg->pins[0]), NRF_DRIVE_S0S1); in ZTEST() 30 zassert_equal(NRF_GET_PULL(scfg->pins[0]), NRF_PULL_NONE); in ZTEST() 31 zassert_equal(NRF_GET_PIN(scfg->pins[0]), 1U); in ZTEST() 33 zassert_equal(NRF_GET_FUN(scfg->pins[1]), NRF_FUN_UART_RTS); in ZTEST() 34 zassert_equal(NRF_GET_LP(scfg->pins[1]), NRF_LP_DISABLE); in ZTEST() 35 zassert_equal(NRF_GET_DRIVE(scfg->pins[1]), NRF_DRIVE_S0S1); in ZTEST() 36 zassert_equal(NRF_GET_PULL(scfg->pins[1]), NRF_PULL_NONE); in ZTEST() 37 zassert_equal(NRF_GET_PIN(scfg->pins[1]), 2U); in ZTEST() [all …]
|
/Zephyr-latest/drivers/pinctrl/ |
D | pinctrl_silabs_dbus.c | 15 int pinctrl_configure_pins(const pinctrl_soc_pin_t *pins, uint8_t pin_cnt, uintptr_t reg) in pinctrl_configure_pins() argument 23 GPIO_PinModeSet(pins[i].port, pins[i].pin, pins[i].mode, pins[i].dout); in pinctrl_configure_pins() 26 enable_reg = DT_INST_REG_ADDR(0) + (pins[i].base_offset * sizeof(mem_addr_t)); in pinctrl_configure_pins() 27 route_reg = enable_reg + (pins[i].route_offset * sizeof(mem_addr_t)); in pinctrl_configure_pins() 29 sys_write32(pins[i].port | FIELD_PREP(PIN_MASK, pins[i].pin), route_reg); in pinctrl_configure_pins() 31 if (pins[i].en_bit != 0xFFU) { in pinctrl_configure_pins() 32 sys_set_bit(enable_reg, pins[i].en_bit); in pinctrl_configure_pins()
|
D | pinctrl_wch_afio.c | 18 int pinctrl_configure_pins(const pinctrl_soc_pin_t *pins, uint8_t pin_cnt, uintptr_t reg) in pinctrl_configure_pins() argument 22 for (i = 0; i < pin_cnt; i++, pins++) { in pinctrl_configure_pins() 23 uint8_t port = (pins->config >> CH32V003_PINCTRL_PORT_SHIFT) & 0x03; in pinctrl_configure_pins() 24 uint8_t pin = (pins->config >> CH32V003_PINCTRL_PIN_SHIFT) & 0x0F; in pinctrl_configure_pins() 25 uint8_t bit0 = (pins->config >> CH32V003_PINCTRL_RM_BASE_SHIFT) & 0x1F; in pinctrl_configure_pins() 26 uint8_t remap = (pins->config >> CH32V003_PINCTRL_RM_SHIFT) & 0x3; in pinctrl_configure_pins() 35 if (pins->output_high || pins->output_low) { in pinctrl_configure_pins() 36 cfg |= (pins->slew_rate + 1); in pinctrl_configure_pins() 37 if (pins->drive_open_drain) { in pinctrl_configure_pins() 43 if (pins->bias_pull_up || pins->bias_pull_down) { in pinctrl_configure_pins() [all …]
|
D | pinctrl_imx.c | 11 int pinctrl_configure_pins(const pinctrl_soc_pin_t *pins, uint8_t pin_cnt, in pinctrl_configure_pins() argument 14 /* configure all pins */ in pinctrl_configure_pins() 16 uint32_t mux_register = pins[i].pinmux.mux_register; in pinctrl_configure_pins() 17 uint32_t mux_mode = pins[i].pinmux.mux_mode; in pinctrl_configure_pins() 18 uint32_t input_register = pins[i].pinmux.input_register; in pinctrl_configure_pins() 19 uint32_t input_daisy = pins[i].pinmux.input_daisy; in pinctrl_configure_pins() 20 uint32_t config_register = pins[i].pinmux.config_register; in pinctrl_configure_pins() 21 uint32_t pin_ctrl_flags = pins[i].pin_ctrl_flags; in pinctrl_configure_pins() 24 (volatile uint32_t *)((uintptr_t)pins[i].pinmux.gpr_register); in pinctrl_configure_pins() 27 if (pins[i].pinmux.gpr_val) { in pinctrl_configure_pins() [all …]
|
/Zephyr-latest/dts/arm/renesas/ra/ra8/ |
D | r7fa8m1xh.dtsi | 280 port-irq6-pins = <0>; 281 port-irq7-pins = <1>; 282 port-irq8-pins = <2>; 283 port-irq9-pins = <4>; 284 port-irq10-pins = <5>; 285 port-irq11-pins = <6>; 286 port-irq12-pins = <8>; 287 port-irq13-pins = <9 15>; 288 port-irq14-pins = <10>; 296 port-irq0-pins = <5>; [all …]
|
D | r7fa8t1xh.dtsi | 262 port-irq6-pins = <0>; 263 port-irq7-pins = <1>; 264 port-irq8-pins = <2>; 265 port-irq9-pins = <4>; 266 port-irq10-pins = <5>; 267 port-irq11-pins = <6>; 268 port-irq12-pins = <8>; 269 port-irq13-pins = <9 15>; 270 port-irq14-pins = <10>; 278 port-irq0-pins = <5>; [all …]
|
D | r7fa8d1xh.dtsi | 316 port-irq6-pins = <0>; 317 port-irq7-pins = <1>; 318 port-irq8-pins = <2>; 319 port-irq9-pins = <4>; 320 port-irq10-pins = <5>; 321 port-irq11-pins = <6>; 322 port-irq12-pins = <8>; 323 port-irq13-pins = <9 15>; 324 port-irq14-pins = <10>; 332 port-irq0-pins = <5>; [all …]
|
/Zephyr-latest/dts/arm/renesas/ra/ra6/ |
D | r7fa6m1ad3cfp.dtsi | 184 port-irq6-pins = <0>; 185 port-irq7-pins = <1>; 186 port-irq8-pins = <2>; 187 port-irq9-pins = <4>; 188 port-irq10-pins = <5>; 189 port-irq11-pins = <6>; 190 port-irq12-pins = <8>; 191 port-irq13-pins = <15>; 202 port-irq0-pins = <5>; 203 port-irq1-pins = <1 4>; [all …]
|
D | r7fa6m2ax.dtsi | 228 port-irq6-pins = <0>; 229 port-irq7-pins = <1>; 230 port-irq8-pins = <2>; 231 port-irq9-pins = <4>; 232 port-irq10-pins = <5>; 233 port-irq11-pins = <6>; 234 port-irq12-pins = <8>; 235 port-irq13-pins = <9 15>; 246 port-irq0-pins = <5>; 247 port-irq1-pins = <1 4>; [all …]
|
D | r7fa6m3ax.dtsi | 288 port-irq6-pins = <0>; 289 port-irq7-pins = <1>; 290 port-irq8-pins = <2>; 291 port-irq9-pins = <4>; 292 port-irq10-pins = <5>; 293 port-irq11-pins = <6>; 294 port-irq12-pins = <8>; 295 port-irq13-pins = <9 15>; 296 port-irq14-pins = <10>; 307 port-irq0-pins = <5>; [all …]
|
D | r7fa6e10x.dtsi | 258 port-irq6-pins = <0>; 259 port-irq7-pins = <1>; 260 port-irq8-pins = <2>; 261 port-irq9-pins = <4>; 262 port-irq10-pins = <5>; 263 port-irq11-pins = <6>; 264 port-irq12-pins = <8>; 265 port-irq13-pins = <15>; 276 port-irq0-pins = <5>; 277 port-irq1-pins = <1 4>; [all …]
|
D | r7fa6e2bx.dtsi | 239 port-irq6-pins = <0>; 240 port-irq7-pins = <1>; 241 port-irq8-pins = <2>; 242 port-irq9-pins = <4>; 243 port-irq10-pins = <5>; 244 port-irq11-pins = <6>; 245 port-irq12-pins = <8>; 246 port-irq13-pins = <15>; 257 port-irq0-pins = <5>; 258 port-irq1-pins = <1 4>; [all …]
|
D | r7fa6m5xh.dtsi | 461 port-irq6-pins = <0>; 462 port-irq7-pins = <1>; 463 port-irq8-pins = <2>; 464 port-irq9-pins = <4>; 465 port-irq10-pins = <5>; 466 port-irq11-pins = <6>; 467 port-irq12-pins = <8>; 468 port-irq13-pins = <9 15>; 469 port-irq14-pins = <10>; 480 port-irq0-pins = <5>; [all …]
|
/Zephyr-latest/tests/drivers/pinctrl/api/src/ |
D | main.c | 48 zassert_equal(TEST_GET_PIN(scfg->pins[0]), 0); in ZTEST() 49 zassert_equal(TEST_GET_PULL(scfg->pins[0]), TEST_PULL_UP); in ZTEST() 50 zassert_equal(TEST_GET_PIN(scfg->pins[1]), 1); in ZTEST() 51 zassert_equal(TEST_GET_PULL(scfg->pins[1]), TEST_PULL_DOWN); in ZTEST() 73 zassert_equal(TEST_GET_PIN(scfg->pins[0]), 10); in ZTEST() 74 zassert_equal(TEST_GET_PULL(scfg->pins[0]), TEST_PULL_DISABLE); in ZTEST() 75 zassert_equal(TEST_GET_PIN(scfg->pins[1]), 11); in ZTEST() 76 zassert_equal(TEST_GET_PULL(scfg->pins[1]), TEST_PULL_DISABLE); in ZTEST() 77 zassert_equal(TEST_GET_PIN(scfg->pins[2]), 12); in ZTEST() 78 zassert_equal(TEST_GET_PULL(scfg->pins[2]), TEST_PULL_DISABLE); in ZTEST() [all …]
|
/Zephyr-latest/dts/arm/renesas/ra/ra4/ |
D | r7fa4m3ax.dtsi | 291 port-irq6-pins = <0>; 292 port-irq7-pins = <1>; 293 port-irq8-pins = <2>; 294 port-irq9-pins = <4>; 295 port-irq10-pins = <5>; 296 port-irq11-pins = <6>; 297 port-irq12-pins = <8>; 298 port-irq13-pins = <9 15>; 309 port-irq0-pins = <5>; 310 port-irq1-pins = <1 4>; [all …]
|
D | r7fa4m2ax.dtsi | 280 port-irq6-pins = <0>; 281 port-irq7-pins = <1>; 282 port-irq8-pins = <2>; 283 port-irq9-pins = <4>; 284 port-irq10-pins = <5>; 285 port-irq11-pins = <6>; 286 port-irq12-pins = <8>; 287 port-irq13-pins = <15>; 298 port-irq0-pins = <5>; 299 port-irq1-pins = <1 4>; [all …]
|
D | r7fa4e2b93cfm.dtsi | 230 port-irq6-pins = <0>; 231 port-irq7-pins = <1>; 232 port-irq8-pins = <2>; 233 port-irq9-pins = <4>; 234 port-irq10-pins = <5>; 235 port-irq11-pins = <6>; 236 port-irq12-pins = <8>; 237 port-irq13-pins = <15>; 248 port-irq0-pins = <5>; 249 port-irq1-pins = <1 4>; [all …]
|
/Zephyr-latest/tests/drivers/pinctrl/api/ |
D | app.overlay | 14 pins = <0>; 18 pins = <1>; 26 pins = <0>, <1>; 33 pins = <2>; 37 pins = <3>; 45 pins = <2>, <3>; 52 pins = <10>, <11>, <12>; 59 pins = <10>; 62 pins = <11>; 66 pins = <12>;
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_sx1509b.c | 29 /* Number of pins supported by the device */ 32 /* Max to select all pins supported on the device. */ 38 /** Cache of the output configuration and data of the pins. */ 146 /* Intensity register addresses for all 16 pins */ 231 uint32_t pins) in sx1509_int_cb() argument 236 ARG_UNUSED(pins); in sx1509_int_cb() 244 struct sx1509b_pin_state *pins, bool data_first) in write_pin_state() argument 248 struct sx1509b_pin_state pins; in write_pin_state() member 253 pin_buf.pins.input_disable = sys_cpu_to_be16(pins->input_disable); in write_pin_state() 254 pin_buf.pins.long_slew = sys_cpu_to_be16(pins->long_slew); in write_pin_state() [all …]
|
/Zephyr-latest/dts/bindings/test/ |
D | vnd,pinctrl-test.yaml | 14 more groups, each defining the configuration for a set of pins. 19 pins sharing the same set of properties. Example: 25 /* configure pins 0 and 1 */ 26 pins = <0>, <1>; 27 /* both pins 0 and 1 have pull-up enabled */ 34 pins = <M>; 52 pins: 56 An array of pins sharing the same group properties. Each entry is a
|