mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
673283a3be
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
25 lines
763 B
Plaintext
25 lines
763 B
Plaintext
HiSilicon SPI-NOR Flash Controller
|
|
|
|
Required properties:
|
|
- compatible : Should be "hisilicon,fmc-spi-nor" and one of the following strings:
|
|
"hisilicon,hi3519-spi-nor"
|
|
- address-cells : Should be 1.
|
|
- size-cells : Should be 0.
|
|
- reg : Offset and length of the register set for the controller device.
|
|
- reg-names : Must include the following two entries: "control", "memory".
|
|
- clocks : handle to spi-nor flash controller clock.
|
|
|
|
Example:
|
|
spi-nor-controller@10000000 {
|
|
compatible = "hisilicon,hi3519-spi-nor", "hisilicon,fmc-spi-nor";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <0x10000000 0x1000>, <0x14000000 0x1000000>;
|
|
reg-names = "control", "memory";
|
|
clocks = <&clock HI3519_FMC_CLK>;
|
|
flash@0 {
|
|
compatible = "jedec,spi-nor";
|
|
reg = <0>;
|
|
};
|
|
};
|