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";
32 poll-interval = <100>;
36 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RFKILL>;
46 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_WPS_BUTTON>;
52 compatible = "gpio-leds";
54 label = "dgn1000b:green:dsl";
55 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
58 online_green: online {
59 label = "dgn1000b:green:online";
60 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
64 label = "dgn1000b:red:online";
65 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
69 label = "dgn1000b:green:wps";
70 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
74 label = "dgn1000b:green:power";
75 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
76 default-state = "keep";
85 pinctrl-names = "default";
86 pinctrl-0 = <&state_default>;
88 state_default: pinmux {
90 lantiq,groups = "asc";
91 lantiq,function = "asc";
94 lantiq,pins = "io0",/* "io25", */"io29";
96 lantiq,open-drain = <1>;
99 pins_spi_default: pins_spi_default {
101 lantiq,groups = "spi_di";
102 lantiq,function = "spi";
105 lantiq,groups = "spi_do", "spi_clk",
107 lantiq,function = "spi";
115 mac-address = [ 00 11 22 33 44 55 ];
120 pinctrl-names = "default";
121 pinctrl-0 = <&pins_spi_default>;
124 compatible = "jedec,spi-nor";
126 spi-max-frequency = <5000000>;
129 compatible = "fixed-partitions";
130 #address-cells = <1>;
135 label = "SPI (RO) U-Boot Image";
140 reg = <0x20000 0x10000>;
146 reg = <0x30000 0x10000>;
152 reg = <0x40000 0x10000>;
158 reg = <0x50000 0x003a0000>;