[PATCH] ARM: dts: nuvoton, npcm7xx: remove bogus unit addresses from fixed-partition nodes

Joel Stanley joel at jms.id.au
Mon Jan 31 17:29:42 AEDT 2022


On Sat, 29 Jan 2022 at 09:32, Jonathan Neuschäfer <j.neuschaefer at gmx.net> wrote:
>
> The unit addresses do not correspond to the nodes' reg properties,
> because they don't have any.
>
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>

Reviewed-by: Joel Stanley <joel at jms.id.au>

Do you want to add a Fixes: line?

> ---
>  arch/arm/boot/dts/nuvoton-npcm730-gbs.dts            | 2 +-
>  arch/arm/boot/dts/nuvoton-npcm730-gsj.dts            | 2 +-
>  arch/arm/boot/dts/nuvoton-npcm730-kudo.dts           | 6 +++---
>  arch/arm/boot/dts/nuvoton-npcm750-evb.dts            | 4 ++--
>  arch/arm/boot/dts/nuvoton-npcm750-runbmc-olympus.dts | 6 +++---
>  5 files changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts b/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
> index eb6eb21cb2a44..33c8d5b3d679a 100644
> --- a/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
> +++ b/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts
> @@ -366,7 +366,7 @@ spi-nor at 0 {
>                 spi-max-frequency = <20000000>;
>                 spi-rx-bus-width = <2>;
>                 label = "bmc";
> -               partitions at 80000000 {
> +               partitions {
>                         compatible = "fixed-partitions";
>                         #address-cells = <1>;
>                         #size-cells = <1>;
> diff --git a/arch/arm/boot/dts/nuvoton-npcm730-gsj.dts b/arch/arm/boot/dts/nuvoton-npcm730-gsj.dts
> index d4ff49939a3d9..bbe18618f5c56 100644
> --- a/arch/arm/boot/dts/nuvoton-npcm730-gsj.dts
> +++ b/arch/arm/boot/dts/nuvoton-npcm730-gsj.dts
> @@ -142,7 +142,7 @@ spi-nor at 0 {
>                 reg = <0>;
>                 spi-rx-bus-width = <2>;
>
> -               partitions at 80000000 {
> +               partitions {
>                         compatible = "fixed-partitions";
>                         #address-cells = <1>;
>                         #size-cells = <1>;
> diff --git a/arch/arm/boot/dts/nuvoton-npcm730-kudo.dts b/arch/arm/boot/dts/nuvoton-npcm730-kudo.dts
> index 82a104b2a65f1..8e3425cb8e8b9 100644
> --- a/arch/arm/boot/dts/nuvoton-npcm730-kudo.dts
> +++ b/arch/arm/boot/dts/nuvoton-npcm730-kudo.dts
> @@ -388,7 +388,7 @@ spi-nor at 0 {
>                 spi-max-frequency = <5000000>;
>                 spi-rx-bus-width = <2>;
>                 label = "bmc";
> -               partitions at 80000000 {
> +               partitions {
>                         compatible = "fixed-partitions";
>                         #address-cells = <1>;
>                         #size-cells = <1>;
> @@ -422,7 +422,7 @@ spi-nor at 1 {
>                 reg = <1>;
>                 spi-max-frequency = <5000000>;
>                 spi-rx-bus-width = <2>;
> -               partitions at 88000000 {
> +               partitions {
>                         compatible = "fixed-partitions";
>                         #address-cells = <1>;
>                         #size-cells = <1>;
> @@ -447,7 +447,7 @@ spi-nor at 0 {
>                 reg = <0>;
>                 spi-max-frequency = <5000000>;
>                 spi-rx-bus-width = <2>;
> -               partitions at A0000000 {
> +               partitions {
>                         compatible = "fixed-partitions";
>                         #address-cells = <1>;
>                         #size-cells = <1>;
> diff --git a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
> index 0334641f88292..cf274c926711a 100644
> --- a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
> +++ b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
> @@ -74,7 +74,7 @@ spi-nor at 0 {
>                 spi-rx-bus-width = <2>;
>                 reg = <0>;
>                 spi-max-frequency = <5000000>;
> -               partitions at 80000000 {
> +               partitions {
>                         compatible = "fixed-partitions";
>                         #address-cells = <1>;
>                         #size-cells = <1>;
> @@ -135,7 +135,7 @@ spi-nor at 0 {
>                 spi-rx-bus-width = <2>;
>                 reg = <0>;
>                 spi-max-frequency = <5000000>;
> -               partitions at A0000000 {
> +               partitions {
>                         compatible = "fixed-partitions";
>                         #address-cells = <1>;
>                         #size-cells = <1>;
> diff --git a/arch/arm/boot/dts/nuvoton-npcm750-runbmc-olympus.dts b/arch/arm/boot/dts/nuvoton-npcm750-runbmc-olympus.dts
> index 767e0ac0df7c5..7fe7efee28acb 100644
> --- a/arch/arm/boot/dts/nuvoton-npcm750-runbmc-olympus.dts
> +++ b/arch/arm/boot/dts/nuvoton-npcm750-runbmc-olympus.dts
> @@ -107,7 +107,7 @@ spi-nor at 0 {
>                 reg = <0>;
>                 spi-rx-bus-width = <2>;
>
> -               partitions at 80000000 {
> +               partitions {
>                         compatible = "fixed-partitions";
>                         #address-cells = <1>;
>                         #size-cells = <1>;
> @@ -146,7 +146,7 @@ spi-nor at 1 {
>                 reg = <1>;
>                 npcm,fiu-rx-bus-width = <2>;
>
> -               partitions at 88000000 {
> +               partitions {
>                         compatible = "fixed-partitions";
>                         #address-cells = <1>;
>                         #size-cells = <1>;
> @@ -173,7 +173,7 @@ spi-nor at 0 {
>                 reg = <0>;
>                 spi-rx-bus-width = <2>;
>
> -               partitions at A0000000 {
> +               partitions {
>                         compatible = "fixed-partitions";
>                         #address-cells = <1>;
>                         #size-cells = <1>;
> --
> 2.34.1
>


More information about the openbmc mailing list