Rename the SPI-NOR node to flash@0, remove #address-cells and #size-cells
as they should be under the partitions subnode and use the generic
jedec,spi-nor compatible.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230811210142.403160-2-robimarko@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
status = "okay";
cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
- mx25l25635e@0 {
- #address-cells = <1>;
- #size-cells = <1>;
+ flash@0 {
reg = <0>;
- compatible = "mx25l25635e";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <24000000>;
};
};