X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FMZK-750DHP.dts;h=df0b73be9506741f1456a4f2fa2e84a40d4ff29f;hb=4a5158bd2a733a2967d6967701e0e97eed80dfda;hp=a32a1cd8826cd1df13d86af6f5a6e11823b66a4b;hpb=f44d3f99803be7ba5c38b26a2d8cbda1c301e893;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/MZK-750DHP.dts b/target/linux/ramips/dts/MZK-750DHP.dts index a32a1cd882..df0b73be95 100644 --- a/target/linux/ramips/dts/MZK-750DHP.dts +++ b/target/linux/ramips/dts/MZK-750DHP.dts @@ -17,7 +17,7 @@ m25p80@0 { #address-cells = <1>; #size-cells = <1>; - compatible = "en25q64"; + compatible = "jedec,spi-nor"; reg = <0 0>; linux,modalias = "m25p80", "mx25l6405d"; spi-max-frequency = <10000000>; @@ -51,7 +51,7 @@ pinctrl { state_default: pinctrl0 { gpio { - ralink,group = "i2c", "uartf", "mdio", "wdt", "spi refclk", "pa", "rgmii1", "rgmii2", "wled", "nd_sd"; + ralink,group = "i2c", "spi refclk", "rgmii1"; ralink,function = "gpio"; }; }; @@ -60,13 +60,12 @@ ethernet@10100000 { pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; - mtd-mac-address = <&factory 0x4>; - ralink,port-map = "llllw"; + mediatek,portmap = "llllw"; }; gsw@10110000 { - ralink,port4 = "ephy"; + mediatek,port4 = "ephy"; }; wmac@10180000 { @@ -77,15 +76,36 @@ status = "okay"; }; + gpio-leds { + compatible = "gpio-leds"; + + wps { + label = "mzk-750dhp:green:wps"; + gpios = <&gpio1 11 1>; + }; + + power { + label = "mzk-750dhp:green:power"; + gpios = <&gpio1 15 1>; + }; + }; + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + s1 { label = "reset"; gpios = <&gpio0 1 1>; linux,code = <0x100>; }; + + s2 { + label = "wps"; + gpios = <&gpio0 2 1>; + linux,code = <0x211>; + }; }; };