3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "huawei,hg255d", "ralink,rt3052-soc";
8 model = "HuaWei HG255D";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "cfi-flash";
19 reg = <0x1f000000 0x1000000>;
24 compatible = "fixed-partitions";
36 reg = <0x40000 0x20000>;
40 factory: partition@60000 {
42 reg = <0x60000 0x20000>;
46 compatible = "fixed-layout";
50 eeprom_factory_0: eeprom@0 {
54 macaddr_factory_28: macaddr@28 {
61 compatible = "denx,uimage";
63 reg = <0x80000 0xf60000>;
67 label = "factory-orig";
68 reg = <0xfa0000 0x20000>;
75 compatible = "gpio-leds";
78 label = "green:power";
79 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
83 label = "green:internet";
84 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
89 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
94 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
95 trigger-sources = <&otg_port1>;
96 linux,default-trigger = "usbport";
101 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
105 label = "green:voice";
106 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
111 compatible = "gpio-keys-polled";
112 poll-interval = <10>;
116 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
117 linux,code = <KEY_RESTART>;
122 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
123 linux,code = <KEY_WPS_BUTTON>;
128 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
129 linux,code = <KEY_RFKILL>;
136 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
142 nvmem-cells = <&macaddr_factory_28>;
143 nvmem-cell-names = "mac-address";
147 mediatek,portmap = <0x2f>;
151 nvmem-cells = <&eeprom_factory_0>;
152 nvmem-cell-names = "eeprom";