1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "Samsung WAM250";
10 compatible = "samsung,wam250", "qca,ar9344";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-keys";
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
31 linux,code = <KEY_WPS_BUTTON>;
32 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
33 debounce-interval = <60>;
38 compatible = "gpio-leds";
42 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
46 label = "white:power";
47 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
48 default-state = "keep";
52 label = "white:repeater";
53 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
58 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "phy0tpt";
67 phy-handle = <&swphy0>;
69 mtd-mac-address = <&art 0x1002>;
70 mtd-mac-address-increment = <1>;
74 switch-phy-swap = <1>;
81 mtd-mac-address = <&art 0x1002>;
86 line-name = "wam250:ext:lna0";
87 gpios = <19 GPIO_ACTIVE_HIGH>;
94 clock-frequency = <40000000>;
101 compatible = "jedec,spi-nor";
103 spi-max-frequency = <50000000>;
107 compatible = "fixed-partitions";
108 #address-cells = <1>;
113 reg = <0x000000 0x040000>;
118 label = "u-boot-env";
119 reg = <0x040000 0x010000>;
124 reg = <0x050000 0x020000>;
129 compatible = "denx,uimage";
131 reg = <0x070000 0xf80000>;
134 art: partition@ff0000 {
136 reg = <0xff0000 0x010000>;
155 mtd-cal-data = <&art 0x1000>;