5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
9 compatible = "netgear,dm200", "lantiq,xway", "lantiq,vr9";
10 model = "Netgear DM200";
13 bootargs = "console=ttyLTQ0,115200";
17 led-boot = &power_green;
18 led-failsafe = &power_amber;
19 led-running = &power_green;
25 reg = <0x0 0x4000000>;
29 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
35 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
41 compatible = "gpio-export";
45 gpio-export,name = "annexa";
46 gpio-export,output = <0>;
47 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
50 gpio-export,name = "annexb";
51 gpio-export,output = <0>;
52 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
57 compatible = "gpio-leds";
59 power_amber: power_amber {
60 label = "dm200:amber:power";
61 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
63 power_green: power_green {
64 label = "dm200:green:power";
65 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
69 label = "dm200:amber:lan";
70 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
73 label = "dm200:green:lan";
74 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
78 label = "dm200:amber:dsl";
79 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
81 dsl_green: dsl_green {
82 label = "dm200:green:dsl";
83 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
89 lantiq,phys = <&gphy1>;
92 compatible = "lantiq,xrx200-pdi";
98 compatible = "lantiq,xrx200-pdi-port";
101 phy-handle = <&phy13>;
106 #address-cells = <1>;
108 compatible = "lantiq,xrx200-mdio";
111 phy13: ethernet-phy@13 {
113 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
119 lantiq,gphy-mode = <GPHY_MODE_FE>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&state_default>;
126 state_default: pinmux {
128 lantiq,groups = "mdio";
129 lantiq,function = "mdio";
133 pins_spi_default: pins_spi_default {
135 lantiq,groups = "spi_di";
136 lantiq,function = "spi";
139 lantiq,groups = "spi_do", "spi_clk", "spi_cs4";
140 lantiq,function = "spi";
153 pinctrl-names = "default";
154 pinctrl-0 = <&pins_spi_default>;
157 #address-cells = <1>;
159 compatible = "jedec,spi-nor";
161 spi-max-frequency = <10000000>;
164 compatible = "fixed-partitions";
165 #address-cells = <1>;
175 reg = <0x20000 0x10000>;
176 label = "gphyfirmware";
181 reg = <0x30000 0x7b0000>;
186 reg = <0x7e0000 0x10000>;
192 reg = <0x7f0000 0x2000>;
193 label = "ubootconfig";
198 reg = <0x7f2000 0x1000>;
204 reg = <0x7f3000 0x1000>;
210 reg = <0x7f4000 0xc000>;