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;
21 led-internet = &online_green;
25 reg = <0x0 0x1000000>;
29 gpio: pinmux@E100B10 {
30 pinctrl-names = "default";
31 pinctrl-0 = <&state_default>;
33 state_default: pinmux {
35 lantiq,groups = "asc";
36 lantiq,function = "asc";
39 lantiq,pins = "io0",/* "io25", */"io29";
41 lantiq,open-drain = <1>;
44 pins_spi_default: pins_spi_default {
46 lantiq,groups = "spi_di";
47 lantiq,function = "spi";
50 lantiq,groups = "spi_do", "spi_clk",
52 lantiq,function = "spi";
60 mac-address = [ 00 11 22 33 44 55 ];
65 pinctrl-names = "default";
66 pinctrl-0 = <&pins_spi_default>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <5000000>;
76 compatible = "fixed-partitions";
82 label = "SPI (RO) U-Boot Image";
87 reg = <0x20000 0x10000>;
93 reg = <0x30000 0x10000>;
99 reg = <0x40000 0x10000>;
105 reg = <0x50000 0x003a0000>;
118 compatible = "gpio-keys-polled";
119 #address-cells = <1>;
121 poll-interval = <100>;
125 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
126 linux,code = <KEY_RESTART>;
130 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
131 linux,code = <KEY_RFKILL>;
135 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
136 linux,code = <KEY_WPS_BUTTON>;
141 compatible = "gpio-leds";
143 label = "dgn1000b:green:dsl";
144 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
145 default-state = "on";
147 online_green: online {
148 label = "dgn1000b:green:online";
149 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
150 default-state = "on";
153 label = "dgn1000b:red:online";
154 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
155 default-state = "on";
158 label = "dgn1000b:green:wps";
159 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
160 default-state = "on";
163 label = "dgn1000b:green:power";
164 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
165 default-state = "keep";