Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) * 74XX MMIO GPIO driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) - compatible: Should contain one of the following:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)    "ti,741g125": for 741G125 (1-bit Input),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)    "ti,741g174": for 741G74 (1-bit Output),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)    "ti,742g125": for 742G125 (2-bit Input),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)    "ti,7474"   : for 7474 (2-bit Output),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)    "ti,74125"  : for 74125 (4-bit Input),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)    "ti,74175"  : for 74175 (4-bit Output),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)    "ti,74365"  : for 74365 (6-bit Input),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)    "ti,74174"  : for 74174 (6-bit Output),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)    "ti,74244"  : for 74244 (8-bit Input),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)    "ti,74273"  : for 74273 (8-bit Output),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)    "ti,741624" : for 741624 (16-bit Input),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)    "ti,7416374": for 7416374 (16-bit Output).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) - reg: Physical base address and length where IC resides.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) - gpio-controller: Marks the device node as a gpio controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - #gpio-cells: Should be two. The first cell is the pin number and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)    the second cell is used to specify the GPIO polarity:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)     0 = Active High,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)     1 = Active Low.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	ctrl: gpio@30008004 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 		compatible = "ti,74174";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 		reg = <0x30008004 0x1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 		gpio-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 		#gpio-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	};