Re: [PATCH 1/2] ARM: dts: at91: align SPI NOR node name with dtschema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/7/22 17:32, Krzysztof Kozlowski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> The node names should be generic and SPI NOR dtschema expects "flash".
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Reviewed-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx>

> ---
>  arch/arm/boot/dts/at91-dvk_su60_somc.dtsi     | 2 +-
>  arch/arm/boot/dts/at91-q5xr5.dts              | 2 +-
>  arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi   | 2 +-
>  arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts | 2 +-
>  arch/arm/boot/dts/at91-sama5d2_xplained.dts   | 2 +-
>  arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi     | 2 +-
>  arch/arm/boot/dts/at91-sama5d4ek.dts          | 2 +-
>  arch/arm/boot/dts/at91-vinco.dts              | 2 +-
>  arch/arm/boot/dts/at91sam9n12ek.dts           | 2 +-
>  arch/arm/boot/dts/at91sam9x5ek.dtsi           | 2 +-
>  arch/arm/boot/dts/sama5d3xmb.dtsi             | 2 +-
>  arch/arm/boot/dts/sama5d3xmb_cmp.dtsi         | 2 +-
>  12 files changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/at91-dvk_su60_somc.dtsi b/arch/arm/boot/dts/at91-dvk_su60_somc.dtsi
> index c1c8650dafce..3542ad8a243e 100644
> --- a/arch/arm/boot/dts/at91-dvk_su60_somc.dtsi
> +++ b/arch/arm/boot/dts/at91-dvk_su60_somc.dtsi
> @@ -44,7 +44,7 @@ &spi0 {
>         status = "okay";
> 
>         /* spi0.0: 4M Flash Macronix MX25R4035FM1IL0 */
> -       spi-flash@0 {
> +       flash@0 {
>                 compatible = "mxicy,mx25u4035", "jedec,spi-nor";
>                 spi-max-frequency = <33000000>;
>                 reg = <0>;
> diff --git a/arch/arm/boot/dts/at91-q5xr5.dts b/arch/arm/boot/dts/at91-q5xr5.dts
> index 47a00062f01f..9cf60b6f695c 100644
> --- a/arch/arm/boot/dts/at91-q5xr5.dts
> +++ b/arch/arm/boot/dts/at91-q5xr5.dts
> @@ -125,7 +125,7 @@ &spi0 {
>         cs-gpios = <&pioA 3 GPIO_ACTIVE_HIGH>, <&pioC 11 GPIO_ACTIVE_LOW>, <0>, <0>;
>         status = "okay";
> 
> -       m25p80@0 {
> +       flash@0 {
>                 compatible = "jedec,spi-nor";
>                 spi-max-frequency = <20000000>;
>                 reg = <0>;
> diff --git a/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi b/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
> index 21c86171e462..ba621783acdb 100644
> --- a/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
> +++ b/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
> @@ -214,7 +214,7 @@ &qspi1 {
>         pinctrl-0 = <&pinctrl_qspi1_default>;
>         status = "disabled";
> 
> -       qspi1_flash: spi_flash@0 {
> +       qspi1_flash: flash@0 {
>                 #address-cells = <1>;
>                 #size-cells = <1>;
>                 compatible = "jedec,spi-nor";
> diff --git a/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
> index c145c4e5ef58..5e8755f22784 100644
> --- a/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
> +++ b/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
> @@ -191,7 +191,7 @@ &pwm0 {
>  &qspi1 {
>         status = "okay";
> 
> -       qspi1_flash: spi_flash@0 {
> +       qspi1_flash: flash@0 {
>                 status = "okay";
>         };
>  };
> diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
> index 9bf2ec0ba3e2..cdfe891f9a9e 100644
> --- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
> @@ -137,7 +137,7 @@ spi0: spi@f8000000 {
>                                 pinctrl-0 = <&pinctrl_spi0_default>;
>                                 status = "okay";
> 
> -                               m25p80@0 {
> +                               flash@0 {
>                                         compatible = "atmel,at25df321a";
>                                         reg = <0>;
>                                         spi-max-frequency = <50000000>;
> diff --git a/arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi b/arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi
> index 710cb72bda5a..fd1086f52b40 100644
> --- a/arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi
> +++ b/arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi
> @@ -49,7 +49,7 @@ spi0: spi@f8010000 {
>                                 cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;
>                                 status = "okay";
> 
> -                               m25p80@0 {
> +                               flash@0 {
>                                         compatible = "atmel,at25df321a";
>                                         spi-max-frequency = <50000000>;
>                                         reg = <0>;
> diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts
> index fe432b6b7e95..7017f626f362 100644
> --- a/arch/arm/boot/dts/at91-sama5d4ek.dts
> +++ b/arch/arm/boot/dts/at91-sama5d4ek.dts
> @@ -65,7 +65,7 @@ ssc0: ssc@f8008000 {
>                         spi0: spi@f8010000 {
>                                 cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;
>                                 status = "okay";
> -                               m25p80@0 {
> +                               flash@0 {
>                                         compatible = "atmel,at25df321a";
>                                         spi-max-frequency = <50000000>;
>                                         reg = <0>;
> diff --git a/arch/arm/boot/dts/at91-vinco.dts b/arch/arm/boot/dts/at91-vinco.dts
> index a51a3372afa1..ebeaa6ab500e 100644
> --- a/arch/arm/boot/dts/at91-vinco.dts
> +++ b/arch/arm/boot/dts/at91-vinco.dts
> @@ -59,7 +59,7 @@ slot@0 {
>                         spi0: spi@f8010000 {
>                                 cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;
>                                 status = "okay";
> -                               m25p80@0 {
> +                               flash@0 {
>                                         compatible = "n25q32b", "jedec,spi-nor";
>                                         spi-max-frequency = <50000000>;
>                                         reg = <0>;
> diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts
> index 2bc4e6e0a923..c905d7bfc771 100644
> --- a/arch/arm/boot/dts/at91sam9n12ek.dts
> +++ b/arch/arm/boot/dts/at91sam9n12ek.dts
> @@ -119,7 +119,7 @@ pinctrl_usb1_vbus_sense: usb1_vbus_sense {
>                         spi0: spi@f0000000 {
>                                 status = "okay";
>                                 cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
> -                               m25p80@0 {
> +                               flash@0 {
>                                         compatible = "atmel,at25df321a";
>                                         spi-max-frequency = <50000000>;
>                                         reg = <0>;
> diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi
> index 6d1264de6060..5f4eaa618ab4 100644
> --- a/arch/arm/boot/dts/at91sam9x5ek.dtsi
> +++ b/arch/arm/boot/dts/at91sam9x5ek.dtsi
> @@ -125,7 +125,7 @@ &spi0 {
>         cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
>         status = "disabled"; /* conflicts with mmc1 */
> 
> -       m25p80@0 {
> +       flash@0 {
>                 compatible = "atmel,at25df321a";
>                 spi-max-frequency = <50000000>;
>                 reg = <0>;
> diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boot/dts/sama5d3xmb.dtsi
> index a499de8a7a64..3652c9e24124 100644
> --- a/arch/arm/boot/dts/sama5d3xmb.dtsi
> +++ b/arch/arm/boot/dts/sama5d3xmb.dtsi
> @@ -26,7 +26,7 @@ slot@0 {
>                         spi0: spi@f0004000 {
>                                 dmas = <0>, <0>;        /*  Do not use DMA for spi0 */
> 
> -                               m25p80@0 {
> +                               flash@0 {
>                                         compatible = "atmel,at25df321a";
>                                         spi-max-frequency = <50000000>;
>                                         reg = <0>;
> diff --git a/arch/arm/boot/dts/sama5d3xmb_cmp.dtsi b/arch/arm/boot/dts/sama5d3xmb_cmp.dtsi
> index fa9e5e2a745d..5d9e97fecf83 100644
> --- a/arch/arm/boot/dts/sama5d3xmb_cmp.dtsi
> +++ b/arch/arm/boot/dts/sama5d3xmb_cmp.dtsi
> @@ -25,7 +25,7 @@ slot@0 {
>                         spi0: spi@f0004000 {
>                                 dmas = <0>, <0>;        /*  Do not use DMA for spi0 */
> 
> -                               m25p80@0 {
> +                               flash@0 {
>                                         compatible = "atmel,at25df321a";
>                                         spi-max-frequency = <50000000>;
>                                         reg = <0>;
> --
> 2.32.0
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux