X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FWRTNODE2R.dts;h=79f65e0594d361e3849bcb08d89435c861b88201;hb=bfd65fc4ab71b9504a9280e91a67698ac4e1e06d;hp=d88fadfa4a594d62deb53e69d370f8882059de08;hpb=f8b6c9d82599d29e3d09185e3a190fc4d145e5ea;p=openwrt%2Fstaging%2Fwigyori.git diff --git a/target/linux/ramips/dts/WRTNODE2R.dts b/target/linux/ramips/dts/WRTNODE2R.dts index d88fadfa4a..79f65e0594 100644 --- a/target/linux/ramips/dts/WRTNODE2R.dts +++ b/target/linux/ramips/dts/WRTNODE2R.dts @@ -3,25 +3,28 @@ #include "WRTNODE2.dtsi" / { - compatible = "mediatek,wrtnode2r", "mediatek,mt7628an-soc"; + compatible = "wrtnode,wrtnode2r", "wrtnode,wrtnode2", "mediatek,mt7628an-soc"; model = "WRTnode2R"; - pinctrl { - state_default: pinctrl0 { - gpio { - ralink,group = "i2c", "gpio", "wled_an"; - ralink,function = "gpio"; - }; - }; + aliases { + led-status = &led_indicator; }; gpio-leds { compatible = "gpio-leds"; - indicator { + led_indicator: indicator { label = "wrtnode:blue:indicator"; - gpios = <&gpio1 12 1>; + gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; }; - }; + }; }; +&pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "i2c", "gpio", "wled_an"; + ralink,function = "gpio"; + }; + }; +};