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;
22 led-internet = &online_green;
26 device_type = "memory";
27 reg = <0x0 0x1000000>;
31 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
38 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
43 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RFKILL>;
48 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_WPS_BUTTON>;
54 compatible = "gpio-leds";
56 label = "dgn1000b:green:dsl";
57 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
60 online_green: online {
61 label = "dgn1000b:green:online";
62 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
66 label = "dgn1000b:red:online";
67 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
71 label = "dgn1000b:green:wps";
72 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
76 label = "dgn1000b:green:power";
77 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
78 default-state = "keep";
87 pinctrl-names = "default";
88 pinctrl-0 = <&state_default>;
90 state_default: pinmux {
92 lantiq,groups = "asc";
93 lantiq,function = "asc";
96 lantiq,pins = "io0",/* "io25", */"io29";
98 lantiq,open-drain = <1>;
101 pins_spi_default: pins_spi_default {
103 lantiq,groups = "spi_di";
104 lantiq,function = "spi";
107 lantiq,groups = "spi_do", "spi_clk",
109 lantiq,function = "spi";
117 mac-address = [ 00 11 22 33 44 55 ];
122 pinctrl-names = "default";
123 pinctrl-0 = <&pins_spi_default>;
126 #address-cells = <1>;
128 compatible = "jedec,spi-nor";
130 spi-max-frequency = <5000000>;
133 compatible = "fixed-partitions";
134 #address-cells = <1>;
139 label = "SPI (RO) U-Boot Image";
144 reg = <0x20000 0x10000>;
150 reg = <0x30000 0x10000>;
156 reg = <0x40000 0x10000>;
162 reg = <0x50000 0x003a0000>;