| 1 |
HiSilicon SPI-NOR Flash Controller |
| 2 |
|
| 3 |
Required properties: |
| 4 |
- compatible : Should be "hisilicon,fmc-spi-nor" and one of the following strings: |
| 5 |
"hisilicon,hi3519-spi-nor" |
| 6 |
- address-cells : Should be 1. |
| 7 |
- size-cells : Should be 0. |
| 8 |
- reg : Offset and length of the register set for the controller device. |
| 9 |
- reg-names : Must include the following two entries: "control", "memory". |
| 10 |
- clocks : handle to spi-nor flash controller clock. |
| 11 |
|
| 12 |
Example: |
| 13 |
spi-nor-controller@10000000 { |
| 14 |
compatible = "hisilicon,hi3519-spi-nor", "hisilicon,fmc-spi-nor"; |
| 15 |
#address-cells = <1>; |
| 16 |
#size-cells = <0>; |
| 17 |
reg = <0x10000000 0x1000>, <0x14000000 0x1000000>; |
| 18 |
reg-names = "control", "memory"; |
| 19 |
clocks = <&clock HI3519_FMC_CLK>; |
| 20 |
flash@0 { |
| 21 |
compatible = "jedec,spi-nor"; |
| 22 |
reg = <0>; |
| 23 |
}; |
| 24 |
}; |