3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "sitecom,wl-351", "ralink,rt3052-soc";
9 model = "Sitecom WL-351 v1 002";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "cfi-flash";
20 reg = <0x1f000000 0x800000>;
25 compatible = "fixed-partitions";
37 reg = <0x30000 0x10000>;
41 factory: partition@40000 {
43 reg = <0x40000 0x10000>;
47 compatible = "fixed-layout";
51 eeprom_factory_0: eeprom@0 {
55 macaddr_factory_4: macaddr@4 {
62 compatible = "denx,uimage";
64 reg = <0x50000 0x3b0000>;
70 compatible = "gpio-leds";
73 function = LED_FUNCTION_POWER;
74 color = <LED_COLOR_ID_AMBER>;
75 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
79 label = "amber:unpopulated";
80 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
84 label = "blue:unpopulated";
85 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
90 compatible = "gpio-keys-polled";
95 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
96 linux,code = <KEY_RESTART>;
101 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
102 linux,code = <KEY_WPS_BUTTON>;
107 compatible = "realtek,rtl8366rb";
108 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
109 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
115 groups = "spi", "i2c", "jtag", "mdio", "uartf";
121 nvmem-cells = <&macaddr_factory_4>;
122 nvmem-cell-names = "mac-address";
123 pinctrl-names = "default";
124 pinctrl-0 = <&rgmii_pins>;
129 mediatek,portmap = <0x3f>;
130 ralink,fct2 = <0x0002500c>;
132 * ext phy base addr 31, rx/tx clock skew 0,
133 * turbo mii off, rgmi 3.3v off, port 5 polling off
134 * port5: enabled, gige, full-duplex, rx/tx-flow-control
135 * port6: enabled, gige, full-duplex, rx/tx-flow-control
137 ralink,fpa2 = <0x1f003fff>;
141 nvmem-cells = <&eeprom_factory_0>;
142 nvmem-cell-names = "eeprom";