3 #include "amazonse.dtsi"
5 #include <dt-bindings/input/input.h>
8 model = "DGN1000B - Netgear DGN1000B";
11 bootargs = "console=ttyLTQ0,115200";
16 led-failsafe = &power;
20 led-internet = &online_green;
24 reg = <0x0 0x1000000>;
28 gpio: pinmux@E100B10 {
29 pinctrl-names = "default";
30 pinctrl-0 = <&state_default>;
32 state_default: pinmux {
34 lantiq,groups = "asc";
35 lantiq,function = "asc";
38 lantiq,pins = "io0",/* "io25", */"io29";
40 lantiq,open-drain = <1>;
43 pins_spi_default: pins_spi_default {
45 lantiq,groups = "spi_di";
46 lantiq,function = "spi";
49 lantiq,groups = "spi_do", "spi_clk",
51 lantiq,function = "spi";
59 mac-address = [ 00 11 22 33 44 55 ];
64 pinctrl-names = "default";
65 pinctrl-0 = <&pins_spi_default>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <5000000>;
75 compatible = "fixed-partitions";
81 label = "SPI (RO) U-Boot Image";
86 reg = <0x20000 0x10000>;
92 reg = <0x30000 0x10000>;
98 reg = <0x40000 0x10000>;
104 reg = <0x50000 0x003a0000>;
117 compatible = "gpio-keys-polled";
118 #address-cells = <1>;
120 poll-interval = <100>;
124 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
125 linux,code = <KEY_RESTART>;
129 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
130 linux,code = <KEY_RFKILL>;
134 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
135 linux,code = <KEY_WPS_BUTTON>;
140 compatible = "gpio-leds";
142 label = "dgn1000b:green:dsl";
143 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
144 default-state = "on";
146 online_green: online {
147 label = "dgn1000b:green:online";
148 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
149 default-state = "on";
152 label = "dgn1000b:red:online";
153 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
154 default-state = "on";
157 label = "dgn1000b:green:wps";
158 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
159 default-state = "on";
162 label = "dgn1000b:green:power";
163 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
164 default-state = "keep";