ramips: remove redundant status for USB controllers
[openwrt/openwrt.git] / target / linux / ramips / dts / rt5350_dlink_dcs-930l-b1.dts
1 #include "rt5350.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "dlink,dcs-930l-b1", "ralink,rt5350-soc";
8 model = "D-Link DCS-930L B1";
9
10 aliases {
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
15 };
16
17 leds {
18 compatible = "gpio-leds";
19
20 led_power: power {
21 label = "red:power";
22 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
23 };
24
25 wps {
26 label = "blue:wps";
27 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
28 };
29 };
30
31 keys {
32 compatible = "gpio-keys-polled";
33 poll-interval = <20>;
34
35 reset {
36 label = "reset";
37 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
39 };
40
41 wps {
42 label = "wps";
43 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_WPS_BUTTON>;
45 };
46 };
47 };
48
49 &spi0 {
50 status = "okay";
51
52 flash@0 {
53 compatible = "jedec,spi-nor";
54 reg = <0>;
55 spi-max-frequency = <10000000>;
56
57 partitions {
58 compatible = "fixed-partitions";
59 #address-cells = <1>;
60 #size-cells = <1>;
61
62 partition@0 {
63 label = "u-boot";
64 reg = <0x0 0x30000>;
65 read-only;
66 };
67
68 partition@30000 {
69 label = "u-boot-env";
70 reg = <0x30000 0x10000>;
71 read-only;
72 };
73
74 factory: partition@40000 {
75 label = "factory";
76 reg = <0x40000 0x10000>;
77 read-only;
78 };
79
80 partition@50000 {
81 compatible = "denx,uimage";
82 label = "firmware";
83 reg = <0x50000 0x3b0000>;
84 };
85 };
86 };
87 };
88
89 &state_default {
90 gpio {
91 groups = "i2c", "jtag", "uartf", "led";
92 function = "gpio";
93 };
94 };
95
96 &ethernet {
97 mtd-mac-address = <&factory 0x4>;
98 };
99
100 &esw {
101 mediatek,portmap = <0x2f>;
102 };
103
104 &wmac {
105 ralink,mtd-eeprom = <&factory 0x0>;
106 };