lantiq: dts: drop superfluous unit address

The cpu temperature driver has the register offset hardcode and doesn't
need a reg.

The mdio bus node is only used as a well known name and doesn't need a
reg or unit address.

syscon-reboot doesn't have a unit address or a reg either. The unit name
collides with reset-controller@10 anyway.

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin 2019-01-27 13:21:06 +01:00
parent 4053dd3f82
commit fcac34d01d
20 changed files with 48 additions and 68 deletions

View File

@ -138,11 +138,10 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;

View File

@ -96,11 +96,10 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy11: ethernet-phy@11 { phy11: ethernet-phy@11 {
reg = <0x11>; reg = <0x11>;

View File

@ -158,11 +158,10 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;

View File

@ -104,11 +104,10 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy13: ethernet-phy@13 { phy13: ethernet-phy@13 {
reg = <0x13>; reg = <0x13>;

View File

@ -146,11 +146,10 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;

View File

@ -155,11 +155,10 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;

View File

@ -122,7 +122,6 @@
mdio-bus { mdio-bus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
reg = <0>;
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
reg = <0>; reg = <0>;

View File

@ -113,11 +113,10 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
reg = <0x00>; reg = <0x00>;

View File

@ -213,10 +213,9 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
reg = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
phy11: ethernet-phy@11 { phy11: ethernet-phy@11 {

View File

@ -153,11 +153,10 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;

View File

@ -140,11 +140,10 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;

View File

@ -80,11 +80,10 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy11: ethernet-phy@11 { phy11: ethernet-phy@11 {
reg = <0x11>; reg = <0x11>;

View File

@ -149,11 +149,10 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy1: ethernet-phy@1 { phy1: ethernet-phy@1 {
reg = <0x1>; reg = <0x1>;

View File

@ -170,11 +170,10 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;

View File

@ -58,11 +58,10 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;

View File

@ -190,11 +190,10 @@
}; };
}; };
mdio@0 { mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "lantiq,xrx200-mdio"; compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy11: ethernet-phy@11 { phy11: ethernet-phy@11 {
reg = <0x11>; reg = <0x11>;

View File

@ -23,6 +23,14 @@
}; };
}; };
reboot {
compatible = "syscon-reboot";
regmap = <&rcu0>;
offset = <0x10>;
mask = <0x40000000>;
};
biu@1f800000 { biu@1f800000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
@ -96,15 +104,6 @@
reset-names = "ctrl"; reset-names = "ctrl";
#phy-cells = <0>; #phy-cells = <0>;
}; };
reboot@10 {
compatible = "syscon-reboot";
reg = <0x10 4>;
regmap = <&rcu0>;
offset = <0x10>;
mask = <0x40000000>;
};
}; };
}; };

View File

@ -23,6 +23,14 @@
}; };
}; };
reboot {
compatible = "syscon-reboot";
regmap = <&rcu0>;
offset = <0x10>;
mask = <0x40000000>;
};
biu@1f800000 { biu@1f800000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
@ -108,15 +116,6 @@
reset-names = "ctrl"; reset-names = "ctrl";
#phy-cells = <0>; #phy-cells = <0>;
}; };
reboot@10 {
compatible = "syscon-reboot";
reg = <0x10 4>;
regmap = <&rcu0>;
offset = <0x10>;
mask = <0x40000000>;
};
}; };
}; };

View File

@ -23,6 +23,14 @@
}; };
}; };
reboot {
compatible = "syscon-reboot";
regmap = <&rcu0>;
offset = <0x10>;
mask = <0x40000000>;
};
biu@1f800000 { biu@1f800000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
@ -104,15 +112,6 @@
reset-names = "ctrl"; reset-names = "ctrl";
#phy-cells = <0>; #phy-cells = <0>;
}; };
reboot@10 {
compatible = "syscon-reboot";
reg = <0x10 4>;
regmap = <&rcu0>;
offset = <0x10>;
mask = <0x40000000>;
};
}; };
}; };

View File

@ -23,10 +23,18 @@
}; };
}; };
cputemp@0 { cputemp {
compatible = "lantiq,cputemp"; compatible = "lantiq,cputemp";
}; };
reboot {
compatible = "syscon-reboot";
regmap = <&rcu0>;
offset = <0x10>;
mask = <0xe0000000>;
};
biu@1f800000 { biu@1f800000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
@ -147,15 +155,6 @@
reset-names = "phy", "ctrl"; reset-names = "phy", "ctrl";
#phy-cells = <0>; #phy-cells = <0>;
}; };
reboot@10 {
compatible = "syscon-reboot";
reg = <0x10 4>;
regmap = <&rcu0>;
offset = <0x10>;
mask = <0xe0000000>;
};
}; };
}; };