X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Frt5350_nexx_wt1520.dtsi;fp=target%2Flinux%2Framips%2Fdts%2Frt5350_nexx_wt1520.dtsi;h=28d498bc87c32d817377f0cb656818c3147e9626;hb=3b0264eddbc94f43a015a965b9eb3e12cfce0655;hp=0000000000000000000000000000000000000000;hpb=6a104ac77206158c593cc7572c46eca6d3f4717f;p=openwrt%2Fstaging%2Fmkresin.git diff --git a/target/linux/ramips/dts/rt5350_nexx_wt1520.dtsi b/target/linux/ramips/dts/rt5350_nexx_wt1520.dtsi new file mode 100644 index 0000000000..28d498bc87 --- /dev/null +++ b/target/linux/ramips/dts/rt5350_nexx_wt1520.dtsi @@ -0,0 +1,49 @@ +#include "rt5350.dtsi" + +#include +#include + +/ { + compatible = "nexx,wt1520", "ralink,rt5350-soc"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x2000000>; + }; + + keys { + compatible = "gpio-keys-polled"; + poll-interval = <20>; + + reset { + label = "reset"; + gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "jtag", "uartf"; + ralink,function = "gpio"; + }; + }; +}; + +ðernet { + mtd-mac-address = <&factory 0x4>; +}; + +&wmac { + ralink,mtd-eeprom = <&factory 0>; +}; + +&ehci { + status = "okay"; +}; + +&ohci { + status = "okay"; +};