compatible = "W306R_V20", "ralink,rt3052-soc";
model = "Tenda W306R V2.0";
- 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)";
- };
-
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
};
};
- 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";
- };
-
esw@10110000 {
- status = "okay";
ralink,portmap = <0x3e>;
};
linux,code = <0x198>;
};
};
-
- wmac@10180000 {
- status = "okay";
- };
};