Skip to content

Commit

Permalink
ARM: imx: rename uart and fec device tree nodes
Browse files Browse the repository at this point in the history
It has been pointed out by device tree maintainer for several times
that the generic names 'serial' and 'ethernet' should be used for
those devices per ePAPR.  Renames imx uart and fec device tree nodes
to stop them being bad examples.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Shawn Guo committed May 11, 2012
1 parent 4592a96 commit 0c456cf
Show file tree
Hide file tree
Showing 15 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/net/fsl-fec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Optional properties:

Example:

fec@83fec000 {
ethernet@83fec000 {
compatible = "fsl,imx51-fec", "fsl,imx27-fec";
reg = <0x83fec000 0x4000>;
interrupts = <87>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Optional properties:

Example:

uart@73fbc000 {
serial@73fbc000 {
compatible = "fsl,imx51-uart", "fsl,imx21-uart";
reg = <0x73fbc000 0x4000>;
interrupts = <31>;
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/boot/dts/imx27-phytec-phycore.dts
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@
status = "okay";
};

uart@1000a000 {
serial@1000a000 {
fsl,uart-has-rtscts;
status = "okay";
};

uart@1000b000 {
serial@1000b000 {
fsl,uart-has-rtscts;
status = "okay";
};

uart@1000c000 {
serial@1000c000 {
fsl,uart-has-rtscts;
status = "okay";
};

fec@1002b000 {
ethernet@1002b000 {
status = "okay";
};

Expand Down
14 changes: 7 additions & 7 deletions arch/arm/boot/dts/imx27.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -59,28 +59,28 @@
status = "disabled";
};

uart1: uart@1000a000 {
uart1: serial@1000a000 {
compatible = "fsl,imx27-uart", "fsl,imx21-uart";
reg = <0x1000a000 0x1000>;
interrupts = <20>;
status = "disabled";
};

uart2: uart@1000b000 {
uart2: serial@1000b000 {
compatible = "fsl,imx27-uart", "fsl,imx21-uart";
reg = <0x1000b000 0x1000>;
interrupts = <19>;
status = "disabled";
};

uart3: uart@1000c000 {
uart3: serial@1000c000 {
compatible = "fsl,imx27-uart", "fsl,imx21-uart";
reg = <0x1000c000 0x1000>;
interrupts = <18>;
status = "disabled";
};

uart4: uart@1000d000 {
uart4: serial@1000d000 {
compatible = "fsl,imx27-uart", "fsl,imx21-uart";
reg = <0x1000d000 0x1000>;
interrupts = <17>;
Expand Down Expand Up @@ -183,14 +183,14 @@
status = "disabled";
};

uart5: uart@1001b000 {
uart5: serial@1001b000 {
compatible = "fsl,imx27-uart", "fsl,imx21-uart";
reg = <0x1001b000 0x1000>;
interrupts = <49>;
status = "disabled";
};

uart6: uart@1001c000 {
uart6: serial@1001c000 {
compatible = "fsl,imx27-uart", "fsl,imx21-uart";
reg = <0x1001c000 0x1000>;
interrupts = <48>;
Expand All @@ -206,7 +206,7 @@
status = "disabled";
};

fec: fec@1002b000 {
fec: ethernet@1002b000 {
compatible = "fsl,imx27-fec";
reg = <0x1002b000 0x4000>;
interrupts = <50>;
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/boot/dts/imx51-babbage.dts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
status = "okay";
};

uart3: uart@7000c000 {
uart3: serial@7000c000 {
fsl,uart-has-rtscts;
status = "okay";
};
Expand Down Expand Up @@ -173,12 +173,12 @@
reg = <0x73fa8000 0x4000>;
};

uart1: uart@73fbc000 {
uart1: serial@73fbc000 {
fsl,uart-has-rtscts;
status = "okay";
};

uart2: uart@73fc0000 {
uart2: serial@73fc0000 {
status = "okay";
};
};
Expand All @@ -197,7 +197,7 @@
};
};

fec@83fec000 {
ethernet@83fec000 {
phy-mode = "mii";
status = "okay";
};
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/boot/dts/imx51.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
status = "disabled";
};

uart3: uart@7000c000 {
uart3: serial@7000c000 {
compatible = "fsl,imx51-uart", "fsl,imx21-uart";
reg = <0x7000c000 0x4000>;
interrupts = <33>;
Expand Down Expand Up @@ -171,14 +171,14 @@
status = "disabled";
};

uart1: uart@73fbc000 {
uart1: serial@73fbc000 {
compatible = "fsl,imx51-uart", "fsl,imx21-uart";
reg = <0x73fbc000 0x4000>;
interrupts = <31>;
status = "disabled";
};

uart2: uart@73fc0000 {
uart2: serial@73fc0000 {
compatible = "fsl,imx51-uart", "fsl,imx21-uart";
reg = <0x73fc0000 0x4000>;
interrupts = <32>;
Expand Down Expand Up @@ -235,7 +235,7 @@
status = "disabled";
};

fec@83fec000 {
ethernet@83fec000 {
compatible = "fsl,imx51-fec", "fsl,imx27-fec";
reg = <0x83fec000 0x4000>;
interrupts = <87>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx53-ard.dts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
reg = <0x53fa8000 0x4000>;
};

uart1: uart@53fbc000 {
uart1: serial@53fbc000 {
status = "okay";
};
};
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/imx53-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
reg = <0x53fa8000 0x4000>;
};

uart1: uart@53fbc000 {
uart1: serial@53fbc000 {
status = "okay";
};
};
Expand All @@ -95,7 +95,7 @@
};
};

fec@63fec000 {
ethernet@63fec000 {
phy-mode = "rmii";
phy-reset-gpios = <&gpio7 6 0>;
status = "okay";
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/imx53-qsb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
reg = <0x53fa8000 0x4000>;
};

uart1: uart@53fbc000 {
uart1: serial@53fbc000 {
status = "okay";
};
};
Expand Down Expand Up @@ -78,7 +78,7 @@
};
};

fec@63fec000 {
ethernet@63fec000 {
phy-mode = "rmii";
phy-reset-gpios = <&gpio7 6 0>;
status = "okay";
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/boot/dts/imx53-smd.dts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
status = "okay";
};

uart3: uart@5000c000 {
uart3: serial@5000c000 {
fsl,uart-has-rtscts;
status = "okay";
};
Expand Down Expand Up @@ -86,11 +86,11 @@
reg = <0x53fa8000 0x4000>;
};

uart1: uart@53fbc000 {
uart1: serial@53fbc000 {
status = "okay";
};

uart2: uart@53fc0000 {
uart2: serial@53fc0000 {
status = "okay";
};
};
Expand Down Expand Up @@ -138,7 +138,7 @@
};
};

fec@63fec000 {
ethernet@63fec000 {
phy-mode = "rmii";
phy-reset-gpios = <&gpio7 6 0>;
status = "okay";
Expand Down
12 changes: 6 additions & 6 deletions arch/arm/boot/dts/imx53.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
status = "disabled";
};

uart3: uart@5000c000 {
uart3: serial@5000c000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x5000c000 0x4000>;
interrupts = <33>;
Expand Down Expand Up @@ -173,14 +173,14 @@
status = "disabled";
};

uart1: uart@53fbc000 {
uart1: serial@53fbc000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x53fbc000 0x4000>;
interrupts = <31>;
status = "disabled";
};

uart2: uart@53fc0000 {
uart2: serial@53fc0000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x53fc0000 0x4000>;
interrupts = <32>;
Expand Down Expand Up @@ -226,7 +226,7 @@
status = "disabled";
};

uart4: uart@53ff0000 {
uart4: serial@53ff0000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x53ff0000 0x4000>;
interrupts = <13>;
Expand All @@ -241,7 +241,7 @@
reg = <0x60000000 0x10000000>;
ranges;

uart5: uart@63f90000 {
uart5: serial@63f90000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x63f90000 0x4000>;
interrupts = <86>;
Expand Down Expand Up @@ -290,7 +290,7 @@
status = "disabled";
};

fec@63fec000 {
ethernet@63fec000 {
compatible = "fsl,imx53-fec", "fsl,imx25-fec";
reg = <0x63fec000 0x4000>;
interrupts = <87>;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/imx6q-arm2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

soc {
aips-bus@02100000 { /* AIPS2 */
enet@02188000 {
ethernet@02188000 {
phy-mode = "rgmii";
local-mac-address = [00 04 9F 01 1B 61];
status = "okay";
Expand All @@ -42,7 +42,7 @@
status = "okay";
};

uart4: uart@021f0000 {
uart4: serial@021f0000 {
status = "okay";
};
};
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/imx6q-sabrelite.dts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

soc {
aips-bus@02100000 { /* AIPS2 */
enet@02188000 {
ethernet@02188000 {
phy-mode = "rgmii";
phy-reset-gpios = <&gpio3 23 0>;
status = "okay";
Expand All @@ -43,7 +43,7 @@
status = "okay";
};

uart2: uart@021e8000 {
uart2: serial@021e8000 {
status = "okay";
};

Expand Down
12 changes: 6 additions & 6 deletions arch/arm/boot/dts/imx6q.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
status = "disabled";
};

uart1: uart@02020000 {
uart1: serial@02020000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x02020000 0x4000>;
interrupts = <0 26 0x04>;
Expand Down Expand Up @@ -506,7 +506,7 @@
reg = <0x0217c000 0x4000>;
};

enet@02188000 {
ethernet@02188000 {
compatible = "fsl,imx6q-fec";
reg = <0x02188000 0x4000>;
interrupts = <0 118 0x04 0 119 0x04>;
Expand Down Expand Up @@ -627,28 +627,28 @@
interrupts = <0 18 0x04>;
};

uart2: uart@021e8000 {
uart2: serial@021e8000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x021e8000 0x4000>;
interrupts = <0 27 0x04>;
status = "disabled";
};

uart3: uart@021ec000 {
uart3: serial@021ec000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x021ec000 0x4000>;
interrupts = <0 28 0x04>;
status = "disabled";
};

uart4: uart@021f0000 {
uart4: serial@021f0000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x021f0000 0x4000>;
interrupts = <0 29 0x04>;
status = "disabled";
};

uart5: uart@021f4000 {
uart5: serial@021f4000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x021f4000 0x4000>;
interrupts = <0 30 0x04>;
Expand Down
Loading

0 comments on commit 0c456cf

Please sign in to comment.