Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
21 lines
456 B
Plaintext
21 lines
456 B
Plaintext
* TS-4800 FPGA's GPIO controller bindings
|
|
|
|
Required properties:
|
|
- compatible: Must be "technologic,ts4800-gpio".
|
|
- #gpio-cells: Should be two. The first cell is the pin number.
|
|
- reg: Physical base address of the controller and length
|
|
of memory mapped region.
|
|
|
|
Optional property:
|
|
- ngpios: See "gpio.txt"
|
|
|
|
Example:
|
|
|
|
gpio1: gpio {
|
|
compatible = "technologic,ts4800-gpio";
|
|
reg = <0x10020 0x6>;
|
|
ngpios = <8>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
};
|