[PATCH] ARM: dts: align SPI NOR node name with dtschema
Alexandre TORGUE
alexandre.torgue at foss.st.com
Tue Apr 19 06:03:53 PDT 2022
Hi Krzysztof
On 4/7/22 16:30, Krzysztof Kozlowski wrote:
> The node names should be generic and SPI NOR dtschema expects "flash".
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> ---
> arch/arm/boot/dts/da850-evm.dts | 2 +-
> arch/arm/boot/dts/dm8168-evm.dts | 2 +-
> arch/arm/boot/dts/spear1310-evb.dts | 2 +-
> arch/arm/boot/dts/spear1340-evb.dts | 2 +-
> arch/arm/boot/dts/stm32mp157c-emstamp-argon.dtsi | 2 +-
> arch/arm/boot/dts/stm32mp157c-ev1.dts | 4 ++--
> 6 files changed, 7 insertions(+), 7 deletions(-)
Thanks for your patch. Is it possible to split it per vendor
(TI/STM32/SPEAR) ?
Thanks
Alex
> diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts
> index 87c517d65f62..e9aecac4f5b5 100644
> --- a/arch/arm/boot/dts/da850-evm.dts
> +++ b/arch/arm/boot/dts/da850-evm.dts
> @@ -278,7 +278,7 @@ &spi1 {
> status = "okay";
> pinctrl-names = "default";
> pinctrl-0 = <&spi1_pins &spi1_cs0_pin>;
> - flash: m25p80 at 0 {
> + flash: flash at 0 {
> #address-cells = <1>;
> #size-cells = <1>;
> compatible = "jedec,spi-nor";
> diff --git a/arch/arm/boot/dts/dm8168-evm.dts b/arch/arm/boot/dts/dm8168-evm.dts
> index 5126e2d72ed7..778796c10af8 100644
> --- a/arch/arm/boot/dts/dm8168-evm.dts
> +++ b/arch/arm/boot/dts/dm8168-evm.dts
> @@ -177,7 +177,7 @@ &mcspi1 {
> pinctrl-names = "default";
> pinctrl-0 = <&mcspi1_pins>;
>
> - m25p80 at 0 {
> + flash at 0 {
> compatible = "w25x32";
> spi-max-frequency = <48000000>;
> reg = <0>;
> diff --git a/arch/arm/boot/dts/spear1310-evb.dts b/arch/arm/boot/dts/spear1310-evb.dts
> index 4cbadcb41084..ddd1cf4d0554 100644
> --- a/arch/arm/boot/dts/spear1310-evb.dts
> +++ b/arch/arm/boot/dts/spear1310-evb.dts
> @@ -379,7 +379,7 @@ stmpe_touchscreen {
> };
> };
>
> - m25p80 at 1 {
> + flash at 1 {
> compatible = "st,m25p80";
> reg = <1>;
> spi-max-frequency = <12000000>;
> diff --git a/arch/arm/boot/dts/spear1340-evb.dts b/arch/arm/boot/dts/spear1340-evb.dts
> index fd194ebeedc9..3a51a41eb5e4 100644
> --- a/arch/arm/boot/dts/spear1340-evb.dts
> +++ b/arch/arm/boot/dts/spear1340-evb.dts
> @@ -439,7 +439,7 @@ spi0: spi at e0100000 {
> cs-gpios = <&gpiopinctrl 80 0>, <&gpiopinctrl 24 0>,
> <&gpiopinctrl 85 0>;
>
> - m25p80 at 0 {
> + flash at 0 {
> compatible = "m25p80";
> reg = <0>;
> spi-max-frequency = <12000000>;
> diff --git a/arch/arm/boot/dts/stm32mp157c-emstamp-argon.dtsi b/arch/arm/boot/dts/stm32mp157c-emstamp-argon.dtsi
> index 33ae5e0590df..ac53ee3c496b 100644
> --- a/arch/arm/boot/dts/stm32mp157c-emstamp-argon.dtsi
> +++ b/arch/arm/boot/dts/stm32mp157c-emstamp-argon.dtsi
> @@ -398,7 +398,7 @@ &qspi {
> #size-cells = <0>;
> status = "okay";
>
> - flash0: is25lp016d at 0 {
> + flash0: flash at 0 {
> compatible = "jedec,spi-nor";
> reg = <0>;
> spi-max-frequency = <133000000>;
> diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
> index e222d2d2cb44..d142dd30e16b 100644
> --- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
> +++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
> @@ -262,7 +262,7 @@ &qspi {
> #size-cells = <0>;
> status = "okay";
>
> - flash0: mx66l51235l at 0 {
> + flash0: flash at 0 {
> compatible = "jedec,spi-nor";
> reg = <0>;
> spi-rx-bus-width = <4>;
> @@ -271,7 +271,7 @@ flash0: mx66l51235l at 0 {
> #size-cells = <1>;
> };
>
> - flash1: mx66l51235l at 1 {
> + flash1: flash at 1 {
> compatible = "jedec,spi-nor";
> reg = <1>;
> spi-rx-bus-width = <4>;
More information about the linux-arm-kernel
mailing list