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) Device tree bindings for GPMC connected OneNANDs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) GPMC connected OneNAND (found on OMAP boards) are represented as child nodes of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) the GPMC controller with a name of "onenand".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) All timing relevant properties as well as generic gpmc child properties are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) explained in a separate documents - please refer to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)  - compatible:		"ti,omap2-onenand"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)  - reg:			The CS line the peripheral is connected to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)  - gpmc,device-width:	Width of the ONENAND device connected to the GPMC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 			in bytes. Must be 1 or 2.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)  - int-gpios:		GPIO specifier for the INT pin.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) For inline partition table parsing (optional):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)  - #address-cells: should be set to 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)  - #size-cells: should be set to 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Example for an OMAP3430 board:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	gpmc: gpmc@6e000000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 		compatible = "ti,omap3430-gpmc";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 		ti,hwmods = "gpmc";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 		reg = <0x6e000000 0x1000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 		interrupts = <20>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 		gpmc,num-cs = <8>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 		gpmc,num-waitpins = <4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 		#address-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 		#size-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 		onenand@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 			compatible = "ti,omap2-onenand";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 			reg = <0 0 0>; /* CS0, offset 0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 			gpmc,device-width = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 			#address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 			#size-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 			/* partitions go here */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 	};