X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FMR-102N.dts;h=a28deb79eda7f7b6500f63d906d43729c3b77da1;hb=3d680c57286a2f77b9cfba275756c711730c7fe2;hp=3c392e44c9dcc4535a5cc725d6bfac78a0901e27;hpb=553fea9f195aaefa8533b99e0d0c9ff9a27fc4f5;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/MR-102N.dts b/target/linux/ramips/dts/MR-102N.dts index 3c392e44c9..a28deb79ed 100644 --- a/target/linux/ramips/dts/MR-102N.dts +++ b/target/linux/ramips/dts/MR-102N.dts @@ -1,20 +1,13 @@ /dts-v1/; -/include/ "rt3050.dtsi" +#include "rt3050.dtsi" + +#include / { compatible = "MR-102N", "ralink,rt3052-soc"; model = "AXIMCom MR-102N"; - pinctrl { - state_default: pinctrl0 { - gpio { - ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; - ralink,function = "gpio"; - }; - }; - }; - cfi@1f000000 { compatible = "cfi-flash"; reg = <0x1f000000 0x800000>; @@ -57,20 +50,6 @@ }; }; - ethernet@10100000 { - mtd-mac-address = <&factory 0x4>; - }; - - esw@10110000 { - status = "okay"; - #ralink,portmap = <0x3e>; - ralink,portmap = <0x2f>; - }; - - wmac@10180000 { - ralink,mtd-eeprom = <&factory 0>; - }; - gpio-leds { compatible = "gpio-leds"; @@ -99,17 +78,41 @@ reset { label = "reset"; gpios = <&gpio0 13 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio0 18 1>; - linux,code = <0x211>; + linux,code = ; }; }; +}; - otg@101c0000 { - status = "okay"; +&pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; + ralink,function = "gpio"; + }; }; }; + +ðernet { + mtd-mac-address = <&factory 0x4>; +}; + +&esw { + status = "okay"; + #mediatek,portmap = <0x3e>; + mediatek,portmap = <0x2f>; +}; + +&wmac { + ralink,mtd-eeprom = <&factory 0>; +}; + + +&otg { + status = "okay"; +};