dts: add label property to all jedec,spi-nor nodes

The property is required on all SPI clients, but was missing from
several devicetree nodes.  Set it, using the capitalized version of the
node alias when present, with "jedec,spi-nor#0" as the fallback.

Closes #17662

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
This commit is contained in:
Peter A. Bigot 2019-07-19 10:19:02 -05:00 committed by Kumar Gala
commit 1bb59bb68e
9 changed files with 9 additions and 0 deletions

View file

@ -53,6 +53,7 @@ arduino_serial: &uart4 {};
reg = <0x402a8000 0x4000>, <0x60000000 0x1000000>; reg = <0x402a8000 0x4000>, <0x60000000 0x1000000>;
at25sf128a: at25sf128a@0 { at25sf128a: at25sf128a@0 {
compatible = "adesto,at25sf128a", "jedec,spi-nor"; compatible = "adesto,at25sf128a", "jedec,spi-nor";
label = "AT25SF128A";
reg = <0>; reg = <0>;
spi-max-frequency = <133000000>; spi-max-frequency = <133000000>;
status = "okay"; status = "okay";

View file

@ -61,6 +61,7 @@ arduino_serial: &uart2 {};
reg = <0x402a8000 0x4000>, <0x60000000 0x800000>; reg = <0x402a8000 0x4000>, <0x60000000 0x800000>;
is25wp064: is25wp064@0 { is25wp064: is25wp064@0 {
compatible = "issi,is25wp064", "jedec,spi-nor"; compatible = "issi,is25wp064", "jedec,spi-nor";
label = "IS25WP064";
reg = <0>; reg = <0>;
spi-max-frequency = <133000000>; spi-max-frequency = <133000000>;
status = "okay"; status = "okay";

View file

@ -12,6 +12,7 @@
reg = <0x402a8000 0x4000>, <0x60000000 0x800000>; reg = <0x402a8000 0x4000>, <0x60000000 0x800000>;
is25wp064: is25wp064@0 { is25wp064: is25wp064@0 {
compatible = "issi,is25wp064", "jedec,spi-nor"; compatible = "issi,is25wp064", "jedec,spi-nor";
label = "IS25WP064";
reg = <0>; reg = <0>;
spi-max-frequency = <133000000>; spi-max-frequency = <133000000>;
status = "okay"; status = "okay";

View file

@ -67,6 +67,7 @@ arduino_serial: &uart3 {};
reg = <0x402a8000 0x4000>, <0x60000000 0x800000>; reg = <0x402a8000 0x4000>, <0x60000000 0x800000>;
is25wp064: is25wp064@0 { is25wp064: is25wp064@0 {
compatible = "issi,is25wp064", "jedec,spi-nor"; compatible = "issi,is25wp064", "jedec,spi-nor";
label = "IS25WP064";
reg = <0>; reg = <0>;
spi-max-frequency = <133000000>; spi-max-frequency = <133000000>;
status = "okay"; status = "okay";

View file

@ -63,6 +63,7 @@
reg = <0x10014000 0x1000 0x20400000 0xc00000>; reg = <0x10014000 0x1000 0x20400000 0xc00000>;
flash0: flash@0 { flash0: flash@0 {
compatible = "issi,is25lp128", "jedec,spi-nor"; compatible = "issi,is25lp128", "jedec,spi-nor";
label = "FLASH0";
jedec-id = <0x96 0x60 0x18>; jedec-id = <0x96 0x60 0x18>;
reg = <0>; reg = <0>;
spi-max-frequency = <133000000>; spi-max-frequency = <133000000>;

View file

@ -61,6 +61,7 @@
reg = <0x10014000 0x1000 0x20010000 0x3c0900>; reg = <0x10014000 0x1000 0x20010000 0x3c0900>;
flash0: flash@0 { flash0: flash@0 {
compatible = "issi,is25lp128", "jedec,spi-nor"; compatible = "issi,is25lp128", "jedec,spi-nor";
label = "FLASH0";
jedec-id = <0x96 0x60 0x18>; jedec-id = <0x96 0x60 0x18>;
reg = <0>; reg = <0>;
spi-max-frequency = <133000000>; spi-max-frequency = <133000000>;

View file

@ -39,6 +39,7 @@
reg = <0x10014000 0x1000 0x20400000 0xc00000>; reg = <0x10014000 0x1000 0x20400000 0xc00000>;
flash0: flash@0 { flash0: flash@0 {
compatible = "issi,is25lp128", "jedec,spi-nor"; compatible = "issi,is25lp128", "jedec,spi-nor";
label = "FLASH0";
jedec-id = <0x96 0x60 0x18>; jedec-id = <0x96 0x60 0x18>;
reg = <0>; reg = <0>;
// Dummy entry // Dummy entry

View file

@ -66,6 +66,7 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "winbond,w25q16", "jedec,spi-nor"; compatible = "winbond,w25q16", "jedec,spi-nor";
label = "W25Q16";
reg = <0>; reg = <0>;
spi-max-frequency = <8000000>; spi-max-frequency = <8000000>;
}; };

View file

@ -11,6 +11,7 @@
/* WINBOND */ /* WINBOND */
w25q32jvwj0: w25q32jvwj@0 { w25q32jvwj0: w25q32jvwj@0 {
compatible = "winbond,w25q32jvwj", "jedec,spi-nor"; compatible = "winbond,w25q32jvwj", "jedec,spi-nor";
label = "W25Q32JVWJ0";
reg = <0>; reg = <0>;
spi-max-frequency = <133000000>; spi-max-frequency = <133000000>;
status = "okay"; status = "okay";