5 #include <dt-bindings/input/input.h>
8 compatible = "netgear,dm200", "lantiq,xway", "lantiq,vr9";
9 model = "Netgear DM200";
12 bootargs = "console=ttyLTQ0,115200";
16 led-boot = &power_green;
17 led-failsafe = &power_amber;
18 led-running = &power_green;
24 reg = <0x0 0x4000000>;
28 gpio: pinmux@E100B10 {
29 pinctrl-names = "default";
30 pinctrl-0 = <&state_default>;
32 state_default: pinmux {
34 lantiq,groups = "mdio";
35 lantiq,function = "mdio";
39 pins_spi_default: pins_spi_default {
41 lantiq,groups = "spi_di";
42 lantiq,function = "spi";
45 lantiq,groups = "spi_do", "spi_clk", "spi_cs4";
46 lantiq,function = "spi";
58 compatible = "lantiq,phy-xrx200";
59 firmware = "lantiq/xrx200_phy22f_a22.bin";
64 compatible = "gpio-keys-polled";
67 poll-interval = <100>;
70 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_RESTART>;
76 compatible = "gpio-export";
80 gpio-export,name = "annexa";
81 gpio-export,output = <0>;
82 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
85 gpio-export,name = "annexb";
86 gpio-export,output = <0>;
87 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
92 compatible = "gpio-leds";
94 power_amber: power_amber {
95 label = "dm200:amber:power";
96 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
98 power_green: power_green {
99 label = "dm200:green:power";
100 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
104 label = "dm200:amber:lan";
105 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
108 label = "dm200:green:lan";
109 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
113 label = "dm200:amber:dsl";
114 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
116 dsl_green: dsl_green {
117 label = "dm200:green:dsl";
118 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&pins_spi_default>;
130 #address-cells = <1>;
132 compatible = "jedec,spi-nor";
134 spi-max-frequency = <10000000>;
137 compatible = "fixed-partitions";
138 #address-cells = <1>;
148 reg = <0x20000 0x10000>;
149 label = "gphyfirmware";
154 reg = <0x30000 0x7b0000>;
159 reg = <0x7e0000 0x10000>;
165 reg = <0x7f0000 0x2000>;
166 label = "ubootconfig";
171 reg = <0x7f2000 0x1000>;
177 reg = <0x7f3000 0x1000>;
183 reg = <0x7f4000 0xc000>;
193 compatible = "lantiq,xrx200-pdi";
194 #address-cells = <1>;
199 compatible = "lantiq,xrx200-pdi-port";
202 phy-handle = <&phy13>;
207 #address-cells = <1>;
209 compatible = "lantiq,xrx200-mdio";
210 phy13: ethernet-phy@13 {
212 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";