X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FESR-9753.dts;h=6869166787460b28cd88141ae2ceca81707a794d;hb=ffaaa6788a983a5eae0117d138a297df3f131869;hp=444ce93ceb1e5946e75a2638b46895bbfc9920d8;hpb=b77e92e020c17b5530ec5c1b37cf66ae0cf717e6;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/ESR-9753.dts b/target/linux/ramips/dts/ESR-9753.dts index 444ce93ceb..6869166787 100644 --- a/target/linux/ramips/dts/ESR-9753.dts +++ b/target/linux/ramips/dts/ESR-9753.dts @@ -1,24 +1,14 @@ /dts-v1/; -/include/ "rt3050.dtsi" +#include "rt3050.dtsi" / { compatible = "ESR-9753", "ralink,rt3052-soc"; model = "Senao / EnGenius ESR-9753"; - pinctrl { - state_default: pinctrl0 { - gpio { - ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; - ralink,function = "gpio"; - }; - }; - }; - cfi@1f000000 { compatible = "cfi-flash"; reg = <0x1f000000 0x800000>; - bank-width = <2>; device-width = <2>; #address-cells = <1>; @@ -50,10 +40,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>; @@ -65,27 +57,38 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + reset { label = "reset"; gpios = <&gpio0 10 1>; linux,code = <0x198>; }; + wps { label = "wps"; gpios = <&gpio0 0 1>; linux,code = <0x211>; }; }; +}; - ethernet@10100000 { - mtd-mac-address = <&factory 0x4>; +&pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; + ralink,function = "gpio"; + }; }; +}; - esw@10110000 { - ralink,portmap = <0x3e>; - }; +ðernet { + mtd-mac-address = <&factory 0x4>; +}; - wmac@10180000 { - ralink,mtd-eeprom = <&factory 0>; - }; +&esw { + mediatek,portmap = <0x3e>; +}; + +&wmac { + ralink,mtd-eeprom = <&factory 0>; };