ramips: fix cpu related dtc warnings
We need a reg property if we are using a unit address. Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
		| @@ -4,8 +4,12 @@ | |||||||
| 	compatible = "ralink,mtk7620a-soc"; | 	compatible = "ralink,mtk7620a-soc"; | ||||||
|  |  | ||||||
| 	cpus { | 	cpus { | ||||||
|  | 		#address-cells = <1>; | ||||||
|  | 		#size-cells = <0>; | ||||||
|  |  | ||||||
| 		cpu@0 { | 		cpu@0 { | ||||||
| 			compatible = "mips,mips24KEc"; | 			compatible = "mips,mips24KEc"; | ||||||
|  | 			reg = <0>; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -4,8 +4,12 @@ | |||||||
| 	compatible = "ralink,mtk7620n-soc"; | 	compatible = "ralink,mtk7620n-soc"; | ||||||
|  |  | ||||||
| 	cpus { | 	cpus { | ||||||
|  | 		#address-cells = <1>; | ||||||
|  | 		#size-cells = <0>; | ||||||
|  |  | ||||||
| 		cpu@0 { | 		cpu@0 { | ||||||
| 			compatible = "mips,mips24KEc"; | 			compatible = "mips,mips24KEc"; | ||||||
|  | 			reg = <0>; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -12,13 +12,13 @@ | |||||||
| 		cpu@0 { | 		cpu@0 { | ||||||
| 			device_type = "cpu"; | 			device_type = "cpu"; | ||||||
| 			compatible = "mips,mips1004Kc"; | 			compatible = "mips,mips1004Kc"; | ||||||
| 			reg = <0x0>; | 			reg = <0>; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		cpu@1 { | 		cpu@1 { | ||||||
| 			device_type = "cpu"; | 			device_type = "cpu"; | ||||||
| 			compatible = "mips,mips1004Kc"; | 			compatible = "mips,mips1004Kc"; | ||||||
| 			reg = <0x1>; | 			reg = <1>; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -4,8 +4,12 @@ | |||||||
| 	compatible = "ralink,mtk7628an-soc"; | 	compatible = "ralink,mtk7628an-soc"; | ||||||
|  |  | ||||||
| 	cpus { | 	cpus { | ||||||
|  | 		#address-cells = <1>; | ||||||
|  | 		#size-cells = <0>; | ||||||
|  |  | ||||||
| 		cpu@0 { | 		cpu@0 { | ||||||
| 			compatible = "mips,mips24KEc"; | 			compatible = "mips,mips24KEc"; | ||||||
|  | 			reg = <0>; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -4,8 +4,12 @@ | |||||||
| 	compatible = "ralink,rt2880-soc"; | 	compatible = "ralink,rt2880-soc"; | ||||||
|  |  | ||||||
| 	cpus { | 	cpus { | ||||||
|  | 		#address-cells = <1>; | ||||||
|  | 		#size-cells = <0>; | ||||||
|  |  | ||||||
| 		cpu@0 { | 		cpu@0 { | ||||||
| 			compatible = "mips,mips24KEc"; | 			compatible = "mips,mips24KEc"; | ||||||
|  | 			reg = <0>; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -4,8 +4,12 @@ | |||||||
| 	compatible = "ralink,rt3050-soc", "ralink,rt3052-soc", "ralink,rt3350-soc"; | 	compatible = "ralink,rt3050-soc", "ralink,rt3052-soc", "ralink,rt3350-soc"; | ||||||
|  |  | ||||||
| 	cpus { | 	cpus { | ||||||
|  | 		#address-cells = <1>; | ||||||
|  | 		#size-cells = <0>; | ||||||
|  |  | ||||||
| 		cpu@0 { | 		cpu@0 { | ||||||
| 			compatible = "mips,mips24KEc"; | 			compatible = "mips,mips24KEc"; | ||||||
|  | 			reg = <0>; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -4,8 +4,12 @@ | |||||||
| 	compatible = "ralink,rt3352-soc"; | 	compatible = "ralink,rt3352-soc"; | ||||||
|  |  | ||||||
| 	cpus { | 	cpus { | ||||||
|  | 		#address-cells = <1>; | ||||||
|  | 		#size-cells = <0>; | ||||||
|  |  | ||||||
| 		cpu@0 { | 		cpu@0 { | ||||||
| 			compatible = "mips,mips24KEc"; | 			compatible = "mips,mips24KEc"; | ||||||
|  | 			reg = <0>; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -4,8 +4,12 @@ | |||||||
| 	compatible = "ralink,rt3883-soc"; | 	compatible = "ralink,rt3883-soc"; | ||||||
|  |  | ||||||
| 	cpus { | 	cpus { | ||||||
|  | 		#address-cells = <1>; | ||||||
|  | 		#size-cells = <0>; | ||||||
|  |  | ||||||
| 		cpu@0 { | 		cpu@0 { | ||||||
| 			compatible = "mips,mips74Kc"; | 			compatible = "mips,mips74Kc"; | ||||||
|  | 			reg = <0>; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -4,8 +4,12 @@ | |||||||
| 	compatible = "ralink,rt5350-soc"; | 	compatible = "ralink,rt5350-soc"; | ||||||
|  |  | ||||||
| 	cpus { | 	cpus { | ||||||
|  | 		#address-cells = <1>; | ||||||
|  | 		#size-cells = <0>; | ||||||
|  |  | ||||||
| 		cpu@0 { | 		cpu@0 { | ||||||
| 			compatible = "mips,mips24KEc"; | 			compatible = "mips,mips24KEc"; | ||||||
|  | 			reg = <0>; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Mathias Kresin
					Mathias Kresin