3 #include "amazonse.dtsi"
5 #include <dt-bindings/input/input.h>
8 model = "DGN1000B - Netgear DGN1000B";
11 bootargs = "init=/etc/preinit";
15 led-failsafe = &power;
19 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 ];
63 pinctrl-names = "default";
64 pinctrl-0 = <&pins_spi_default>;
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <5000000>;
74 compatible = "fixed-partitions";
80 label = "SPI (RO) U-Boot Image";
85 reg = <0x20000 0x10000>;
91 reg = <0x30000 0x10000>;
97 reg = <0x40000 0x10000>;
103 reg = <0x50000 0x003a0000>;
116 compatible = "gpio-keys-polled";
117 #address-cells = <1>;
119 poll-interval = <100>;
123 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
124 linux,code = <KEY_RESTART>;
128 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
129 linux,code = <KEY_RFKILL>;
133 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
134 linux,code = <KEY_WPS_BUTTON>;
139 compatible = "gpio-leds";
141 label = "dgn1000b:green:dsl";
142 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
143 default-state = "on";
145 online_green: online {
146 label = "dgn1000b:green:online";
147 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
148 default-state = "on";
151 label = "dgn1000b:red:online";
152 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
153 default-state = "on";
156 label = "dgn1000b:green:wps";
157 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
158 default-state = "on";
161 label = "dgn1000b:green:power";
162 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
163 default-state = "keep";