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) Nomadik GPIO controller
^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 be "st,nomadik-gpio".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) - reg                   : Physical base address and length of the controller's registers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) - interrupts            : The interrupt outputs from the controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) - #gpio-cells           : Should be two:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)                             The first cell is the pin number.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)                             The second cell is used to specify optional parameters:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)                               - bits[3:0] trigger type and level flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)                                   1 = low-to-high edge triggered.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)                                   2 = high-to-low edge triggered.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)                                   4 = active high level-sensitive.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)                                   8 = active low level-sensitive.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - gpio-controller       : Marks the device node as a GPIO controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - interrupt-controller  : Marks the device node as an interrupt controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) - gpio-bank             : Specifies which bank a controller owns.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) - st,supports-sleepmode : Specifies whether controller can sleep or not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)                 gpio1: gpio@8012e080 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)                         compatible = "st,nomadik-gpio";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)                         reg =  <0x8012e080 0x80>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)                         interrupts = <0 120 0x4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)                         #gpio-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)                         gpio-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)                         interrupt-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)                         st,supports-sleepmode;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)                         gpio-bank = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)                 };