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) * Oxford Semiconductor OXNAS NAND Controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) Please refer to nand-controller.yaml for generic information regarding MTD NAND bindings.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  - compatible: "oxsemi,ox820-nand"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  - reg: Base address and length for NAND mapped memory.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) Optional Properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)  - clocks: phandle to the NAND gate clock if needed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)  - resets: phandle to the NAND reset control if needed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) nandc: nand-controller@41000000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	compatible = "oxsemi,ox820-nand";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	reg = <0x41000000 0x100000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	clocks = <&stdclk CLK_820_NAND>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	resets = <&reset RESET_NAND>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	#address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	#size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	nand@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 		reg = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 		#address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 		#size-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 		nand-ecc-mode = "soft";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 		nand-ecc-algo = "hamming";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 		partition@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 			label = "boot";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 			reg = <0x00000000 0x00e00000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 			read-only;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 		partition@e00000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 			label = "ubi";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 			reg = <0x00e00000 0x07200000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 	};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) };