ramips: unify partition node names in dts files
Use partition@ as name for all partition nodes. Add a label where necessary. Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
		| @@ -20,19 +20,19 @@ | |||||||
| 		#address-cells = <1>; | 		#address-cells = <1>; | ||||||
| 		#size-cells = <1>; | 		#size-cells = <1>; | ||||||
|  |  | ||||||
| 		u-boot@0 { | 		partition@0 { | ||||||
| 			reg = <0x0 0x30000>; | 			reg = <0x0 0x30000>; | ||||||
| 			label = "u-boot"; | 			label = "u-boot"; | ||||||
| 			read-only; | 			read-only; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		factory: factory@30000 { | 		factory: partition@30000 { | ||||||
| 			reg = <0x30000 0x10000>; | 			reg = <0x30000 0x10000>; | ||||||
| 			label = "factory"; | 			label = "factory"; | ||||||
| 			read-only; | 			read-only; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		firmware@40000 { | 		partition@40000 { | ||||||
| 			reg = <0x40000 0x3c0000>; | 			reg = <0x40000 0x3c0000>; | ||||||
| 			label = "firmware"; | 			label = "firmware"; | ||||||
| 		}; | 		}; | ||||||
|   | |||||||
| @@ -20,24 +20,24 @@ | |||||||
| 		#address-cells = <1>; | 		#address-cells = <1>; | ||||||
| 		#size-cells = <1>; | 		#size-cells = <1>; | ||||||
|  |  | ||||||
| 		u-boot@0 { | 		partition@0 { | ||||||
| 			reg = <0x0 0x30000>; | 			reg = <0x0 0x30000>; | ||||||
| 			label = "u-boot"; | 			label = "u-boot"; | ||||||
| 			read-only; | 			read-only; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		u-boot-env@30000 { | 		partition@30000 { | ||||||
| 			reg = <0x30000 0x10000>; | 			reg = <0x30000 0x10000>; | ||||||
| 			label = "u-boot-env"; | 			label = "u-boot-env"; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		factory: factory@40000 { | 		factory: partition@40000 { | ||||||
| 			reg = <0x40000 0x10000>; | 			reg = <0x40000 0x10000>; | ||||||
| 			label = "factory"; | 			label = "factory"; | ||||||
| 			read-only; | 			read-only; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		firmware@50000 { | 		partition@50000 { | ||||||
| 			reg = <0x50000 0x3B0000>; | 			reg = <0x50000 0x3B0000>; | ||||||
| 			label = "firmware"; | 			label = "firmware"; | ||||||
| 		}; | 		}; | ||||||
|   | |||||||
| @@ -58,28 +58,33 @@ | |||||||
| 			#address-cells = <1>; | 			#address-cells = <1>; | ||||||
| 			#size-cells = <1>; | 			#size-cells = <1>; | ||||||
|  |  | ||||||
| 			u-boot@0 { | 			partition@0 { | ||||||
| 				reg = <0x0 0x30000>; | 				reg = <0x0 0x30000>; | ||||||
|  | 				label = "u-boot"; | ||||||
| 				read-only; | 				read-only; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			u-boot-env@30000 { | 			partition@30000 { | ||||||
| 				reg = <0x30000 0x10000>; | 				reg = <0x30000 0x10000>; | ||||||
|  | 				label = "u-boot-env"; | ||||||
| 				read-only; | 				read-only; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			factory: factory@40000 { | 			factory: partition@40000 { | ||||||
| 				reg = <0x40000 0x10000>; | 				reg = <0x40000 0x10000>; | ||||||
|  | 				label = "factory"; | ||||||
| 				read-only; | 				read-only; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			permanent_config@50000 { | 			partition@50000 { | ||||||
| 				reg = <0x50000 0x50000>; | 				reg = <0x50000 0x50000>; | ||||||
|  | 				label = "permanent_config"; | ||||||
| 				read-only; | 				read-only; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			firmware@a0000 { | 			partition@a0000 { | ||||||
| 				reg = <0xa0000 0x760000>; | 				reg = <0xa0000 0x760000>; | ||||||
|  | 				label = "firmware"; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Mathias Kresin
					Mathias Kresin