diff options
author | Sungbo Eo <mans0n@gorani.run> | 2020-05-07 23:15:27 +0900 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-09 14:48:50 +0200 |
commit | 1eceab3fc0f9875da0cc6b83be4438593f617287 (patch) | |
tree | a163167fbdbb7d3b9667658319385da842232e80 /target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts | |
parent | b1cfbff0a7d386a7b3d3aa19b9971e0ea6d1db65 (diff) | |
download | upstream-1eceab3fc0f9875da0cc6b83be4438593f617287.tar.gz upstream-1eceab3fc0f9875da0cc6b83be4438593f617287.tar.bz2 upstream-1eceab3fc0f9875da0cc6b83be4438593f617287.zip |
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>
Diffstat (limited to 'target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts')
-rw-r--r-- | target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts b/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts index 2c750eb1d7..5f9565ed84 100644 --- a/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts +++ b/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts @@ -16,7 +16,7 @@ led-upgrade = &led_wps_green; }; - nor-flash@1c000000 { + flash@1c000000 { compatible = "cfi-flash"; reg = <0x1c000000 0x800000>; bank-width = <2>; |