X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FAWM002.dtsi;h=3e57b724a15affc27cb56efedf3fda7f22ec55cc;hb=f8b6c9d82599d29e3d09185e3a190fc4d145e5ea;hp=5fe2faade8fafe76abfa5ad1b28f4aa9af1892f8;hpb=3ad136d9e3e65ac43db0eca40a7ead4111511468;p=openwrt%2Fstaging%2Fmkresin.git diff --git a/target/linux/ramips/dts/AWM002.dtsi b/target/linux/ramips/dts/AWM002.dtsi index 5fe2faade8..3e57b724a1 100644 --- a/target/linux/ramips/dts/AWM002.dtsi +++ b/target/linux/ramips/dts/AWM002.dtsi @@ -1,29 +1,18 @@ -/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 { @@ -52,17 +41,17 @@ }; }; - 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 { @@ -75,12 +64,14 @@ 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>; }; };