X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FVOCORE2.dtsi;fp=target%2Flinux%2Framips%2Fdts%2FVOCORE2.dtsi;h=dff9e544f9d5ca79f481b11eb63e89bf5e5f87bd;hb=df3295f50e54909090846de12f7deb3ff8de6557;hp=0000000000000000000000000000000000000000;hpb=8c9f847a808cbbe469c40b1f0a6fd9c78d3a42a4;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/VOCORE2.dtsi b/target/linux/ramips/dts/VOCORE2.dtsi new file mode 100644 index 0000000000..dff9e544f9 --- /dev/null +++ b/target/linux/ramips/dts/VOCORE2.dtsi @@ -0,0 +1,49 @@ +#include "mt7628an.dtsi" + +/ { + compatible = "vocore,vocore2", "mediatek,mt7628an-soc"; + + chosen { + bootargs = "console=ttyS2,115200"; + }; +}; + + +&pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "wled_an", "perst", "wdt"; + ralink,function = "gpio"; + }; + }; +}; + +&wmac { + status = "okay"; + ralink,mtd-eeprom = <&factory 0x4>; +}; + +&esw { + mediatek,portmap = <0x7>; + mediatek,portdisable = <0x3a>; +}; + +&i2s { + status = "okay"; +}; + +&gdma { + status = "okay"; +}; + +&pwm { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&uart2 { + status = "okay"; +};