dt-bindings: align SPI NOR node name with dtschema
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 7 Apr 2022 14:34:05 +0000 (16:34 +0200)
committerRob Herring <robh@kernel.org>
Thu, 7 Apr 2022 19:03:06 +0000 (14:03 -0500)
The node names should be generic and SPI NOR dtschema expects "flash".

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220407143405.295907-1-krzysztof.kozlowski@linaro.org
Documentation/devicetree/bindings/mtd/hisilicon,fmc-spi-nor.txt
Documentation/devicetree/bindings/spi/spi-davinci.txt
Documentation/devicetree/bindings/spi/spi-pl022.yaml

index 7498152..a99de13 100644 (file)
@@ -17,7 +17,7 @@ spi-nor-controller@10000000 {
        reg = <0x10000000 0x1000>, <0x14000000 0x1000000>;
        reg-names = "control", "memory";
        clocks = <&clock HI3519_FMC_CLK>;
-       spi-nor@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
        };
index 200c7fc..f012888 100644 (file)
@@ -78,7 +78,7 @@ spi0:spi@20bf0000 {
        interrupts                      = <338>;
        clocks                          = <&clkspi>;
 
-       flash: n25q032@0 {
+       flash: flash@0 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "st,m25p32";
index bda45ff..0e38211 100644 (file)
@@ -143,7 +143,7 @@ examples:
         <&dma_controller 24 0>;
       dma-names = "rx", "tx";
 
-      m25p80@1 {
+      flash@1 {
         compatible = "st,m25p80";
         reg = <1>;
         spi-max-frequency = <12000000>;