Prechádzať zdrojové kódy

powerpc/fsl: Removed reg property from 85xx/86xx soc node

Between the addition of the ecm/mcm law nodes and the fact that the
get_immrbase() has been using the range property of the SoC to determine
the base address of CCSR space we no longer need the reg property at
the soc node level.  It has been ill specified and varied between device
trees to cover either the {e,m}cm-law node, some odd subset of CCSR
space or all of CCSR space.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala 16 rokov pred
rodič
commit
b1b6802586

+ 0 - 1
arch/powerpc/boot/dts/gef_ppc9a.dts

@@ -164,7 +164,6 @@
 		device_type = "soc";
 		compatible = "fsl,mpc8641-soc", "simple-bus";
 		ranges = <0x0 0xfef00000 0x00100000>;
-		reg = <0xfef00000 0x100000>;	// CCSRBAR 1M
 		bus-frequency = <33333333>;
 
 		mcm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/gef_sbc310.dts

@@ -163,7 +163,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x0 0xfef00000 0x00100000>;
-		reg = <0xfef00000 0x100000>;	// CCSRBAR 1M
 		bus-frequency = <33333333>;
 
 		mcm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/gef_sbc610.dts

@@ -128,7 +128,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x0 0xfef00000 0x00100000>;
-		reg = <0xfef00000 0x100000>;	// CCSRBAR 1M
 		bus-frequency = <33333333>;
 
 		mcm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8536ds.dts

@@ -51,7 +51,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x0 0xffe00000 0x100000>;
-		reg = <0xffe00000 0x1000>;
 		bus-frequency = <0>;		// Filled out by uboot.
 
 		ecm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8540ads.dts

@@ -55,7 +55,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x0 0xe0000000 0x100000>;
-		reg = <0xe0000000 0x100000>;	// CCSRBAR 1M
 		bus-frequency = <0>;
 
 		ecm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8541cds.dts

@@ -55,7 +55,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x0 0xe0000000 0x100000>;
-		reg = <0xe0000000 0x1000>;	// CCSRBAR 1M
 		bus-frequency = <0>;
 
 		ecm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8544ds.dts

@@ -57,7 +57,6 @@
 		compatible = "simple-bus";
 
 		ranges = <0x0 0xe0000000 0x100000>;
-		reg = <0xe0000000 0x1000>;	// CCSRBAR 1M
 		bus-frequency = <0>;		// Filled out by uboot.
 
 		ecm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8548cds.dts

@@ -60,7 +60,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x0 0xe0000000 0x100000>;
-		reg = <0xe0000000 0x1000>;	// CCSRBAR
 		bus-frequency = <0>;
 
 		ecm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8555cds.dts

@@ -55,7 +55,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x0 0xe0000000 0x100000>;
-		reg = <0xe0000000 0x1000>;	// CCSRBAR 1M
 		bus-frequency = <0>;
 
 		ecm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8560ads.dts

@@ -55,7 +55,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x0 0xe0000000 0x100000>;
-		reg = <0xe0000000 0x200>;
 		bus-frequency = <330000000>;
 
 		ecm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8568mds.dts

@@ -62,7 +62,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x0 0xe0000000 0x100000>;
-		reg = <0xe0000000 0x1000>;
 		bus-frequency = <0>;
 
 		ecm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8569mds.dts

@@ -94,7 +94,6 @@
 		device_type = "soc";
 		compatible = "fsl,mpc8569-immr", "simple-bus";
 		ranges = <0x0 0xe0000000 0x100000>;
-		reg = <0xe0000000 0x1000>;
 		bus-frequency = <0>;
 
 		ecm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8572ds.dts

@@ -182,7 +182,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x0 0 0xffe00000 0x100000>;
-		reg = <0 0xffe00000 0 0x1000>;	// CCSRBAR & soc regs, remove once parse code for immrbase fixed
 		bus-frequency = <0>;		// Filled out by uboot.
 
 		ecm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8572ds_36b.dts

@@ -182,7 +182,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x0 0xf 0xffe00000 0x100000>;
-		reg = <0xf 0xffe00000 0 0x1000>;	// CCSRBAR & soc regs, remove once parse code for immrbase fixed
 		bus-frequency = <0>;		// Filled out by uboot.
 
 		ecm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8572ds_camp_core0.dts

@@ -59,7 +59,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x0 0xffe00000 0x100000>;
-		reg = <0xffe00000 0x1000>;	// CCSRBAR & soc regs, remove once parse code for immrbase fixed
 		bus-frequency = <0>;		// Filled out by uboot.
 
 		ecm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8572ds_camp_core1.dts

@@ -58,7 +58,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x0 0xffe00000 0x100000>;
-		reg = <0xffe00000 0x1000>;	// CCSRBAR & soc regs, remove once parse code for immrbase fixed
 		bus-frequency = <0>;		// Filled out by uboot.
 
 		L2: l2-cache-controller@20000 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8610_hpcd.dts

@@ -112,7 +112,6 @@
 		device_type = "soc";
 		compatible = "fsl,mpc8610-immr", "simple-bus";
 		ranges = <0x0 0xe0000000 0x00100000>;
