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 reg = <0x0 0x1000000>;
30 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
37 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
42 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RFKILL>;
47 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
53 compatible = "gpio-leds";
55 label = "dgn1000b:green:dsl";
56 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
59 online_green: online {
60 label = "dgn1000b:green:online";
61 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
65 label = "dgn1000b:red:online";
66 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
70 label = "dgn1000b:green:wps";
71 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
75 label = "dgn1000b:green:power";
76 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
77 default-state = "keep";
86 pinctrl-names = "default";
87 pinctrl-0 = <&state_default>;
89 state_default: pinmux {
91 lantiq,groups = "asc";
92 lantiq,function = "asc";
95 lantiq,pins = "io0",/* "io25", */"io29";
97 lantiq,open-drain = <1>;
100 pins_spi_default: pins_spi_default {
102 lantiq,groups = "spi_di";
103 lantiq,function = "spi";
106 lantiq,groups = "spi_do", "spi_clk",
108 lantiq,function = "spi";
116 mac-address = [ 00 11 22 33 44 55 ];
121 pinctrl-names = "default";
122 pinctrl-0 = <&pins_spi_default>;
125 #address-cells = <1>;
127 compatible = "jedec,spi-nor";
129 spi-max-frequency = <5000000>;
132 compatible = "fixed-partitions";
133 #address-cells = <1>;
138 label = "SPI (RO) U-Boot Image";
143 reg = <0x20000 0x10000>;
149 reg = <0x30000 0x10000>;
155 reg = <0x40000 0x10000>;
161 reg = <0x50000 0x003a0000>;