[PATCH] ARC: dts: align SPI NOR node name with dtschema

Krzysztof Kozlowski posted 1 patch 4 years, 1 month ago
arch/arc/boot/dts/hsdk.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ARC: dts: align SPI NOR node name with dtschema
Posted by Krzysztof Kozlowski 4 years, 1 month ago
The node names should be generic and SPI NOR dtschema expects "flash".

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arc/boot/dts/hsdk.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts
index dcaa44e408ac..f48ba03e9b5e 100644
--- a/arch/arc/boot/dts/hsdk.dts
+++ b/arch/arc/boot/dts/hsdk.dts
@@ -275,7 +275,7 @@ spi0: spi@20000 {
 			cs-gpios = <&creg_gpio 0 GPIO_ACTIVE_LOW>,
 				   <&creg_gpio 1 GPIO_ACTIVE_LOW>;
 
-			spi-flash@0 {
+			flash@0 {
 				compatible = "sst26wf016b", "jedec,spi-nor";
 				reg = <0>;
 				#address-cells = <1>;
-- 
2.32.0
Re: [PATCH] ARC: dts: align SPI NOR node name with dtschema
Posted by Vineet Gupta 4 years ago

On 4/7/22 07:33, Krzysztof Kozlowski wrote:
> The node names should be generic and SPI NOR dtschema expects "flash".
>
> Signed-off-by: Krzysztof Kozlowski<krzysztof.kozlowski@linaro.org>

Applied.

Thx,
-Vineet