aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/NBG-419N2.dts
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-02-02 22:11:23 +0100
committerMathias Kresin <dev@kresin.me>2017-02-02 22:48:54 +0100
commit05b1fcc70b4cd65f069ce0640b5130484c58c227 (patch)
treed2d4078535015dd3732be59494bcb5cd7e9a99f2 /target/linux/ramips/dts/NBG-419N2.dts
parent063d5a61e5a6f3b7c8be52c448c43ff54794fa32 (diff)
downloadupstream-05b1fcc70b4cd65f069ce0640b5130484c58c227.tar.gz
upstream-05b1fcc70b4cd65f069ce0640b5130484c58c227.tar.bz2
upstream-05b1fcc70b4cd65f069ce0640b5130484c58c227.zip
ramips: cleanup SPI flash device tree properties usage
Use only the jedec,spi-nor compatible string. Everything else either never worked or is only support to keep compatibility. Remove the linux,modalias property. It is obsolete since kernel 4.4. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts/NBG-419N2.dts')
-rw-r--r--target/linux/ramips/dts/NBG-419N2.dts3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/NBG-419N2.dts b/target/linux/ramips/dts/NBG-419N2.dts
index 8bb0cc5280..18e7902397 100644
--- a/target/linux/ramips/dts/NBG-419N2.dts
+++ b/target/linux/ramips/dts/NBG-419N2.dts
@@ -14,9 +14,8 @@
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "mx25l6405d";
+ compatible = "jedec,spi-nor";
reg = <0 0>;
- linux,modalias = "m25p80", "mx25l6405d";
spi-max-frequency = <10000000>;
partition@0 {