dts: jedec,spi-nor: require size property
The SPI NOR driver requires that the size (in bits) be provided in the devicetree node. Update the binding to make the property required, and update all nodes based on the memory chip identified. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
This commit is contained in:
parent
17945358e8
commit
f83ad78261
10 changed files with 10 additions and 1 deletions
|
@ -53,6 +53,7 @@ arduino_serial: &uart4 {};
|
|||
reg = <0x402a8000 0x4000>, <0x60000000 0x1000000>;
|
||||
at25sf128a: at25sf128a@0 {
|
||||
compatible = "adesto,at25sf128a", "jedec,spi-nor";
|
||||
size = <134217728>;
|
||||
label = "AT25SF128A";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <133000000>;
|
||||
|
|
|
@ -61,6 +61,7 @@ arduino_serial: &uart2 {};
|
|||
reg = <0x402a8000 0x4000>, <0x60000000 0x800000>;
|
||||
is25wp064: is25wp064@0 {
|
||||
compatible = "issi,is25wp064", "jedec,spi-nor";
|
||||
size = <67108864>;
|
||||
label = "IS25WP064";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <133000000>;
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
reg = <0x402a8000 0x4000>, <0x60000000 0x800000>;
|
||||
is25wp064: is25wp064@0 {
|
||||
compatible = "issi,is25wp064", "jedec,spi-nor";
|
||||
size = <67108864>;
|
||||
label = "IS25WP064";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <133000000>;
|
||||
|
|
|
@ -68,6 +68,7 @@ arduino_serial: &uart3 {};
|
|||
reg = <0x402a8000 0x4000>, <0x60000000 0x800000>;
|
||||
is25wp064: is25wp064@0 {
|
||||
compatible = "issi,is25wp064", "jedec,spi-nor";
|
||||
size = <67108864>;
|
||||
label = "IS25WP064";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <133000000>;
|
||||
|
|
|
@ -63,6 +63,7 @@
|
|||
reg = <0x10014000 0x1000 0x20400000 0xc00000>;
|
||||
flash0: flash@0 {
|
||||
compatible = "issi,is25lp128", "jedec,spi-nor";
|
||||
size = <134217728>;
|
||||
label = "FLASH0";
|
||||
jedec-id = [96 60 18];
|
||||
reg = <0>;
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
reg = <0x10014000 0x1000 0x20010000 0x3c0900>;
|
||||
flash0: flash@0 {
|
||||
compatible = "issi,is25lp128", "jedec,spi-nor";
|
||||
size = <134217728>;
|
||||
label = "FLASH0";
|
||||
jedec-id = [96 60 18];
|
||||
reg = <0>;
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
reg = <0x10014000 0x1000 0x20400000 0xc00000>;
|
||||
flash0: flash@0 {
|
||||
compatible = "issi,is25lp128", "jedec,spi-nor";
|
||||
size = <134217728>;
|
||||
label = "FLASH0";
|
||||
jedec-id = [96 60 18];
|
||||
reg = <0>;
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
reg = <0x10014000 0x1000 0x20400000 0xc00000>;
|
||||
flash0: flash@0 {
|
||||
compatible = "issi,is25lp128", "jedec,spi-nor";
|
||||
size = <134217728>;
|
||||
label = "FLASH0";
|
||||
jedec-id = [96 60 18];
|
||||
reg = <0>;
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
/* WINBOND */
|
||||
w25q32jvwj0: w25q32jvwj@0 {
|
||||
compatible = "winbond,w25q32jvwj", "jedec,spi-nor";
|
||||
size = <33554432>;
|
||||
label = "W25Q32JVWJ0";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <133000000>;
|
||||
|
|
|
@ -23,7 +23,7 @@ properties:
|
|||
|
||||
size:
|
||||
type: int
|
||||
required: false
|
||||
required: true
|
||||
description: flash capacity in bits
|
||||
|
||||
wp-gpios:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue