Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/TEW-691GR.dts
/dts-v1/; | /dts-v1/; | ||||
#include "rt3883.dtsi" | #include "rt3883.dtsi" | ||||
#include <dt-bindings/gpio/gpio.h> | |||||
#include <dt-bindings/input/input.h> | |||||
/ { | / { | ||||
compatible = "TEW-691GR", "ralink,rt3883-soc"; | compatible = "trendnet,tew-691gr", "ralink,rt3883-soc"; | ||||
model = "TRENDnet TEW-691GR"; | model = "TRENDnet TEW-691GR"; | ||||
nor-flash@1c000000 { | nor-flash@1c000000 { | ||||
compatible = "cfi-flash"; | compatible = "cfi-flash"; | ||||
reg = <0x1c000000 0x800000>; | reg = <0x1c000000 0x800000>; | ||||
bank-width = <2>; | bank-width = <2>; | ||||
#address-cells = <1>; | #address-cells = <1>; | ||||
#size-cells = <1>; | #size-cells = <1>; | ||||
Show All 25 Lines | / { | ||||
gpio-keys-polled { | gpio-keys-polled { | ||||
compatible = "gpio-keys-polled"; | compatible = "gpio-keys-polled"; | ||||
#address-cells = <1>; | #address-cells = <1>; | ||||
#size-cells = <0>; | #size-cells = <0>; | ||||
poll-interval = <100>; | poll-interval = <100>; | ||||
reset { | reset { | ||||
label = "reset"; | label = "reset"; | ||||
gpios = <&gpio0 10 1>; | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x198>; | linux,code = <KEY_RESTART>; | ||||
}; | }; | ||||
wps { | wps { | ||||
label = "wps"; | label = "wps"; | ||||
gpios = <&gpio1 2 1>; | gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x211>; | linux,code = <KEY_WPS_BUTTON>; | ||||
}; | }; | ||||
rfkill { | rfkill { | ||||
label = "rfkill"; | label = "rfkill"; | ||||
gpios = <&gpio0 0 1>; | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0xf7>; | linux,code = <KEY_RFKILL>; | ||||
}; | }; | ||||
}; | }; | ||||
gpio-leds { | gpio-leds { | ||||
compatible = "gpio-leds"; | compatible = "gpio-leds"; | ||||
wps { | wps { | ||||
label = "tew-691gr:green:wps"; | label = "tew-691gr:green:wps"; | ||||
gpios = <&gpio0 9 1>; | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&gpio1 { | &gpio1 { | ||||
status = "okay"; | status = "okay"; | ||||
}; | }; | ||||
&pinctrl { | &pinctrl { | ||||
state_default: pinctrl0 { | state_default: pinctrl0 { | ||||
gpio { | gpio { | ||||
ralink,group = "spi", "i2c", "jtag", "uartf"; | ralink,group = "spi", "i2c", "jtag", "uartf"; | ||||
ralink,function = "gpio"; | ralink,function = "gpio"; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
ðernet { | ðernet { | ||||
mtd-mac-address = <&factory 0x28>; | mtd-mac-address = <&factory 0x4>; | ||||
port@0 { | port@0 { | ||||
phy-handle = <&phy0>; | phy-handle = <&phy0>; | ||||
phy-mode = "rgmii"; | phy-mode = "rgmii"; | ||||
}; | }; | ||||
mdio-bus { | mdio-bus { | ||||
status = "okay"; | status = "okay"; | ||||
phy0: ethernet-phy@0 { | phy0: ethernet-phy@0 { | ||||
reg = <0>; | reg = <0>; | ||||
phy-mode = "rgmii"; | |||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&wmac { | &wmac { | ||||
status = "okay"; | |||||
ralink,mtd-eeprom = <&factory 0x0>; | |||||
ralink,5ghz = <0>; | ralink,5ghz = <0>; | ||||
mtd-mac-address = <&factory 0x4>; | |||||
mtd-mac-address-increment = <1>; | |||||
}; | }; |