openwrtv4/target/linux/ramips/dts/WT1520.dtsi
L. D. Pinney 70b192f573 ramips: update device tree source files
Use the GPIO dt-bindings macros and add compatible strings in the
ramips device tree source files.

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Signed-off-by: Mathias Kresin <dev@kresin.me>
2017-08-03 19:37:40 +02:00

45 lines
559 B
Text

#include "rt5350.dtsi"
/ {
compatible = "nexx,wt1520", "ralink,rt5350-soc";
memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>;
};
chosen {
bootargs = "console=ttyS1,57600";
};
};
&uart {
pinctrl-names = "default";
pinctrl-0 = <&uartf_pins>;
status = "okay";
};
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "jtag";
ralink,function = "gpio";
};
};
};
&ethernet {
mtd-mac-address = <&factory 0x4>;
};
&wmac {
ralink,mtd-eeprom = <&factory 0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};