X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=target%2Flinux%2Framips%2Fdts%2FESR-9753.dts;h=59a961d69907cec5c4c274360aace960e18b5a0b;hb=a6f6f8df23a06739d062ff4cf3e996b2aea200ae;hp=5c5f0bbbe810d6f6a9399bf94414c92307c2fff9;hpb=bc7b3109590eeb3182f9d50bf358370f4b7828c1;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/ESR-9753.dts b/target/linux/ramips/dts/ESR-9753.dts index 5c5f0bbbe8..59a961d699 100644 --- a/target/linux/ramips/dts/ESR-9753.dts +++ b/target/linux/ramips/dts/ESR-9753.dts @@ -1,28 +1,16 @@ /dts-v1/; -/include/ "rt3050.dtsi" +#include "rt3050.dtsi" + +#include / { compatible = "ESR-9753", "ralink,rt3052-soc"; model = "Senao / EnGenius ESR-9753"; - palmbus@10000000 { - sysc@0 { - ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii"; - ralink,uartmux = "gpio"; - ralink,wdtmux = <1>; - }; - - gpio0: gpio@600 { - status = "okay"; - }; - - }; - cfi@1f000000 { compatible = "cfi-flash"; reg = <0x1f000000 0x800000>; - bank-width = <2>; device-width = <2>; #address-cells = <1>; @@ -54,10 +42,12 @@ gpio-leds { compatible = "gpio-leds"; + power { label = "esr-9753:orange:power"; gpios = <&gpio0 8 1>; }; + wps { label = "esr-9753:orange:wps"; gpios = <&gpio0 14 1>; @@ -69,28 +59,38 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; + wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = ; }; }; +}; - ethernet@10100000 { - status = "okay"; +&pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; + ralink,function = "gpio"; + }; }; +}; - esw@10110000 { - status = "okay"; - ralink,portmap = <0x3e>; - }; +ðernet { + mtd-mac-address = <&factory 0x4>; +}; - wmac@10180000 { - status = "okay"; - }; +&esw { + mediatek,portmap = <0x3e>; +}; + +&wmac { + ralink,mtd-eeprom = <&factory 0>; };