ramips: DTS rework
[openwrt/openwrt.git] / target / linux / ramips / dts / WT1520.dtsi
1 #include "rt5350.dtsi"
2
3 / {
4 compatible = "NEXXWT1520", "ralink,rt5350-soc";
5 model = "Nexx WT1520";
6
7 memory@0 {
8 device_type = "memory";
9 reg = <0x0 0x2000000>;
10 };
11
12 chosen {
13 bootargs = "console=ttyS1,57600";
14 };
15 };
16
17 &uart {
18 pinctrl-names = "default";
19 pinctrl-0 = <&uartf_pins>;
20 status = "okay";
21 };
22
23 &pinctrl {
24 state_default {
25 gpio {
26 ralink,group = "jtag";
27 ralink,function = "gpio";
28 };
29 };
30 };
31
32 &ethernet {
33 mtd-mac-address = <&factory 0x4>;
34 };
35
36 &wmac {
37 ralink,mtd-eeprom = <&factory 0>;
38 };
39
40 &ehci {
41 status = "okay";
42 };
43
44 &ohci {
45 status = "okay";
46 };