3 #include "amazonse.dtsi"
6 model = "DGN1000B - Netgear DGN1000B";
9 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
13 led-failsafe = &power;
17 led-internet = &online_green;
22 reg = <0x0 0x1000000>;
26 gpio: pinmux@E100B10 {
27 pinctrl-names = "default";
28 pinctrl-0 = <&state_default>;
30 state_default: pinmux {
32 lantiq,groups = "asc";
33 lantiq,function = "asc";
36 lantiq,pins = "io0",/* "io25", */"io29";
38 lantiq,open-drain = <1>;
41 pins_spi_default: pins_spi_default {
43 lantiq,groups = "spi_di";
44 lantiq,function = "spi";
47 lantiq,groups = "spi_do", "spi_clk",
49 lantiq,function = "spi";
57 mac-address = [ 00 11 22 33 44 55 ];
61 pinctrl-names = "default";
62 pinctrl-0 = <&pins_spi_default>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <5000000>;
72 compatible = "fixed-partitions";
78 label = "SPI (RO) U-Boot Image";
83 reg = <0x20000 0x10000>;
89 reg = <0x30000 0x10000>;
95 reg = <0x40000 0x10000>;
101 reg = <0x50000 0x003a0000>;
113 compatible = "gpio-keys-polled";
114 #address-cells = <1>;
116 poll-interval = <100>;
120 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
121 linux,code = <KEY_RESTART>;
125 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
126 linux,code = <KEY_RFKILL>;
130 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
131 linux,code = <KEY_WPS_BUTTON>;
136 compatible = "gpio-leds";
138 label = "dgn1000b:green:dsl";
139 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
140 default-state = "on";
142 online_green: online {
143 label = "dgn1000b:green:online";
144 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
145 default-state = "on";
148 label = "dgn1000b:red:online";
149 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
150 default-state = "on";
153 label = "dgn1000b:green:wps";
154 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
155 default-state = "on";
158 label = "dgn1000b:green:power";
159 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
160 default-state = "keep";