forked from Openwrt/openwrt
102 lines
1.5 KiB
Plaintext
102 lines
1.5 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
|
|
#include "RTL8197FVG.dtsi"
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
/ {
|
|
compatible = "intelbras,w5-1200f", "realtek,rtl8197f-soc";
|
|
model = "Intelbras W5-1200F V1";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x0 0x4000000>;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,38400";
|
|
};
|
|
|
|
gpio-keys-polled {
|
|
compatible = "gpio-keys-polled";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
poll-interval = <20>;
|
|
|
|
reset {
|
|
label = "reset";
|
|
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
|
|
linux,code = <KEY_RESTART>;
|
|
};
|
|
};
|
|
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
|
|
wan {
|
|
label = "w51200f:green:wan";
|
|
gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
lan {
|
|
label = "w51200f:green:lan";
|
|
gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
wlan2g {
|
|
label = "w51200f:green:wlan2g";
|
|
gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
wlan5g {
|
|
label = "w51200f:green:wlan5g";
|
|
gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&gpio0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&gpio1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&spi0 {
|
|
status = "okay";
|
|
|
|
m25p80@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "jedec,spi-nor";
|
|
reg = <0>;
|
|
spi-max-frequency = <29000000>;
|
|
|
|
partition@0 {
|
|
label = "boot";
|
|
reg = <0x0 0x20000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@20000 {
|
|
label = "config";
|
|
reg = <0x20000 0x10000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@30000 {
|
|
label = "firmware";
|
|
reg = <0x30000 0x7B0000>;
|
|
};
|
|
|
|
partition@7E0000 {
|
|
label = "intelbras";
|
|
reg = <0x7E0000 0x20000>;
|
|
read-only;
|
|
};
|
|
};
|
|
};
|