/include/ "rt3050.dtsi"
/ {
- compatible = "WCR150GN", "ralink,rt3052-soc";
+ compatible = "WCR150GN", "ralink,rt3050-soc";
model = "Sparklan WCR-150GN";
- memorydetect {
- ralink,memory = <0x0 0x200000 0x4000000>;
- };
-
- chosen {
- bootargs = "console=ttyS0,57600 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,3776k@0x50000(firmware)";
- };
-
- palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
- ralink,uartmux = "gpio";
- ralink,wdtmux = <1>;
- };
-
- gpio0: gpio@600 {
- status = "okay";
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ ralink,function = "gpio";
+ };
};
};
};
ethernet@10100000 {
- status = "okay";
+ mtd-mac-address = <&factory 0x4>;
};
esw@10110000 {
- status = "okay";
ralink,portmap = <0x2f>;
};
wmac@10180000 {
- status = "okay";
+ ralink,mtd-eeprom = <&factory 0>;
};
otg@101c0000 {