[3/6] ARM: dts: aspeed-g5: Update LPC node

Message ID 20180212074325.23436-4-joel@jms.id.au
State Accepted, archived
Headers show
Series
  • ARM: dts: aspeed: Enable iBT and LPC, Palmetto fixes
Related show

Commit Message

Joel Stanley Feb. 12, 2018, 7:43 a.m.
This addresses some differences between the G5 and G4 LPC nodes that
make them hard to compare. There is no functional change.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 arch/arm/boot/dts/aspeed-g5.dtsi | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Comments

Andrew Jeffery Feb. 16, 2018, 4:51 a.m. | #1
On Mon, 2018-02-12 at 18:13 +1030, Joel Stanley wrote:
> This addresses some differences between the G5 and G4 LPC nodes that
> make them hard to compare. There is no functional change.
> 
> Signed-off-by: Joel Stanley <joel@jms.id.au>

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>

> ---
>  arch/arm/boot/dts/aspeed-g5.dtsi | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
> index 18185484a224..e0b6803f6845 100644
> --- a/arch/arm/boot/dts/aspeed-g5.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g5.dtsi
> @@ -264,7 +264,7 @@
>  
>  				#address-cells = <1>;
>  				#size-cells = <1>;
> -				ranges = <0 0x1e789000 0x1000>;
> +				ranges = <0x0 0x1e789000 0x1000>;
>  
>  				lpc_bmc: lpc-bmc@0 {
>  					compatible = "aspeed,ast2500-lpc-bmc";
> @@ -274,12 +274,11 @@
>  				lpc_host: lpc-host@80 {
>  					compatible = "aspeed,ast2500-lpc-host", "simple-mfd", "syscon";
>  					reg = <0x80 0x1e0>;
> +					reg-io-width = <4>;
>  
>  					#address-cells = <1>;
>  					#size-cells = <1>;
> -					ranges = <0 0x80 0x1e0>;
> -
> -					reg-io-width = <4>;
> +					ranges = <0x0 0x80 0x1e0>;
>  
>  					lpc_ctrl: lpc-ctrl@0 {
>  						compatible = "aspeed,ast2500-lpc-ctrl";

Patch

diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index 18185484a224..e0b6803f6845 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -264,7 +264,7 @@ 
 
 				#address-cells = <1>;
 				#size-cells = <1>;
-				ranges = <0 0x1e789000 0x1000>;
+				ranges = <0x0 0x1e789000 0x1000>;
 
 				lpc_bmc: lpc-bmc@0 {
 					compatible = "aspeed,ast2500-lpc-bmc";
@@ -274,12 +274,11 @@ 
 				lpc_host: lpc-host@80 {
 					compatible = "aspeed,ast2500-lpc-host", "simple-mfd", "syscon";
 					reg = <0x80 0x1e0>;
+					reg-io-width = <4>;
 
 					#address-cells = <1>;
 					#size-cells = <1>;
-					ranges = <0 0x80 0x1e0>;
-
-					reg-io-width = <4>;
+					ranges = <0x0 0x80 0x1e0>;
 
 					lpc_ctrl: lpc-ctrl@0 {
 						compatible = "aspeed,ast2500-lpc-ctrl";