From 1eceab3fc0f9875da0cc6b83be4438593f617287 Mon Sep 17 00:00:00 2001 From: Sungbo Eo Date: Thu, 7 May 2020 23:15:27 +0900 Subject: 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 --- target/linux/ramips/dts/rt2880_airlink101_ar725w.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/rt2880_airlink101_ar725w.dts') diff --git a/target/linux/ramips/dts/rt2880_airlink101_ar725w.dts b/target/linux/ramips/dts/rt2880_airlink101_ar725w.dts index f61f690a6e..f824dc973a 100644 --- a/target/linux/ramips/dts/rt2880_airlink101_ar725w.dts +++ b/target/linux/ramips/dts/rt2880_airlink101_ar725w.dts @@ -16,7 +16,7 @@ led-upgrade = &led_power; }; - cfi@bdc00000 { + flash@bdc00000 { compatible = "cfi-flash"; reg = <0xbc400000 0x800000>; bank-width = <2>; -- cgit v1.2.3