Files
servo2350/test_code/dts/bindings/cd74hc4067.yaml
T
Your Name 8d5af0b70c first
2026-05-24 19:56:38 +03:00

27 lines
713 B
YAML

description: |
GPIO-controlled 16-channel analog/digital multiplexer/demultiplexer.
The CD74HC4067 has 4 selection pins (S0-S3) that select one of 16 channels.
Supports optional common enable pin for power management.
compatible: "cd74hc4067"
include: base.yaml
properties:
sel-gpios:
type: phandle-array
required: true
description: |
GPIO pins for channel selection (S0-S3).
Array must contain exactly 4 GPIOs:
- Index 0: S0 (LSB)
- Index 1: S1
- Index 2: S2
- Index 3: S3 (MSB)
enable-gpios:
type: phandle-array
description: |
Optional GPIO for common enable pin (E).
When low, enables the multiplexer. When high, disables it.