Commit acd4b715 authored by Kumar Gala's avatar Kumar Gala

[POWERPC] Cleanup mpic nodes in .dts

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: default avatarKumar Gala <galak@kernel.crashing.org>
parent 59d13f9d
...@@ -1363,14 +1363,11 @@ platforms are moved over to use the flattened-device-tree model. ...@@ -1363,14 +1363,11 @@ platforms are moved over to use the flattened-device-tree model.
pic@40000 { pic@40000 {
linux,phandle = <40000>; linux,phandle = <40000>;
clock-frequency = <0>;
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
reg = <40000 40000>; reg = <40000 40000>;
built-in;
compatible = "chrp,open-pic"; compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
big-endian;
}; };
...@@ -3663,14 +3660,11 @@ not necessary as they are usually the same as the root node. ...@@ -3663,14 +3660,11 @@ not necessary as they are usually the same as the root node.
pic@40000 { pic@40000 {
linux,phandle = <40000>; linux,phandle = <40000>;
clock-frequency = <0>;
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
reg = <40000 40000>; reg = <40000 40000>;
built-in;
compatible = "chrp,open-pic"; compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
big-endian;
}; };
i2c@3000 { i2c@3000 {
......
...@@ -124,14 +124,12 @@ serial@7c08 { ...@@ -124,14 +124,12 @@ serial@7c08 {
}; };
mpic: pic@7400 { mpic: pic@7400 {
clock-frequency = <0>;
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x7400 0x400>; reg = <0x7400 0x400>;
compatible = "chrp,open-pic"; compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
big-endian;
}; };
pci@1000 { pci@1000 {
compatible = "tsi108-pci"; compatible = "tsi108-pci";
......
...@@ -165,14 +165,12 @@ serial1: serial@4600 { ...@@ -165,14 +165,12 @@ serial1: serial@4600 {
interrupt-parent = <&mpic>; interrupt-parent = <&mpic>;
}; };
mpic: pic@40000 { mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
compatible = "chrp,open-pic"; compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
big-endian;
}; };
}; };
......
...@@ -148,14 +148,12 @@ serial1: serial@4600 { ...@@ -148,14 +148,12 @@ serial1: serial@4600 {
}; };
mpic: pic@40000 { mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
compatible = "chrp,open-pic"; compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
big-endian;
}; };
cpm@919c0 { cpm@919c0 {
......
...@@ -210,14 +210,12 @@ global-utilities@e0000 { //global utilities block ...@@ -210,14 +210,12 @@ global-utilities@e0000 { //global utilities block
}; };
mpic: pic@40000 { mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
compatible = "chrp,open-pic"; compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
big-endian;
}; };
msi@41600 { msi@41600 {
......
...@@ -208,14 +208,12 @@ global-utilities@e0000 { //global utilities reg ...@@ -208,14 +208,12 @@ global-utilities@e0000 { //global utilities reg
}; };
mpic: pic@40000 { mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
compatible = "chrp,open-pic"; compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
big-endian;
}; };
}; };
......
...@@ -148,14 +148,12 @@ serial1: serial@4600 { ...@@ -148,14 +148,12 @@ serial1: serial@4600 {
}; };
mpic: pic@40000 { mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
compatible = "chrp,open-pic"; compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
big-endian;
}; };
cpm@919c0 { cpm@919c0 {
......
...@@ -134,6 +134,7 @@ mpic: pic@40000 { ...@@ -134,6 +134,7 @@ mpic: pic@40000 {
#address-cells = <0>; #address-cells = <0>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
}; };
......
...@@ -202,14 +202,12 @@ crypto@30000 { ...@@ -202,14 +202,12 @@ crypto@30000 {
}; };
mpic: pic@40000 { mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
compatible = "chrp,open-pic"; compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
big-endian;
}; };
par_io@e0100 { par_io@e0100 {
......
...@@ -238,14 +238,12 @@ msi@41600 { ...@@ -238,14 +238,12 @@ msi@41600 {
}; };
mpic: pic@40000 { mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
compatible = "chrp,open-pic"; compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
big-endian;
}; };
}; };
......
...@@ -172,14 +172,12 @@ display@2c000 { ...@@ -172,14 +172,12 @@ display@2c000 {
}; };
mpic: interrupt-controller@40000 { mpic: interrupt-controller@40000 {
clock-frequency = <0>;
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
compatible = "chrp,open-pic"; compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
big-endian;
}; };
msi@41600 { msi@41600 {
......
...@@ -239,14 +239,12 @@ serial1: serial@4600 { ...@@ -239,14 +239,12 @@ serial1: serial@4600 {
}; };
mpic: pic@40000 { mpic: pic@40000 {
clock-frequency = <0>;
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
compatible = "chrp,open-pic"; compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
big-endian;
}; };
global-utilities@e0000 { global-utilities@e0000 {
......
...@@ -265,12 +265,10 @@ global-utilities@e0000 { //global utilities reg ...@@ -265,12 +265,10 @@ global-utilities@e0000 { //global utilities reg
mpic: pic@40000 { mpic: pic@40000 {
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
#size-cells = <0>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
compatible = "chrp,open-pic"; compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
big-endian;
}; };
}; };
......
...@@ -155,8 +155,8 @@ enet1: ethernet@25000 { ...@@ -155,8 +155,8 @@ enet1: ethernet@25000 {
mpic: pic@40000 { mpic: pic@40000 {
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
#size-cells = <0>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
compatible = "chrp,open-pic";
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
device_type = "open-pic"; device_type = "open-pic";
}; };
......
...@@ -95,6 +95,7 @@ serial1: serial@4600 { ...@@ -95,6 +95,7 @@ serial1: serial@4600 {
mpic: interrupt-controller@40000 { mpic: interrupt-controller@40000 {
#interrupt-cells = <2>; #interrupt-cells = <2>;
#address-cells = <0>;
device_type = "open-pic"; device_type = "open-pic";
compatible = "chrp,open-pic"; compatible = "chrp,open-pic";
interrupt-controller; interrupt-controller;
......
...@@ -131,6 +131,7 @@ mpic: pic@40000 { ...@@ -131,6 +131,7 @@ mpic: pic@40000 {
#address-cells = <0>; #address-cells = <0>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
compatible = "chrp,open-pic";
device_type = "open-pic"; device_type = "open-pic";
}; };
......
...@@ -177,6 +177,7 @@ mpic: pic@40000 { ...@@ -177,6 +177,7 @@ mpic: pic@40000 {
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
device_type = "open-pic"; device_type = "open-pic";
compatible = "chrp,open-pic";
}; };
}; };
......
...@@ -164,6 +164,7 @@ mpic: pic@40000 { ...@@ -164,6 +164,7 @@ mpic: pic@40000 {
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
device_type = "open-pic"; device_type = "open-pic";
compatible = "chrp,open-pic";
}; };
cpm@919c0 { cpm@919c0 {
......
...@@ -164,6 +164,7 @@ mpic: pic@40000 { ...@@ -164,6 +164,7 @@ mpic: pic@40000 {
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
device_type = "open-pic"; device_type = "open-pic";
compatible = "chrp,open-pic";
}; };
cpm@919c0 { cpm@919c0 {
......
...@@ -145,6 +145,7 @@ mpic: pic@40000 { ...@@ -145,6 +145,7 @@ mpic: pic@40000 {
#interrupt-cells = <2>; #interrupt-cells = <2>;
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
device_type = "open-pic"; device_type = "open-pic";
compatible = "chrp,open-pic";
}; };
cpm@919c0 { cpm@919c0 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment