X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FWCR150GN.dts;h=541836b218536dff2f1bde2547ec6e879f9b68a9;hb=103ed00cfb370236c3e96e427d5feb643a8d7c8e;hp=2a4fa115651d644f0ad81b55baeec23edb25cb94;hpb=f44d3f99803be7ba5c38b26a2d8cbda1c301e893;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/WCR150GN.dts b/target/linux/ramips/dts/WCR150GN.dts index 2a4fa11565..541836b218 100644 --- a/target/linux/ramips/dts/WCR150GN.dts +++ b/target/linux/ramips/dts/WCR150GN.dts @@ -1,24 +1,14 @@ /dts-v1/; -/include/ "rt3050.dtsi" +#include "rt3050.dtsi" / { compatible = "WCR150GN", "ralink,rt3050-soc"; model = "Sparklan WCR-150GN"; - 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,12 +40,14 @@ gpio-leds { compatible = "gpio-leds"; + user { - label = "wcr150gn:amber:user"; + label = "wcr-150gn:amber:user"; gpios = <&gpio0 12 1>; }; + power { - label = "wcr150gn:amber:power"; + label = "wcr-150gn:amber:power"; gpios = <&gpio0 8 1>; }; }; @@ -65,31 +57,42 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + wps { label = "wps"; gpios = <&gpio0 10 1>; linux,code = <0x211>; }; + reset { label = "reset"; gpios = <&gpio0 0 1>; linux,code = <0x198>; }; }; +}; - 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 = <0x2f>; - }; +ðernet { + mtd-mac-address = <&factory 0x4>; +}; - wmac@10180000 { - ralink,mtd-eeprom = <&factory 0>; - }; +&esw { + mediatek,portmap = <0x2f>; +}; - otg@101c0000 { - status = "okay"; - }; +&wmac { + ralink,mtd-eeprom = <&factory 0>; +}; + +&otg { + status = "okay"; };