2013-04-03 09:59:46 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2016-05-09 06:32:52 +00:00
|
|
|
#include "rt3050.dtsi"
|
2013-04-03 09:59:46 +00:00
|
|
|
|
2017-07-29 02:14:07 +00:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
/ {
|
2017-07-29 02:14:07 +00:00
|
|
|
compatible = "belkin,f5d8235-v2", "ralink,rt3052-soc";
|
2013-04-03 09:59:46 +00:00
|
|
|
model = "Belkin F5D8235 v2";
|
|
|
|
|
2018-07-16 08:27:22 +00:00
|
|
|
aliases {
|
2018-08-28 04:54:27 +00:00
|
|
|
led-boot = &led_router;
|
|
|
|
led-failsafe = &led_router;
|
|
|
|
led-running = &led_router;
|
|
|
|
led-upgrade = &led_router;
|
2018-07-16 08:27:22 +00:00
|
|
|
};
|
|
|
|
|
2020-05-07 14:15:27 +00:00
|
|
|
flash@1f000000 {
|
2013-04-03 09:59:46 +00:00
|
|
|
compatible = "cfi-flash";
|
|
|
|
reg = <0x1f000000 0x800000>;
|
|
|
|
bank-width = <2>;
|
|
|
|
device-width = <2>;
|
2013-04-09 14:19:24 +00:00
|
|
|
|
2018-08-01 20:32:34 +00:00
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2013-04-09 14:19:24 +00:00
|
|
|
|
2018-08-01 20:32:34 +00:00
|
|
|
uboot: partition@0 {
|
|
|
|
label = "uboot";
|
|
|
|
reg = <0x0 0x50000>;
|
|
|
|
read-only;
|
|
|
|
};
|
2013-04-09 14:19:24 +00:00
|
|
|
|
2018-08-01 20:32:34 +00:00
|
|
|
partition@50000 {
|
2018-11-28 03:28:35 +00:00
|
|
|
compatible = "denx,uimage";
|
2018-08-01 20:32:34 +00:00
|
|
|
label = "firmware";
|
|
|
|
reg = <0x50000 0x790000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@7e0000 {
|
|
|
|
label = "nvram";
|
|
|
|
reg = <0x7e0000 0x10000>;
|
|
|
|
};
|
2013-04-09 14:19:24 +00:00
|
|
|
|
2018-08-01 20:32:34 +00:00
|
|
|
factory: partition@7f0000 {
|
|
|
|
label = "factory";
|
|
|
|
reg = <0x7f0000 0x10000>;
|
|
|
|
};
|
2013-04-09 14:19:24 +00:00
|
|
|
};
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
rtl8366rb {
|
2017-02-02 21:42:25 +00:00
|
|
|
compatible = "realtek,rtl8366rb";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
|
|
|
|
gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
2013-04-07 13:32:37 +00:00
|
|
|
|
2018-12-30 11:42:53 +00:00
|
|
|
leds {
|
2013-04-03 09:59:46 +00:00
|
|
|
compatible = "gpio-leds";
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
internet {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "f5d8235-v2:blue:internet";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
internet2 {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "f5d8235-v2:amber:internet";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
modem {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "f5d8235-v2:blue:modem";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
modem2 {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "f5d8235-v2:amber:modem";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2018-07-16 08:27:22 +00:00
|
|
|
led_router: router {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "f5d8235-v2:blue:router";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
storage {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "f5d8235-v2:blue:storage";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
|
2018-08-13 15:14:08 +00:00
|
|
|
trigger-sources = <&otg_port1>;
|
|
|
|
linux,default-trigger = "usbport";
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
storage2 {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "f5d8235-v2:amber:storage";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
security {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "f5d8235-v2:blue:security";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
security2 {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "f5d8235-v2:amber:security";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
|
2019-12-22 20:26:01 +00:00
|
|
|
&state_default {
|
|
|
|
gpio {
|
2020-04-12 12:58:29 +00:00
|
|
|
groups = "spi", "i2c", "jtag", "mdio", "uartf";
|
|
|
|
function = "gpio";
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ðernet {
|
|
|
|
mtd-mac-address = <&uboot 0x40004>;
|
2018-11-18 13:46:58 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&rgmii_pins>;
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&esw {
|
2018-11-18 13:46:58 +00:00
|
|
|
ralink,rgmii = <1>;
|
2016-05-10 10:41:46 +00:00
|
|
|
mediatek,portmap = <0x3f>;
|
2018-11-18 13:46:58 +00:00
|
|
|
ralink,fct2 = <0x0002500c>;
|
|
|
|
/*
|
|
|
|
* ext phy base addr 31, rx/tx clock skew 0,
|
|
|
|
* turbo mii off, rgmi 3.3v off, port 5 polling off
|
|
|
|
* port5: enabled, gige, full-duplex, rx/tx-flow-control
|
|
|
|
* port6: enabled, gige, full-duplex, rx/tx-flow-control
|
|
|
|
*/
|
|
|
|
ralink,fpa2 = <0x1f003fff>;
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&wmac {
|
|
|
|
ralink,mtd-eeprom = <&uboot 0x40000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&otg {
|
|
|
|
status = "okay";
|
|
|
|
};
|