Commit 8f9ffecf authored by Richard Zhao's avatar Richard Zhao Committed by Shawn Guo

dts/imx: rename uart labels to consistent with hw spec

UART1/UART2/... is more readable than UART0/UART1/... .
Remove redundant UART comments.
Signed-off-by: default avatarRichard Zhao <richard.zhao@linaro.org>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 4d191868
...@@ -40,7 +40,7 @@ esdhc@70008000 { /* ESDHC2 */ ...@@ -40,7 +40,7 @@ esdhc@70008000 { /* ESDHC2 */
status = "okay"; status = "okay";
}; };
uart2: uart@7000c000 { /* UART3 */ uart3: uart@7000c000 {
fsl,uart-has-rtscts; fsl,uart-has-rtscts;
status = "okay"; status = "okay";
}; };
...@@ -90,12 +90,12 @@ iomuxc@73fa8000 { ...@@ -90,12 +90,12 @@ iomuxc@73fa8000 {
reg = <0x73fa8000 0x4000>; reg = <0x73fa8000 0x4000>;
}; };
uart0: uart@73fbc000 { uart1: uart@73fbc000 {
fsl,uart-has-rtscts; fsl,uart-has-rtscts;
status = "okay"; status = "okay";
}; };
uart1: uart@73fc0000 { uart2: uart@73fc0000 {
status = "okay"; status = "okay";
}; };
}; };
......
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
/ { / {
aliases { aliases {
serial0 = &uart0; serial0 = &uart1;
serial1 = &uart1; serial1 = &uart2;
serial2 = &uart2; serial2 = &uart3;
}; };
tzic: tz-interrupt-controller@e0000000 { tzic: tz-interrupt-controller@e0000000 {
...@@ -86,7 +86,7 @@ esdhc@70008000 { /* ESDHC2 */ ...@@ -86,7 +86,7 @@ esdhc@70008000 { /* ESDHC2 */
status = "disabled"; status = "disabled";
}; };
uart2: uart@7000c000 { /* UART3 */ uart3: uart@7000c000 {
compatible = "fsl,imx51-uart", "fsl,imx21-uart"; compatible = "fsl,imx51-uart", "fsl,imx21-uart";
reg = <0x7000c000 0x4000>; reg = <0x7000c000 0x4000>;
interrupts = <33>; interrupts = <33>;
...@@ -171,14 +171,14 @@ wdog@73f9c000 { /* WDOG2 */ ...@@ -171,14 +171,14 @@ wdog@73f9c000 { /* WDOG2 */
status = "disabled"; status = "disabled";
}; };
uart0: uart@73fbc000 { uart1: uart@73fbc000 {
compatible = "fsl,imx51-uart", "fsl,imx21-uart"; compatible = "fsl,imx51-uart", "fsl,imx21-uart";
reg = <0x73fbc000 0x4000>; reg = <0x73fbc000 0x4000>;
interrupts = <31>; interrupts = <31>;
status = "disabled"; status = "disabled";
}; };
uart1: uart@73fc0000 { uart2: uart@73fc0000 {
compatible = "fsl,imx51-uart", "fsl,imx21-uart"; compatible = "fsl,imx51-uart", "fsl,imx21-uart";
reg = <0x73fc0000 0x4000>; reg = <0x73fc0000 0x4000>;
interrupts = <32>; interrupts = <32>;
......
...@@ -44,7 +44,7 @@ iomuxc@53fa8000 { ...@@ -44,7 +44,7 @@ iomuxc@53fa8000 {
reg = <0x53fa8000 0x4000>; reg = <0x53fa8000 0x4000>;
}; };
uart0: uart@53fbc000 { /* UART1 */ uart1: uart@53fbc000 {
status = "okay"; status = "okay";
}; };
}; };
......
...@@ -75,7 +75,7 @@ iomuxc@53fa8000 { ...@@ -75,7 +75,7 @@ iomuxc@53fa8000 {
reg = <0x53fa8000 0x4000>; reg = <0x53fa8000 0x4000>;
}; };
uart0: uart@53fbc000 { /* UART1 */ uart1: uart@53fbc000 {
status = "okay"; status = "okay";
}; };
}; };
......
...@@ -49,7 +49,7 @@ iomuxc@53fa8000 { ...@@ -49,7 +49,7 @@ iomuxc@53fa8000 {
reg = <0x53fa8000 0x4000>; reg = <0x53fa8000 0x4000>;
}; };
uart0: uart@53fbc000 { /* UART1 */ uart1: uart@53fbc000 {
status = "okay"; status = "okay";
}; };
}; };
......
...@@ -39,7 +39,7 @@ esdhc@50008000 { /* ESDHC2 */ ...@@ -39,7 +39,7 @@ esdhc@50008000 { /* ESDHC2 */
status = "okay"; status = "okay";
}; };
uart2: uart@5000c000 { /* UART3 */ uart3: uart@5000c000 {
fsl,uart-has-rtscts; fsl,uart-has-rtscts;
status = "okay"; status = "okay";
}; };
...@@ -90,11 +90,11 @@ iomuxc@53fa8000 { ...@@ -90,11 +90,11 @@ iomuxc@53fa8000 {
reg = <0x53fa8000 0x4000>; reg = <0x53fa8000 0x4000>;
}; };
uart0: uart@53fbc000 { /* UART1 */ uart1: uart@53fbc000 {
status = "okay"; status = "okay";
}; };
uart1: uart@53fc0000 { /* UART2 */ uart2: uart@53fc0000 {
status = "okay"; status = "okay";
}; };
}; };
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
/ { / {
aliases { aliases {
serial0 = &uart0; serial0 = &uart1;
serial1 = &uart1; serial1 = &uart2;
serial2 = &uart2; serial2 = &uart3;
serial3 = &uart3; serial3 = &uart4;
serial4 = &uart4; serial4 = &uart5;
}; };
tzic: tz-interrupt-controller@0fffc000 { tzic: tz-interrupt-controller@0fffc000 {
...@@ -88,7 +88,7 @@ esdhc@50008000 { /* ESDHC2 */ ...@@ -88,7 +88,7 @@ esdhc@50008000 { /* ESDHC2 */
status = "disabled"; status = "disabled";
}; };
uart2: uart@5000c000 { /* UART3 */ uart3: uart@5000c000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart"; compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x5000c000 0x4000>; reg = <0x5000c000 0x4000>;
interrupts = <33>; interrupts = <33>;
...@@ -173,14 +173,14 @@ wdog@53f9c000 { /* WDOG2 */ ...@@ -173,14 +173,14 @@ wdog@53f9c000 { /* WDOG2 */
status = "disabled"; status = "disabled";
}; };
uart0: uart@53fbc000 { /* UART1 */ uart1: uart@53fbc000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart"; compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x53fbc000 0x4000>; reg = <0x53fbc000 0x4000>;
interrupts = <31>; interrupts = <31>;
status = "disabled"; status = "disabled";
}; };
uart1: uart@53fc0000 { /* UART2 */ uart2: uart@53fc0000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart"; compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x53fc0000 0x4000>; reg = <0x53fc0000 0x4000>;
interrupts = <32>; interrupts = <32>;
...@@ -226,7 +226,7 @@ i2c@53fec000 { /* I2C3 */ ...@@ -226,7 +226,7 @@ i2c@53fec000 { /* I2C3 */
status = "disabled"; status = "disabled";
}; };
uart3: uart@53ff0000 { /* UART4 */ uart4: uart@53ff0000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart"; compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x53ff0000 0x4000>; reg = <0x53ff0000 0x4000>;
interrupts = <13>; interrupts = <13>;
...@@ -241,7 +241,7 @@ aips@60000000 { /* AIPS2 */ ...@@ -241,7 +241,7 @@ aips@60000000 { /* AIPS2 */
reg = <0x60000000 0x10000000>; reg = <0x60000000 0x10000000>;
ranges; ranges;
uart4: uart@63f90000 { /* UART5 */ uart5: uart@63f90000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart"; compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x63f90000 0x4000>; reg = <0x63f90000 0x4000>;
interrupts = <86>; interrupts = <86>;
......
...@@ -44,7 +44,7 @@ usdhc@0219c000 { /* uSDHC4 */ ...@@ -44,7 +44,7 @@ usdhc@0219c000 { /* uSDHC4 */
status = "okay"; status = "okay";
}; };
uart3: uart@021f0000 { /* UART4 */ uart4: uart@021f0000 {
status = "okay"; status = "okay";
}; };
}; };
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
/ { / {
aliases { aliases {
serial0 = &uart0; serial0 = &uart1;
serial1 = &uart1; serial1 = &uart2;
serial2 = &uart2; serial2 = &uart3;
serial3 = &uart3; serial3 = &uart4;
serial4 = &uart4; serial4 = &uart5;
}; };
cpus { cpus {
...@@ -165,7 +165,7 @@ ecspi@02018000 { /* eCSPI5 */ ...@@ -165,7 +165,7 @@ ecspi@02018000 { /* eCSPI5 */
status = "disabled"; status = "disabled";
}; };
uart0: uart@02020000 { /* UART1 */ uart1: uart@02020000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x02020000 0x4000>; reg = <0x02020000 0x4000>;
interrupts = <0 26 0x04>; interrupts = <0 26 0x04>;
...@@ -543,28 +543,28 @@ vdoa@021e4000 { ...@@ -543,28 +543,28 @@ vdoa@021e4000 {
interrupts = <0 18 0x04>; interrupts = <0 18 0x04>;
}; };
uart1: uart@021e8000 { /* UART2 */ uart2: uart@021e8000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x021e8000 0x4000>; reg = <0x021e8000 0x4000>;
interrupts = <0 27 0x04>; interrupts = <0 27 0x04>;
status = "disabled"; status = "disabled";
}; };
uart2: uart@021ec000 { /* UART3 */ uart3: uart@021ec000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x021ec000 0x4000>; reg = <0x021ec000 0x4000>;
interrupts = <0 28 0x04>; interrupts = <0 28 0x04>;
status = "disabled"; status = "disabled";
}; };
uart3: uart@021f0000 { /* UART4 */ uart4: uart@021f0000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x021f0000 0x4000>; reg = <0x021f0000 0x4000>;
interrupts = <0 29 0x04>; interrupts = <0 29 0x04>;
status = "disabled"; status = "disabled";
}; };
uart4: uart@021f4000 { /* UART5 */ uart5: uart@021f4000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x021f4000 0x4000>; reg = <0x021f4000 0x4000>;
interrupts = <0 30 0x04>; interrupts = <0 30 0x04>;
......
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