2016-12-03 14:51:05 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "bcm6368.dtsi"
|
|
|
|
|
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Observa VH4032N";
|
|
|
|
compatible = "observa,vh4032n", "brcm,bcm6368";
|
|
|
|
|
|
|
|
chosen {
|
2018-02-13 11:19:29 +00:00
|
|
|
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
2017-07-31 19:03:37 +00:00
|
|
|
stdout-path = "serial0:115200n8";
|
2016-12-03 14:51:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
gpio-keys-polled {
|
|
|
|
compatible = "gpio-keys-polled";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
poll-interval = <20>;
|
|
|
|
debounce-interval = <60>;
|
|
|
|
|
|
|
|
reset {
|
|
|
|
label = "reset";
|
2016-07-01 09:23:06 +00:00
|
|
|
gpios = <&pinctrl 34 1>;
|
2016-12-03 14:51:05 +00:00
|
|
|
linux,code = <KEY_RESTART>;
|
|
|
|
};
|
|
|
|
wps {
|
|
|
|
label = "wps";
|
2016-07-01 09:23:06 +00:00
|
|
|
gpios = <&pinctrl 35 1>;
|
2016-12-03 14:51:05 +00:00
|
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
dsl_blue {
|
|
|
|
label = "VH4032N:blue:dsl";
|
2016-07-01 09:23:06 +00:00
|
|
|
gpios = <&pinctrl 2 1>;
|
2016-12-03 14:51:05 +00:00
|
|
|
};
|
|
|
|
dsl_red {
|
|
|
|
label = "VH4032N:red:dsl";
|
2016-07-01 09:23:06 +00:00
|
|
|
gpios = <&pinctrl 5 1>;
|
2016-12-03 14:51:05 +00:00
|
|
|
};
|
|
|
|
hspa_blue {
|
|
|
|
label = "VH4032N:blue:hspa";
|
2016-07-01 09:23:06 +00:00
|
|
|
gpios = <&pinctrl 11 1>;
|
2016-12-03 14:51:05 +00:00
|
|
|
};
|
|
|
|
hspa_red {
|
|
|
|
label = "VH4032N:red:hspa";
|
2016-07-01 09:23:06 +00:00
|
|
|
gpios = <&pinctrl 12 1>;
|
2016-12-03 14:51:05 +00:00
|
|
|
};
|
|
|
|
power_blue {
|
|
|
|
label = "VH4032N:blue:power";
|
2016-07-01 09:23:06 +00:00
|
|
|
gpios = <&pinctrl 22 0>;
|
2016-12-03 14:51:05 +00:00
|
|
|
};
|
|
|
|
power_red {
|
|
|
|
label = "VH4032N:red:power";
|
2016-07-01 09:23:06 +00:00
|
|
|
gpios = <&pinctrl 24 0>;
|
2016-12-03 14:51:05 +00:00
|
|
|
default-state = "on";
|
|
|
|
};
|
|
|
|
voice_blue {
|
|
|
|
label = "VH4032N:blue:voice";
|
2016-07-01 09:23:06 +00:00
|
|
|
gpios = <&pinctrl 25 1>;
|
2016-12-03 14:51:05 +00:00
|
|
|
};
|
|
|
|
voice_red {
|
|
|
|
label = "VH4032N:red:voice";
|
2016-07-01 09:23:06 +00:00
|
|
|
gpios = <&pinctrl 26 1>;
|
2016-12-03 14:51:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-07-01 09:23:06 +00:00
|
|
|
&pinctrl {
|
2016-12-03 14:51:05 +00:00
|
|
|
usb_hub_reset {
|
|
|
|
gpio-hog;
|
|
|
|
gpios = <27 0>;
|
|
|
|
output-high;
|
|
|
|
line-name = "usb-hub-reset-gpio";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pflash {
|
|
|
|
status = "ok";
|
|
|
|
|
|
|
|
linux,part-probe = "bcm63xxpart";
|
|
|
|
|
2017-06-28 08:44:38 +00:00
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2016-12-03 14:51:05 +00:00
|
|
|
|
2017-06-28 08:44:38 +00:00
|
|
|
cfe@0 {
|
|
|
|
label = "CFE";
|
|
|
|
reg = <0x0000000 0x0020000>;
|
|
|
|
read-only;
|
|
|
|
};
|
2016-12-03 14:51:05 +00:00
|
|
|
|
2017-06-28 08:44:38 +00:00
|
|
|
linux@20000 {
|
|
|
|
label = "linux";
|
|
|
|
reg = <0x0020000 0x1fc0000>;
|
|
|
|
compatible = "brcm,bcm963xx-imagetag";
|
|
|
|
};
|
|
|
|
|
|
|
|
nvram@1fe0000 {
|
|
|
|
label = "nvram";
|
|
|
|
reg = <0x1fe0000 0x020000>;
|
|
|
|
};
|
2016-12-03 14:51:05 +00:00
|
|
|
};
|
|
|
|
};
|
2017-07-31 19:03:37 +00:00
|
|
|
|
|
|
|
&uart0 {
|
|
|
|
status = "ok";
|
|
|
|
};
|