/Zephyr-Core-3.7.0/soc/atmel/sam/common/ |
D | soc_sam4l_gpio.c | 14 static void configure_common_attr(volatile Gpio *gpio, in configure_common_attr() argument 20 gpio->IERC = mask; in configure_common_attr() 24 gpio->PUERS = mask; in configure_common_attr() 26 gpio->PUERC = mask; in configure_common_attr() 31 gpio->PDERS = mask; in configure_common_attr() 33 gpio->PDERC = mask; in configure_common_attr() 38 gpio->ODMERS = mask; in configure_common_attr() 40 gpio->ODMERC = mask; in configure_common_attr() 44 static void configure_input_attr(volatile Gpio *gpio, in configure_input_attr() argument 52 gpio->GFERC = mask; in configure_input_attr() [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/gpio/gpio_reserved_ranges/boards/ |
D | native_posix.overlay | 9 compatible = "test-gpio-reserved-ranges"; 14 test_gpio_1: gpio@deadbeef { 15 compatible = "vnd,gpio-device"; 16 gpio-controller; 18 #gpio-cells = < 0x2 >; 21 gpio-reserved-ranges = <0 4>, <5 3>, <9 5>, <11 2>, 26 test_gpio_2: gpio@abcd1234 { 27 compatible = "vnd,gpio-device"; 28 gpio-controller; 30 #gpio-cells = < 0x2 >; [all …]
|
/Zephyr-Core-3.7.0/dts/x86/intel/ |
D | gpio_common.dtsi | 9 #include <zephyr/dt-bindings/gpio/gpio.h> 14 compatible = "intel,gpio"; 17 gpio-controller; 18 #gpio-cells = <2>; 23 compatible = "intel,gpio"; 26 gpio-controller; 27 #gpio-cells = <2>; 32 compatible = "intel,gpio"; 35 gpio-controller; 36 #gpio-cells = <2>; [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/build_all/gpio/ |
D | app.overlay | 18 test_gpio: gpio@deadbeef { 19 compatible = "vnd,gpio"; 20 gpio-controller; 22 #gpio-cells = <0x2>; 26 test_gpio_dw: gpio@c0ffee { 27 compatible = "snps,designware-gpio"; 28 gpio-controller; 30 #gpio-cells = <0x2>; 45 #gpio-cells = <2>; 47 gpio-controller; [all …]
|
/Zephyr-Core-3.7.0/drivers/gpio/ |
D | Kconfig | 14 module-str = gpio 30 This command provides a shell user extra information about gpio 98 source "drivers/gpio/Kconfig.ad559x" 99 source "drivers/gpio/Kconfig.adp5585" 100 source "drivers/gpio/Kconfig.ads114s0x" 101 source "drivers/gpio/Kconfig.altera" 102 source "drivers/gpio/Kconfig.ambiq" 103 source "drivers/gpio/Kconfig.andes_atcgpio100" 104 source "drivers/gpio/Kconfig.axp192" 105 source "drivers/gpio/Kconfig.b91" [all …]
|
D | gpio_sam4l.c | 45 Gpio * const gpio = cfg->regs; in gpio_sam_port_configure() local 53 gpio->IERC = mask; in gpio_sam_port_configure() 54 gpio->PUERC = mask; in gpio_sam_port_configure() 55 gpio->PDERC = mask; in gpio_sam_port_configure() 56 gpio->GPERS = mask; in gpio_sam_port_configure() 57 gpio->ODERC = mask; in gpio_sam_port_configure() 58 gpio->STERC = mask; in gpio_sam_port_configure() 67 gpio->STERS = mask; in gpio_sam_port_configure() 71 gpio->OVRS = mask; in gpio_sam_port_configure() 74 gpio->OVRC = mask; in gpio_sam_port_configure() [all …]
|
D | gpio_mchp_mss.c | 74 volatile struct mss_gpio_t *gpio = DEV_GPIO(dev); in mss_gpio_config() local 84 gpio->gpio_cfg[pin] |= MSS_GPIO_OUTPUT_MODE; in mss_gpio_config() 87 gpio->gpio_out |= BIT(pin); in mss_gpio_config() 90 gpio->gpio_out &= ~BIT(pin); in mss_gpio_config() 95 gpio->gpio_cfg[pin] |= MSS_GPIO_INPUT_MODE; in mss_gpio_config() 107 volatile struct mss_gpio_t *gpio = DEV_GPIO(dev); in mss_gpio_port_toggle_bits() local 109 gpio->gpio_out ^= mask; in mss_gpio_port_toggle_bits() 117 volatile struct mss_gpio_t *gpio = DEV_GPIO(dev); in mss_gpio_port_get_raw() local 119 *value = gpio->gpio_in; in mss_gpio_port_get_raw() 128 volatile struct mss_gpio_t *gpio = DEV_GPIO(dev); in mss_gpio_port_set_masked_raw() local [all …]
|
D | gpio_sifive.c | 104 volatile struct gpio_sifive_t *gpio = DEV_GPIO(dev); in gpio_sifive_irq_handler() local 124 gpio->rise_ip = BIT(pin); in gpio_sifive_irq_handler() 125 gpio->fall_ip = BIT(pin); in gpio_sifive_irq_handler() 126 gpio->high_ip = BIT(pin); in gpio_sifive_irq_handler() 127 gpio->low_ip = BIT(pin); in gpio_sifive_irq_handler() 146 volatile struct gpio_sifive_t *gpio = DEV_GPIO(dev); in gpio_sifive_config() local 159 WRITE_BIT(gpio->pue, pin, flags & GPIO_PULL_UP); in gpio_sifive_config() 165 gpio->out_val |= BIT(pin); in gpio_sifive_config() 168 gpio->out_val &= ~BIT(pin); in gpio_sifive_config() 172 WRITE_BIT(gpio->out_en, pin, flags & GPIO_OUTPUT); in gpio_sifive_config() [all …]
|
D | gpio_b91.c | 30 #define GET_PORT_NUM(gpio) ((uint8_t)(((uint32_t)gpio - DT_REG_ADDR(DT_NODELABEL(gpioa))) / \ argument 34 #define IS_PORT_C(gpio) ((uint32_t)gpio == DT_REG_ADDR(DT_NODELABEL(gpioc))) argument 37 #define IS_PORT_D(gpio) ((uint32_t)gpio == DT_REG_ADDR(DT_NODELABEL(gpiod))) argument 99 volatile struct gpio_b91_t *gpio = GET_GPIO(dev); in gpiob_b91_irq_en_set() local 102 BM_SET(gpio->irq_en, BIT(pin)); in gpiob_b91_irq_en_set() 104 BM_SET(reg_irq_risc0_en(GET_PORT_NUM(gpio)), BIT(pin)); in gpiob_b91_irq_en_set() 106 BM_SET(reg_irq_risc1_en(GET_PORT_NUM(gpio)), BIT(pin)); in gpiob_b91_irq_en_set() 116 volatile struct gpio_b91_t *gpio = GET_GPIO(dev); in gpiob_b91_irq_en_clr() local 119 BM_CLR(gpio->irq_en, BIT(pin)); in gpiob_b91_irq_en_clr() 121 BM_CLR(reg_irq_risc0_en(GET_PORT_NUM(gpio)), BIT(pin)); in gpiob_b91_irq_en_clr() [all …]
|
/Zephyr-Core-3.7.0/dts/arm/infineon/cat1a/psoc6_04/ |
D | psoc6_04.dtsi | 66 gpio_prt0: gpio@40310000 { 67 compatible = "infineon,cat1-gpio"; 70 gpio-controller; 73 #gpio-cells = <2>; 75 gpio_prt1: gpio@40310080 { 76 compatible = "infineon,cat1-gpio"; 78 gpio-controller; 81 #gpio-cells = <2>; 83 gpio_prt2: gpio@40310100 { 84 compatible = "infineon,cat1-gpio"; [all …]
|
/Zephyr-Core-3.7.0/dts/arm/nuvoton/ |
D | m48x.dtsi | 9 #include <zephyr/dt-bindings/gpio/gpio.h> 48 gpioa: gpio@40004000 { 49 compatible = "nuvoton,numicro-gpio"; 53 gpio-controller; 54 #gpio-cells = <2>; 58 gpiob: gpio@40004040 { 59 compatible = "nuvoton,numicro-gpio"; 63 gpio-controller; 64 #gpio-cells = <2>; 68 gpioc: gpio@40004080 { [all …]
|
/Zephyr-Core-3.7.0/dts/arm/ti/ |
D | lm3s6965.dtsi | 74 gpio0: gpio@40004000 { 75 compatible = "ti,stellaris-gpio"; 78 gpio-controller; 79 #gpio-cells = <2>; 83 gpio1: gpio@40005000 { 84 compatible = "ti,stellaris-gpio"; 87 gpio-controller; 88 #gpio-cells = <2>; 92 gpio2: gpio@40006000 { 93 compatible = "ti,stellaris-gpio"; [all …]
|
/Zephyr-Core-3.7.0/dts/arm/infineon/cat1a/psoc6_03/ |
D | psoc6_03.dtsi | 66 gpio_prt0: gpio@40310000 { 67 compatible = "infineon,cat1-gpio"; 70 gpio-controller; 73 #gpio-cells = <2>; 75 gpio_prt2: gpio@40310100 { 76 compatible = "infineon,cat1-gpio"; 79 gpio-controller; 82 #gpio-cells = <2>; 84 gpio_prt3: gpio@40310180 { 85 compatible = "infineon,cat1-gpio"; [all …]
|
/Zephyr-Core-3.7.0/boards/snps/hsdk/doc/ |
D | index.rst | 35 | 2:0 | GPIO_SEL_0 | RW | 0x0* | GPIO mux select for gpio[3:0] | 37 | 5:3 | GPIO_SEL_1 | RW | 0x0* | GPIO mux select for gpio[7:4] | 39 | 8:6 | GPIO_SEL_2 | RW | 0x0* | GPIO mux select for gpio[11:8] | 41 | 11:9 | GPIO_SEL_3 | RW | 0x0* | GPIO mux select for gpio[15:12] | 43 | 14:12 | GPIO_SEL_4 | RW | 0x0* | GPIO mux select for gpio[17:16] | 45 | 17:15 | GPIO_SEL_5 | RW | 0x0* | GPIO mux select for gpio[19:18] | 47 | 20:18 | GPIO_SEL_6 | RW | 0x0* | GPIO mux select for gpio[21:20] | 49 | 23:21 | GPIO_SEL_7 | RW | 0x0* | GPIO mux select for gpio[23:22] | 55 | SEL0 | 0 | gpio[0] | uart0_cts | spi1_cs[0] | gpio[0] | gpio[0] | pwm_ch[6] | pwm_c… 57 | | 1 | gpio[1] | uart0_txd | spi1_mosi | gpio[1] | pwm_ch[0] | gpio[1] | pwm_c… [all …]
|
/Zephyr-Core-3.7.0/boards/snps/hsdk4xd/doc/ |
D | index.rst | 32 | 2:0 | GPIO_SEL_0 | RW | 0x0 | GPIO mux select for gpio[3:0] | 34 | 5:3 | GPIO_SEL_1 | RW | 0x0 | GPIO mux select for gpio[7:4] | 36 | 8:6 | GPIO_SEL_2 | RW | 0x0 | GPIO mux select for gpio[11:8] | 38 | 11:9 | GPIO_SEL_3 | RW | 0x0 | GPIO mux select for gpio[15:12] | 40 | 14:12 | GPIO_SEL_4 | RW | 0x0 | GPIO mux select for gpio[17:16] | 42 | 17:15 | GPIO_SEL_5 | RW | 0x0 | GPIO mux select for gpio[19:18] | 44 | 20:18 | GPIO_SEL_6 | RW | 0x0 | GPIO mux select for gpio[21:20] | 46 | 23:21 | GPIO_SEL_7 | RW | 0x0 | GPIO mux select for gpio[23:22] | 52 | SEL0 | 0 | gpio[0] | uart0_cts | spi1_cs[0] | gpio[0] | gpio[0] | pwm_ch[6] | pwm_c… 54 | | 1 | gpio[1] | uart0_txd | spi1_mosi | gpio[1] | pwm_ch[0] | gpio[1] | pwm_c… [all …]
|
/Zephyr-Core-3.7.0/dts/arm/renesas/ra/ra8/ |
D | ra8x1.dtsi | 52 ioport0: gpio@40400000 { 53 compatible = "renesas,ra8-gpio"; 56 gpio-controller; 57 #gpio-cells = <2>; 62 ioport1: gpio@40400020 { 63 compatible = "renesas,ra8-gpio"; 66 gpio-controller; 67 #gpio-cells = <2>; 72 ioport2: gpio@40400040 { 73 compatible = "renesas,ra8-gpio"; [all …]
|
/Zephyr-Core-3.7.0/dts/arm/infineon/cat1a/legacy/ |
D | psoc6.dtsi | 9 #include <zephyr/dt-bindings/gpio/gpio.h> 83 gpio_prt0: gpio@40320000 { 84 compatible = "cypress,psoc6-gpio"; 87 gpio-controller; 89 #gpio-cells = <2>; 93 gpio_prt1: gpio@40320080 { 94 compatible = "cypress,psoc6-gpio"; 97 gpio-controller; 99 #gpio-cells = <2>; 103 gpio_prt2: gpio@40320100 { [all …]
|
/Zephyr-Core-3.7.0/dts/arm/renesas/ra/ |
D | ra4-cm4-common.dtsi | 11 ioport6: gpio@400400c0 { 12 compatible = "renesas,ra-gpio"; 14 gpio-controller; 15 #gpio-cells = <2>; 20 ioport7: gpio@400400e0 { 21 compatible = "renesas,ra-gpio"; 23 gpio-controller; 24 #gpio-cells = <2>; 29 ioport8: gpio@40040100 { 30 compatible = "renesas,ra-gpio"; [all …]
|
/Zephyr-Core-3.7.0/dts/arm/infineon/cat3/xmc/ |
D | xmc4700_F144x2048.dtsi | 54 gpio-reserved-ranges = <10 2>; 59 gpio-reserved-ranges = <0 2>, <10 2>; 63 gpio3: gpio@48028300 { 64 compatible = "infineon,xmc4xxx-gpio"; 65 gpio-controller; 66 #gpio-cells = <2>; 72 gpio4: gpio@48028400 { 73 compatible = "infineon,xmc4xxx-gpio"; 74 gpio-controller; 75 #gpio-cells = <2>; [all …]
|
/Zephyr-Core-3.7.0/dts/arm/silabs/ |
D | efm32hg.dtsi | 4 #include <zephyr/dt-bindings/gpio/gpio.h> 79 gpio@40006100 { 80 compatible = "silabs,gecko-gpio"; 89 gpioa: gpio@40006000 { 90 compatible = "silabs,gecko-gpio-port"; 93 gpio-controller; 94 #gpio-cells = <2>; 98 gpiob: gpio@40006024 { 99 compatible = "silabs,gecko-gpio-port"; 102 gpio-controller; [all …]
|
D | efm32_jg_pg_12b.dtsi | 11 #include <zephyr/dt-bindings/gpio/gpio.h> 121 gpio: gpio@4000a400 { label 122 compatible = "silabs,gecko-gpio"; 131 gpioa: gpio@4000a000 { 132 compatible = "silabs,gecko-gpio-port"; 135 gpio-controller; 136 #gpio-cells = <2>; 140 gpiob: gpio@4000a030 { 141 compatible = "silabs,gecko-gpio-port"; 144 gpio-controller; [all …]
|
D | efr32mg.dtsi | 4 #include <zephyr/dt-bindings/gpio/gpio.h> 118 gpio: gpio@4000a400 { label 119 compatible = "silabs,gecko-gpio"; 128 gpioa: gpio@4000a000 { 129 compatible = "silabs,gecko-gpio-port"; 132 gpio-controller; 133 #gpio-cells = <2>; 137 gpiob: gpio@4000a030 { 138 compatible = "silabs,gecko-gpio-port"; 141 gpio-controller; [all …]
|
D | efr32fg1p.dtsi | 4 #include <zephyr/dt-bindings/gpio/gpio.h> 89 gpio: gpio@4000a400 { label 90 compatible = "silabs,gecko-gpio"; 99 gpioa: gpio@4000a000 { 100 compatible = "silabs,gecko-gpio-port"; 103 gpio-controller; 104 #gpio-cells = <2>; 108 gpiob: gpio@4000a030 { 109 compatible = "silabs,gecko-gpio-port"; 112 gpio-controller; [all …]
|
/Zephyr-Core-3.7.0/dts/arm/nxp/ |
D | nxp_ke1xz.dtsi | 11 #include <zephyr/dt-bindings/gpio/gpio.h> 172 compatible = "nxp,gpio-cluster"; 179 gpioa: gpio@400ff000 { 180 compatible = "nxp,kinetis-gpio"; 183 gpio-controller; 184 #gpio-cells = <2>; 188 gpioe: gpio@400ff100 { 189 compatible = "nxp,kinetis-gpio"; 192 gpio-controller; 193 #gpio-cells = <2>; [all …]
|
/Zephyr-Core-3.7.0/boards/arm/mps3/ |
D | mps3_an547-common.dtsi | 13 gpio0: gpio@1100000 { 14 compatible = "arm,cmsdk-gpio"; 17 gpio-controller; 18 #gpio-cells = <2>; 21 gpio1: gpio@1101000 { 22 compatible = "arm,cmsdk-gpio"; 25 gpio-controller; 26 #gpio-cells = <2>; 29 gpio2: gpio@1102000 { 30 compatible = "arm,cmsdk-gpio"; [all …]
|