5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "belkin,f5d8235-v2", "ralink,rt3052-soc";
10 model = "Belkin F5D8235 v2";
13 led-boot = &led_router;
14 led-failsafe = &led_router;
15 led-running = &led_router;
16 led-upgrade = &led_router;
20 compatible = "cfi-flash";
21 reg = <0x1f000000 0x800000>;
26 compatible = "fixed-partitions";
38 reg = <0x50000 0x790000>;
43 reg = <0x7e0000 0x10000>;
46 factory: partition@7f0000 {
48 reg = <0x7f0000 0x10000>;
54 compatible = "realtek,rtl8366rb";
55 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
56 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
60 compatible = "gpio-leds";
63 label = "f5d8235-v2:blue:internet";
64 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
68 label = "f5d8235-v2:amber:internet";
69 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
73 label = "f5d8235-v2:blue:modem";
74 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
78 label = "f5d8235-v2:amber:modem";
79 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
83 label = "f5d8235-v2:blue:router";
84 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
88 label = "f5d8235-v2:blue:storage";
89 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
90 trigger-sources = <&otg_port1>;
91 linux,default-trigger = "usbport";
95 label = "f5d8235-v2:amber:storage";
96 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
100 label = "f5d8235-v2:blue:security";
101 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
105 label = "f5d8235-v2:amber:security";
106 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
112 state_default: pinctrl0 {
114 ralink,group = "spi", "i2c", "jtag", "mdio", "uartf";
115 ralink,function = "gpio";
121 mtd-mac-address = <&uboot 0x40004>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&rgmii_pins>;
128 mediatek,portmap = <0x3f>;
129 ralink,fct2 = <0x0002500c>;
131 * ext phy base addr 31, rx/tx clock skew 0,
132 * turbo mii off, rgmi 3.3v off, port 5 polling off
133 * port5: enabled, gige, full-duplex, rx/tx-flow-control
134 * port6: enabled, gige, full-duplex, rx/tx-flow-control
136 ralink,fpa2 = <0x1f003fff>;
140 ralink,mtd-eeprom = <&uboot 0x40000>;