-/dts-v1/;
-
-/include/ "rt5350.dtsi"
+#include "rt5350.dtsi"
/ {
compatible = "AWM002", "ralink,rt5350-soc";
model = "AsiaRF AWM002";
palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
- ralink,gpiomux = "i2c";
- ralink,uartmux = "gpio";
- ralink,wdtmux = <1>;
- };
-
- gpio0: gpio@600 {
- status = "okay";
- };
-
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0 0>;
+ compatible = "jedec,spi-nor";
spi-max-frequency = <10000000>;
partition@0 {
};
};
- ethernet@10100000 {
- status = "okay";
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "i2c", "jtag";
+ ralink,function = "gpio";
+ };
+ };
};
esw@10110000 {
- status = "okay";
- ralink,portmap = <0x3f>;
- };
-
- wmac@10180000 {
- status = "okay";
+ mediatek,portmap = <0x3f>;
};
ehci@101c0000 {
gpio-leds {
compatible = "gpio-leds";
+
ld1 {
- label = "asiarf:green:ld1";
+ label = "awm002:green:ld1";
gpios = <&gpio0 0 1>;
};
+
ld2 {
- label = "asiarf:green:ld2";
+ label = "awm002:green:ld2";
gpios = <&gpio0 1 1>;
};
};