-		reg = <0xe0000000 0x1000>;
 		bus-frequency = <0>;
 
 		mcm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8641_hpcn.dts

@@ -114,7 +114,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x00000000 0xffe00000 0x00100000>;
-		reg = <0xffe00000 0x00001000>;	// CCSRBAR
 		bus-frequency = <0>;
 
 		mcm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/mpc8641_hpcn_36b.dts

@@ -107,7 +107,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x00000000 0x0f 0xffe00000 0x00100000>;
-		reg = <0x0f 0xffe00000 0x0 0x00001000>;	// CCSRBAR
 		bus-frequency = <0>;
 
 		mcm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/sbc8548.dts

@@ -151,7 +151,6 @@
 		#size-cells = <1>;
 		device_type = "soc";
 		ranges = <0x00000000 0xe0000000 0x00100000>;
-		reg = <0xe0000000 0x00001000>;	// CCSRBAR
 		bus-frequency = <0>;
 		compatible = "simple-bus";
 

+ 0 - 1
arch/powerpc/boot/dts/sbc8560.dts

@@ -57,7 +57,6 @@
 		#size-cells = <1>;
 		device_type = "soc";
 		ranges = <0x0 0xff700000 0x00100000>;
-		reg = <0xff700000 0x00100000>;
 		clock-frequency = <0>;
 
 		ecm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/sbc8641d.dts

@@ -126,7 +126,6 @@
 		device_type = "soc";
 		compatible = "simple-bus";
 		ranges = <0x00000000 0xf8000000 0x00100000>;
-		reg = <0xf8000000 0x00001000>;	// CCSRBAR
 		bus-frequency = <0>;
 
 		mcm-law@0 {

+ 0 - 1
arch/powerpc/boot/dts/socrates.dts

@@ -55,7 +55,6 @@
 		device_type = "soc";
 
 		ranges = <0x00000000 0xe0000000 0x00100000>;
-		reg = <0xe0000000 0x00001000>;	// CCSRBAR 1M
 		bus-frequency = <0>;		// Filled in by U-Boot
 		compatible = "fsl,mpc8544-immr", "simple-bus";
 

+ 0 - 1
arch/powerpc/boot/dts/stx_gp3_8560.dts

@@ -52,7 +52,6 @@
 		#size-cells = <1>;
 		device_type = "soc";
 		ranges = <0 0xfdf00000 0x100000>;
-		reg = <0xfdf00000 0x1000>;
 		bus-frequency = <0>;
 		compatible = "fsl,mpc8560-immr", "simple-bus";
 

+ 0 - 1
arch/powerpc/boot/dts/tqm8540.dts

@@ -54,7 +54,6 @@
 		#size-cells = <1>;
 		device_type = "soc";
 		ranges = <0x0 0xe0000000 0x100000>;
-		reg = <0xe0000000 0x200>;
 		bus-frequency = <0>;
 		compatible = "fsl,mpc8540-immr", "simple-bus";
 

+ 0 - 1
arch/powerpc/boot/dts/tqm8541.dts

@@ -53,7 +53,6 @@
 		#size-cells = <1>;
 		device_type = "soc";
 		ranges = <0x0 0xe0000000 0x100000>;
-		reg = <0xe0000000 0x200>;
 		bus-frequency = <0>;
 		compatible = "fsl,mpc8541-immr", "simple-bus";
 

+ 0 - 1
arch/powerpc/boot/dts/tqm8548-bigflash.dts

@@ -55,7 +55,6 @@
 		#size-cells = <1>;
 		device_type = "soc";
 		ranges = <0x0 0xa0000000 0x100000>;
-		reg = <0xa0000000 0x1000>;	// CCSRBAR
 		bus-frequency = <0>;
 		compatible = "fsl,mpc8548-immr", "simple-bus";
 

+ 0 - 1
arch/powerpc/boot/dts/tqm8548.dts

@@ -55,7 +55,6 @@
 		#size-cells = <1>;
 		device_type = "soc";
 		ranges = <0x0 0xe0000000 0x100000>;
-		reg = <0xe0000000 0x1000>;	// CCSRBAR
 		bus-frequency = <0>;
 		compatible = "fsl,mpc8548-immr", "simple-bus";
 

+ 0 - 1
arch/powerpc/boot/dts/tqm8555.dts

@@ -53,7 +53,6 @@
 		#size-cells = <1>;
 		device_type = "soc";
 		ranges = <0x0 0xe0000000 0x100000>;
-		reg = <0xe0000000 0x200>;
 		bus-frequency = <0>;
 		compatible = "fsl,mpc8555-immr", "simple-bus";
 

+ 0 - 1
arch/powerpc/boot/dts/tqm8560.dts

@@ -55,7 +55,6 @@
 		#size-cells = <1>;
 		device_type = "soc";
 		ranges = <0x0 0xe0000000 0x100000>;
-		reg = <0xe0000000 0x200>;
 		bus-frequency = <0>;
 		compatible = "fsl,mpc8560-immr", "simple-bus";