3 #include "amazonse.dtsi"
5 #include <dt-bindings/input/input.h>
8 model = "DGN1000B - Netgear DGN1000B";
12 led-failsafe = &power;
16 led-internet = &online_green;
20 reg = <0x0 0x1000000>;
24 gpio: pinmux@E100B10 {
25 pinctrl-names = "default";
26 pinctrl-0 = <&state_default>;
28 state_default: pinmux {
30 lantiq,groups = "asc";
31 lantiq,function = "asc";
34 lantiq,pins = "io0",/* "io25", */"io29";
36 lantiq,open-drain = <1>;
39 pins_spi_default: pins_spi_default {
41 lantiq,groups = "spi_di";
42 lantiq,function = "spi";
45 lantiq,groups = "spi_do", "spi_clk",
47 lantiq,function = "spi";
55 mac-address = [ 00 11 22 33 44 55 ];
59 pinctrl-names = "default";
60 pinctrl-0 = <&pins_spi_default>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <5000000>;
70 compatible = "fixed-partitions";
76 label = "SPI (RO) U-Boot Image";
81 reg = <0x20000 0x10000>;
87 reg = <0x30000 0x10000>;
93 reg = <0x40000 0x10000>;
99 reg = <0x50000 0x003a0000>;
112 compatible = "gpio-keys-polled";
113 #address-cells = <1>;
115 poll-interval = <100>;
119 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
120 linux,code = <KEY_RESTART>;
124 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
125 linux,code = <KEY_RFKILL>;
129 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
130 linux,code = <KEY_WPS_BUTTON>;
135 compatible = "gpio-leds";
137 label = "dgn1000b:green:dsl";
138 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
139 default-state = "on";
141 online_green: online {
142 label = "dgn1000b:green:online";
143 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
144 default-state = "on";
147 label = "dgn1000b:red:online";
148 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
149 default-state = "on";
152 label = "dgn1000b:green:wps";
153 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
154 default-state = "on";
157 label = "dgn1000b:green:power";
158 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
159 default-state = "keep";