ramips: remove redundant status for USB controllers
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_tama_w06.dts
1 #include "mt7628an.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "tama,w06", "mediatek,mt7628an-soc";
8 model = "Tama W06";
9
10 leds {
11 compatible = "gpio-leds";
12
13 wps {
14 label = "green:wps";
15 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
16 };
17
18 wan {
19 label = "green:wan";
20 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
21 };
22
23 wireless {
24 label = "green:wlan";
25 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
26 };
27 };
28
29 keys {
30 compatible = "gpio-keys";
31
32 reset {
33 label = "reset";
34 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
36 };
37 };
38 };
39
40 &ethernet {
41 mtd-mac-address = <&factory 0x28>;
42 };
43
44 &state_default {
45 gpio {
46 groups = "uart1", "p0led_an", "wdt";
47 function = "gpio";
48 };
49 };
50
51 &spi0 {
52 status = "okay";
53
54 flash@0 {
55 compatible = "jedec,spi-nor";
56 reg = <0>;
57 spi-max-frequency = <10000000>;
58
59 partitions {
60 compatible = "fixed-partitions";
61 #address-cells = <1>;
62 #size-cells = <1>;
63
64 partition@0 {
65 label = "u-boot";
66 reg = <0x0 0x30000>;
67 read-only;
68 };
69
70 partition@30000 {
71 label = "u-boot-env";
72 reg = <0x30000 0x10000>;
73 read-only;
74 };
75
76 factory: partition@40000 {
77 label = "factory";
78 reg = <0x40000 0x10000>;
79 read-only;
80 };
81
82 partition@50000 {
83 compatible = "denx,uimage";
84 label = "firmware";
85 reg = <0x50000 0xeb0000>;
86 };
87
88 partition@f00000 {
89 label = "user-data";
90 reg = <0xf00000 0x100000>;
91 read-only;
92 };
93 };
94 };
95 };
96
97 &wmac {
98 status = "okay";
99 };