3 #include "amazonse.dtsi"
5 #include <dt-bindings/input/input.h>
8 compatible = "netgear,dgn1000b", "lantiq,xway", "lantiq,ase";
9 model = "Netgear DGN1000B";
12 bootargs = "console=ttyLTQ0,115200";
17 led-failsafe = &power;
22 led-internet = &online_green;
26 device_type = "memory";
27 reg = <0x0 0x1000000>;
31 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
36 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RFKILL>;
46 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_WPS_BUTTON>;
52 compatible = "gpio-leds";
54 label = "dgn1000b:green:dsl";
55 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
58 online_green: online {
59 label = "dgn1000b:green:online";
60 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
64 label = "dgn1000b:red:online";
65 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
69 label = "dgn1000b:green:wps";
70 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
74 label = "dgn1000b:green:power";
75 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
76 default-state = "keep";
85 pinctrl-names = "default";
86 pinctrl-0 = <&state_default>;
88 state_default: pinmux {
90 lantiq,pins = "io0",/* "io25", */"io29";
92 lantiq,open-drain = <1>;
99 mac-address = [ 00 11 22 33 44 55 ];
106 compatible = "jedec,spi-nor";
108 spi-max-frequency = <5000000>;
111 compatible = "fixed-partitions";
112 #address-cells = <1>;
117 label = "SPI (RO) U-Boot Image";
122 reg = <0x20000 0x10000>;
128 reg = <0x30000 0x10000>;
134 reg = <0x40000 0x10000>;
140 reg = <0x50000 0x3a0000>;