X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7628an_tplink_tl-wr840n-v5.dts;h=1f8f7f4babc88f579a6a45fa38a201807365b576;hp=3043975d79c7f1cc986780172acf7afbd44924c0;hb=edaf432bf411767f3e8a9e5effc3a416bcac46c7;hpb=0b68d081eb598c1a5a1cfb13d1494d9228c67b05 diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts index 3043975d79..1f8f7f4bab 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts +++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts @@ -1,5 +1,3 @@ -/dts-v1/; - #include "mt7628an.dtsi" #include @@ -35,12 +33,12 @@ compatible = "gpio-leds"; led_power_green: power { - label = "tl-wr840n-v5:green:power"; + label = "green:power"; gpios = <&gpio 41 GPIO_ACTIVE_LOW>; }; orange { - label = "tl-wr840n-v5:orange:power"; + label = "orange:power"; gpios = <&gpio 43 GPIO_ACTIVE_LOW>; }; }; @@ -49,7 +47,7 @@ &spi0 { status = "okay"; - m25p80@0 { + flash@0 { compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <10000000>; @@ -103,7 +101,7 @@ &state_default { gpio { - ralink,group = "p0led_an", "p2led_an", "perst"; - ralink,function = "gpio"; + groups = "p0led_an", "p2led_an", "perst"; + function = "gpio"; }; };