ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3052_hauppauge_broadway.dts
1 #include "rt3050.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "hauppauge,broadway", "ralink,rt3052-soc";
8 model = "Hauppauge Broadway";
9
10 flash@1f000000 {
11 compatible = "cfi-flash";
12 reg = <0x1f000000 0x800000>;
13 bank-width = <2>;
14 device-width = <2>;
15
16 partitions {
17 compatible = "fixed-partitions";
18 #address-cells = <1>;
19 #size-cells = <1>;
20
21 partition@0 {
22 label = "bootloader";
23 reg = <0x0 0x30000>;
24 read-only;
25 };
26
27 partition@30000 {
28 label = "config";
29 reg = <0x30000 0x10000>;
30 read-only;
31 };
32
33 partition@40000 {
34 label = "factory";
35 reg = <0x40000 0x10000>;
36 read-only;
37
38 nvmem-layout {
39 compatible = "fixed-layout";
40 #address-cells = <1>;
41 #size-cells = <1>;
42
43 eeprom_factory_0: eeprom@0 {
44 reg = <0x0 0x200>;
45 };
46
47 macaddr_factory_4: macaddr@4 {
48 reg = <0x4 0x6>;
49 };
50 };
51 };
52
53 partition@50000 {
54 compatible = "denx,uimage";
55 label = "firmware";
56 reg = <0x50000 0x790000>;
57 };
58 };
59 };
60
61 leds {
62 compatible = "gpio-leds";
63
64 diskmounted {
65 label = "red:diskmounted";
66 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
67 trigger-sources = <&otg_port1>;
68 linux,default-trigger = "usbport";
69 };
70
71 wps_active {
72 label = "red:wps_active";
73 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
74 };
75 };
76
77 keys {
78 compatible = "gpio-keys-polled";
79 poll-interval = <20>;
80
81 factory {
82 label = "Factory Reset button";
83 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
84 linux,code = <KEY_RESTART>;
85 };
86 };
87 };
88
89 &state_default {
90 gpio {
91 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
92 function = "gpio";
93 };
94 };
95
96 &ethernet {
97 nvmem-cells = <&macaddr_factory_4>;
98 nvmem-cell-names = "mac-address";
99 };
100
101 &esw {
102 mediatek,portmap = <0x3e>;
103 };
104
105 &wmac {
106 nvmem-cells = <&eeprom_factory_0>;
107 nvmem-cell-names = "eeprom";
108 };
109
110 &otg {
111 status = "okay";
112 };