Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d447dd88 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo
Browse files

ARM: dts: imx: Adjust CPU nodes



Make CPU nodes consistent throughout the i.MX dts files, which
also matches the description from ePAPR spec.

This also fixes the following W=1 warning in some cases:

Warning (unit_address_vs_reg): Node /cpus/cpu@0 has a unit name, but no reg property

Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 0c744ea4
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -43,8 +43,9 @@
		#size-cells = <0>;
		#size-cells = <0>;
		#address-cells = <1>;
		#address-cells = <1>;


		cpu: cpu@0 {
		cpu@0 {
			device_type = "cpu";
			device_type = "cpu";
			reg = <0>;
			compatible = "arm,arm920t";
			compatible = "arm,arm920t";
			operating-points = <200000 1900000>;
			operating-points = <200000 1900000>;
			clock-latency = <62500>;
			clock-latency = <62500>;
+3 −2
Original line number Original line Diff line number Diff line
@@ -29,12 +29,13 @@
	};
	};


	cpus {
	cpus {
		#address-cells = <0>;
		#address-cells = <1>;
		#size-cells = <0>;
		#size-cells = <0>;


		cpu {
		cpu@0 {
			compatible = "arm,arm926ej-s";
			compatible = "arm,arm926ej-s";
			device_type = "cpu";
			device_type = "cpu";
			reg = <0>;
		};
		};
	};
	};


+3 −2
Original line number Original line Diff line number Diff line
@@ -43,12 +43,13 @@
	};
	};


	cpus {
	cpus {
		#address-cells = <0>;
		#address-cells = <1>;
		#size-cells = <0>;
		#size-cells = <0>;


		cpu {
		cpu@0 {
			compatible = "arm,arm926ej-s";
			compatible = "arm,arm926ej-s";
			device_type = "cpu";
			device_type = "cpu";
			reg = <0>;
		};
		};
	};
	};


+1 −0
Original line number Original line Diff line number Diff line
@@ -65,6 +65,7 @@


		cpu: cpu@0 {
		cpu: cpu@0 {
			device_type = "cpu";
			device_type = "cpu";
			reg = <0>;
			compatible = "arm,arm926ej-s";
			compatible = "arm,arm926ej-s";
			operating-points = <
			operating-points = <
				/* kHz uV */
				/* kHz uV */
+3 −2
Original line number Original line Diff line number Diff line
@@ -40,12 +40,13 @@
	};
	};


	cpus {
	cpus {
		#address-cells = <0>;
		#address-cells = <1>;
		#size-cells = <0>;
		#size-cells = <0>;


		cpu {
		cpu@0 {
			compatible = "arm,arm926ej-s";
			compatible = "arm,arm926ej-s";
			device_type = "cpu";
			device_type = "cpu";
			reg = <0>;
		};
		};
	};
	};


Loading