5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "sitecom,wlr-6000", "ralink,rt3883-soc";
10 model = "Sitecom WLR-6000";
13 led-status = &led_power;
17 compatible = "gpio-keys-polled";
24 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
30 compatible = "gpio-leds";
33 label = "wlr-6000:red:power";
34 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
38 label = "wlr-6000:white:ops";
39 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
44 compatible = "gpio-export";
48 gpio-export,name = "usb";
49 gpio-export,output = <1>;
50 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
60 state_default: pinctrl0 {
62 ralink,group = "i2c", "jtag", "uartf";
63 ralink,function = "gpio";
70 mtd-mac-address = <&factory 0x8004>;
71 mtd-mac-address-increment = <1>;
81 phy0: ethernet-phy@0 {
85 qca,ar8327-initvals = <
86 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
87 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
88 0x10 0x40000000 /* Power-on Strapping: 176-pin interface configuration */
89 0x50 0xc437c437 /* LED Control Register 0 */
90 0x54 0xc337c337 /* LED Control Register 1 */
91 0x58 0x00000000 /* LED Control Register 2 */
92 0x5c 0x03ffff00 /* LED Control Register 3 */
93 0x7c 0x0000007e /* PORT0_STATUS */
94 0x94 0x0000007e /* PORT6 STATUS */
104 #address-cells = <1>;
106 compatible = "jedec,spi-nor";
108 spi-max-frequency = <8600000>;
118 label = "u-boot-env";
119 reg = <0x30000 0x10000>;
123 factory: partition@40000 {
125 reg = <0x40000 0x10000>;
131 reg = <0x50000 0x713000>;
135 label = "manufacture";
136 reg = <0x763000 0x7D000>;
142 reg = <0x7E0000 0x10000>;
148 reg = <0x7F0000 0x10000>;
156 pinctrl-names = "default";
157 pinctrl-0 = <&pci_pins>;
161 ralink,group = "pci";
162 ralink,function = "pci-fnc";
171 compatible = "pci1814,3091";
172 reg = <0x10000 0 0 0 0>;
173 ralink,mtd-eeprom = <&factory 0x8000>;
182 ralink,mtd-eeprom = <&factory 0x0>;