diff options
author | John Crispin <john@openwrt.org> | 2016-01-01 21:19:50 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-01-01 21:19:50 +0000 |
commit | de7dce21a331dfe0fc63efd16f0d00e0a226de9b (patch) | |
tree | 5b41b6d187ad49b29405291df0e1a1f447faa459 /target/linux/ramips/dts/WRTNODE2R.dts | |
parent | df165974c32a6ad2499b815d9d9f72b250d622f8 (diff) | |
download | upstream-de7dce21a331dfe0fc63efd16f0d00e0a226de9b.tar.gz upstream-de7dce21a331dfe0fc63efd16f0d00e0a226de9b.tar.bz2 upstream-de7dce21a331dfe0fc63efd16f0d00e0a226de9b.zip |
ralink: add WRTnode2 platform and led support
Signed-off-by: xzmu <xzmu@wrtnode.com>
SVN-Revision: 48049
Diffstat (limited to 'target/linux/ramips/dts/WRTNODE2R.dts')
-rw-r--r-- | target/linux/ramips/dts/WRTNODE2R.dts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/WRTNODE2R.dts b/target/linux/ramips/dts/WRTNODE2R.dts new file mode 100644 index 0000000000..e91591590a --- /dev/null +++ b/target/linux/ramips/dts/WRTNODE2R.dts @@ -0,0 +1,27 @@ +/dts-v1/; + +/include/ "WRTNODE2.dtsi" + +/ { + compatible = "mediatek,wrtnode2r", "mediatek,mt7628an-soc"; + model = "WRTnode2R"; + + pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "i2c", "gpio", "wled_an"; + ralink,function = "gpio"; + }; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + + indicator { + label = "wrtnode:blue:indicator"; + gpios = <&gpio1 12 1>; + }; + }; +}; + |