Skip to content

Commit

Permalink
[POWERPC] Cleanup mpic nodes in .dts
Browse files Browse the repository at this point in the history
Removed clock-frequency, big-endian, and built-in props as they aren't
specified anywhere.  Also added compatible = "chrp,open-pic" in the
places it was missing.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Kumar Gala committed Jun 2, 2008
1 parent 59d13f9 commit acd4b71
Show file tree
Hide file tree
Showing 20 changed files with 8 additions and 29 deletions.
6 changes: 0 additions & 6 deletions Documentation/powerpc/booting-without-of.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1363,14 +1363,11 @@ platforms are moved over to use the flattened-device-tree model.

pic@40000 {
linux,phandle = <40000>;
clock-frequency = <0>;
interrupt-controller;
#address-cells = <0>;
reg = <40000 40000>;
built-in;
compatible = "chrp,open-pic";
device_type = "open-pic";
big-endian;
};


Expand Down Expand Up @@ -3663,14 +3660,11 @@ not necessary as they are usually the same as the root node.

pic@40000 {
linux,phandle = <40000>;
clock-frequency = <0>;
interrupt-controller;
#address-cells = <0>;
reg = <40000 40000>;
built-in;
compatible = "chrp,open-pic";
device_type = "open-pic";
big-endian;
};

i2c@3000 {
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/boot/dts/mpc7448hpc2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,12 @@
};

mpic: pic@7400 {
clock-frequency = <0>;
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
reg = <0x7400 0x400>;
compatible = "chrp,open-pic";
device_type = "open-pic";
big-endian;
};
pci@1000 {
compatible = "tsi108-pci";
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/boot/dts/mpc8540ads.dts
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,12 @@
interrupt-parent = <&mpic>;
};
mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
compatible = "chrp,open-pic";
device_type = "open-pic";
big-endian;
};
};

Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/boot/dts/mpc8541cds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,12 @@
};

mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
compatible = "chrp,open-pic";
device_type = "open-pic";
big-endian;
};

cpm@919c0 {
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/boot/dts/mpc8544ds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -210,14 +210,12 @@
};

mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
compatible = "chrp,open-pic";
device_type = "open-pic";
big-endian;
};

msi@41600 {
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/boot/dts/mpc8548cds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,12 @@
};

mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
compatible = "chrp,open-pic";
device_type = "open-pic";
big-endian;
};
};

Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/boot/dts/mpc8555cds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,12 @@
};

mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
compatible = "chrp,open-pic";
device_type = "open-pic";
big-endian;
};

cpm@919c0 {
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/mpc8560ads.dts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
#address-cells = <0>;
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
compatible = "chrp,open-pic";
device_type = "open-pic";
};

Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/boot/dts/mpc8568mds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,12 @@
};

mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
compatible = "chrp,open-pic";
device_type = "open-pic";
big-endian;
};

par_io@e0100 {
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/boot/dts/mpc8572ds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,12 @@
};

mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
compatible = "chrp,open-pic";
device_type = "open-pic";
big-endian;
};
};

Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/boot/dts/mpc8610_hpcd.dts
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,12 @@
};

mpic: interrupt-controller@40000 {
clock-frequency = <0>;
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
compatible = "chrp,open-pic";
device_type = "open-pic";
big-endian;
};

msi@41600 {
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/boot/dts/mpc8641_hpcn.dts
Original file line number Diff line number Diff line change
Expand Up @@ -239,14 +239,12 @@
};

mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
compatible = "chrp,open-pic";
device_type = "open-pic";
big-endian;
};

global-utilities@e0000 {
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/boot/dts/sbc8548.dts
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,10 @@
mpic: pic@40000 {
interrupt-controller;
#address-cells = <0>;
#size-cells = <0>;
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
compatible = "chrp,open-pic";
device_type = "open-pic";
big-endian;
};
};

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/sbc8560.dts
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@
mpic: pic@40000 {
interrupt-controller;
#address-cells = <0>;
#size-cells = <0>;
#interrupt-cells = <2>;
compatible = "chrp,open-pic";
reg = <0x40000 0x40000>;
device_type = "open-pic";
};
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/storcenter.dts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@

mpic: interrupt-controller@40000 {
#interrupt-cells = <2>;
#address-cells = <0>;
device_type = "open-pic";
compatible = "chrp,open-pic";
interrupt-controller;
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/stx_gp3_8560.dts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
#address-cells = <0>;
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
compatible = "chrp,open-pic";
device_type = "open-pic";
};

Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/tqm8540.dts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
device_type = "open-pic";
compatible = "chrp,open-pic";
};
};

Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/tqm8541.dts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
device_type = "open-pic";
compatible = "chrp,open-pic";
};

cpm@919c0 {
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/tqm8555.dts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
device_type = "open-pic";
compatible = "chrp,open-pic";
};

cpm@919c0 {
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/tqm8560.dts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
#interrupt-cells = <2>;
reg = <0x40000 0x40000>;
device_type = "open-pic";
compatible = "chrp,open-pic";
};

cpm@919c0 {
Expand Down

0 comments on commit acd4b71

Please sign in to comment.