Skip to content

Commit

Permalink
ARM: dts: aspeed: Correctly order UART nodes
Browse files Browse the repository at this point in the history
Order them all by address.

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
  • Loading branch information
shenki committed Oct 5, 2017
1 parent 0bae390 commit db4d6d9
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 55 deletions.
48 changes: 24 additions & 24 deletions arch/arm/boot/dts/aspeed-g4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,27 @@
clock-names = "PCLK";
};

uart1: serial@1e783000 {
compatible = "ns16550a";
reg = <0x1e783000 0x1000>;
reg-shift = <2>;
interrupts = <9>;
clocks = <&clk_uart>;
no-loopback-test;
status = "disabled";
};

uart5: serial@1e784000 {
compatible = "ns16550a";
reg = <0x1e784000 0x1000>;
reg-shift = <2>;
interrupts = <10>;
clocks = <&clk_uart>;
current-speed = <38400>;
no-loopback-test;
status = "disabled";
};

wdt1: wdt@1e785000 {
compatible = "aspeed,ast2400-wdt";
reg = <0x1e785000 0x1c>;
Expand All @@ -197,11 +218,11 @@
status = "disabled";
};

uart1: serial@1e783000 {
uart6: serial@1e787000 {
compatible = "ns16550a";
reg = <0x1e783000 0x1000>;
reg = <0x1e787000 0x1000>;
reg-shift = <2>;
interrupts = <9>;
interrupts = <10>;
clocks = <&clk_uart>;
no-loopback-test;
status = "disabled";
Expand Down Expand Up @@ -237,27 +258,6 @@
status = "disabled";
};

uart5: serial@1e784000 {
compatible = "ns16550a";
reg = <0x1e784000 0x1000>;
reg-shift = <2>;
interrupts = <10>;
clocks = <&clk_uart>;
current-speed = <38400>;
no-loopback-test;
status = "disabled";
};

uart6: serial@1e787000 {
compatible = "ns16550a";
reg = <0x1e787000 0x1000>;
reg-shift = <2>;
interrupts = <10>;
clocks = <&clk_uart>;
no-loopback-test;
status = "disabled";
};

i2c: i2c@1e78a000 {
compatible = "simple-bus";
#address-cells = <1>;
Expand Down
61 changes: 30 additions & 31 deletions arch/arm/boot/dts/aspeed-g5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,26 @@
clock-names = "PCLK";
};

uart1: serial@1e783000 {
compatible = "ns16550a";
reg = <0x1e783000 0x1000>;
reg-shift = <2>;
interrupts = <9>;
clocks = <&clk_uart>;
no-loopback-test;
status = "disabled";
};

uart5: serial@1e784000 {
compatible = "ns16550a";
reg = <0x1e784000 0x1000>;
reg-shift = <2>;
interrupts = <10>;
clocks = <&clk_uart>;
current-speed = <38400>;
no-loopback-test;
status = "disabled";
};

wdt1: wdt@1e785000 {
compatible = "aspeed,ast2500-wdt";
Expand All @@ -247,16 +267,6 @@
status = "disabled";
};

uart1: serial@1e783000 {
compatible = "ns16550a";
reg = <0x1e783000 0x1000>;
reg-shift = <2>;
interrupts = <9>;
clocks = <&clk_uart>;
no-loopback-test;
status = "disabled";
};

lpc: lpc@1e789000 {
compatible = "aspeed,ast2500-lpc", "simple-mfd";
reg = <0x1e789000 0x1000>;
Expand Down Expand Up @@ -287,6 +297,16 @@
};
};

uart6: serial@1e787000 {
compatible = "ns16550a";
reg = <0x1e787000 0x1000>;
reg-shift = <2>;
interrupts = <10>;
clocks = <&clk_uart>;
no-loopback-test;
status = "disabled";
};

uart2: serial@1e78d000 {
compatible = "ns16550a";
reg = <0x1e78d000 0x1000>;
Expand Down Expand Up @@ -317,27 +337,6 @@
status = "disabled";
};

uart5: serial@1e784000 {
compatible = "ns16550a";
reg = <0x1e784000 0x1000>;
reg-shift = <2>;
interrupts = <10>;
clocks = <&clk_uart>;
current-speed = <38400>;
no-loopback-test;
status = "disabled";
};

uart6: serial@1e787000 {
compatible = "ns16550a";
reg = <0x1e787000 0x1000>;
reg-shift = <2>;
interrupts = <10>;
clocks = <&clk_uart>;
no-loopback-test;
status = "disabled";
};

i2c: i2c@1e78a000 {
compatible = "simple-bus";
#address-cells = <1>;
Expand Down

0 comments on commit db4d6d9

Please sign in to comment.