Commit 673283a3 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring

dt-bindings: align SPI NOR node name with dtschema

The node names should be generic and SPI NOR dtschema expects "flash".
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Reviewed-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220407143405.295907-1-krzysztof.kozlowski@linaro.org
parent 081e8432
...@@ -17,7 +17,7 @@ spi-nor-controller@10000000 { ...@@ -17,7 +17,7 @@ spi-nor-controller@10000000 {
reg = <0x10000000 0x1000>, <0x14000000 0x1000000>; reg = <0x10000000 0x1000>, <0x14000000 0x1000000>;
reg-names = "control", "memory"; reg-names = "control", "memory";
clocks = <&clock HI3519_FMC_CLK>; clocks = <&clock HI3519_FMC_CLK>;
spi-nor@0 { flash@0 {
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
}; };
......
...@@ -78,7 +78,7 @@ spi0:spi@20bf0000 { ...@@ -78,7 +78,7 @@ spi0:spi@20bf0000 {
interrupts = <338>; interrupts = <338>;
clocks = <&clkspi>; clocks = <&clkspi>;
flash: n25q032@0 { flash: flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "st,m25p32"; compatible = "st,m25p32";
......
...@@ -143,7 +143,7 @@ examples: ...@@ -143,7 +143,7 @@ examples:
<&dma_controller 24 0>; <&dma_controller 24 0>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
m25p80@1 { flash@1 {
compatible = "st,m25p80"; compatible = "st,m25p80";
reg = <1>; reg = <1>;
spi-max-frequency = <12000000>; spi-max-frequency = <12000000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment