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) OMAP GPIO controller bindings
^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:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)   - "ti,omap2-gpio" for OMAP2 controllers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)   - "ti,omap3-gpio" for OMAP3 controllers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)   - "ti,omap4-gpio" for OMAP4 controllers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) - reg : Physical base address of the controller and length of memory mapped
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)   region.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - gpio-controller : Marks the device node as a GPIO controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - #gpio-cells : Should be two.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)   - first cell is the pin number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)   - second cell is used to specify optional parameters (unused)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - interrupt-controller: Mark the device node as an interrupt controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - #interrupt-cells : Should be 2.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)   The first cell is the GPIO number.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)   The second cell is used to specify flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)     bits[3:0] trigger type and level flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)       1 = low-to-high edge triggered.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)       2 = high-to-low edge triggered.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)       4 = active high level-sensitive.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)       8 = active low level-sensitive.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) - interrupts : The interrupt the controller is rising as output when an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)   interrupt occures
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) OMAP specific properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) - ti,hwmods:		Name of the hwmod associated to the GPIO:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 			"gpio<X>", <X> being the 1-based instance number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 			from the HW spec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) - ti,gpio-always-on: 	Indicates if a GPIO bank is always powered and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 			so will never lose its logic state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) gpio0: gpio@44e07000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)     compatible = "ti,omap4-gpio";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)     reg = <0x44e07000 0x1000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)     ti,hwmods = "gpio1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)     gpio-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)     #gpio-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)     interrupt-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)     #interrupt-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)     interrupts = <96>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) };