2013-09-19 00:50:44 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2016-09-29 16:22:55 +00:00
|
|
|
#include "ar9.dtsi"
|
2013-09-19 00:50:44 +00:00
|
|
|
|
2016-11-11 21:43:08 +00:00
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
|
2013-09-19 00:50:44 +00:00
|
|
|
/ {
|
2017-04-08 08:33:53 +00:00
|
|
|
compatible = "zte,h201l", "lantiq,xway", "lantiq,ar9";
|
2013-09-19 00:50:44 +00:00
|
|
|
model = "H201L - ZTE H210L";
|
|
|
|
|
2017-01-04 20:53:22 +00:00
|
|
|
chosen {
|
|
|
|
bootargs = "console=ttyLTQ0,115200";
|
|
|
|
};
|
|
|
|
|
2016-10-04 18:34:03 +00:00
|
|
|
aliases {
|
|
|
|
led-boot = &power_green;
|
|
|
|
led-failsafe = &power_green;
|
|
|
|
led-running = &power_green;
|
2016-01-01 21:18:47 +00:00
|
|
|
|
2016-10-04 18:34:03 +00:00
|
|
|
led-dsl = &dsl;
|
|
|
|
led-internet = &online;
|
|
|
|
led-usb = &usb;
|
|
|
|
led-wifi = &wifi;
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
memory@0 {
|
|
|
|
reg = <0x0 0x2000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
fpi@10000000 {
|
|
|
|
localbus@0 {
|
|
|
|
nor-boot@0 {
|
|
|
|
compatible = "lantiq,nor";
|
|
|
|
bank-width = <2>;
|
|
|
|
reg = <0 0x0 0x2000000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
2016-05-02 18:50:18 +00:00
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "uboot";
|
|
|
|
reg = <0x00000 0x20000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@20000 {
|
|
|
|
label = "uboot_env";
|
|
|
|
reg = <0x20000 0x10000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@30000 {
|
|
|
|
label = "firmware";
|
|
|
|
reg = <0x30000 0x7d0000>;
|
|
|
|
};
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio: pinmux@E100B10 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&state_default>;
|
|
|
|
|
|
|
|
state_default: pinmux {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
etop@E180000 {
|
|
|
|
phy-mode = "rgmii";
|
|
|
|
};
|
|
|
|
|
|
|
|
ifxhcd@E101000 {
|
|
|
|
status = "okay";
|
2016-09-29 16:22:55 +00:00
|
|
|
gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-keys-polled {
|
|
|
|
compatible = "gpio-keys-polled";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
poll-interval = <100>;
|
|
|
|
|
|
|
|
reset {
|
|
|
|
label = "reset";
|
2016-09-29 16:22:55 +00:00
|
|
|
gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
|
|
|
|
linux,code = <KEY_RESTART>;
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
|
|
|
wps {
|
|
|
|
label = "wps";
|
2016-09-29 16:22:55 +00:00
|
|
|
gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
|
|
|
|
linux,code = <KEY_WPS_BUTTON>;
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
|
|
|
rfkill {
|
|
|
|
label = "rfkill";
|
2016-09-29 16:22:55 +00:00
|
|
|
gpios = <&gpio 55 GPIO_ACTIVE_LOW>;
|
|
|
|
linux,code = <KEY_RFKILL>;
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
2016-01-01 21:18:47 +00:00
|
|
|
power_green: power {
|
2016-01-01 21:18:54 +00:00
|
|
|
label = "h201l:green:power";
|
2016-09-29 16:22:55 +00:00
|
|
|
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
|
2016-01-01 21:18:47 +00:00
|
|
|
default-state = "keep";
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
2016-01-01 21:18:08 +00:00
|
|
|
online: online {
|
2016-01-01 21:18:54 +00:00
|
|
|
label = "h201l:green:internet";
|
2016-09-29 16:22:55 +00:00
|
|
|
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
2016-01-01 21:18:08 +00:00
|
|
|
dsl: dsl {
|
2016-01-01 21:18:54 +00:00
|
|
|
label = "h201l:green:dsl";
|
2016-09-29 16:22:55 +00:00
|
|
|
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
|
|
|
phone {
|
2016-01-01 21:18:54 +00:00
|
|
|
label = "h201l:green:phone";
|
2016-09-29 16:22:55 +00:00
|
|
|
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
|
|
|
wps {
|
2016-01-01 21:18:54 +00:00
|
|
|
label = "h201l:green:wps";
|
2016-09-29 16:22:55 +00:00
|
|
|
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
2016-01-01 21:18:08 +00:00
|
|
|
wifi: wifi {
|
2016-01-01 21:18:54 +00:00
|
|
|
label = "h201l:green:wlan";
|
2016-09-29 16:22:55 +00:00
|
|
|
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
2016-01-01 21:18:08 +00:00
|
|
|
usb: usb {
|
2016-01-01 21:18:54 +00:00
|
|
|
label = "h201l:green:usb";
|
2016-09-29 16:22:55 +00:00
|
|
|
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio_export {
|
|
|
|
compatible = "gpio-export";
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
switch {
|
|
|
|
gpio-export,name = "switch";
|
|
|
|
gpio-export,output = <1>;
|
2016-09-29 16:22:55 +00:00
|
|
|
gpios = <&gpio 38 GPIO_ACTIVE_HIGH>;
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
|
|
|
usb {
|
|
|
|
gpio-export,name = "usb";
|
|
|
|
gpio-export,output = <1>;
|
2016-09-29 16:22:55 +00:00
|
|
|
gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
|
|
|
wifi {
|
|
|
|
gpio-export,name = "wifi";
|
|
|
|
gpio-export,output = <1>;
|
2016-09-29 16:22:55 +00:00
|
|
|
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
|
2013-09-19 00:50:44 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|