ramips: remove redundant status for USB controllers
[openwrt/openwrt.git] / target / linux / ramips / dts / rt5350_poray_m4.dtsi
1 #include "rt5350.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "poray,m4", "ralink,rt5350-soc";
8
9 aliases {
10 led-boot = &led_status;
11 led-failsafe = &led_status;
12 led-running = &led_status;
13 led-upgrade = &led_status;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18
19 led_status: status {
20 label = "blue:status";
21 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
22 };
23 };
24
25 keys {
26 compatible = "gpio-keys-polled";
27 poll-interval = <20>;
28
29 reset {
30 label = "reset";
31 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RESTART>;
33 };
34 };
35 };
36
37 &state_default {
38 gpio {
39 groups = "i2c", "jtag", "uartf";
40 function = "gpio";
41 };
42 };
43
44 &ethernet {
45 mtd-mac-address = <&factory 0x4>;
46 };
47
48 &esw {
49 mediatek,portmap = <0x2f>;
50 mediatek,led_polarity = <1>;
51 };
52
53 &wmac {
54 ralink,mtd-eeprom = <&factory 0x0>;
55 ralink,led-polarity = <1>;
56 };