X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FW150M.dts;h=9ac84a0f4b774b0beb1e84e41ff17d6474d5eafd;hb=2b55c83e68068887db9e49de8e81b1b4a267a4f2;hp=e336f70245f5e46171056ca804f54a27c647f860;hpb=f8b6c9d82599d29e3d09185e3a190fc4d145e5ea;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/W150M.dts b/target/linux/ramips/dts/W150M.dts index e336f70245..9ac84a0f4b 100644 --- a/target/linux/ramips/dts/W150M.dts +++ b/target/linux/ramips/dts/W150M.dts @@ -2,19 +2,12 @@ #include "rt3050.dtsi" +#include + / { compatible = "W150M", "ralink,rt3050-soc"; model = "Tenda W150M"; - pinctrl { - state_default: pinctrl0 { - gpio { - ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; - ralink,function = "gpio"; - }; - }; - }; - cfi@1f000000 { compatible = "cfi-flash"; reg = <0x1f000000 0x800000>; @@ -90,25 +83,34 @@ reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = ; }; mode { label = "mode"; gpios = <&gpio0 10 1>; - linux,code = <0x100>; + linux,code = ; }; }; +}; - 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 { - mediatek,portmap = <0x2f>; - }; +ðernet { + mtd-mac-address = <&factory 0x4>; +}; - wmac@10180000 { - ralink,mtd-eeprom = <&factory 0>; - }; +&esw { + mediatek,portmap = <0x2f>; +}; + +&wmac { + ralink,mtd-eeprom = <&factory 0>; };