ramips: dts: use generic node name for flash

In DTS Checklist[1] we're now demanding proper generic node names, as
the name of a node should reflect the function of the device and use
generic name for that[2]. Everybody seems to be copy&pasting from DTS
files available in the repository today, so let's unify that naming
there as well and provide proper examples.

While at it, remove unused m25p80 label.

Tested on rt5350 (for spi-nor) and rt3662 (for cfi-flash).

1. https://openwrt.org/submitting-patches#dts_checklist
2. https://github.com/devicetree-org/devicetree-specification/blob/master/source/devicetree-basics.rst#generic-names-recommendation

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
This commit is contained in:
Sungbo Eo 2020-05-07 23:15:27 +09:00 committed by Adrian Schmutzler
parent b1cfbff0a7
commit 1eceab3fc0
239 changed files with 240 additions and 240 deletions

View File

@ -52,7 +52,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0 0>;
spi-max-frequency = <10000000>;

View File

@ -133,7 +133,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -99,7 +99,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -57,7 +57,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -93,7 +93,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -93,7 +93,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -93,7 +93,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -101,7 +101,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <80000000>;

View File

@ -66,7 +66,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -83,7 +83,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -78,7 +78,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -78,7 +78,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -53,7 +53,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -115,7 +115,7 @@
&spi0 {
status = "okay";
en25q128@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -52,7 +52,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -36,7 +36,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -60,7 +60,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -41,7 +41,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -32,7 +32,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -36,7 +36,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <50000000>;

View File

@ -56,7 +56,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -50,7 +50,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <24000000>;

View File

@ -52,7 +52,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -24,7 +24,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -71,7 +71,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -43,7 +43,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -63,7 +63,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -78,7 +78,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -83,7 +83,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -29,7 +29,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -10,7 +10,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -33,7 +33,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <1000000>;

View File

@ -117,7 +117,7 @@
&spi0 {
status = "okay";
en25q128@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -79,7 +79,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -118,7 +118,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -40,7 +40,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -67,7 +67,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -72,7 +72,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "mx25l25635f", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;

View File

@ -94,7 +94,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -72,7 +72,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -10,7 +10,7 @@
&spi0 {
status = "okay";
en25q128@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -10,7 +10,7 @@
&spi0 {
status = "okay";
en25q128@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -52,7 +52,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -91,7 +91,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -70,7 +70,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -75,7 +75,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -59,7 +59,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -69,7 +69,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -67,7 +67,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -52,7 +52,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -62,7 +62,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -62,7 +62,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -10,7 +10,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -18,7 +18,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -53,7 +53,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -43,7 +43,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -40,7 +40,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -63,7 +63,7 @@
&spi0 {
status = "okay";
en25q64@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -67,7 +67,7 @@
&spi0 {
status = "okay";
en25q64@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -56,7 +56,7 @@
&spi0 {
status = "okay";
en25q64@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -59,7 +59,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -87,7 +87,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -87,7 +87,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -54,7 +54,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -116,7 +116,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -116,7 +116,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -93,7 +93,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <45000000>;

View File

@ -106,7 +106,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -65,7 +65,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -109,7 +109,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -123,7 +123,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -53,7 +53,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -62,7 +62,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <80000000>;

View File

@ -72,7 +72,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <80000000>;

View File

@ -68,7 +68,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -68,7 +68,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -76,7 +76,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <45000000>;

View File

@ -54,7 +54,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -77,7 +77,7 @@
&spi0 {
status = "okay";
mx25l6405d@0 {
flash@0 {
compatible = "mx25l6405d","jedec,spi-nor";
reg = <0 0>;
spi-max-frequency = <10000000>;

View File

@ -80,7 +80,7 @@
&spi0 {
status = "okay";
w25q128@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
// XXX empiric value to obtain actual 10MHz SCK at the chip

View File

@ -90,7 +90,7 @@
&spi0 {
status = "okay";
w25q40@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <3125000>;
@ -136,7 +136,7 @@
};
};
w25q128@1 {
flash@1 {
compatible = "jedec,spi-nor";
reg = <1>;
// XXX empiric value to obtain actual 10MHz SCK at the chip

View File

@ -41,7 +41,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -53,7 +53,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -43,7 +43,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -55,7 +55,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -44,7 +44,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -58,7 +58,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -91,7 +91,7 @@
&spi0 {
status = "okay";
w25q64@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -97,7 +97,7 @@
&spi0 {
status = "okay";
w25q64@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <40000000>;

View File

@ -123,7 +123,7 @@
*/
status = "disabled";
m25p80@1 {
flash@1 {
compatible = "jedec,spi-nor";
reg = <1>;
spi-max-frequency = <10000000>;

View File

@ -44,7 +44,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <14000000>;

View File

@ -50,7 +50,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <80000000>;

View File

@ -65,7 +65,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -38,7 +38,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -35,7 +35,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -51,7 +51,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -49,7 +49,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -113,7 +113,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -119,7 +119,7 @@
&spi0 {
status = "okay";
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;

View File

@ -93,7 +93,7 @@
pinctrl-names = "default";
pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
m25p80@0 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <40000000>;

Some files were not shown because too many files have changed in this diff Show More