diff options
author | John Crispin <blogic@openwrt.org> | 2016-01-01 21:19:50 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-01-01 21:19:50 +0000 |
commit | 1b4e511aa502d02c43fcd73d913d4e119b613ba4 (patch) | |
tree | 2885e0b004f7925b99d874d1ca083e5b4396a560 /target/linux/ramips/dts/WRTNODE2R.dts | |
parent | 2dd91ae771b1722fb49d86a116725da6c9bac452 (diff) | |
download | master-187ad058-1b4e511aa502d02c43fcd73d913d4e119b613ba4.tar.gz master-187ad058-1b4e511aa502d02c43fcd73d913d4e119b613ba4.tar.bz2 master-187ad058-1b4e511aa502d02c43fcd73d913d4e119b613ba4.zip |
ralink: add WRTnode2 platform and led support
Signed-off-by: xzmu <xzmu@wrtnode.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48049 3c298f89-4303-0410-b956-a3cf2f4a3e73
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>; + }; + }; +}; + |