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;
20 led-upgrade = &power_green;
26 reg = <0x0 0x4000000>;
30 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
36 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 compatible = "gpio-export";
46 gpio-export,name = "annexa";
47 gpio-export,output = <0>;
48 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
51 gpio-export,name = "annexb";
52 gpio-export,output = <0>;
53 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
58 compatible = "gpio-leds";
60 power_amber: power_amber {
61 label = "dm200:amber:power";
62 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
64 power_green: power_green {
65 label = "dm200:green:power";
66 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
70 label = "dm200:amber:lan";
71 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
74 label = "dm200:green:lan";
75 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
79 label = "dm200:amber:dsl";
80 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
82 dsl_green: dsl_green {
83 label = "dm200:green:dsl";
84 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
90 lantiq,phys = <&gphy1>;
93 compatible = "lantiq,xrx200-pdi";
99 compatible = "lantiq,xrx200-pdi-port";
102 phy-handle = <&phy13>;
107 #address-cells = <1>;
109 compatible = "lantiq,xrx200-mdio";
112 phy13: ethernet-phy@13 {
114 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
120 lantiq,gphy-mode = <GPHY_MODE_FE>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&state_default>;
127 state_default: pinmux {
129 lantiq,groups = "mdio";
130 lantiq,function = "mdio";
134 pins_spi_default: pins_spi_default {
136 lantiq,groups = "spi_di";
137 lantiq,function = "spi";
140 lantiq,groups = "spi_do", "spi_clk", "spi_cs4";
141 lantiq,function = "spi";
154 pinctrl-names = "default";
155 pinctrl-0 = <&pins_spi_default>;
158 #address-cells = <1>;
160 compatible = "jedec,spi-nor";
162 spi-max-frequency = <10000000>;
165 compatible = "fixed-partitions";
166 #address-cells = <1>;
176 reg = <0x20000 0x10000>;
177 label = "gphyfirmware";
182 reg = <0x30000 0x7b0000>;
187 reg = <0x7e0000 0x10000>;
193 reg = <0x7f0000 0x2000>;
194 label = "ubootconfig";
199 reg = <0x7f2000 0x1000>;
205 reg = <0x7f3000 0x1000>;
211 reg = <0x7f4000 0xc000>;