X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FBROADWAY.dts;h=790dcc0467f2664dc10664540ee4fe658e0d4a11;hb=05912a304c1d3f31f350cd708fe4722389ec835a;hp=db86f974767ccd1367945645a90807e0790de384;hpb=f44d3f99803be7ba5c38b26a2d8cbda1c301e893;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/BROADWAY.dts b/target/linux/ramips/dts/BROADWAY.dts index db86f97476..790dcc0467 100644 --- a/target/linux/ramips/dts/BROADWAY.dts +++ b/target/linux/ramips/dts/BROADWAY.dts @@ -1,24 +1,14 @@ /dts-v1/; -/include/ "rt3050.dtsi" +#include "rt3050.dtsi" / { compatible = "BROADWAY", "ralink,rt3052-soc"; model = "Hauppauge Broadway"; - 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>; @@ -48,26 +38,16 @@ }; }; - ethernet@10100000 { - mtd-mac-address = <&factory 0x4>; - }; - - esw@10110000 { - ralink,portmap = <0x3e>; - }; - - wmac@10180000 { - ralink,mtd-eeprom = <&factory 0>; - }; - gpio-leds { compatible = "gpio-leds"; + diskmounted { - label = "red:diskmounted"; + label = "broadway:red:diskmounted"; gpios = <&gpio0 9 1>; }; + wps_active { - label = "red:wps_active"; + label = "broadway:red:wps_active"; gpios = <&gpio0 14 1>; }; }; @@ -77,14 +57,36 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + factory { label = "Factory Reset button"; gpios = <&gpio0 13 1>; linux,code = <0x198>; }; }; +}; - otg@101c0000 { - status = "okay"; +&pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; + ralink,function = "gpio"; + }; }; }; + +ðernet { + mtd-mac-address = <&factory 0x4>; +}; + +&esw { + mediatek,portmap = <0x3e>; +}; + +&wmac { + ralink,mtd-eeprom = <&factory 0>; +}; + +&otg { + status = "okay"; +};